Upgrade ReadPixels to ES3 semantic in command buffer.
commit40baada6914eab3e953ec91b85f19585b02dafb1
authorzmo <zmo@chromium.org>
Fri, 7 Aug 2015 05:54:43 +0000 (6 22:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Aug 2015 05:55:11 +0000 (7 05:55 +0000)
tree566a98dc864f3ee63019c23f3be2e513ee6250b0
parent271400d6a7360cccbb4dca303f38d1992ff2167e
Upgrade ReadPixels to ES3 semantic in command buffer.

Move backbuffer's draw buffer setting out of context group and into per context.

With this CL, ReadPixels accepts integer types in command buffer.

One thing left to be dealt with is the IMPLEMENTATION_COLOR_READ_FORMAT and
IMPLEMENTATION_COLOR_READ_TYPE.

BUG=429053
TEST=gpu_unittests, webgl 2 conformance
R=piman@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/1257093004

Cr-Commit-Position: refs/heads/master@{#342306}
gpu/command_buffer/build_gles2_cmd_buffer.py
gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
gpu/command_buffer/service/context_group.cc
gpu/command_buffer/service/context_group.h
gpu/command_buffer/service/framebuffer_manager.cc
gpu/command_buffer/service/framebuffer_manager.h
gpu/command_buffer/service/framebuffer_manager_unittest.cc
gpu/command_buffer/service/gles2_cmd_decoder.cc
gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc
gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h