diff options
author | mmocny@chromium.org <mmocny@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-19 19:19:27 +0000 |
---|---|---|
committer | mmocny@chromium.org <mmocny@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-19 19:19:27 +0000 |
commit | 86c6d7a9483241f2c49ea0ae733f33125d46cecf (patch) | |
tree | 6750a83aeb4833b774d4d92dde7fdf229ad6bf88 /webkit/gpu | |
parent | 6a06c1f27ec9b1f18633083cbc45331f3f0c5a2d (diff) | |
download | chromium_src-86c6d7a9483241f2c49ea0ae733f33125d46cecf.zip chromium_src-86c6d7a9483241f2c49ea0ae733f33125d46cecf.tar.gz chromium_src-86c6d7a9483241f2c49ea0ae733f33125d46cecf.tar.bz2 |
Adding new virtual method setVisibility(bool) to WebGraphicsContext3DInProcessCommandBufferImpl
BUG=None
TEST=Manual
Review URL: http://codereview.chromium.org/8353009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/gpu')
-rw-r--r-- | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc | 4 | ||||
-rw-r--r-- | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc index 7ff9951..3546222 100644 --- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc +++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc @@ -772,6 +772,10 @@ void WebGraphicsContext3DInProcessCommandBufferImpl::reshape( #endif // FLIP_FRAMEBUFFER_VERTICALLY } +void WebGraphicsContext3DInProcessCommandBufferImpl::setVisibility( + bool visible) { +} + WebGLId WebGraphicsContext3DInProcessCommandBufferImpl::createCompositorTexture( WGC3Dsizei width, WGC3Dsizei height) { // TODO(gmam): See if we can comment this in. diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h index f4ee402..4195efb 100644 --- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h +++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h @@ -69,6 +69,8 @@ class WebGraphicsContext3DInProcessCommandBufferImpl virtual void reshape(int width, int height); + virtual void setVisibility(bool visible); + virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size); virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size, WebGLId framebuffer, int width, int height); |