Lines Matching defs:surface
266 sk_sp<SkSurface>& surface, in test_canvas_peek()
295 auto surface(surface_func(kPremul_SkAlphaType, &requestInfo)); in DEF_TEST() local
305 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, &requestInfo)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
310 static void test_snapshot_alphatype(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface, in test_snapshot_alphatype()
324 auto surface(surface_func(at, nullptr)); in DEF_TEST() local
336 auto surface(surface_func(ctxInfo.directContext(), at, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
343 skiatest::Reporter* reporter, SkSurface* surface, SkSurface::BackendHandleAccess access) { in test_backend_texture_access_copy_on_write()
355 skiatest::Reporter* reporter, SkSurface* surface, SkSurface::BackendHandleAccess access) { in test_backend_rendertarget_access_copy_on_write()
380 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
384 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
392 static void test_backend_unique_id(skiatest::Reporter* reporter, SkSurface* surface) { in test_backend_unique_id()
422 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
427 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
440 sk_sp<SkSurface> surface = create_gpu_surface(direct, kPremul_SkAlphaType, nullptr); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
458 sk_sp<SkSurface> surface = create_gpu_surface(dContext, kPremul_SkAlphaType, nullptr); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
481 static void test_copy_on_write(skiatest::Reporter* reporter, SkSurface* surface) { in test_copy_on_write()
545 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
551 SkSurface* surface) { in test_writable_after_snapshot_release()
568 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
624 auto surface(create_surface()); in DEF_TEST() local
635 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
666 auto surface(SkSurface::MakeRenderTarget(dContext, budgeted, info)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
687 SkSurface* surface, in test_no_canvas1()
693 SkSurface* surface, in test_no_canvas2()
722 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
729 static void check_rowbytes_remain_consistent(SkSurface* surface, skiatest::Reporter* reporter) { in check_rowbytes_remain_consistent()
810 static bool supports_readpixels(const GrCaps* caps, SkSurface* surface) { in supports_readpixels()
876 auto makeImageSurfaceContext = [dContext](SkSurface* surface) { in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
886 auto surface = surface_func(dContext, kPremul_SkAlphaType, nullptr); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() local
905 auto surface = surfaceFunc(dContext, 1, kOrigColor); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() local
923 skiatest::Reporter* reporter, sk_sp<SkSurface> surface, SkColor origColor) { in test_surface_draw_partially()
987 auto surface = surfaceFunc(context, 1, kOrigColor); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
1015 sk_sp<SkSurface> surface; in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
1089 auto surface = surfaceFunc(context, sampleCnt, kOrigColor); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() local
1209 static void test_overdraw_surface(skiatest::Reporter* r, SkSurface* surface) { in test_overdraw_surface()
1224 sk_sp<SkSurface> surface = create_surface(); in DEF_TEST() local
1233 sk_sp<SkSurface> surface = create_gpu_surface(context); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
1321 auto surface = SkSurface::MakeRasterN32Premul(8, 8); in DEF_TEST() local