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

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

Issue 1508903002: Use GrGLTextureInfo for Skia texture handles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ignore_gl_target
Patch Set: Address dcastagna's comments Created 5 years 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
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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 247
248 /* Forcing the unoptimized path for the offset image filter in skia until 248 /* Forcing the unoptimized path for the offset image filter in skia until
249 * all filters used in Blink support the optimized path properly 249 * all filters used in Blink support the optimized path properly
250 */ 250 */
251 #define SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION 251 #define SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION
252 252
253 /* This flag forces Skia not to use typographic metrics with GDI. 253 /* This flag forces Skia not to use typographic metrics with GDI.
254 */ 254 */
255 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS 255 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS
256 256
257 #ifndef SK_IGNORE_GL_TEXTURE_TARGET
258 # define SK_IGNORE_GL_TEXTURE_TARGET
259 #endif
260 #define SK_IGNORE_BLURRED_RRECT_OPT 257 #define SK_IGNORE_BLURRED_RRECT_OPT
261 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE 258 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE
262 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT 259 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT
263 260
264 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 261 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1
265 #define SK_ENABLE_INST_COUNT 0 262 #define SK_ENABLE_INST_COUNT 0
266 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" 263 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h"
267 264
268 // Blink layout tests are baselined to Clang optimizing through the UB in SkDivB its. 265 // Blink layout tests are baselined to Clang optimizing through the UB in SkDivB its.
269 #define SK_SUPPORT_LEGACY_DIVBITS_UB 266 #define SK_SUPPORT_LEGACY_DIVBITS_UB
270 267
271 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when done. 268 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when done.
272 #define SK_SUPPORT_LEGACY_X86_BLITS 269 #define SK_SUPPORT_LEGACY_X86_BLITS
273 270
274 // ===== End Chrome-specific definitions ===== 271 // ===== End Chrome-specific definitions =====
275 272
276 #endif 273 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698