diff options
Diffstat (limited to 'include/private/GrTypesPriv.h')
-rw-r--r-- | include/private/GrTypesPriv.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/private/GrTypesPriv.h b/include/private/GrTypesPriv.h index b9b2cf7807..41a2deaecf 100644 --- a/include/private/GrTypesPriv.h +++ b/include/private/GrTypesPriv.h @@ -23,6 +23,23 @@ using GrStdSteadyClock = std::chrono::monotonic_clock; using GrStdSteadyClock = std::chrono::steady_clock; #endif +/** This enum is used to specify the load operation to be used when an + * opList/GrGpuCommandBuffer begins execution. + */ +enum class GrLoadOp { + kLoad, + kClear, + kDiscard, +}; + +/** This enum is used to specify the store operation to be used when an + * opList/GrGpuCommandBuffer ends execution. + */ +enum class GrStoreOp { + kStore, + kDiscard, +}; + /** This enum indicates the type of antialiasing to be performed. */ enum class GrAAType : unsigned { /** No antialiasing */ |