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

Unified Diff: content/browser/renderer_host/render_widget_host_view.h

Issue 8625003: Revert 111040 - Reland 110355 - Use shared D3D9 texture to transport the compositor's backing buf... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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/browser/renderer_host/render_widget_host_view.h
===================================================================
--- content/browser/renderer_host/render_widget_host_view.h (revision 111041)
+++ content/browser/renderer_host/render_widget_host_view.h (working copy)
@@ -26,8 +26,6 @@
#include "ui/gfx/rect.h"
#include "ui/gfx/surface/transport_dib.h"
-struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params;
-
class BackingStore;
class RenderWidgetHost;
class WebCursor;
@@ -189,14 +187,6 @@
// Called when accelerated compositing state changes.
virtual void OnAcceleratedCompositingStateChange() = 0;
- // |params.window| and |params.surface_id| indicate which accelerated
- // surface's buffers swapped. |params.renderer_id| and |params.route_id|
- // are used to formulate a reply to the GPU process to prevent it from getting
- // too far ahead. They may all be zero, in which case no flow control is
- // enforced; this case is currently used for accelerated plugins.
- virtual void AcceleratedSurfaceBuffersSwapped(
- const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
- int gpu_host_id) = 0;
#if defined(OS_MACOSX)
// Tells the view whether or not to accept first responder status. If |flag|
@@ -253,6 +243,17 @@
int32 width,
int32 height,
TransportDIB::Handle transport_dib) = 0;
+ // |window| and |surface_id| indicate which accelerated surface's
+ // buffers swapped. |renderer_id| and |route_id| are used to formulate
+ // a reply to the GPU process to prevent it from getting too far ahead.
+ // They may all be zero, in which case no flow control is enforced;
+ // this case is currently used for accelerated plugins.
+ virtual void AcceleratedSurfaceBuffersSwapped(
+ gfx::PluginWindowHandle window,
+ uint64 surface_id,
+ int renderer_id,
+ int32 route_id,
+ int gpu_host_id) = 0;
#endif
#if defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
@@ -261,6 +262,10 @@
int32 height,
uint64* surface_id,
TransportDIB::Handle* surface_handle) = 0;
+ virtual void AcceleratedSurfaceBuffersSwapped(
+ uint64 surface_id,
+ int32 route_id,
+ int gpu_host_id) = 0;
virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0;
#endif
« no previous file with comments | « content/browser/renderer_host/render_widget_host_mac.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698