Refactor dimensions of normal images into GpuImageDecodeCacheTest helper
This fixes a subtle bug in GetDecodedImageForDrawMipUsageChange where the test image was created with a dimension larger than |max_texture_size_| and never went through the GPU upload path. R=ericrk@chromium.org Change-Id: I4c9bbdfa6f8c25bbc75deb34cd37d427fd869a9c Reviewed-on: https://chromium-review.googlesource.com/c/1450231 Commit-Queue: Madeleine Barowsky <mbarowsky@chromium.org> Auto-Submit: Madeleine Barowsky <mbarowsky@chromium.org> Reviewed-by:Eric Karl <ericrk@chromium.org> Cr-Commit-Position: refs/heads/master@{#628482}
Showing
This diff is collapsed.
Please register or sign in to comment