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

Unified Diff: Source/WebCore/platform/graphics/opengl/GLPlatformSurface.h

Issue 13046002: Revert 146458 "[EFL][WebGL] Implement a common GraphicsSurface I..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1451/
Patch Set: Created 7 years, 9 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
Index: Source/WebCore/platform/graphics/opengl/GLPlatformSurface.h
===================================================================
--- Source/WebCore/platform/graphics/opengl/GLPlatformSurface.h (revision 146732)
+++ Source/WebCore/platform/graphics/opengl/GLPlatformSurface.h (working copy)
@@ -43,13 +43,17 @@
enum Attributes {
Default = 0x00, // No Alpha channel. Only R,G,B values set.
SupportAlpha = 0x01,
- DoubleBuffered = 0x02
+ DoubleBuffered = 0x04
};
- typedef unsigned SurfaceAttributes;
+ typedef int SurfaceAttributes;
// Creates a GL surface used for offscreen rendering.
static PassOwnPtr<GLPlatformSurface> createOffScreenSurface(SurfaceAttributes = GLPlatformSurface::Default);
+ // Creates a GL surface used for offscreen rendering. The results can be transported
+ // to the UI process for display.
+ static PassOwnPtr<GLPlatformSurface> createTransportSurface(SurfaceAttributes = GLPlatformSurface::Default);
+
virtual ~GLPlatformSurface();
const IntRect& geometry() const;

Powered by Google App Engine
This is Rietveld 408576698