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

Unified Diff: ui/gl/gl_surface_egl.h

Issue 1538803004: Create child window in GPU process for DirectComposition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « content/content_common.gypi ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_egl.h
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
index 1c99faeb0998d8518110bc2911bc7c3081260825..45396d4722998289f1a2ce3af277235eb813965d 100644
--- a/ui/gl/gl_surface_egl.h
+++ b/ui/gl/gl_surface_egl.h
@@ -65,6 +65,7 @@ class GL_EXPORT GLSurfaceEGL : public GLSurface {
static bool HasEGLExtension(const char* name);
static bool IsCreateContextRobustnessSupported();
static bool IsEGLSurfacelessContextSupported();
+ static bool IsDirectCompositionSupported();
protected:
~GLSurfaceEGL() override;
@@ -115,6 +116,8 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
EGLNativeWindowType window_;
EGLConfig config_;
gfx::Size size_;
+ bool alpha_;
+ bool enable_fixed_size_angle_;
void OnSetSwapInterval(int interval) override;
@@ -125,7 +128,6 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
EGLSurface surface_;
bool supports_post_sub_buffer_;
- bool alpha_;
bool flips_vertically_;
scoped_ptr<VSyncProvider> vsync_provider_;
« no previous file with comments | « content/content_common.gypi ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698