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

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

Issue 2657453005: No need to define SK_SCALAR_IS_FLOAT (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 SK_TRACE_EVENT1(event, name1, value1) 120 SK_TRACE_EVENT1(event, name1, value1)
121 SK_TRACE_EVENT2(event, name1, value1, name2, value2) 121 SK_TRACE_EVENT2(event, name1, value1, name2, value2)
122 src/utils/SkDebugTrace.h has a trivial implementation that writes to 122 src/utils/SkDebugTrace.h has a trivial implementation that writes to
123 the debug output stream. If SK_USER_TRACE_INCLUDE_FILE is not defined, 123 the debug output stream. If SK_USER_TRACE_INCLUDE_FILE is not defined,
124 SkTrace.h will define the above three macros to do nothing. 124 SkTrace.h will define the above three macros to do nothing.
125 */ 125 */
126 #undef SK_USER_TRACE_INCLUDE_FILE 126 #undef SK_USER_TRACE_INCLUDE_FILE
127 127
128 // ===== Begin Chrome-specific definitions ===== 128 // ===== Begin Chrome-specific definitions =====
129 129
130 #define SK_SCALAR_IS_FLOAT
131 #undef SK_SCALAR_IS_FIXED
132
133 #define SK_MSCALAR_IS_FLOAT 130 #define SK_MSCALAR_IS_FLOAT
134 #undef SK_MSCALAR_IS_DOUBLE 131 #undef SK_MSCALAR_IS_DOUBLE
135 132
136 #define GR_MAX_OFFSCREEN_AA_DIM 512 133 #define GR_MAX_OFFSCREEN_AA_DIM 512
137 134
138 // Log the file and line number for assertions. 135 // Log the file and line number for assertions.
139 #define SkDebugf(...) SkDebugf_FileLine(__FILE__, __LINE__, false, __VA_ARGS__) 136 #define SkDebugf(...) SkDebugf_FileLine(__FILE__, __LINE__, false, __VA_ARGS__)
140 SK_API void SkDebugf_FileLine(const char* file, 137 SK_API void SkDebugf_FileLine(const char* file,
141 int line, 138 int line,
142 bool fatal, 139 bool fatal,
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 260
264 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when 261 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
265 // done. 262 // done.
266 #define SK_SUPPORT_LEGACY_X86_BLITS 263 #define SK_SUPPORT_LEGACY_X86_BLITS
267 264
268 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION 265 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION
269 266
270 // ===== End Chrome-specific definitions ===== 267 // ===== End Chrome-specific definitions =====
271 268
272 #endif // SKIA_CONFIG_SKUSERCONFIG_H_ 269 #endif // SKIA_CONFIG_SKUSERCONFIG_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698