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

Unified Diff: ui/gl/gl_image_egl.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/generate_bindings.py ('k') | ui/gl/gl_image_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image_egl.h
diff --git a/ui/gl/gl_image_egl.h b/ui/gl/gl_image_egl.h
index 69598c7509fc336b36a5cc88ee1f90700443fff1..f3836db3f1780bfe0b1a500a27582396327f37bd 100644
--- a/ui/gl/gl_image_egl.h
+++ b/ui/gl/gl_image_egl.h
@@ -5,6 +5,7 @@
#ifndef UI_GL_GL_IMAGE_EGL_H_
#define UI_GL_GL_IMAGE_EGL_H_
+#include <vector>
#include "base/macros.h"
#include "base/threading/thread_checker.h"
#include "ui/gl/gl_bindings.h"
@@ -18,6 +19,8 @@ class GL_EXPORT GLImageEGL : public GLImage {
explicit GLImageEGL(const gfx::Size& size);
bool Initialize(EGLenum target, EGLClientBuffer buffer, const EGLint* attrs);
+ static std::vector<std::pair<EGLint, EGLuint64KHR>>
+ GetDmaBufFormatsWithModifiers();
// Overridden from GLImage:
gfx::Size GetSize() override;
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | ui/gl/gl_image_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698