diff options
author | 2018-02-08 10:59:38 -0500 | |
---|---|---|
committer | 2018-02-08 16:28:30 +0000 | |
commit | a3f70261ccf4c14648505fed8bdc517ceb1b925e (patch) | |
tree | 8cff94fc78cf47d242abbf39b426195dc56c3178 /include | |
parent | f8cac792274b01901899a4fa6e4d571d218a3e05 (diff) |
Switch MDB GrContextOptions over to Enable style
Change-Id: Id6541c346a13649c89ca3b9ccb13972976f9b973
Reviewed-on: https://skia-review.googlesource.com/105603
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrContextOptions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h index 0cf4553ac9..338c538963 100644 --- a/include/gpu/GrContextOptions.h +++ b/include/gpu/GrContextOptions.h @@ -144,14 +144,14 @@ struct GrContextOptions { * Allow Ganesh to explicitly allocate resources at flush time rather than incrementally while * drawing. This will eventually just be the way it is but, for now, it is optional. */ - bool fExplicitlyAllocateGPUResources = false; + Enable fExplicitlyAllocateGPUResources = Enable::kDefault; /** * Allow Ganesh to sort the opLists prior to allocating resources. This is an optional * behavior that is only relevant when 'fExplicitlyAllocateGPUResources' is enabled. * Eventually this will just be what is done and will not be optional. */ - bool fSortRenderTargets = false; + Enable fSortRenderTargets = Enable::kDefault; /** * Disables correctness workarounds that are enabled for particular GPUs, OSes, or drivers. |