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

Unified Diff: ui/gl/gl_surface_glx.h

Issue 296003010: gpu/linux: create a child window to control resize and avoid flashes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | ui/gl/gl_surface_glx.cc » ('j') | ui/gl/gl_surface_glx.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_glx.h
diff --git a/ui/gl/gl_surface_glx.h b/ui/gl/gl_surface_glx.h
index 8b199f734ef5ada690daa8a46686bcaaefc9e940..58088a75c130759c55c555237aba425d5373470e 100644
--- a/ui/gl/gl_surface_glx.h
+++ b/ui/gl/gl_surface_glx.h
@@ -76,6 +76,9 @@ class GL_EXPORT NativeViewGLSurfaceGLX : public GLSurfaceGLX {
// Window passed in at creation. Always valid.
gfx::AcceleratedWidget parent_window_;
+ // Child window, used to control resizes so that they're in-order with GL.
+ gfx::AcceleratedWidget window_;
+
void* config_;
gfx::Size size_;
« no previous file with comments | « no previous file | ui/gl/gl_surface_glx.cc » ('j') | ui/gl/gl_surface_glx.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698