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

Unified Diff: ui/ozone/public/surface_factory_ozone.h

Issue 490233002: VaapiVideoAccelerator: make Vaapi accelerator work with ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't limit h264_bitstream_buffer_unittest to x11 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/public/surface_factory_ozone.h
diff --git a/ui/ozone/public/surface_factory_ozone.h b/ui/ozone/public/surface_factory_ozone.h
index 62df13e50740423de6567804d69e4c010eb5c40f..ca045cd5538242885294c0be35d1b80cef1f1d49 100644
--- a/ui/ozone/public/surface_factory_ozone.h
+++ b/ui/ozone/public/surface_factory_ozone.h
@@ -83,6 +83,10 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone {
// display connection for the native display.
virtual intptr_t GetNativeDisplay();
+ // Returns Drm file descriptor. This is used to obtain access to the
+ // driver interface by other API than GL.
+ virtual int GetDrmFd();
spang 2014/09/08 18:04:00 dnicoara reminded me to point out: We don't intend
+
// Create SurfaceOzoneEGL for the specified gfx::AcceleratedWidget.
//
// Note: When used from content, this is called in the GPU process. The

Powered by Google App Engine
This is Rietveld 408576698