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

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

Issue 1263323004: Add NativePixmapHandle type & interface for exporting them (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unnecesary #include and DCHECK msgs Created 5 years, 4 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_buffer.h
diff --git a/ui/ozone/platform/drm/gpu/gbm_buffer.h b/ui/ozone/platform/drm/gpu/gbm_buffer.h
index 51a883904a03ce995bb5c3700b073fda3f295be2..239e96ee856c6612f77ee27b888a66bedf27780c 100644
--- a/ui/ozone/platform/drm/gpu/gbm_buffer.h
+++ b/ui/ozone/platform/drm/gpu/gbm_buffer.h
@@ -15,6 +15,10 @@
struct gbm_bo;
+namespace gfx {
+class NativePixmapHandle;
dshwang 2015/08/06 17:38:19 as Tiago mentioned, it's defined as struct in ui/g
+}
+
namespace ui {
class GbmDevice;
@@ -51,6 +55,7 @@ class GbmPixmap : public NativePixmap {
gfx::OverlayTransform plane_transform,
const gfx::Rect& display_bounds,
const gfx::RectF& crop_rect) override;
+ gfx::NativePixmapHandle ExportHandle() override;
scoped_refptr<GbmBuffer> buffer() { return buffer_; }

Powered by Google App Engine
This is Rietveld 408576698