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

Unified Diff: ui/gl/gl_surface.h

Issue 2461803002: Enable creation of offscreen contexts which own their backing surface. (Closed)
Patch Set: Drop unnecessary dependent patch Created 4 years, 1 month 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.h
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
index c0743f7f48547da5ae2ccacdc2f1ec9c6cef5851..ecbc1cb8ed1a3fc0808d5ff56eed3cb50e9abbd9 100644
--- a/ui/gl/gl_surface.h
+++ b/ui/gl/gl_surface.h
@@ -42,7 +42,9 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
// Minimum bit depth of surface.
enum Format {
SURFACE_ARGB8888,
+ SURFACE_ARGB8888_DEPTH24,
SURFACE_RGB565,
+ SURFACE_RGB565_DEPTH24,
piman 2016/11/16 00:44:02 It seems like this won't scale to more depth bits
klausw 2017/01/05 02:17:43 See https://codereview.chromium.org/2616723002 for
SURFACE_OSMESA_BGRA,
SURFACE_OSMESA_RGBA,
SURFACE_SURFACELESS,

Powered by Google App Engine
This is Rietveld 408576698