Lines Matching defs:surface
228 sk_sp<SkSurface>& surface, in test_canvas_peek()
257 auto surface(surface_func(kPremul_SkAlphaType, &requestInfo)); in DEF_TEST() local
264 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, &requestInfo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
269 static void test_snapshot_alphatype(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface, in test_snapshot_alphatype()
283 auto surface(surface_func(at, nullptr)); in DEF_TEST() local
292 auto surface(surface_func(ctxInfo.grContext(), at, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
299 skiatest::Reporter* reporter, SkSurface* surface, SkSurface::BackendHandleAccess access) { in test_backend_texture_access_copy_on_write()
311 skiatest::Reporter* reporter, SkSurface* surface, SkSurface::BackendHandleAccess access) { in test_backend_rendertarget_access_copy_on_write()
333 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
337 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
345 static void test_backend_unique_id(skiatest::Reporter* reporter, SkSurface* surface) { in test_backend_unique_id()
372 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
377 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
385 static void test_copy_on_write(skiatest::Reporter* reporter, SkSurface* surface) { in test_copy_on_write()
447 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
453 SkSurface* surface) { in test_writable_after_snapshot_release()
467 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
513 auto surface(create_surface()); in DEF_TEST() local
521 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
553 auto surface(SkSurface::MakeRenderTarget(ctxInfo.grContext(), budgeted, info)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
574 SkSurface* surface, in test_no_canvas1()
580 SkSurface* surface, in test_no_canvas2()
606 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
613 static void check_rowbytes_remain_consistent(SkSurface* surface, skiatest::Reporter* reporter) { in check_rowbytes_remain_consistent()
696 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(ctx, *outTexture, in create_gpu_surface_backend_texture() local
721 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTextureAsRenderTarget( in create_gpu_surface_backend_texture_as_render_target() local
732 static void test_surface_clear(skiatest::Reporter* reporter, sk_sp<SkSurface> surface, in test_surface_clear()
796 auto surface = surface_func(context, kPremul_SkAlphaType, nullptr); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
804 auto surface = surfaceFunc(context, 1, kOrigColor, &backendTex); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
813 skiatest::Reporter* reporter, sk_sp<SkSurface> surface, uint32_t origColor) { in test_surface_draw_partially()
875 auto surface = surfaceFunc(context, 1, kOrigColor, &backendTex); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
903 sk_sp<SkSurface> surface; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
971 auto surface = surfaceFunc(context, sampleCnt, kOrigColor, &backendTex); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
1093 static void test_overdraw_surface(skiatest::Reporter* r, SkSurface* surface) { in test_overdraw_surface()
1108 sk_sp<SkSurface> surface = create_surface(); in DEF_TEST() local
1114 sk_sp<SkSurface> surface = create_gpu_surface(context); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local