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

Side by Side Diff: skia/config/SkUserConfig.h

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 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 unified diff | Download patch
« no previous file with comments | « skia/BUILD.gn ('k') | skia/ext/benchmarking_canvas.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 * Copyright (C) 2006 The Android Open Source Project 2 * Copyright (C) 2006 The Android Open Source Project
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at 6 * You may obtain a copy of the License at
7 * 7 *
8 * http://www.apache.org/licenses/LICENSE-2.0 8 * http://www.apache.org/licenses/LICENSE-2.0
9 * 9 *
10 * Unless required by applicable law or agreed to in writing, software 10 * Unless required by applicable law or agreed to in writing, software
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 each 32bit pixel is in premultiplied form). This code can be very useful 72 each 32bit pixel is in premultiplied form). This code can be very useful
73 during development, but will slow things down in a shipping product. 73 during development, but will slow things down in a shipping product.
74 74
75 By default, these mutually exclusive flags are defined in SkPreConfig.h, 75 By default, these mutually exclusive flags are defined in SkPreConfig.h,
76 based on the presence or absence of NDEBUG, but that decision can be changed 76 based on the presence or absence of NDEBUG, but that decision can be changed
77 here. 77 here.
78 */ 78 */
79 //#define SK_DEBUG 79 //#define SK_DEBUG
80 //#define SK_RELEASE 80 //#define SK_RELEASE
81 81
82 #ifdef DCHECK_ALWAYS_ON
83 #undef SK_RELEASE
84 #define SK_DEBUG
85 #endif
82 86
83 /* If, in debugging mode, Skia needs to stop (presumably to invoke a debugger) 87 /* If, in debugging mode, Skia needs to stop (presumably to invoke a debugger)
84 it will call SK_CRASH(). If this is not defined it, it is defined in 88 it will call SK_CRASH(). If this is not defined it, it is defined in
85 SkPostConfig.h to write to an illegal address 89 SkPostConfig.h to write to an illegal address
86 */ 90 */
87 //#define SK_CRASH() *(int *)(uintptr_t)0 = 0 91 //#define SK_CRASH() *(int *)(uintptr_t)0 = 0
88 92
89 93
90 /* preconfig will have attempted to determine the endianness of the system, 94 /* preconfig will have attempted to determine the endianness of the system,
91 but you can change these mutually exclusive flags here. 95 but you can change these mutually exclusive flags here.
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE 290 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE
287 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT 291 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT
288 292
289 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 293 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1
290 #define SK_ENABLE_INST_COUNT 0 294 #define SK_ENABLE_INST_COUNT 0
291 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" 295 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h"
292 296
293 // ===== End Chrome-specific definitions ===== 297 // ===== End Chrome-specific definitions =====
294 298
295 #endif 299 #endif
OLDNEW
« no previous file with comments | « skia/BUILD.gn ('k') | skia/ext/benchmarking_canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698