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

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

Issue 667293002: [Ozone-GBM] Use dma_buf with surfaceless (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | ui/ozone/platform/dri/gbm_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/gbm_buffer.h
diff --git a/ui/ozone/platform/dri/gbm_buffer.h b/ui/ozone/platform/dri/gbm_buffer.h
index 3fad2c59f8c29532b88302d822db5df63c879c23..06c2d5808e639ad6f1145b3e5d241fc7af69ff8d 100644
--- a/ui/ozone/platform/dri/gbm_buffer.h
+++ b/ui/ozone/platform/dri/gbm_buffer.h
@@ -38,6 +38,7 @@ class GbmBuffer : public GbmBufferBase {
class GbmPixmap : public NativePixmap {
public:
GbmPixmap(scoped_refptr<GbmBuffer> buffer);
+ bool Initialize(DriWrapper* dri);
// NativePixmap:
virtual void* GetEGLClientBuffer() override;
@@ -50,6 +51,7 @@ class GbmPixmap : public NativePixmap {
virtual ~GbmPixmap();
scoped_refptr<GbmBuffer> buffer_;
+ int dma_buf_;
DISALLOW_COPY_AND_ASSIGN(GbmPixmap);
};
« no previous file with comments | « no previous file | ui/ozone/platform/dri/gbm_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698