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

Unified Diff: ppapi/shared_impl/ppb_graphics_3d_shared.h

Issue 11781004: Tell Graphics3D not to lock on Flush(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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: ppapi/shared_impl/ppb_graphics_3d_shared.h
===================================================================
--- ppapi/shared_impl/ppb_graphics_3d_shared.h (revision 175266)
+++ ppapi/shared_impl/ppb_graphics_3d_shared.h (working copy)
@@ -99,6 +99,10 @@
virtual void PushAlreadyLocked();
virtual void PopAlreadyLocked();
+ // The VideoDecoder needs to be able to call Graphics3D Flush() after taking
+ // the proxy lock. Hence it needs access to ScopedNoLocking.
+ friend class PPB_VideoDecoder_Shared;
+
scoped_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_;
scoped_ptr<gpu::TransferBuffer> transfer_buffer_;
scoped_ptr<gpu::gles2::GLES2Implementation> gles2_impl_;
« no previous file with comments | « no previous file | ppapi/shared_impl/ppb_video_decoder_shared.cc » ('j') | ppapi/shared_impl/ppb_video_decoder_shared.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698