• Home
  • Raw
  • Download

Lines Matching defs:surface

217                              sk_sp<SkSurface>& surface,  in test_canvas_peek()
246 auto surface(surface_func(kPremul_SkAlphaType, &requestInfo)); in DEF_TEST() local
253 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, &requestInfo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
258 static void test_snapshot_alphatype(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface, in test_snapshot_alphatype()
272 auto surface(surface_func(at, nullptr)); in DEF_TEST() local
281 auto surface(surface_func(ctxInfo.directContext(), at, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
288 skiatest::Reporter* reporter, SkSurface* surface, SkSurface::BackendHandleAccess access) { in test_backend_texture_access_copy_on_write()
300 skiatest::Reporter* reporter, SkSurface* surface, SkSurface::BackendHandleAccess access) { in test_backend_rendertarget_access_copy_on_write()
322 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
326 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
334 static void test_backend_unique_id(skiatest::Reporter* reporter, SkSurface* surface) { in test_backend_unique_id()
361 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
366 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
376 sk_sp<SkSurface> surface = create_gpu_surface(direct, kPremul_SkAlphaType, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
391 sk_sp<SkSurface> surface = create_gpu_surface(dContext, kPremul_SkAlphaType, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
414 static void test_copy_on_write(skiatest::Reporter* reporter, SkSurface* surface) { in test_copy_on_write()
475 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
481 SkSurface* surface) { in test_writable_after_snapshot_release()
495 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
548 auto surface(create_surface()); in DEF_TEST() local
556 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
584 auto surface(SkSurface::MakeRenderTarget(dContext, budgeted, info)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
605 SkSurface* surface, in test_no_canvas1()
611 SkSurface* surface, in test_no_canvas2()
637 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
644 static void check_rowbytes_remain_consistent(SkSurface* surface, skiatest::Reporter* reporter) { in check_rowbytes_remain_consistent()
731 static bool supports_readpixels(const GrCaps* caps, SkSurface* surface) { in supports_readpixels()
794 auto makeImageSurfaceContext = [dContext](SkSurface* surface) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
804 auto surface = surface_func(dContext, kPremul_SkAlphaType, nullptr); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
823 auto surface = surfaceFunc(dContext, 1, kOrigColor); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
841 skiatest::Reporter* reporter, sk_sp<SkSurface> surface, SkColor origColor) { in test_surface_draw_partially()
902 auto surface = surfaceFunc(context, 1, kOrigColor); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
928 sk_sp<SkSurface> surface; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
999 auto surface = surfaceFunc(context, sampleCnt, kOrigColor); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
1116 static void test_overdraw_surface(skiatest::Reporter* r, SkSurface* surface) { in test_overdraw_surface()
1131 sk_sp<SkSurface> surface = create_surface(); in DEF_TEST() local
1137 sk_sp<SkSurface> surface = create_gpu_surface(context); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local