summaryrefslogtreecommitdiffstats
path: root/gin/BUILD.gn
diff options
context:
space:
mode:
authorsiva.gunturi <siva.gunturi@samsung.com>2015-05-08 04:49:54 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-08 11:50:23 +0000
commit49bc3a8c0fe5faaaa64bdb1d4743601e91691b2f (patch)
tree139af47a011c7560b0b02fe5f81d593ad62d4175 /gin/BUILD.gn
parent1cc673925ed3465cf786688710d42b802b88b6e4 (diff)
downloadchromium_src-49bc3a8c0fe5faaaa64bdb1d4743601e91691b2f.zip
chromium_src-49bc3a8c0fe5faaaa64bdb1d4743601e91691b2f.tar.gz
chromium_src-49bc3a8c0fe5faaaa64bdb1d4743601e91691b2f.tar.bz2
Maintain minimal error response.
1.FORMAT_SUPPORTED is no longer needed as we are falling back to default RGBA_8888 format. 2.Renamed MEMORY_ALLOCATION_FAILURE to BITMAP_ALLOCATION_FAILURE used it while returning response. 3.Remove READBACK_NOT_SUPPORTED, instead use READBACK_FAILURE. 4.This also simplifies the read back API by falling back to returning RGBA bitmaps automatically if the format is not supported. At the time of read back the preferred config will be checked for read back support using isReadbackConfigSupported and if its not supported by hardware then, RGBA_8 will be taken as preferred format and a bitmap will be returned with that format. The caller can always check whether they got the requested format by checking the SkBitmap format type. BUG=472457 Review URL: https://codereview.chromium.org/1113573002 Cr-Commit-Position: refs/heads/master@{#328945}
Diffstat (limited to 'gin/BUILD.gn')
0 files changed, 0 insertions, 0 deletions