| 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;
|
|
|