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

Unified Diff: ui/ozone/platform/dri/screen_manager.h

Issue 106633002: GBM Ozone implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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 | « ui/ozone/platform/dri/scanout_surface.h ('k') | ui/ozone/platform/dri/screen_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/screen_manager.h
diff --git a/ui/ozone/platform/dri/screen_manager.h b/ui/ozone/platform/dri/screen_manager.h
index 252f706bd3f22230bacb70cf2429b66fabb4a557..fbe7bbb75df26394f591a80feefd0f6b9fa63a60 100644
--- a/ui/ozone/platform/dri/screen_manager.h
+++ b/ui/ozone/platform/dri/screen_manager.h
@@ -23,11 +23,12 @@ class Size;
namespace ui {
class DriWrapper;
+class ScanoutSurfaceGenerator;
// Responsible for keeping track of active displays and configuring them.
class OZONE_EXPORT ScreenManager {
public:
- ScreenManager(DriWrapper* dri);
+ ScreenManager(DriWrapper* dri, ScanoutSurfaceGenerator* surface_generator);
virtual ~ScreenManager();
// Remove a display controller from the list of active controllers. The
@@ -68,9 +69,8 @@ class OZONE_EXPORT ScreenManager {
// to initialize a display.
virtual void ForceInitializationOfPrimaryDisplay();
- virtual DriSurface* CreateSurface(const gfx::Size& size);
-
DriWrapper* dri_; // Not owned.
+ ScanoutSurfaceGenerator* surface_generator_; // Not owned.
// Mapping between an accelerated widget and an active display.
HardwareDisplayControllerMap controllers_;
gfx::AcceleratedWidget last_added_widget_;
« no previous file with comments | « ui/ozone/platform/dri/scanout_surface.h ('k') | ui/ozone/platform/dri/screen_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698