diff options
author | Brian Salomon <bsalomon@google.com> | 2017-07-05 17:01:48 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-05 21:27:15 +0000 |
commit | 8996e18358752bab9ce0a5da60dbc1af696ce282 (patch) | |
tree | d71f85ba6ac087d423f0b4f1d7369a96f0eb28c7 /tests/ClipStackTest.cpp | |
parent | e5ddff55536f35873d49f6c33e5d9db750d3fdf3 (diff) |
Use RGBA rather than N32 for GPU tests
This is to support a Mock backend that passes non-rendering context unit tests and has minimal config support.
Change-Id: I57c3ad2d347659d14382a8a7cf53424633bd86c6
Reviewed-on: https://skia-review.googlesource.com/21534
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tests/ClipStackTest.cpp')
-rw-r--r-- | tests/ClipStackTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ClipStackTest.cpp b/tests/ClipStackTest.cpp index e1aa148b3f..6f2490873c 100644 --- a/tests/ClipStackTest.cpp +++ b/tests/ClipStackTest.cpp @@ -1498,7 +1498,7 @@ DEF_GPUTEST_FOR_ALL_CONTEXTS(canvas_private_clipRgn, reporter, ctxInfo) { const int w = 10; const int h = 10; - SkImageInfo info = SkImageInfo::MakeN32Premul(w, h); + SkImageInfo info = SkImageInfo::Make(w, h, kRGBA_8888_SkColorType, kPremul_SkAlphaType); sk_sp<SkSurface> surf = SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info); SkCanvas* canvas = surf->getCanvas(); SkRegion rgn; |