Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index 04122e13198a35119cf1fd4c1a14e21a3352ea96..b4fb27bcc51142b87e6eecd73587f2a40f546df3 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -29,16 +29,22 @@ void SetupAlwaysEvictAtlas(GrContext* context) { |
GrBatchAtlasConfig 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; |