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

Side by Side Diff: content/renderer/gpu/delegated_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_ 5 #ifndef CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_
6 #define CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_ 6 #define CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_
7 7
8 #include "base/memory/ref_counted.h"
8 #include "content/renderer/gpu/compositor_output_surface.h" 9 #include "content/renderer/gpu/compositor_output_surface.h"
9 10
10 namespace content { 11 namespace content {
12 class FrameSwapMessageQueue;
11 13
12 class DelegatedCompositorOutputSurface : public CompositorOutputSurface { 14 class DelegatedCompositorOutputSurface : public CompositorOutputSurface {
13 public: 15 public:
14 DelegatedCompositorOutputSurface( 16 DelegatedCompositorOutputSurface(
15 int32 routing_id, 17 int32 routing_id,
16 uint32 output_surface_id, 18 uint32 output_surface_id,
17 const scoped_refptr<ContextProviderCommandBuffer>& context_provider); 19 const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
20 scoped_refptr<FrameSwapMessageQueue> swap_frame_message_queue);
18 virtual ~DelegatedCompositorOutputSurface() {} 21 virtual ~DelegatedCompositorOutputSurface() {}
19 }; 22 };
20 23
21 } // namespace content 24 } // namespace content
22 25
23 #endif // CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_ 26 #endif // CONTENT_RENDERER_GPU_DELEGATED_COMPOSITOR_OUTPUT_SURFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698