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

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..b97992032fe593cf76bc82a968727ec55783e245 100644
--- a/ui/ozone/platform/dri/gbm_buffer.cc
+++ b/ui/ozone/platform/dri/gbm_buffer.cc
@@ -84,7 +84,7 @@ GbmPixmap::~GbmPixmap() {
}
void* GbmPixmap::GetEGLClientBuffer() {
- return NULL;
+ return buffer_->bo();
dnicoara 2014/12/11 20:08:32 nit: Please add a TODO to remove this when the bug
}
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