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

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

Issue 795053006: ozone: Revert to using EGLClientBuffer to fix dma_buf issues (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/gbm_buffer.cc
diff --git a/ui/ozone/platform/dri/gbm_buffer.cc b/ui/ozone/platform/dri/gbm_buffer.cc
index 1239696fce23420cb241b182508e0128d73e919c..84621da80d76c3f2f0ce426dbaa0b5d0a7600c63 100644
--- a/ui/ozone/platform/dri/gbm_buffer.cc
+++ b/ui/ozone/platform/dri/gbm_buffer.cc
@@ -84,7 +84,8 @@ GbmPixmap::~GbmPixmap() {
}
void* GbmPixmap::GetEGLClientBuffer() {
- return NULL;
+ // TODO(achaulk): change back to null when dma_buf bug is fixed.
+ return buffer_->bo();
}
int GbmPixmap::GetDmaBufFd() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698