Remove legacy flag: GrContextOptions::fDisallowGLSLBinaryCaching
Subsumed by fShaderCacheStrategy, clients have switched over. Change-Id: I70b6ade4ccab2f48f2ef9437ae65c78cf458cfe4 Bug: skia:9402 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/239928 Commit-Queue: Brian Salomon <bsalomon@google.com> Auto-Submit: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
78fb80a2b3
commit
e8820d45ce
@ -200,9 +200,6 @@ struct SK_API GrContextOptions {
|
||||
*/
|
||||
ShaderCacheStrategy fShaderCacheStrategy = ShaderCacheStrategy::kBackendBinary;
|
||||
|
||||
// Legacy flag until clients are updated to use fShaderCacheStrategy
|
||||
bool fDisallowGLSLBinaryCaching = false;
|
||||
|
||||
/**
|
||||
* If present, use this object to report shader compilation failures. If not, report failures
|
||||
* via SkDebugf and assert.
|
||||
|
@ -3607,9 +3607,6 @@ void GrGLCaps::onApplyOptionsOverrides(const GrContextOptions& options) {
|
||||
if (options.fShaderCacheStrategy < GrContextOptions::ShaderCacheStrategy::kBackendBinary) {
|
||||
fProgramBinarySupport = false;
|
||||
}
|
||||
if (options.fDisallowGLSLBinaryCaching) {
|
||||
fProgramBinarySupport = false;
|
||||
}
|
||||
}
|
||||
|
||||
bool GrGLCaps::onSurfaceSupportsWritePixels(const GrSurface* surface) const {
|
||||
|
Loading…
Reference in New Issue
Block a user