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

Unified Diff: ui/gfx/gl/gl_context_osmesa.cc

Issue 7598013: Do not allocate depth-stencil buffers for GLSurfaces. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/gfx/gl/gl_surface_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_context_osmesa.cc
===================================================================
--- ui/gfx/gl/gl_context_osmesa.cc (revision 95857)
+++ ui/gfx/gl/gl_context_osmesa.cc (working copy)
@@ -30,8 +30,8 @@
GLuint format =
static_cast<GLSurfaceOSMesa*>(compatible_surface)->GetFormat();
context_ = OSMesaCreateContextExt(format,
- 24, // depth bits
- 8, // stencil bits
+ 0, // depth bits
+ 0, // stencil bits
0, // accum bits
share_handle);
if (!context_) {
« no previous file with comments | « no previous file | ui/gfx/gl/gl_surface_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698