summaryrefslogtreecommitdiffstats
path: root/webkit/gpu/webgraphicscontext3d_in_process_impl.h
diff options
context:
space:
mode:
authormmocny@chromium.org <mmocny@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-14 20:35:51 +0000
committermmocny@chromium.org <mmocny@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-14 20:35:51 +0000
commit8cc980c55238ee905bededbfa1397cc09efd5bb0 (patch)
treebd60a3c3136a104751fa7f73d35ea60494a8d965 /webkit/gpu/webgraphicscontext3d_in_process_impl.h
parentfeed1d1a4f07a77f8db0b04e96fdb605574bb688 (diff)
downloadchromium_src-8cc980c55238ee905bededbfa1397cc09efd5bb0.zip
chromium_src-8cc980c55238ee905bededbfa1397cc09efd5bb0.tar.gz
chromium_src-8cc980c55238ee905bededbfa1397cc09efd5bb0.tar.bz2
Adding gl command to change surface visibility, so that the gpu process can appropriately release/reacquire resources.
BUG=5175544 TEST=None Review URL: http://codereview.chromium.org/7890046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105563 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/gpu/webgraphicscontext3d_in_process_impl.h')
-rw-r--r--webkit/gpu/webgraphicscontext3d_in_process_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_impl.h
index 1bc447f..86cbcc6 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.h
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.h
@@ -72,6 +72,8 @@ class WebGraphicsContext3DInProcessImpl : public WebGraphicsContext3D {
virtual void reshape(int width, int height);
+ virtual void setVisibility(bool visible);
+
virtual bool readBackFramebuffer(unsigned char* pixels, size_t bufferSize);
virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size,
WebGLId framebuffer, int width, int height);