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

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

Issue 371813004: ozone: gbm: Add overlay support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test build Created 6 years, 5 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/gbm_buffer.cc ('k') | ui/ozone/platform/dri/gbm_surface.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.h
diff --git a/ui/ozone/platform/dri/gbm_surface.h b/ui/ozone/platform/dri/gbm_surface.h
index 8a33ab5e997eeb462b34ff7aa1af7b8c0c99932f..a34d7ef8ddad587780c88990ae9ce702da66dbe3 100644
--- a/ui/ozone/platform/dri/gbm_surface.h
+++ b/ui/ozone/platform/dri/gbm_surface.h
@@ -32,16 +32,9 @@ class GbmSurface : public ScanoutSurface {
virtual uint32_t GetFramebufferId() const OVERRIDE;
virtual uint32_t GetHandle() const OVERRIDE;
virtual gfx::Size Size() const OVERRIDE;
+ virtual void PreSwapBuffers() OVERRIDE;
virtual void SwapBuffers() OVERRIDE;
- // Before scheduling the backbuffer to be scanned out we need to "lock" it.
- // When we lock it, GBM will give a pointer to a buffer representing the
- // backbuffer. It will also update its information on which buffers can not be
- // used for drawing. The buffer will be released when the page flip event
- // occurs (see SwapBuffers). This is called from GbmSurfaceFactory before
- // scheduling a page flip.
- void LockCurrentDrawable();
-
gbm_surface* native_surface() { return native_surface_; };
private:
« no previous file with comments | « ui/ozone/platform/dri/gbm_buffer.cc ('k') | ui/ozone/platform/dri/gbm_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698