From 8996e18358752bab9ce0a5da60dbc1af696ce282 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Wed, 5 Jul 2017 17:01:48 -0400 Subject: 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 Commit-Queue: Brian Salomon --- tests/ClipStackTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ClipStackTest.cpp') 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 surf = SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info); SkCanvas* canvas = surf->getCanvas(); SkRegion rgn; -- cgit v1.2.3