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

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

Issue 490233002: VaapiVideoAccelerator: make Vaapi accelerator work with ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reenable Ozone path Created 6 years, 3 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
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 398064da27ec2e7dd90b2c49728aa941d968231b..1e6cb39d915804b35bbacdcc3c30671967ac8ed6 100644
--- a/ui/ozone/platform/dri/gbm_buffer.cc
+++ b/ui/ozone/platform/dri/gbm_buffer.cc
@@ -71,8 +71,7 @@ void* GbmPixmap::GetEGLClientBuffer() {
}
int GbmPixmap::GetDmaBufFd() {
- NOTIMPLEMENTED();
- return -1;
+ return gbm_bo_get_fd(buffer_->bo());
}
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698