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

Side by Side Diff: include/gpu/GrConfig.h

Issue 1160863006: delete experimental path renderers (Closed) Base URL: https://skia.googlesource.com/skia.git@map-buffer-option
Patch Set: Created 5 years, 6 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
« no previous file with comments | « gyp/gpu.gyp ('k') | src/gpu/GrAddPathRenderers_default.cpp » ('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 2010 Google Inc. 3 * Copyright 2010 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 #else 179 #else
180 template <bool> class GR_STATIC_ASSERT_FAILURE; 180 template <bool> class GR_STATIC_ASSERT_FAILURE;
181 template <> class GR_STATIC_ASSERT_FAILURE<true> {}; 181 template <> class GR_STATIC_ASSERT_FAILURE<true> {};
182 #define GR_STATIC_ASSERT(CONDITION) \ 182 #define GR_STATIC_ASSERT(CONDITION) \
183 enum {GR_CONCAT(X,__LINE__) = \ 183 enum {GR_CONCAT(X,__LINE__) = \
184 sizeof(GR_STATIC_ASSERT_FAILURE<CONDITION>)} 184 sizeof(GR_STATIC_ASSERT_FAILURE<CONDITION>)}
185 #endif 185 #endif
186 #endif 186 #endif
187 187
188 /** 188 /**
189 * GR_STROKE_PATH_RENDERING controls whether or not the GrStrokePathRenderer can be selected
190 * as a path renderer. GrStrokePathRenderer is currently an experimental path re nderer.
191 */
192 #if !defined(GR_STROKE_PATH_RENDERING)
193 #define GR_STROKE_PATH_RENDERING 0
194 #endif
195
196 /**
197 * GR_ALWAYS_ALLOCATE_ON_HEAP determines whether various temporary buffers creat ed 189 * GR_ALWAYS_ALLOCATE_ON_HEAP determines whether various temporary buffers creat ed
198 * in the GPU backend are always allocated on the heap or are allowed to be 190 * in the GPU backend are always allocated on the heap or are allowed to be
199 * allocated on the stack for smaller memory requests. 191 * allocated on the stack for smaller memory requests.
200 * 192 *
201 * This is only used for memory buffers that are created and then passed through to the 193 * This is only used for memory buffers that are created and then passed through to the
202 * 3D API (e.g. as texture or geometry data) 194 * 3D API (e.g. as texture or geometry data)
203 */ 195 */
204 #if !defined(GR_ALWAYS_ALLOCATE_ON_HEAP) 196 #if !defined(GR_ALWAYS_ALLOCATE_ON_HEAP)
205 #define GR_ALWAYS_ALLOCATE_ON_HEAP 0 197 #define GR_ALWAYS_ALLOCATE_ON_HEAP 0
206 #endif 198 #endif
207 199
208 /** 200 /**
209 * GR_FORCE_GPU_TRACE_DEBUGGING will force gpu tracing/debug markers to be turne d on. The trace 201 * GR_FORCE_GPU_TRACE_DEBUGGING will force gpu tracing/debug markers to be turne d on. The trace
210 * markers will be printed out instead of making the backend calls to push and p op them. 202 * markers will be printed out instead of making the backend calls to push and p op them.
211 */ 203 */
212 #if !defined(GR_FORCE_GPU_TRACE_DEBUGGING) 204 #if !defined(GR_FORCE_GPU_TRACE_DEBUGGING)
213 #define GR_FORCE_GPU_TRACE_DEBUGGING 0 205 #define GR_FORCE_GPU_TRACE_DEBUGGING 0
214 #endif 206 #endif
215 207
216 #endif 208 #endif
OLDNEW
« no previous file with comments | « gyp/gpu.gyp ('k') | src/gpu/GrAddPathRenderers_default.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698