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

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 ToT 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: 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 9073a83f89823514a3b0890d9c74bc4a768a46d7..bb13b6dd7f742cdb7dcf01bbe85ac11fb071b7be 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 CanShowPrimaryPlaneAsOverlay() override;
private:

Powered by Google App Engine
This is Rietveld 408576698