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 c508db25aa344b3ae3415b6be0c0a01b9a0c8d6b..f0b9d09533d66d9412ed545c80571a20d316f343 100644 |
--- a/ui/ozone/public/surface_factory_ozone.h |
+++ b/ui/ozone/public/surface_factory_ozone.h |
@@ -88,6 +88,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(); |
+ |
// Create SurfaceOzoneEGL for the specified gfx::AcceleratedWidget. |
// |
// Note: When used from content, this is called in the GPU process. The |