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

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

Issue 2533163002: ozone: Create GbmBuffers from fourcc formats and gbm flags. (Closed)
Patch Set: Address dnicoara's comments. Created 4 years 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/drm_overlay_validator.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc b/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc
index 9fb93b9e2424181dd7b78c4f95b842ed42aff781..34c62c17e52a87f8c8c5eb6c74d877c7f5737db9 100644
--- a/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc
+++ b/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc
@@ -43,9 +43,8 @@ scoped_refptr<ScanoutBuffer> GetBufferForPageFlipTest(
}
}
- gfx::BufferFormat buffer_format = GetBufferFormatFromFourCCFormat(format);
scoped_refptr<ScanoutBuffer> scanout_buffer =
- buffer_generator->Create(drm_device, buffer_format, size);
+ buffer_generator->Create(drm_device, format, size);
reusable_buffers->push_back(scanout_buffer);
return scanout_buffer;
« no previous file with comments | « no previous file | ui/ozone/platform/drm/gpu/drm_overlay_validator_unittest.cc » ('j') | ui/ozone/platform/drm/gpu/drm_thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698