Chromium Code Reviews| Index: include/gpu/GrContextOptions.h |
| diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h |
| index 4b70105559fa1a9dcdadfae486be4497d7eed6ed..05a3dab2042d03482a1f2d29f7d9b5b2d0c6f00c 100644 |
| --- a/include/gpu/GrContextOptions.h |
| +++ b/include/gpu/GrContextOptions.h |
| @@ -15,6 +15,7 @@ struct GrContextOptions { |
| : fDrawPathToCompressedTexture(false) |
| , fSuppressPrints(false) |
| , fMaxTextureSizeOverride(SK_MaxS32) |
| + , fMaxTileSizeOverride(0) |
| , fSuppressDualSourceBlending(false) |
| , fGeometryBufferMapThreshold(-1) |
| , fUseDrawInsteadOfPartialRenderTargetWrite(false) |
| @@ -33,6 +34,9 @@ struct GrContextOptions { |
| detected values. */ |
| int fMaxTextureSizeOverride; |
|
robertphillips
2015/11/02 18:37:57
maximum ?
bsalomon
2015/11/02 19:06:49
Done.
|
| + /** If non-zero, overrides the maxixum size of a tile for sw-backed images and bitmaps rendered |
| + by SkGpuDevice. */ |
| + int fMaxTileSizeOverride; |
| bool fSuppressDualSourceBlending; |
| /** the threshold in bytes above which we will use a buffer mapping API to map vertex and index |