diff options
-rw-r--r-- | ui/gl/gl_surface_egl.cc | 4 | ||||
-rw-r--r-- | ui/gl/gl_surface_egl.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc index 8c3ed9fa..a38ada3 100644 --- a/ui/gl/gl_surface_egl.cc +++ b/ui/gl/gl_surface_egl.cc @@ -500,6 +500,10 @@ bool GLSurfaceEGL::InitializeOneOff() { return true; } +GLSurface::Format GLSurfaceEGL::GetFormat() { + return format_; +} + EGLDisplay GLSurfaceEGL::GetDisplay() { return g_display; } diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h index 9eb3d416..174715d 100644 --- a/ui/gl/gl_surface_egl.h +++ b/ui/gl/gl_surface_egl.h @@ -53,6 +53,7 @@ class GL_EXPORT GLSurfaceEGL : public GLSurface { // Implement GLSurface. EGLDisplay GetDisplay() override; EGLConfig GetConfig() override; + GLSurface::Format GetFormat() override; static bool InitializeOneOff(); static EGLDisplay GetHardwareDisplay(); |