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

Unified Diff: services/ui/surfaces/direct_output_surface_ozone.h

Issue 2280723004: services/ui: Remove unwanted gpu dependency from services/ui/surfaces. (Closed)
Patch Set: . 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 | « services/ui/surfaces/BUILD.gn ('k') | services/ui/surfaces/direct_output_surface_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/direct_output_surface_ozone.h
diff --git a/services/ui/surfaces/direct_output_surface_ozone.h b/services/ui/surfaces/direct_output_surface_ozone.h
index d7aa5c61091934105e6e087964960118c48e3757..29e785d80ff5c38c3b3be094fa8b0885d3e5d7e3 100644
--- a/services/ui/surfaces/direct_output_surface_ozone.h
+++ b/services/ui/surfaces/direct_output_surface_ozone.h
@@ -16,18 +16,18 @@
#include "ui/gfx/swap_result.h"
#include "ui/gl/gl_surface.h"
+namespace cc {
+class CompositorFrame;
+class SyntheticBeginFrameSource;
+}
+
namespace display_compositor {
class BufferQueue;
}
-namespace ui {
-class LatencyInfo;
-} // namespace ui
-
-namespace cc {
-class CompositorFrame;
-class SyntheticBeginFrameSource;
-} // namespace cc
+namespace gpu {
+class GpuMemoryBufferManager;
+}
namespace ui {
@@ -43,6 +43,7 @@ class DirectOutputSurfaceOzone : public cc::OutputSurface {
scoped_refptr<SurfacesContextProvider> context_provider,
gfx::AcceleratedWidget widget,
cc::SyntheticBeginFrameSource* synthetic_begin_frame_source,
+ gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
uint32_t target,
uint32_t internalformat);
« no previous file with comments | « services/ui/surfaces/BUILD.gn ('k') | services/ui/surfaces/direct_output_surface_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698