diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 02:23:31 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 02:23:31 +0000 |
commit | f37619e85e12e0692fe106e1f6b3a8ac6267fc74 (patch) | |
tree | bc9b9737feaea32c90d3e137c787ce7661b43e77 /gpu | |
parent | 91bfaaef281c73e3792a3c96df37920c8a5370a5 (diff) | |
download | chromium_src-f37619e85e12e0692fe106e1f6b3a8ac6267fc74.zip chromium_src-f37619e85e12e0692fe106e1f6b3a8ac6267fc74.tar.gz chromium_src-f37619e85e12e0692fe106e1f6b3a8ac6267fc74.tar.bz2 |
Implement video frame exchange in GpuVideoDecoder and tests
Implement ProduceVideoFrame() in GpuVideoDecoder and unit tests for testing
the loginc in GpuVideoDecoder.
BUG=53714
TEST=unit_tests --gtest_filter=GpuVideoDecoder*
Review URL: http://codereview.chromium.org/3414003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder_mock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h index 3db3ddc..af5baf5 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h +++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h @@ -43,6 +43,8 @@ class MockGLES2Decoder : public GLES2Decoder { MOCK_METHOD3(DoCommand, error::Error(unsigned int command, unsigned int arg_count, const void* cmd_data)); + MOCK_METHOD2(GetServiceTextureId, bool(uint32 client_texture_id, + uint32* service_texture_id)); MOCK_CONST_METHOD1(GetCommandName, const char*(unsigned int command_id)); DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder); |