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

Unified Diff: content/renderer/gpu/compositor_output_surface.h

Issue 240163005: Deliver IPC messages together with SwapCompositorFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable browsertest for android for realz this time Created 6 years, 5 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/gpu/compositor_output_surface.h
diff --git a/content/renderer/gpu/compositor_output_surface.h b/content/renderer/gpu/compositor_output_surface.h
index df9104769a95431de40b9ffe866db4d2f1375af1..0b369b27f3eae29d9e91d17962192624d13f62f3 100644
--- a/content/renderer/gpu/compositor_output_surface.h
+++ b/content/renderer/gpu/compositor_output_surface.h
@@ -35,6 +35,7 @@ class SoftwareFrameData;
namespace content {
class ContextProviderCommandBuffer;
+class FrameSwapMessageQueue;
// This class can be created only on the main thread, but then becomes pinned
// to a fixed thread when bindToClient is called.
@@ -50,6 +51,7 @@ class CompositorOutputSurface
uint32 output_surface_id,
const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
scoped_ptr<cc::SoftwareOutputDevice> software,
+ scoped_refptr<FrameSwapMessageQueue> swap_frame_message_queue,
bool use_swap_compositor_frame_message);
virtual ~CompositorOutputSurface();
@@ -108,6 +110,7 @@ class CompositorOutputSurface
scoped_refptr<IPC::ForwardingMessageFilter> output_surface_filter_;
scoped_refptr<CompositorOutputSurfaceProxy> output_surface_proxy_;
scoped_refptr<IPC::SyncMessageFilter> message_sender_;
+ scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue_;
int routing_id_;
bool prefers_smoothness_;
base::PlatformThreadHandle main_thread_handle_;

Powered by Google App Engine
This is Rietveld 408576698