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

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

Issue 781683005: Ozone: Avoid blocking in Swapbuffer Call. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compiler warning. Created 6 years 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
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 05ac0f9f01fa7aa301568bc444257660e17f56c5..45d61c7a1a80d1090f96165ccb284680050f562a 100644
--- a/ui/ozone/platform/dri/gbm_surface_factory.h
+++ b/ui/ozone/platform/dri/gbm_surface_factory.h
@@ -13,6 +13,7 @@ namespace ui {
class DriWindowDelegate;
class DriWindowDelegateManager;
+class PageFlipEventHandler;
class ScreenManager;
class GbmSurfaceFactory : public DriSurfaceFactory {
@@ -56,6 +57,7 @@ class GbmSurfaceFactory : public DriSurfaceFactory {
ScreenManager* screen_manager_; // Not owned.
gbm_device* device_; // Not owned.
+ scoped_ptr<PageFlipEventHandler> flip_handler_;
bool allow_surfaceless_;
DISALLOW_COPY_AND_ASSIGN(GbmSurfaceFactory);

Powered by Google App Engine
This is Rietveld 408576698