• Home
  • Raw
  • Download

Lines Matching defs:surface

215                              sk_sp<SkSurface>& surface,  in test_canvas_peek()
244 auto surface(surface_func(kPremul_SkAlphaType, &requestInfo)); in DEF_TEST() local
251 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, &requestInfo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
256 static void test_snapshot_alphatype(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface, in test_snapshot_alphatype()
270 auto surface(surface_func(at, nullptr)); in DEF_TEST() local
279 auto surface(surface_func(ctxInfo.directContext(), at, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
286 skiatest::Reporter* reporter, SkSurface* surface, SkSurface::BackendHandleAccess access) { in test_backend_texture_access_copy_on_write()
298 skiatest::Reporter* reporter, SkSurface* surface, SkSurface::BackendHandleAccess access) { in test_backend_rendertarget_access_copy_on_write()
320 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
324 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
332 static void test_backend_unique_id(skiatest::Reporter* reporter, SkSurface* surface) { in test_backend_unique_id()
359 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
364 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
374 sk_sp<SkSurface> surface = create_gpu_surface(direct, kPremul_SkAlphaType, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
389 sk_sp<SkSurface> surface = create_gpu_surface(dContext, kPremul_SkAlphaType, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
412 static void test_copy_on_write(skiatest::Reporter* reporter, SkSurface* surface) { in test_copy_on_write()
473 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
479 SkSurface* surface) { in test_writable_after_snapshot_release()
493 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
546 auto surface(create_surface()); in DEF_TEST() local
554 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
582 auto surface(SkSurface::MakeRenderTarget(dContext, budgeted, info)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
603 SkSurface* surface, in test_no_canvas1()
609 SkSurface* surface, in test_no_canvas2()
635 auto surface(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
642 static void check_rowbytes_remain_consistent(SkSurface* surface, skiatest::Reporter* reporter) { in check_rowbytes_remain_consistent()
729 static bool supports_readpixels(const GrCaps* caps, SkSurface* surface) { in supports_readpixels()
792 auto makeImageSurfaceContext = [dContext](SkSurface* surface) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
802 auto surface = surface_func(dContext, kPremul_SkAlphaType, nullptr); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
821 auto surface = surfaceFunc(dContext, 1, kOrigColor); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
839 skiatest::Reporter* reporter, sk_sp<SkSurface> surface, SkColor origColor) { in test_surface_draw_partially()
900 auto surface = surfaceFunc(context, 1, kOrigColor); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
926 sk_sp<SkSurface> surface; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
997 auto surface = surfaceFunc(context, sampleCnt, kOrigColor); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
1114 static void test_overdraw_surface(skiatest::Reporter* r, SkSurface* surface) { in test_overdraw_surface()
1129 sk_sp<SkSurface> surface = create_surface(); in DEF_TEST() local
1135 sk_sp<SkSurface> surface = create_gpu_surface(context); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local