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

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

Issue 400283002: [Ozone-GBM] Migrate GBM buffers to use the ScanoutBuffer interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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_base.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 8b8dffcad8a88fb71ee98dde4c5e4ea90ee71f98..a8c078a5523d156aab76a71e4a2728e33e5c5fc2 100644
--- a/ui/ozone/platform/dri/gbm_surface.h
+++ b/ui/ozone/platform/dri/gbm_surface.h
@@ -18,6 +18,7 @@ namespace ui {
class DriBuffer;
class DriWrapper;
+class GbmBufferBase;
// Implement the ScanoutSurface interface on top of GBM (Generic Buffer
// Manager). GBM provides generic access to hardware accelerated surfaces which
@@ -49,7 +50,7 @@ class GbmSurface : public ScanoutSurface {
// Backing GBM buffers. One is the current front buffer. The other is the
// current backbuffer that is pending scan out.
- gbm_bo* buffers_[2];
+ scoped_refptr<GbmBufferBase> buffers_[2];
// Index to the front buffer.
int front_buffer_;
« no previous file with comments | « ui/ozone/platform/dri/gbm_buffer_base.cc ('k') | ui/ozone/platform/dri/gbm_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698