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

Unified Diff: ui/gl/gl_image_native_pixmap.h

Issue 2801713002: GLImageEGL: add dmabuf queries
Patch Set: remove enum BufferFormatModifier Created 3 years, 8 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
« no previous file with comments | « ui/gl/gl_image_egl.cc ('k') | ui/gl/gl_image_native_pixmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image_native_pixmap.h
diff --git a/ui/gl/gl_image_native_pixmap.h b/ui/gl/gl_image_native_pixmap.h
index 8e6e5b32d1a2857aaa77ac581dfb134a824ac5f1..7456bdc83803b328f34f8cc9a3541dbf2e73f9dd 100644
--- a/ui/gl/gl_image_native_pixmap.h
+++ b/ui/gl/gl_image_native_pixmap.h
@@ -21,6 +21,8 @@ class GL_EXPORT GLImageNativePixmap : public gl::GLImageEGL {
bool Initialize(gfx::NativePixmap* pixmap, gfx::BufferFormat format);
+ static gfx::GpuMemoryBufferAttribVector QueryDmaBufFormatsAndModifiers();
+
// Overridden from GLImage:
unsigned GetInternalFormat() override;
bool CopyTexImage(unsigned target) override;
« no previous file with comments | « ui/gl/gl_image_egl.cc ('k') | ui/gl/gl_image_native_pixmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698