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

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_impl.h

Issue 12896006: mac: Clean up a few more uses of USE_SKIA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: 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)
Nico 2013/03/23 17:34:28 This was very likely wrong and just wasn't updated
Ken Russell (switch to Gerrit) 2013/03/25 18:09:38 No, it's unused. I thought danakj just deleted it,
danakj 2013/03/25 18:25:02 I removed support for it from the offscreen contex
-#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_;
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698