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

Unified Diff: ui/gl/gl_image_ozone_native_pixmap_drm_unittest.cc

Issue 2178563002: gpu: Take surface handle into account when importing buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: 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 abd23d5afe0a64b51e8d127b9b5bedad837f4772..b4bd2a486fe55810746646fee8838f968b3ea570 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