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

Unified Diff: ui/ozone/platform/drm/gpu/gbm_surface_factory.h

Issue 1134993003: ozone: Implement zero/one-copy texture for Ozone GBM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to new crrev.com/1128113011 Created 5 years, 6 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: ui/ozone/platform/drm/gpu/gbm_surface_factory.h
diff --git a/ui/ozone/platform/drm/gpu/gbm_surface_factory.h b/ui/ozone/platform/drm/gpu/gbm_surface_factory.h
index f8bd0ccb431bd428b103016cc4a5edbb01679327..58006e948db6a3381e85504463addb3cc574e79d 100644
--- a/ui/ozone/platform/drm/gpu/gbm_surface_factory.h
+++ b/ui/ozone/platform/drm/gpu/gbm_surface_factory.h
@@ -39,6 +39,9 @@ class GbmSurfaceFactory : public DrmSurfaceFactory {
gfx::Size size,
BufferFormat format,
BufferUsage usage) override;
+ base::FileDescriptor ExportDmaBuf(
+ gfx::AcceleratedWidget widget,
+ scoped_refptr<NativePixmap> pixmap) override;
bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
int plane_z_order,
gfx::OverlayTransform plane_transform,

Powered by Google App Engine
This is Rietveld 408576698