Lines Matching defs:surface
279 sk_sp<SkSurface>& surface, in test_canvas_peek()
308 auto surface(surface_func(kPremul_SkAlphaType, &requestInfo)); in DEF_TEST() local
318 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, &requestInfo)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
323 static void test_snapshot_alphatype(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface, in test_snapshot_alphatype()
337 auto surface(surface_func(at, nullptr)); in DEF_TEST() local
349 auto surface(surface_func(ctxInfo.directContext(), at, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
356 skiatest::Reporter* reporter, SkSurface* surface, SkSurface::BackendHandleAccess access) { in test_backend_texture_access_copy_on_write()
368 skiatest::Reporter* reporter, SkSurface* surface, SkSurface::BackendHandleAccess access) { in test_backend_rendertarget_access_copy_on_write()
393 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
397 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
405 static void test_backend_unique_id(skiatest::Reporter* reporter, SkSurface* surface) { in test_backend_unique_id()
435 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
440 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
453 sk_sp<SkSurface> surface = create_gpu_surface(direct, kPremul_SkAlphaType, nullptr); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
471 sk_sp<SkSurface> surface = create_gpu_surface(dContext, kPremul_SkAlphaType, nullptr); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
496 static void test_copy_on_write(skiatest::Reporter* reporter, SkSurface* surface) { in test_copy_on_write()
560 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
566 SkSurface* surface) { in test_writable_after_snapshot_release()
583 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
639 auto surface(create_surface()); in DEF_TEST() local
650 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
685 auto surface(SkSurfaces::RenderTarget(dContext, budgeted, info)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
706 SkSurface* surface, in test_no_canvas1()
712 SkSurface* surface, in test_no_canvas2()
741 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
748 static void check_rowbytes_remain_consistent(SkSurface* surface, skiatest::Reporter* reporter) { in check_rowbytes_remain_consistent()
829 static bool supports_readpixels(const GrCaps* caps, SkSurface* surface) { in supports_readpixels()
892 auto makeImageSurfaceContext = [dContext](SkSurface* surface) { in DEF_GANESH_TEST_FOR_GL_CONTEXT()
901 auto surface = surface_func(dContext, kPremul_SkAlphaType, nullptr); in DEF_GANESH_TEST_FOR_GL_CONTEXT() local
920 auto surface = surfaceFunc(dContext, 1, kOrigColor); in DEF_GANESH_TEST_FOR_GL_CONTEXT() local
938 skiatest::Reporter* reporter, sk_sp<SkSurface> surface, SkColor origColor) { in test_surface_draw_partially()
1002 auto surface = surfaceFunc(context, 1, kOrigColor); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
1030 sk_sp<SkSurface> surface; in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
1107 auto surface = surfaceFunc(context, sampleCnt, kOrigColor); in DEF_GANESH_TEST_FOR_GL_CONTEXT() local
1235 static void test_overdraw_surface(skiatest::Reporter* r, SkSurface* surface) { in test_overdraw_surface()
1250 sk_sp<SkSurface> surface = create_surface(); in DEF_TEST() local
1259 sk_sp<SkSurface> surface = create_gpu_surface(context); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local