Home | History | Annotate | Download | only in tests

Lines Matching defs:ctxInfo

187 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageEncode_Gpu, reporter, ctxInfo) {
188 test_encode(reporter, create_gpu_image(ctxInfo.grContext()).get());
387 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(c, reporter, ctxInfo) {
389 sk_sp<SkImage> image(create_gpu_image(ctxInfo.grContext()));
632 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageReadPixels_Gpu, reporter, ctxInfo) {
633 image_test_read_pixels(reporter, create_gpu_image(ctxInfo.grContext()).get());
698 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageLegacyBitmap_Gpu, reporter, ctxInfo) {
704 sk_sp<SkImage> image(create_gpu_image(ctxInfo.grContext()));
746 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImagePeek_Gpu, reporter, ctxInfo) {
747 sk_sp<SkImage> image(create_gpu_image(ctxInfo.grContext()));
761 DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(SkImage_NewFromTextureRelease, reporter, ctxInfo) {
766 GrContext* ctx = ctxInfo.grContext();
769 ctxInfo.grContext()->getGpu()->createTestingOnlyBackendTexture(
806 ctxInfo.grContext()->getGpu()->deleteTestingOnlyBackendTexture(backendTexHandle);
817 ContextInfo ctxInfo = testFactory.getContextInfo(ctxType);
818 GrContext* ctx = ctxInfo.grContext();
869 sk_gpu_test::TestContext* testContext = ctxInfo.testContext();
990 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(DeferredTextureImage, reporter, ctxInfo) {
991 GrContext* context = ctxInfo.grContext();
992 sk_gpu_test::TestContext* testContext = ctxInfo.testContext();
996 ContextInfo otherContextInfo = otherFactory.getContextInfo(ctxInfo.type());
1315 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageScalePixels_Gpu, reporter, ctxInfo) {
1320 sk_sp<SkSurface> surface = SkSurface::MakeRenderTarget(ctxInfo.grContext(), SkBudgeted::kNo,