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

Side by Side Diff: content/renderer/gpu/compositor_output_surface.h

Issue 11316128: Send compositor frame IPC with metadata. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compile errors on mac/win Created 8 years 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/gpu/compositor_output_surface.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COMPOSITOR_OUTPUT_SURFACE_H_ 5 #ifndef CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_
6 #define CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_ 6 #define CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 friend class base::RefCountedThreadSafe<CompositorOutputSurfaceProxy>; 64 friend class base::RefCountedThreadSafe<CompositorOutputSurfaceProxy>;
65 ~CompositorOutputSurfaceProxy() {} 65 ~CompositorOutputSurfaceProxy() {}
66 CompositorOutputSurface* output_surface_; 66 CompositorOutputSurface* output_surface_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(CompositorOutputSurfaceProxy); 68 DISALLOW_COPY_AND_ASSIGN(CompositorOutputSurfaceProxy);
69 }; 69 };
70 70
71 void OnMessageReceived(const IPC::Message& message); 71 void OnMessageReceived(const IPC::Message& message);
72 void OnUpdateVSyncParameters( 72 void OnUpdateVSyncParameters(
73 base::TimeTicks timebase, base::TimeDelta interval); 73 base::TimeTicks timebase, base::TimeDelta interval);
74 bool Send(IPC::Message* message);
74 75
75 scoped_refptr<IPC::ForwardingMessageFilter> output_surface_filter_; 76 scoped_refptr<IPC::ForwardingMessageFilter> output_surface_filter_;
76 cc::OutputSurfaceClient* client_; 77 cc::OutputSurfaceClient* client_;
77 scoped_refptr<CompositorOutputSurfaceProxy> output_surface_proxy_; 78 scoped_refptr<CompositorOutputSurfaceProxy> output_surface_proxy_;
78 int routing_id_; 79 int routing_id_;
79 struct Capabilities capabilities_; 80 struct Capabilities capabilities_;
80 scoped_ptr<WebKit::WebGraphicsContext3D> context3D_; 81 scoped_ptr<WebKit::WebGraphicsContext3D> context3D_;
81 scoped_ptr<cc::SoftwareOutputDevice> software_device_; 82 scoped_ptr<cc::SoftwareOutputDevice> software_device_;
82 }; 83 };
83 84
84 } // namespace content 85 } // namespace content
85 86
86 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_ 87 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/gpu/compositor_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698