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

Unified Diff: chrome/renderer/webplugin_delegate_pepper.h

Issue 555020: Redesigned CommandBuffer and NPDevice3D interfaces (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « chrome/renderer/command_buffer_proxy.cc ('k') | chrome/renderer/webplugin_delegate_pepper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/webplugin_delegate_pepper.h
===================================================================
--- chrome/renderer/webplugin_delegate_pepper.h (revision 37414)
+++ chrome/renderer/webplugin_delegate_pepper.h (working copy)
@@ -164,6 +164,12 @@
// Closes down and destroys our plugin instance.
void DestroyInstance();
+#if defined(ENABLE_GPU)
+ // Synchronize a 3D context state with the service.
+ void Synchronize3DContext(NPDeviceContext3D* context,
+ gpu::CommandBuffer::State state);
+#endif
+
base::WeakPtr<RenderView> render_view_;
webkit_glue::WebPlugin* plugin_;
@@ -190,6 +196,10 @@
scoped_ptr<CommandBufferProxy> command_buffer_;
#endif
+ // Used to track whether additional commands have been put in the command
+ // buffer since the last flush.
+ int32 last_command_buffer_put_offset_;
+
DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper);
};
« no previous file with comments | « chrome/renderer/command_buffer_proxy.cc ('k') | chrome/renderer/webplugin_delegate_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698