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

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

Issue 2627973006: ozone: Create GbmBuffers from fourcc formats and gbm flags. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread.cc ('k') | ui/ozone/platform/drm/gpu/gbm_buffer.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_window_unittest.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_window_unittest.cc b/ui/ozone/platform/drm/gpu/drm_window_unittest.cc
index e4a5113465db7258e4342edbdf364858ed4d09d5..de92eb68bc35a6c7ff246b60b6a8d6d193ae1d2a 100644
--- a/ui/ozone/platform/drm/gpu/drm_window_unittest.cc
+++ b/ui/ozone/platform/drm/gpu/drm_window_unittest.cc
@@ -4,6 +4,7 @@
#include "ui/ozone/platform/drm/gpu/drm_window.h"
+#include <drm_fourcc.h>
#include <stdint.h>
#include <memory>
@@ -169,7 +170,7 @@ TEST_F(DrmWindowTest, CheckCallbackOnFailedSwap) {
ui::MockDumbBufferGenerator buffer_generator;
ui::DrmWindow* window = screen_manager_->GetWindow(kDefaultWidgetHandle);
ui::OverlayPlane plane(
- buffer_generator.Create(drm_, gfx::BufferFormat::BGRX_8888, window_size));
+ buffer_generator.Create(drm_, DRM_FORMAT_XRGB8888, window_size));
drm_->set_page_flip_expectation(false);
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread.cc ('k') | ui/ozone/platform/drm/gpu/gbm_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698