Restore proper name of the SkImage_Gpu2Cpu unit test
Looks like this was accidentally renamed as part of https://codereview.chromium.org/1885623002 Bug: skia: Change-Id: Ie38d8e3e64d11f0bcbe388622f0b96b2672cd8b0 Reviewed-on: https://skia-review.googlesource.com/c/159663 Auto-Submit: Brian Osman <brianosman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
d18d7bd294
commit
e47e5b69da
@ -334,7 +334,7 @@ DEF_TEST(image_newfrombitmap, reporter) {
|
|||||||
* but we don't have that facility (at the moment) so we use a little internal knowledge
|
* but we don't have that facility (at the moment) so we use a little internal knowledge
|
||||||
* of *how* the raster version is cached, and look for that.
|
* of *how* the raster version is cached, and look for that.
|
||||||
*/
|
*/
|
||||||
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(c, reporter, ctxInfo) {
|
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SkImage_Gpu2Cpu, reporter, ctxInfo) {
|
||||||
SkImageInfo info = SkImageInfo::MakeN32(20, 20, kOpaque_SkAlphaType);
|
SkImageInfo info = SkImageInfo::MakeN32(20, 20, kOpaque_SkAlphaType);
|
||||||
sk_sp<SkImage> image(create_gpu_image(ctxInfo.grContext()));
|
sk_sp<SkImage> image(create_gpu_image(ctxInfo.grContext()));
|
||||||
const uint32_t uniqueID = image->uniqueID();
|
const uint32_t uniqueID = image->uniqueID();
|
||||||
|
Loading…
Reference in New Issue
Block a user