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

Unified Diff: src/gpu/gl/GrGpuGL.cpp

Issue 24253009: Replace GR_MAC_BUILD by SK_BUILD_FOR_MAC. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: GR_WIN32_BUILD Created 7 years, 3 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
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGpuGL.cpp
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
index 6f9a8ab152f04f43e192bbf2229a92c88b168f29..d1a716793f7e1bcde510f1898a5b724b4f10258c 100644
--- a/src/gpu/gl/GrGpuGL.cpp
+++ b/src/gpu/gl/GrGpuGL.cpp
@@ -1604,9 +1604,9 @@ GrGLenum gPrimitiveType2GLMode[] = {
#define SWAP_PER_DRAW 0
#if SWAP_PER_DRAW
- #if GR_MAC_BUILD
+ #if defined(SK_BUILD_FOR_MAC)
#include <AGL/agl.h>
- #elif GR_WIN32_BUILD
+ #elif defined(SK_BUILD_FOR_WIN32)
#include <gl/GL.h>
void SwapBuf() {
DWORD procID = GetCurrentProcessId();
@@ -1645,11 +1645,11 @@ void GrGpuGL::onGpuDraw(const DrawInfo& info) {
}
#if SWAP_PER_DRAW
glFlush();
- #if GR_MAC_BUILD
+ #if defined(SK_BUILD_FOR_MAC)
aglSwapBuffers(aglGetCurrentContext());
int set_a_break_pt_here = 9;
aglSwapBuffers(aglGetCurrentContext());
- #elif GR_WIN32_BUILD
+ #elif defined(SK_BUILD_FOR_WIN32)
SwapBuf();
int set_a_break_pt_here = 9;
SwapBuf();
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698