diff options
Diffstat (limited to 'include/gpu/GrContextOptions.h')
-rw-r--r-- | include/gpu/GrContextOptions.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h index 338c538963..84863f50a6 100644 --- a/include/gpu/GrContextOptions.h +++ b/include/gpu/GrContextOptions.h @@ -135,6 +135,13 @@ struct GrContextOptions { bool fAvoidStencilBuffers = false; /** + * If true, texture fetches from mip-mapped textures will be biased to read larger MIP levels. + * This has the effect of sharpening those textures, at the cost of some aliasing, and possible + * performance impact. + */ + bool fSharpenMipmappedTextures = false; + + /** * Enables driver workaround to use draws instead of glClear. This only applies to * kOpenGL_GrBackend. */ |