aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-08-31 09:17:43 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-01 16:24:48 +0000
commitbdda0ba1550fa31b7121a3b03bf14cda3ce17108 (patch)
tree0e6025fd7b35a0d5d3e75889af0850c1eed1a561 /tools
parent022cfa258df280d914cfff4dc1466a3fa909ce9c (diff)
Cosmetic changes to GrDrawOpAtlas
It looks like we won't be going in the direction of: https://skia-review.googlesource.com/c/skia/+/35962 (Allow GrDrawOpAtlas to grow & shrink) Pull out what is worth keeping. TBR=bsalomon@google.com Change-Id: Ia14c3c621e7b1d2d7f303a455a3e4d9660af5f6e Reviewed-on: https://skia-review.googlesource.com/41362 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/gpu/GrTest.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp
index 57ff77e5e7..d3a1c4ff3f 100644
--- a/tools/gpu/GrTest.cpp
+++ b/tools/gpu/GrTest.cpp
@@ -38,22 +38,16 @@ void SetupAlwaysEvictAtlas(GrContext* context) {
GrDrawOpAtlasConfig configs[3];
configs[kA8_GrMaskFormat].fWidth = dim;
configs[kA8_GrMaskFormat].fHeight = dim;
- configs[kA8_GrMaskFormat].fLog2Width = SkNextLog2(dim);
- configs[kA8_GrMaskFormat].fLog2Height = SkNextLog2(dim);
configs[kA8_GrMaskFormat].fPlotWidth = dim;
configs[kA8_GrMaskFormat].fPlotHeight = dim;
configs[kA565_GrMaskFormat].fWidth = dim;
configs[kA565_GrMaskFormat].fHeight = dim;
- configs[kA565_GrMaskFormat].fLog2Width = SkNextLog2(dim);
- configs[kA565_GrMaskFormat].fLog2Height = SkNextLog2(dim);
configs[kA565_GrMaskFormat].fPlotWidth = dim;
configs[kA565_GrMaskFormat].fPlotHeight = dim;
configs[kARGB_GrMaskFormat].fWidth = dim;
configs[kARGB_GrMaskFormat].fHeight = dim;
- configs[kARGB_GrMaskFormat].fLog2Width = SkNextLog2(dim);
- configs[kARGB_GrMaskFormat].fLog2Height = SkNextLog2(dim);
configs[kARGB_GrMaskFormat].fPlotWidth = dim;
configs[kARGB_GrMaskFormat].fPlotHeight = dim;