summaryrefslogtreecommitdiffstats
path: root/cc/test/test_gles2_interface.cc
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_gles2_interface.cc
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_gles2_interface.cc')
-rw-r--r--cc/test/test_gles2_interface.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/cc/test/test_gles2_interface.cc b/cc/test/test_gles2_interface.cc
index cf28225..26ba3e1 100644
--- a/cc/test/test_gles2_interface.cc
+++ b/cc/test/test_gles2_interface.cc
@@ -360,11 +360,23 @@ void TestGLES2Interface::ProduceTextureCHROMIUM(GLenum target,
test_context_->produceTextureCHROMIUM(target, mailbox);
}
+void TestGLES2Interface::ProduceTextureDirectCHROMIUM(GLuint texture,
+ GLenum target,
+ const GLbyte* mailbox) {
+ test_context_->produceTextureDirectCHROMIUM(texture, target, mailbox);
+}
+
void TestGLES2Interface::ConsumeTextureCHROMIUM(GLenum target,
const GLbyte* mailbox) {
test_context_->consumeTextureCHROMIUM(target, mailbox);
}
+GLuint TestGLES2Interface::CreateAndConsumeTextureCHROMIUM(
+ GLenum target,
+ const GLbyte* mailbox) {
+ return test_context_->createAndConsumeTextureCHROMIUM(target, mailbox);
+}
+
void TestGLES2Interface::ResizeCHROMIUM(GLuint width,
GLuint height,
float device_scale) {