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

Unified Diff: ui/ozone/public/surface_factory_ozone.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: Created 5 years, 7 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/public/surface_factory_ozone.h
diff --git a/ui/ozone/public/surface_factory_ozone.h b/ui/ozone/public/surface_factory_ozone.h
index e73813dd011b1fef2a45d2d124def7bac0fb0b6b..b86422e04aa9c4b97cd6ca29bccdea53096b80d5 100644
--- a/ui/ozone/public/surface_factory_ozone.h
+++ b/ui/ozone/public/surface_factory_ozone.h
@@ -11,6 +11,7 @@
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect.h"
+#include "ui/gfx/gpu_memory_buffer.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/overlay_transform.h"
#include "ui/ozone/ozone_base_export.h"
@@ -133,7 +134,8 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone {
gfx::AcceleratedWidget widget,
gfx::Size size,
BufferFormat format,
- BufferUsage usage);
+ BufferUsage usage,
+ gfx::GpuMemoryBufferHandle* handle);
// Sets the overlay plane to switch to at the next page flip.
// |w| specifies the screen to display this overlay plane on.

Powered by Google App Engine
This is Rietveld 408576698