Move clear-as-draw caps into GrCaps
Bug: skia:
Change-Id: Ib029f337f5e61366e2550e77dc99310b44d03f84
Reviewed-on: https://skia-review.googlesource.com/c/182970
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h
index c5f9b80..77e2970 100644
--- a/include/gpu/GrContextOptions.h
+++ b/include/gpu/GrContextOptions.h
@@ -140,10 +140,9 @@
bool fSharpenMipmappedTextures = false;
/**
- * Enables driver workaround to use draws instead of glClear. This only applies to
- * GrBackendApi::kOpenGL.
+ * Enables driver workaround to use draws instead of HW clears, e.g. glClear on the GL backend.
*/
- Enable fUseDrawInsteadOfGLClear = Enable::kDefault;
+ Enable fUseDrawInsteadOfClear = Enable::kDefault;
/**
* Allow Ganesh to explicitly allocate resources at flush time rather than incrementally while