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

Unified Diff: ui/ozone/platform/drm/gpu/gbm_surface_factory.h

Issue 1598573002: Propagate supported scanout formats from driver to SurfaceFactoryOzone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/drm/gpu/gbm_surface_factory.h
diff --git a/ui/ozone/platform/drm/gpu/gbm_surface_factory.h b/ui/ozone/platform/drm/gpu/gbm_surface_factory.h
index 5beb886865d6b24ffdaf11508f0d8ccdcb228547..0e6026a3e7299925e376f40e5c6d839a2955a279 100644
--- a/ui/ozone/platform/drm/gpu/gbm_surface_factory.h
+++ b/ui/ozone/platform/drm/gpu/gbm_surface_factory.h
@@ -31,6 +31,7 @@ class GbmSurfaceFactory : public SurfaceFactoryOzone {
// SurfaceFactoryOzone:
intptr_t GetNativeDisplay() override;
const int32_t* GetEGLSurfaceProperties(const int32_t* desired_list) override;
+ void GetSupportedFormats(std::vector<uint32_t>* support_formats) override;
bool LoadEGLGLES2Bindings(
AddGLLibraryCallback add_gl_library,
SetGLGetProcAddressProcCallback set_gl_get_proc_address) override;

Powered by Google App Engine
This is Rietveld 408576698