| Index: webkit/gpu/webgraphicscontext3d_in_process_impl.h
|
| diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_impl.h
|
| index b93a838fa9bbbf70acc89cc46c4799c59c969778..9e86c64c5617bb0cff9ad7379193524065336542 100644
|
| --- a/webkit/gpu/webgraphicscontext3d_in_process_impl.h
|
| +++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.h
|
| @@ -17,9 +17,6 @@
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "webkit/gpu/webkit_gpu_export.h"
|
|
|
| -#if !defined(OS_MACOSX)
|
| -#define FLIP_FRAMEBUFFER_VERTICALLY
|
| -#endif
|
| namespace gfx {
|
| class GLContext;
|
| class GLSurface;
|
| @@ -515,11 +512,9 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessImpl :
|
| bool AllocateOffscreenFrameBuffer(int width, int height);
|
| void ClearRenderTarget();
|
|
|
| -#ifdef FLIP_FRAMEBUFFER_VERTICALLY
|
| void FlipVertically(unsigned char* framebuffer,
|
| unsigned int width,
|
| unsigned int height);
|
| -#endif
|
|
|
| // Take into account the user's requested context creation attributes, in
|
| // particular stencil and antialias, and determine which could or could
|
| @@ -560,9 +555,7 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessImpl :
|
| // For tracking which texture is bound
|
| WebGLId bound_texture_;
|
|
|
| -#ifdef FLIP_FRAMEBUFFER_VERTICALLY
|
| unsigned char* scanline_;
|
| -#endif
|
|
|
| // Errors raised by synthesizeGLError().
|
| std::list<WGC3Denum> synthetic_errors_list_;
|
|
|