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

Unified Diff: blimp/client/app/android/blimp_compositor_manager_android.h

Issue 2266863003: blimp: Move BlimpCompositor to use delegated rendering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make gn happy Created 4 years, 4 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
« no previous file with comments | « blimp/client/BUILD.gn ('k') | blimp/client/app/android/blimp_compositor_manager_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/app/android/blimp_compositor_manager_android.h
diff --git a/blimp/client/app/android/blimp_compositor_manager_android.h b/blimp/client/app/android/blimp_compositor_manager_android.h
index 1f058d097a732f7814b9f3a90c5fb9424f4916bd..219c571938ad25f5a2369403347ad8f4e11a4972 100644
--- a/blimp/client/app/android/blimp_compositor_manager_android.h
+++ b/blimp/client/app/android/blimp_compositor_manager_android.h
@@ -36,19 +36,23 @@ class BlimpCompositorManagerAndroid : public BlimpCompositorManager {
const gfx::Size& real_size,
const gfx::Size& size,
RenderWidgetFeature* render_widget_feature,
- BlimpCompositorManagerClient* client);
+ cc::SurfaceManager* surface_manager,
+ BlimpGpuMemoryBufferManager* gpu_memory_buffer_manager,
+ SurfaceIdAllocationCallback callback);
~BlimpCompositorManagerAndroid() override;
protected:
// |size| is the size of the display. |real_size_supported| determines
// whether or not this size is the real display size or the display size
- // not including the system decorations. |dp_to_px| is the scale factor that
- // is required to convert from dp (device pixels) to px.
- BlimpCompositorManagerAndroid(const gfx::Size& size,
- bool real_size_supported,
- RenderWidgetFeature* render_widget_feature,
- BlimpCompositorManagerClient* client);
+ // not including the system decorations.
+ BlimpCompositorManagerAndroid(
+ const gfx::Size& size,
+ bool real_size_supported,
+ RenderWidgetFeature* render_widget_feature,
+ cc::SurfaceManager* surface_manager,
+ BlimpGpuMemoryBufferManager* gpu_memory_buffer_manager,
+ SurfaceIdAllocationCallback callback);
// BlimpCompositor implementation.
void GenerateLayerTreeSettings(cc::LayerTreeSettings* settings) override;
« no previous file with comments | « blimp/client/BUILD.gn ('k') | blimp/client/app/android/blimp_compositor_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698