commit | 45d6303f6e8403db9499ab28494f672b2bcd034e | [log] [tgz] |
---|---|---|
author | Greg Daniel <egdaniel@google.com> | Mon Oct 30 13:41:26 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Oct 30 20:06:53 2017 +0000 |
tree | e3729181fa9bdccbb6fc87f3bf4489d8daba5edd | |
parent | 1b361150239a2ae79979a5bab5c35dfa0c5adb9c [diff] [blame] |
Have mip status match surface when snapping image from wrapped object Also fixes some bugs involved with creating mipped SkSurfaces. Bug: skia: Change-Id: I6e0109000eadd2bdee4a907d3ee2231104528165 Reviewed-on: https://skia-review.googlesource.com/65063 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp index 55ffca9..e0ac272 100644 --- a/tests/GLProgramsTest.cpp +++ b/tests/GLProgramsTest.cpp
@@ -159,7 +159,7 @@ kRGBA_8888_GrPixelConfig, nullptr, sampleCnt, - false, + GrMipMapped::kNo, origin)); return renderTargetContext; }