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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 185363009: ppapi: Send sync point whenever the pepper texture changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pepper: Created 6 years, 10 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: content/renderer/pepper/pepper_plugin_instance_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h
index 52962623d62aeeb93dee222c6f7af662c50499d1..6421d3bef8f76469eaf02a2be5062cda2341a866 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
@@ -22,6 +22,7 @@
#include "content/public/renderer/pepper_plugin_instance.h"
#include "content/public/renderer/render_frame_observer.h"
#include "content/renderer/mouse_lock_dispatcher.h"
+#include "gpu/command_buffer/common/mailbox.h"
#include "ppapi/c/dev/pp_cursor_type_dev.h"
#include "ppapi/c/dev/ppp_find_dev.h"
#include "ppapi/c/dev/ppp_printing_dev.h"
@@ -171,7 +172,7 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
// Commit the backing texture to the screen once the side effects some
// rendering up to an offscreen SwapBuffers are visible.
- void CommitBackingTexture();
+ void CommitBackingTexture(uint32 sync_point);
// Called when the out-of-process plugin implementing this instance crashed.
void InstanceCrashed();

Powered by Google App Engine
This is Rietveld 408576698