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

Side by Side Diff: include/gpu/gl/GrGLConfig.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/gpu/GrConfig.h ('k') | include/gpu/gl/GrGLConfig_chrome.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 10
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 * The issue is tracked at: 198 * The issue is tracked at:
199 * http://code.google.com/p/chromium/issues/detail?id=114865 199 * http://code.google.com/p/chromium/issues/detail?id=114865
200 * 200 *
201 * When the workaround is enabled we will use the glBufferData / glBufferSubData 201 * When the workaround is enabled we will use the glBufferData / glBufferSubData
202 * trick every 128 array buffer uploads. 202 * trick every 128 array buffer uploads.
203 * 203 *
204 * Hopefully we will understand this better and have a cleaner fix or get a 204 * Hopefully we will understand this better and have a cleaner fix or get a
205 * OS/driver level fix. 205 * OS/driver level fix.
206 */ 206 */
207 #define GR_GL_MAC_BUFFER_OBJECT_PERFOMANCE_WORKAROUND \ 207 #define GR_GL_MAC_BUFFER_OBJECT_PERFOMANCE_WORKAROUND \
208 (GR_MAC_BUILD && \ 208 (defined(SK_BUILD_FOR_MAC) && \
209 !GR_GL_USE_BUFFER_DATA_NULL_HINT) 209 !GR_GL_USE_BUFFER_DATA_NULL_HINT)
210 210
211 #endif 211 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrConfig.h ('k') | include/gpu/gl/GrGLConfig_chrome.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698