summaryrefslogtreecommitdiffstats
path: root/cc/test/test_web_graphics_context_3d.h
diff options
context:
space:
mode:
authordongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-22 09:04:32 +0000
committerdongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-22 09:04:32 +0000
commitc77f27240138492a287c1e7e984ff170da7ec3f2 (patch)
tree27c49bf749faf27954b3b0af9520110a466ce520 /cc/test/test_web_graphics_context_3d.h
parentd4635c48212383f9c50e913e027ba6a44815dbae (diff)
downloadchromium_src-c77f27240138492a287c1e7e984ff170da7ec3f2.zip
chromium_src-c77f27240138492a287c1e7e984ff170da7ec3f2.tar.gz
chromium_src-c77f27240138492a287c1e7e984ff170da7ec3f2.tar.bz2
Making use of bindless variants mailbox produce/consume on remainders.
Increase performance of RenderPass drawing in compositor and Video-WebGL copy. BUG=375501 Review URL: https://codereview.chromium.org/371463009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284652 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/test_web_graphics_context_3d.h')
-rw-r--r--cc/test/test_web_graphics_context_3d.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h
index 3cbe9ca..abdb8c1 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -169,8 +169,13 @@ class TestWebGraphicsContext3D {
virtual void genMailboxCHROMIUM(GLbyte* mailbox);
virtual void produceTextureCHROMIUM(GLenum target,
const GLbyte* mailbox) { }
+ virtual void produceTextureDirectCHROMIUM(GLuint texture,
+ GLenum target,
+ const GLbyte* mailbox) {}
virtual void consumeTextureCHROMIUM(GLenum target,
const GLbyte* mailbox) { }
+ virtual GLuint createAndConsumeTextureCHROMIUM(GLenum target,
+ const GLbyte* mailbox);
virtual void loseContextCHROMIUM(GLenum current, GLenum other);