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

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

Issue 8060045: Use shared D3D9 texture to transport the compositor's backing buffer to the browser... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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.h
===================================================================
--- gpu/command_buffer/service/gles2_cmd_decoder.h (revision 106500)
+++ gpu/command_buffer/service/gles2_cmd_decoder.h (working copy)
@@ -90,6 +90,9 @@
// Make this decoder's GL context current.
virtual bool MakeCurrent() = 0;
+ // Have the decoder release the context.
+ virtual void ReleaseCurrent() = 0;
+
// Gets the GLES2 Util which holds info.
virtual GLES2Util* GetGLES2Util() = 0;
@@ -107,10 +110,8 @@
virtual void SetResizeCallback(
Callback1<gfx::Size>::Type* callback) = 0;
-#if defined(OS_MACOSX)
// Sets a callback which is called when a SwapBuffers command is processed.
virtual void SetSwapBuffersCallback(Callback0::Type* callback) = 0;
-#endif
virtual void SetStreamTextureManager(StreamTextureManager* manager) = 0;
« gpu/DEPS ('K') | « gpu/DEPS ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698