Home
last modified time | relevance | path

Searched refs:TestDrawable (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/tests/
DVkDrawableTest.cpp34 class TestDrawable : public SkDrawable { class
36 TestDrawable(const GrVkInterface* interface, GrDirectContext* dContext, in TestDrawable() function in TestDrawable
44 ~TestDrawable() override {} in ~TestDrawable()
94 typedef void (*DrawProc)(TestDrawable*, const SkMatrix&, const SkIRect&,
96 typedef void (*SubmitProc)(TestDrawable*);
103 DrawHandlerImport(TestDrawable* td, DrawProc drawProc, SubmitProc submitProc, in DrawHandlerImport()
125 TestDrawable* fTestDrawable;
137 static void ImportDraw(TestDrawable* td, const SkMatrix& matrix, const SkIRect& clipBounds, in ImportDraw()
170 static void ImportSubmitted(TestDrawable* td) { in ImportSubmitted()
235 sk_sp<TestDrawable> drawable(new TestDrawable(gpu->vkInterface(), childDContext, DEV_W, DEV_H)); in draw_drawable_test()
/third_party/flutter/skia/tests/
DVkDrawableTest.cpp32 class TestDrawable : public SkDrawable { class
34 TestDrawable(const GrVkInterface* interface, GrContext* context, int32_t width, int32_t height) in TestDrawable() function in TestDrawable
41 ~TestDrawable() override {} in ~TestDrawable()
91 typedef void (*DrawProc)(TestDrawable*, const SkMatrix&, const SkIRect&,
93 typedef void (*SubmitProc)(TestDrawable*);
100 DrawHandlerImport(TestDrawable* td, DrawProc drawProc, SubmitProc submitProc, in DrawHandlerImport()
122 TestDrawable* fTestDrawable;
134 static void ImportDraw(TestDrawable* td, const SkMatrix& matrix, const SkIRect& clipBounds, in ImportDraw()
165 static void ImportSubmitted(TestDrawable* td) { in ImportSubmitted()
228 sk_sp<TestDrawable> drawable(new TestDrawable(gpu->vkInterface(), childContext, DEV_W, DEV_H)); in draw_drawable_test()