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

Unified Diff: ui/ozone/platform/drm/gpu/drm_thread.cc

Issue 2800653003: SurfaceFactoryOzone: expose scanout supported GpuMemoryBufferAttribs
Patch Set: use uint64_t modifiers, get modifiers for primary plane Created 3 years, 8 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
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread.h ('k') | ui/ozone/platform/drm/gpu/drm_thread_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_thread.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_thread.cc b/ui/ozone/platform/drm/gpu/drm_thread.cc
index 06bec8a910b45340095f70692bb30c3c995e795c..cee94ad6cee706330e7c7f49605a4142a5fb8795 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread.cc
+++ b/ui/ozone/platform/drm/gpu/drm_thread.cc
@@ -163,6 +163,13 @@ void DrmThread::GetScanoutFormats(
display_manager_->GetScanoutFormats(widget, scanout_formats);
}
+void DrmThread::GetScanoutFormatsWithModifiers(
+ gfx::AcceleratedWidget widget,
+ gfx::GpuMemoryBufferAttribVector* scanout_combinations) {
+ display_manager_->GetScanoutFormatsWithModifiers(widget,
+ scanout_combinations);
+}
+
void DrmThread::SchedulePageFlip(gfx::AcceleratedWidget widget,
const std::vector<OverlayPlane>& planes,
const SwapCompletionCallback& callback) {
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread.h ('k') | ui/ozone/platform/drm/gpu/drm_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698