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

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

Issue 883783002: [Ozone-DRI] Assume window IPC arrives before surface IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/dri_window_delegate_manager.cc ('k') | ui/ozone/platform/dri/gbm_surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/gbm_surface_factory.h
diff --git a/ui/ozone/platform/dri/gbm_surface_factory.h b/ui/ozone/platform/dri/gbm_surface_factory.h
index 2a95a5cb38486999944382cea944cd3bf491726b..edce2a05023c816293982679cc27e5afd65a97bc 100644
--- a/ui/ozone/platform/dri/gbm_surface_factory.h
+++ b/ui/ozone/platform/dri/gbm_surface_factory.h
@@ -12,7 +12,6 @@ namespace ui {
class DriWindowDelegate;
class DriWindowDelegateManager;
class GbmWrapper;
-class ScreenManager;
class GbmSurfaceFactory : public DriSurfaceFactory {
public:
@@ -20,7 +19,6 @@ class GbmSurfaceFactory : public DriSurfaceFactory {
~GbmSurfaceFactory() override;
void InitializeGpu(GbmWrapper* gbm,
- ScreenManager* screen_manager,
DriWindowDelegateManager* window_manager);
// DriSurfaceFactory:
@@ -51,10 +49,7 @@ class GbmSurfaceFactory : public DriSurfaceFactory {
bool CanCreateNativePixmap(BufferUsage usage) override;
private:
- DriWindowDelegate* GetOrCreateWindowDelegate(gfx::AcceleratedWidget widget);
-
GbmWrapper* gbm_; // Not owned.
- ScreenManager* screen_manager_; // Not owned.
bool allow_surfaceless_;
DISALLOW_COPY_AND_ASSIGN(GbmSurfaceFactory);
« no previous file with comments | « ui/ozone/platform/dri/dri_window_delegate_manager.cc ('k') | ui/ozone/platform/dri/gbm_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698