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

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

Issue 2539993002: Enable sRGB on iOS, make sRGB decode support optional (Closed)
Patch Set: Don't allow sRGBA on ES BGRA devices Created 4 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
« no previous file with comments | « no previous file | src/gpu/gl/GrGLCaps.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 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrContextOptions_DEFINED 8 #ifndef GrContextOptions_DEFINED
9 #define GrContextOptions_DEFINED 9 #define GrContextOptions_DEFINED
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 * are commonly rendered at the same scale and fractional translation. 70 * are commonly rendered at the same scale and fractional translation.
71 */ 71 */
72 bool fAllowPathMaskCaching = false; 72 bool fAllowPathMaskCaching = false;
73 73
74 /** 74 /**
75 * Force all path draws to go through through the sw-rasterize-to-texture co de path (assuming 75 * Force all path draws to go through through the sw-rasterize-to-texture co de path (assuming
76 * the path is not recognized as a simpler shape (e.g. a rrect). This is int ended for testing 76 * the path is not recognized as a simpler shape (e.g. a rrect). This is int ended for testing
77 * purposes. 77 * purposes.
78 */ 78 */
79 bool fForceSWPathMasks = false; 79 bool fForceSWPathMasks = false;
80
81 /**
82 * If true, sRGB support will not be enabled unless sRGB decoding can be dis abled (via an
83 * extension). If mixed use of "legacy" mode and sRGB/color-correct mode is not required, this
84 * can be set to false, which will significantly expand the number of device s that qualify for
85 * sRGB support.
86 */
87 bool fRequireDecodeDisableForSRGB = true;
80 }; 88 };
81 89
82 #endif 90 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/gl/GrGLCaps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698