diff options
author | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-25 14:47:32 +0000 |
---|---|---|
committer | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-25 14:47:32 +0000 |
commit | 5a9299c645bfa4fcbbc3b3106af2837e2b9f7ec1 (patch) | |
tree | 3a1fba0dfd544e6d0dbbebaef594dce16a8afc6e /gpu/command_buffer/common/gl_mock.h | |
parent | 05f0f84db4862d970c79839450be35d67ce7d052 (diff) | |
download | chromium_src-5a9299c645bfa4fcbbc3b3106af2837e2b9f7ec1.zip chromium_src-5a9299c645bfa4fcbbc3b3106af2837e2b9f7ec1.tar.gz chromium_src-5a9299c645bfa4fcbbc3b3106af2837e2b9f7ec1.tar.bz2 |
Use pixmaps and EGLImages to transport image data between GPU process and browser. Behind a compile TOUCH_UI flag.
It uses the MAC OSX AcceleratedSurface IPCs to communicate between the GPU process and browser. The major difference between the OSX display path is that I send an ACK back after AcceleratedSurfaceSetIOSurface because the process of binding a texture to the pixmap may destroy the contents of the pixmap.
BUG=none
TEST=by hand on Linux (w/ and w/o TOUCH_UI), Windows, and Mac
Review URL: http://codereview.chromium.org/6987014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/common/gl_mock.h')
-rw-r--r-- | gpu/command_buffer/common/gl_mock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/command_buffer/common/gl_mock.h b/gpu/command_buffer/common/gl_mock.h index b91cb5b..43e877b 100644 --- a/gpu/command_buffer/common/gl_mock.h +++ b/gpu/command_buffer/common/gl_mock.h @@ -135,6 +135,9 @@ class MockGLInterface : public GLInterface { MOCK_METHOD4(DrawElements, void( GLenum mode, GLsizei count, GLenum type, const void* indices)); + MOCK_METHOD2(EGLImageTargetTexture2DOES, void( + GLenum target, GLeglImageOES image)); + MOCK_METHOD1(Enable, void(GLenum cap)); MOCK_METHOD1(EnableVertexAttribArray, void(GLuint index)); |