Misc batch->op cleanup Part 1 of 2
Change-Id: I80f951976558a284e55386e0a368f08bd835d8ca
Reviewed-on: https://skia-review.googlesource.com/6359
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/tests/ProxyRefTest.cpp b/tests/ProxyRefTest.cpp
index 77ec2db..c285721 100644
--- a/tests/ProxyRefTest.cpp
+++ b/tests/ProxyRefTest.cpp
@@ -102,7 +102,7 @@
check_refs(reporter, sProxy.get(), 1, 1, 0, 1);
- // In the deferred case, the discard batch created on instantiation adds an
+ // In the deferred case, the discard op created on instantiation adds an
// extra ref and write
bool proxyGetsDiscardRef = !sProxy->isWrapped_ForTesting() &&
caps.discardRenderTargetSupport();
@@ -122,7 +122,7 @@
check_refs(reporter, sProxy.get(), 1, 1, 1, 0);
- // In the deferred case, the discard batch created on instantiation adds an
+ // In the deferred case, the discard op created on instantiation adds an
// extra ref and write
bool proxyGetsDiscardRef = !sProxy->isWrapped_ForTesting() &&
caps.discardRenderTargetSupport();
@@ -142,7 +142,7 @@
check_refs(reporter, sProxy.get(), 1, 1, 1, 1);
- // In the deferred case, the discard batch created on instantiation adds an
+ // In the deferred case, the discard op created on instantiation adds an
// extra ref and write
bool proxyGetsDiscardRef = !sProxy->isWrapped_ForTesting() &&
caps.discardRenderTargetSupport();
@@ -150,7 +150,7 @@
sProxy->instantiate(provider);
- // In the deferred case, this checks that the refs transfered to the GrSurface
+ // In the deferred case, this checks that the refs transferred to the GrSurface
check_refs(reporter, sProxy.get(), 1, 1, 1, expectedWrites);
}
@@ -168,7 +168,7 @@
sProxy->instantiate(provider);
- // In the deferred case, this checks that the refs transfered to the GrSurface
+ // In the deferred case, this checks that the refs transferred to the GrSurface
check_refs(reporter, sProxy.get(), 3, 3, 0, expectedWrites);
sProxy->unref();