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

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 5 years 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/gl/gl_surface_egl.h
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
index 7231aa59430110ad7031c94cd42124ce050fdbbd..3ed6c985add278a62d827259b2221c898368b39b 100644
--- a/ui/gl/gl_surface_egl.h
+++ b/ui/gl/gl_surface_egl.h
@@ -63,6 +63,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;
@@ -112,6 +113,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;
@@ -122,7 +125,6 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
EGLSurface surface_;
bool supports_post_sub_buffer_;
- bool alpha_;
scoped_ptr<VSyncProvider> vsync_provider_;

Powered by Google App Engine
This is Rietveld 408576698