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

Unified Diff: content/common/gpu/media/vaapi_drm_picture.cc

Issue 1128113011: ozone: Introduce ClientPixmap and ClientPixmapFactory for non-GPU processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed nits Created 5 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
Index: content/common/gpu/media/vaapi_drm_picture.cc
diff --git a/content/common/gpu/media/vaapi_drm_picture.cc b/content/common/gpu/media/vaapi_drm_picture.cc
index 924473822eae709faf291fdeebfda92a334bfe4d..11a5f47b410c24a330c4228d13fede735018cd9c 100644
--- a/content/common/gpu/media/vaapi_drm_picture.cc
+++ b/content/common/gpu/media/vaapi_drm_picture.cc
@@ -96,8 +96,8 @@ scoped_refptr<ui::NativePixmap> VaapiDrmPicture::CreateNativePixmap(
// Create a buffer from Ozone.
return factory->CreateNativePixmap(gfx::kNullAcceleratedWidget, size,
- ui::SurfaceFactoryOzone::BGRA_8888,
- ui::SurfaceFactoryOzone::SCANOUT);
+ ui::NATIVE_PIXMAP_FORMAT_BGRA_8888,
+ ui::NATIVE_PIXMAP_USAGE_SCANOUT);
}
bool VaapiDrmPicture::Initialize() {

Powered by Google App Engine
This is Rietveld 408576698