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

Side by Side Diff: content/renderer/android/synchronous_compositor_registry.h

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_ANDROID_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_ 5 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_
6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_ 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_
7 7
8 8
9 namespace content { 9 namespace content {
10 10 class SynchronousCompositorFrameSink;
11 class SynchronousCompositorOutputSurface;
12 11
13 class SynchronousCompositorRegistry { 12 class SynchronousCompositorRegistry {
14 public: 13 public:
15 virtual void RegisterOutputSurface( 14 virtual void RegisterCompositorFrameSink(
16 int routing_id, 15 int routing_id,
17 SynchronousCompositorOutputSurface* output_surface) = 0; 16 SynchronousCompositorFrameSink* compositor_frame_sink) = 0;
18 virtual void UnregisterOutputSurface( 17 virtual void UnregisterCompositorFrameSink(
19 int routing_id, 18 int routing_id,
20 SynchronousCompositorOutputSurface* output_surface) = 0; 19 SynchronousCompositorFrameSink* compositor_frame_sink) = 0;
21 20
22 protected: 21 protected:
23 virtual ~SynchronousCompositorRegistry() {} 22 virtual ~SynchronousCompositorRegistry() {}
24 }; 23 };
25 24
26 } // namespace content 25 } // namespace content
27 26
28 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_ 27 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_
OLDNEW
« no previous file with comments | « content/renderer/android/synchronous_compositor_proxy.cc ('k') | content/renderer/gpu/compositor_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698