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

Unified Diff: ui/ozone/platform/dri/gbm_surface_factory.h

Issue 341603002: Create scanout buffer in GbmSurfaceFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/dri/gbm_surface_factory.h
diff --git a/ui/ozone/platform/dri/gbm_surface_factory.h b/ui/ozone/platform/dri/gbm_surface_factory.h
index 2fe0199f38338e25fa17b93f5fc6714a0e727972..64282419606e33cc3d0e6ea1051542a04d553081 100644
--- a/ui/ozone/platform/dri/gbm_surface_factory.h
+++ b/ui/ozone/platform/dri/gbm_surface_factory.h
@@ -27,6 +27,9 @@ class GbmSurfaceFactory : public DriSurfaceFactory {
SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE;
virtual scoped_ptr<gfx::SurfaceOzoneEGL> CreateEGLSurfaceForWidget(
gfx::AcceleratedWidget w) OVERRIDE;
+ virtual gfx::NativeBufferOzone CreateNativeBuffer(
+ gfx::Size size,
+ BufferFormat format) OVERRIDE;
private:
gbm_device* device_; // Not owned.
« no previous file with comments | « no previous file | ui/ozone/platform/dri/gbm_surface_factory.cc » ('j') | ui/ozone/platform/dri/gbm_surface_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698