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

Unified Diff: ui/gl/gl_image_ozone_native_pixmap_drm_unittest.cc

Issue 2148983002: gpu: Take surface handle into account when importing buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: avoid crash in DrmDeviceManager::GetDrmDevice when passed invalid widget Created 4 years, 5 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 | « media/gpu/vaapi_drm_picture.cc ('k') | ui/ozone/platform/drm/gpu/drm_device_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image_ozone_native_pixmap_drm_unittest.cc
diff --git a/ui/gl/gl_image_ozone_native_pixmap_drm_unittest.cc b/ui/gl/gl_image_ozone_native_pixmap_drm_unittest.cc
index 5bbe2cf66c1974c6abd3e2c59d6405a69e3ceeb4..2488910214da835073ddcb1b2921199977b9fc3b 100644
--- a/ui/gl/gl_image_ozone_native_pixmap_drm_unittest.cc
+++ b/ui/gl/gl_image_ozone_native_pixmap_drm_unittest.cc
@@ -94,7 +94,8 @@ scoped_refptr<ui::NativePixmap> CreateYVU420Pixmap(const gfx::Size& size,
ui::SurfaceFactoryOzone* surface_factory =
ui::OzonePlatform::GetInstance()->GetSurfaceFactoryOzone();
return surface_factory->CreateNativePixmapFromHandle(
- size, gfx::BufferFormat::YVU_420, pixmap_handle);
+ gfx::kNullAcceleratedWidget, size, gfx::BufferFormat::YVU_420,
+ pixmap_handle);
}
// Delegate to test EGL images created directly using drm.
« no previous file with comments | « media/gpu/vaapi_drm_picture.cc ('k') | ui/ozone/platform/drm/gpu/drm_device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698