Remove GLSL from name of functions that builds GrProcessor keys.
Bug: skia:11358
Change-Id: Ie70e45b18c12126c8e86700ad1040bc319be385a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/436998
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
diff --git a/src/gpu/GrXferProcessor.cpp b/src/gpu/GrXferProcessor.cpp
index 1d74e12..d6574f7 100644
--- a/src/gpu/GrXferProcessor.cpp
+++ b/src/gpu/GrXferProcessor.cpp
@@ -28,9 +28,10 @@
return false;
}
-void GrXferProcessor::getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b,
- const GrSurfaceOrigin* originIfDstTexture,
- bool usesInputAttachmentForDstRead) const {
+void GrXferProcessor::addToKey(const GrShaderCaps& caps,
+ GrProcessorKeyBuilder* b,
+ const GrSurfaceOrigin* originIfDstTexture,
+ bool usesInputAttachmentForDstRead) const {
uint32_t key = this->willReadDstColor() ? 0x1 : 0x0;
if (key) {
if (originIfDstTexture) {
@@ -47,7 +48,7 @@
key |= 0x10;
}
b->add32(key);
- this->onGetGLSLProcessorKey(caps, b);
+ this->onAddToKey(caps, b);
}
#ifdef SK_DEBUG