Searched refs:texRelease (Results 1 – 2 of 2) sorted by relevance
84 SkImage::BackendTextureReleaseProc texRelease; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local85 if (!SkImage::MakeBackendTextureFromSkImage(ctx, std::move(img), &btex, &texRelease)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()106 texRelease(btex); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
93 SkImage::BackendTextureReleaseProc texRelease; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local94 if (!SkImage::MakeBackendTextureFromSkImage(dContext, std::move(img), &btex, &texRelease)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()116 texRelease(btex); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()