Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_mock.h

Issue 7529015: Allow the renderer process to map textures from one context into another. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/gles2_cmd_decoder_mock.h
===================================================================
--- gpu/command_buffer/service/gles2_cmd_decoder_mock.h (revision 94701)
+++ gpu/command_buffer/service/gles2_cmd_decoder_mock.h (working copy)
@@ -37,6 +37,11 @@
const char* allowed_extensions,
const std::vector<int32>& attribs));
MOCK_METHOD0(Destroy, void());
+ MOCK_METHOD4(MapExternalResource,
+ bool(resource_type::ResourceType resource_type,
+ uint32 resource_source_id,
+ GLES2Decoder* source_decoder,
+ uint32 resource_dest_id));
MOCK_METHOD2(SetParent, bool(GLES2Decoder* parent, uint32 parent_texture_id));
MOCK_METHOD1(ResizeOffscreenFrameBuffer, void(const gfx::Size& size));
MOCK_METHOD0(UpdateOffscreenFrameBufferSize, bool());

Powered by Google App Engine
This is Rietveld 408576698