aboutsummaryrefslogtreecommitdiff
path: root/tests/ProcessorTest.cpp
diff options
context:
space:
mode:
authorAditya Kushwah <adkushwa@microsoft.com>2022-05-25 12:30:01 -0700
committerSkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com>2022-05-26 14:16:41 +0000
commit35ef74b7a4c5ac23fecea00fa71076bc1be4d8ac (patch)
treeb0ca91cd3599055cac2de15412dcf5d56ea0e7c2 /tests/ProcessorTest.cpp
parentf92fbda2078202e1aa449ee6d013e9fb3ee0d158 (diff)
downloadskia-35ef74b7a4c5ac23fecea00fa71076bc1be4d8ac.tar.gz
Reland "Create updateResourceLabel method."
This is a reland of commit 605f92c7d7f97d6edf152f6e9d0fc88f8cd8c700 Original change's description: > Create updateResourceLabel method. > > In this CL, the GrSurfaceProxy's and GrDrawOpAtlas's label strings > are plumbed so that it can be stored in the label string of > GrGpuResource. updateResourceLabel method, which is called from > setLabel method, will add labels to Skia OpenGL backend using ANGLE's > labeling API. > > Bug: chromium:1164111 > Change-Id: I370715d186357e920d260d624d77586cdddd11e8 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/541230 > Reviewed-by: Greg Daniel <egdaniel@google.com> > Commit-Queue: Greg Daniel <egdaniel@google.com> Bug: chromium:1164111 Change-Id: Ia20a81d22e320813cbc4ad1d41e06e47dc3827bb Reviewed-on: https://skia-review.googlesource.com/c/skia/+/544058 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'tests/ProcessorTest.cpp')
-rw-r--r--tests/ProcessorTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ProcessorTest.cpp b/tests/ProcessorTest.cpp
index d0d3b8c658..4b53ff0b2e 100644
--- a/tests/ProcessorTest.cpp
+++ b/tests/ProcessorTest.cpp
@@ -163,7 +163,7 @@ DEF_GPUTEST_FOR_ALL_CONTEXTS(ProcessorRefTest, reporter, ctxInfo) {
{
sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(
format, kDims, GrRenderable::kNo, 1, GrMipmapped::kNo, SkBackingFit::kExact,
- SkBudgeted::kYes, GrProtected::kNo);
+ SkBudgeted::kYes, GrProtected::kNo, /*label=*/{});
{
SkTArray<GrSurfaceProxyView> views;