/third_party/flutter/skia/tools/debugger/ |
D | DrawCommand.h | 83 virtual void execute(SkCanvas*) const = 0; 85 virtual bool render(SkCanvas* canvas) const { return false; } in render() 103 static void MakeJsonLattice(SkJSONWriter&, const SkCanvas::Lattice& lattice); 121 void execute(SkCanvas* canvas) const override; 130 void execute(SkCanvas* canvas) const override; 142 void execute(SkCanvas* canvas) const override; 143 bool render(SkCanvas* canvas) const override; 157 void execute(SkCanvas* canvas) const override; 170 void execute(SkCanvas* canvas) const override; 184 void execute(SkCanvas* canvas) const override; [all …]
|
/third_party/flutter/skia/site/user/api/ |
D | SkAutoCanvasRestore_Reference.md | 12 …SkCanvas_star'>SkAutoCanvasRestore</a>(<a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>* <a href… 19 Stack helper class calls <a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_res… 28 …SkCanvas_star'>SkAutoCanvasRestore</a>(<a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>* <a href… 31 …SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_save'>save()</a> count. Optionally saves <a href='SkCan… 36 <td><a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a> to guard</td> 39 …<td>call <a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_save'>save()</a></… 45 utility to restore <a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a> state on destructor 53 …ref='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_save'>save</a> <a href='SkCanva… 63 Restores <a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a> to saved state. Destructor is called wh… 68 …ref='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_save'>save</a> <a href='SkCanva… [all …]
|
/third_party/skia/tools/debugger/ |
D | DrawCommand.h | 87 virtual void execute(SkCanvas*) const = 0; 89 virtual bool render(SkCanvas* canvas) const { return false; } in render() 108 static void MakeJsonLattice(SkJSONWriter&, const SkCanvas::Lattice& lattice); 127 void execute(SkCanvas* canvas) const override; 136 void execute(SkCanvas* canvas) const override; 148 void execute(SkCanvas* canvas) const override; 149 bool render(SkCanvas* canvas) const override; 163 void execute(SkCanvas* canvas) const override; 176 void execute(SkCanvas* canvas) const override; 190 void execute(SkCanvas* canvas) const override; [all …]
|
/third_party/skia/src/core/ |
D | SkCanvas.cpp | 81 bool SkCanvas::wouldOverwriteEntireSurface(const SkRect* rect, const SkPaint* paint, in wouldOverwriteEntireSurface() 159 bool SkCanvas::predrawNotify(bool willOverwritesEntireSurface) { in predrawNotify() 170 bool SkCanvas::predrawNotify(const SkRect* rect, const SkPaint* paint, in predrawNotify() 192 SkCanvas::Layer::Layer(sk_sp<SkBaseDevice> device, in Layer() 205 SkCanvas::MCRec::MCRec(SkBaseDevice* device) : fDevice(device) { in MCRec() 210 SkCanvas::MCRec::MCRec(const MCRec* prev) : fDevice(prev->fDevice), fMatrix(prev->fMatrix) { in MCRec() 215 SkCanvas::MCRec::~MCRec() { dec_rec(); } in ~MCRec() 217 void SkCanvas::MCRec::newLayer(sk_sp<SkBaseDevice> layerDevice, in newLayer() 225 void SkCanvas::MCRec::reset(SkBaseDevice* device) { in reset() 233 class SkCanvas::AutoUpdateQRBounds { [all …]
|
D | SkCanvasPriv.h | 35 SkAutoCanvasMatrixPaint(SkCanvas*, const SkMatrix*, const SkPaint*, const SkRect& bounds); 39 SkCanvas* fCanvas; 46 static bool ReadLattice(SkReadBuffer&, SkCanvas::Lattice*); 48 static void WriteLattice(SkWriteBuffer&, const SkCanvas::Lattice&); 52 static size_t WriteLattice(void* storage, const SkCanvas::Lattice&); 54 static int SaveBehind(SkCanvas* canvas, const SkRect* subset) { in SaveBehind() 57 static void DrawBehind(SkCanvas* canvas, const SkPaint& paint) { in DrawBehind() 62 static void ResetClip(SkCanvas* canvas) { in ResetClip() 68 static skgpu::v1::SurfaceDrawContext* TopDeviceSurfaceDrawContext(SkCanvas*); 70 static skgpu::SurfaceFillContext* TopDeviceSurfaceFillContext(SkCanvas*); [all …]
|
/third_party/skia/gm/ |
D | crbug_1162942.cpp | 40 SkCanvas::QuadAAFlags flags[] = { 41 (SkCanvas::QuadAAFlags) (SkCanvas::kTop_QuadAAFlag | SkCanvas::kLeft_QuadAAFlag ), 42 (SkCanvas::QuadAAFlags) (SkCanvas::kBottom_QuadAAFlag | SkCanvas::kRight_QuadAAFlag), 43 (SkCanvas::QuadAAFlags) (SkCanvas::kBottom_QuadAAFlag), 44 (SkCanvas::QuadAAFlags) (SkCanvas::kRight_QuadAAFlag), 45 (SkCanvas::QuadAAFlags) (SkCanvas::kRight_QuadAAFlag | SkCanvas::kLeft_QuadAAFlag), 46 (SkCanvas::QuadAAFlags) (SkCanvas::kTop_QuadAAFlag | SkCanvas::kBottom_QuadAAFlag),
|
D | gm.h | 24 class SkCanvas; variable 43 static void SK_MACRO_CONCAT(NAME,_GM_inner)(SkCanvas*); \ 48 void SK_MACRO_CONCAT(NAME,_GM_inner)(SkCanvas* CANVAS) 55 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \ 57 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas* CANVAS, SkString* ERR_MSG) 66 static void SK_MACRO_CONCAT(NAME,_GM_inner)(GrRecordingContext*, SkCanvas*); \ 71 void SK_MACRO_CONCAT(NAME,_GM_inner)(GrRecordingContext* GR_CONTEXT, SkCanvas* CANVAS) 78 GrRecordingContext*, SkCanvas*, SkString*); \ 82 GrRecordingContext* GR_CONTEXT, SkCanvas* CANVAS, SkString* ERR_MSG) 111 DrawResult gpuSetup(GrDirectContext* context, SkCanvas* canvas) { in gpuSetup() [all …]
|
D | drawquadset.cpp | 42 static void draw_text(SkCanvas* canvas, const char* text) { in draw_text() 47 static void draw_gradient_tiles(SkCanvas* canvas, bool alignGradients) { in draw_gradient_tiles() 70 unsigned aa = SkCanvas::kNone_QuadAAFlags; in draw_gradient_tiles() 72 aa |= SkCanvas::kTop_QuadAAFlag; in draw_gradient_tiles() 75 aa |= SkCanvas::kBottom_QuadAAFlag; in draw_gradient_tiles() 78 aa |= SkCanvas::kLeft_QuadAAFlag; in draw_gradient_tiles() 81 aa |= SkCanvas::kRight_QuadAAFlag; in draw_gradient_tiles() 98 tile, nullptr, static_cast<SkCanvas::QuadAAFlags>(aa), color, in draw_gradient_tiles() 110 static void draw_color_tiles(SkCanvas* canvas, bool multicolor) { in draw_color_tiles() 122 unsigned aa = SkCanvas::kNone_QuadAAFlags; in draw_color_tiles() [all …]
|
D | concavepaths.cpp | 16 void test_concave(SkCanvas* canvas, const SkPaint& paint) { in test_concave() 22 void test_reverse_concave(SkCanvas* canvas, const SkPaint& paint) { in test_reverse_concave() 30 void test_bowtie(SkCanvas* canvas, const SkPaint& paint) { in test_bowtie() 38 void test_fake_bowtie(SkCanvas* canvas, const SkPaint& paint) { in test_fake_bowtie() 48 void test_intruding_vertex(SkCanvas* canvas, const SkPaint& paint) { in test_intruding_vertex() 58 void test_inversion_repeat_vertex(SkCanvas* canvas, const SkPaint& paint) { in test_inversion_repeat_vertex() 70 void test_fish(SkCanvas* canvas, const SkPaint& paint) { in test_fish() 80 void test_fast_forward(SkCanvas* canvas, const SkPaint& paint) { in test_fast_forward() 91 void test_hole(SkCanvas* canvas, const SkPaint& paint) { in test_hole() 102 void test_star(SkCanvas* canvas, const SkPaint& paint) { in test_star() [all …]
|
D | gm.cpp | 30 static void draw_failure_message(SkCanvas* canvas, const char format[], ...) { in draw_failure_message() 47 static void draw_gpu_only_message(SkCanvas* canvas) { in draw_gpu_only_message() 50 SkCanvas bmpCanvas(bmp); in draw_gpu_only_message() 65 static void handle_gm_failure(SkCanvas* canvas, DrawResult result, const SkString& errorMsg) { in handle_gm_failure() 82 DrawResult GM::gpuSetup(GrDirectContext* context, SkCanvas* canvas, SkString* errorMsg) { in gpuSetup() 105 DrawResult GM::draw(SkCanvas* canvas, SkString* errorMsg) { in draw() 111 DrawResult GM::drawContent(SkCanvas* canvas, SkString* errorMsg) { in drawContent() 122 void GM::drawBackground(SkCanvas* canvas) { in drawBackground() 128 DrawResult GM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw() 132 void GM::onDraw(SkCanvas*) { SK_ABORT("Not implemented."); } in onDraw() argument [all …]
|
D | lattice.cpp | 26 static sk_sp<SkSurface> make_surface(SkCanvas* root, int N, int padLeft, int padTop, in make_surface() 32 static sk_sp<SkImage> make_image(SkCanvas* root, int* xDivs, int* yDivs, int padLeft, int padTop, in make_image() 39 SkCanvas* canvas = surface->getCanvas(); in make_image() 107 void onDrawHelper(GrDirectContext* dContext, SkCanvas* canvas, int padLeft, int padTop, in onDrawHelper() 133 SkCanvas::Lattice lattice; in onDrawHelper() 176 SkCanvas::Lattice::RectType flags[36]; in onDrawHelper() 177 sk_bzero(flags, 36 * sizeof(SkCanvas::Lattice::RectType)); in onDrawHelper() 178 flags[4] = SkCanvas::Lattice::kTransparent; in onDrawHelper() 179 flags[9] = SkCanvas::Lattice::kTransparent; in onDrawHelper() 180 flags[12] = SkCanvas::Lattice::kTransparent; in onDrawHelper() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkCanvas.cpp | 67 bool SkCanvas::wouldOverwriteEntireSurface(const SkRect* rect, const SkPaint* paint, in wouldOverwriteEntireSurface() 147 void SkCanvas::predrawNotify(bool willOverwritesEntireSurface) { in predrawNotify() 155 void SkCanvas::predrawNotify(const SkRect* rect, const SkPaint* paint, in predrawNotify() 223 class SkCanvas::MCRec { 272 SkDrawIter(SkCanvas* canvas) in SkDrawIter() 367 AutoLayerForImageFilter(SkCanvas* canvas, const SkPaint& origPaint, in AutoLayerForImageFilter() 409 (void)canvas->internalSaveLayer(SkCanvas::SaveLayerRec(rawBounds, &restorePaint), in AutoLayerForImageFilter() 410 SkCanvas::kFullLayer_SaveLayerStrategy); in AutoLayerForImageFilter() 436 SkCanvas* fCanvas; 481 void SkCanvas::resetForNextPicture(const SkIRect& bounds) { in resetForNextPicture() [all …]
|
D | SkCanvasPriv.h | 19 SkAutoCanvasMatrixPaint(SkCanvas*, const SkMatrix*, const SkPaint*, const SkRect& bounds); 23 SkCanvas* fCanvas; 30 kDontClipToLayer_SaveLayerFlag = SkCanvas::kDontClipToLayer_PrivateSaveLayerFlag, 34 static bool ReadLattice(SkReadBuffer&, SkCanvas::Lattice*); 36 static void WriteLattice(SkWriteBuffer&, const SkCanvas::Lattice&); 40 static size_t WriteLattice(void* storage, const SkCanvas::Lattice&); 42 static SkCanvas::SaveLayerFlags LegacySaveFlagsToSaveLayerFlags(uint32_t legacySaveFlags); 44 static int SaveBehind(SkCanvas* canvas, const SkRect* subset) { in SaveBehind() 47 static void DrawBehind(SkCanvas* canvas, const SkPaint& paint) { in DrawBehind() 54 static void GetDstClipAndMatrixCounts(const SkCanvas::ImageSetEntry set[], int count,
|
/third_party/flutter/skia/gm/ |
D | bleed.cpp | 224 void drawPixels(SkCanvas* canvas, const TestPixels& pixels, const SkRect& src, in drawPixels() 226 SkCanvas::SrcRectConstraint constraint) { in drawPixels() 235 void drawCase1(SkCanvas* canvas, int transX, int transY, bool aa, in drawCase1() 236 SkCanvas::SrcRectConstraint constraint, SkFilterQuality filter) { in drawCase1() 252 void drawCase2(SkCanvas* canvas, int transX, int transY, bool aa, in drawCase2() 253 SkCanvas::SrcRectConstraint constraint, SkFilterQuality filter) { in drawCase2() 268 void drawCase3(SkCanvas* canvas, int transX, int transY, bool aa, in drawCase3() 269 SkCanvas::SrcRectConstraint constraint, SkFilterQuality filter) { in drawCase3() 287 void drawCase4(SkCanvas* canvas, int transX, int transY, bool aa, in drawCase4() 288 SkCanvas::SrcRectConstraint constraint, SkFilterQuality filter) { in drawCase4() [all …]
|
D | gm.h | 23 class SkCanvas; variable 42 static void SK_MACRO_CONCAT(NAME,_GM_inner)(SkCanvas*); \ 47 void SK_MACRO_CONCAT(NAME,_GM_inner)(SkCanvas* CANVAS) 54 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \ 56 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas* CANVAS, SkString* ERR_MSG) 64 static void SK_MACRO_CONCAT(NAME,_GM_inner)(GrContext*, GrRenderTargetContext*, SkCanvas*); \ 71 GrContext* GR_CONTEXT, GrRenderTargetContext* RENDER_TARGET_CONTEXT, SkCanvas* CANVAS) 79 GrContext*, GrRenderTargetContext*, SkCanvas*, SkString*); \ 83 GrContext* GR_CONTEXT, GrRenderTargetContext* RENDER_TARGET_CONTEXT, SkCanvas* CANVAS, \ 112 DrawResult draw(SkCanvas* canvas) { in draw() [all …]
|
D | drawquadset.cpp | 40 static void draw_text(SkCanvas* canvas, const char* text) { in draw_text() 44 static void draw_gradient_tiles(SkCanvas* canvas, bool alignGradients) { in draw_gradient_tiles() 67 unsigned aa = SkCanvas::kNone_QuadAAFlags; in draw_gradient_tiles() 69 aa |= SkCanvas::kTop_QuadAAFlag; in draw_gradient_tiles() 72 aa |= SkCanvas::kBottom_QuadAAFlag; in draw_gradient_tiles() 75 aa |= SkCanvas::kLeft_QuadAAFlag; in draw_gradient_tiles() 78 aa |= SkCanvas::kRight_QuadAAFlag; in draw_gradient_tiles() 94 tile, nullptr, static_cast<SkCanvas::QuadAAFlags>(aa), color, in draw_gradient_tiles() 106 static void draw_color_tiles(SkCanvas* canvas, bool multicolor) { in draw_color_tiles() 118 unsigned aa = SkCanvas::kNone_QuadAAFlags; in draw_color_tiles() [all …]
|
D | lattice.cpp | 25 static sk_sp<SkSurface> make_surface(SkCanvas* root, int N, int padLeft, int padTop, in make_surface() 31 static sk_sp<SkImage> make_image(SkCanvas* root, int* xDivs, int* yDivs, int padLeft, int padTop, in make_image() 38 SkCanvas* canvas = surface->getCanvas(); in make_image() 106 void onDrawHelper(SkCanvas* canvas, int padLeft, int padTop, int padRight, int padBottom) { in onDrawHelper() 131 SkCanvas::Lattice lattice; in onDrawHelper() 174 SkCanvas::Lattice::RectType flags[36]; in onDrawHelper() 175 sk_bzero(flags, 36 * sizeof(SkCanvas::Lattice::RectType)); in onDrawHelper() 176 flags[4] = SkCanvas::Lattice::kTransparent; in onDrawHelper() 177 flags[9] = SkCanvas::Lattice::kTransparent; in onDrawHelper() 178 flags[12] = SkCanvas::Lattice::kTransparent; in onDrawHelper() [all …]
|
D | gm.cpp | 33 static void draw_failure_message(SkCanvas* canvas, const char format[], ...) { in draw_failure_message() 50 static void draw_gpu_only_message(SkCanvas* canvas) { in draw_gpu_only_message() 53 SkCanvas bmpCanvas(bmp); in draw_gpu_only_message() 75 DrawResult GM::draw(SkCanvas* canvas, SkString* errorMsg) { in draw() 81 DrawResult GM::drawContent(SkCanvas* canvas, SkString* errorMsg) { in drawContent() 101 void GM::drawBackground(SkCanvas* canvas) { in drawBackground() 111 DrawResult GM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw() 115 void GM::onDraw(SkCanvas*) { SK_ABORT("Not implemented."); } in onDraw() argument 120 DrawResult SimpleGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw() 126 DrawResult SimpleGpuGM::onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas, in onDraw() [all …]
|
D | concavepaths.cpp | 16 void test_concave(SkCanvas* canvas, const SkPaint& paint) { in test_concave() 27 void test_reverse_concave(SkCanvas* canvas, const SkPaint& paint) { in test_reverse_concave() 40 void test_bowtie(SkCanvas* canvas, const SkPaint& paint) { in test_bowtie() 53 void test_fake_bowtie(SkCanvas* canvas, const SkPaint& paint) { in test_fake_bowtie() 69 void test_intruding_vertex(SkCanvas* canvas, const SkPaint& paint) { in test_intruding_vertex() 86 void test_inversion_repeat_vertex(SkCanvas* canvas, const SkPaint& paint) { in test_inversion_repeat_vertex() 102 void test_fish(SkCanvas* canvas, const SkPaint& paint) { in test_fish() 118 void test_fast_forward(SkCanvas* canvas, const SkPaint& paint) { in test_fast_forward() 133 void test_hole(SkCanvas* canvas, const SkPaint& paint) { in test_hole() 144 void test_star(SkCanvas* canvas, const SkPaint& paint) { in test_star() [all …]
|
/third_party/flutter/skia/tests/ |
D | CanvasTest.cpp | 57 SkCanvas canvas(10, 10); in DEF_TEST() 86 SkCanvas c(-10, -20); in DEF_TEST() 107 static void test_restriction(skiatest::Reporter* reporter, SkCanvas* canvas) { in test_restriction() 149 [reporter](SkCanvas* canvas) { test_restriction(reporter, canvas); }); in DEF_TEST() 153 multi_canvas_driver(50, 50, [reporter](SkCanvas* canvas) { in DEF_TEST() 170 std::unique_ptr<SkCanvas> canvas = SkCanvas::MakeRasterDirect(info, baseAddr, minRowBytes); in DEF_TEST() 187 REPORTER_ASSERT(reporter, nullptr == SkCanvas::MakeRasterDirect(info, baseAddr, minRowBytes)); in DEF_TEST() 191 REPORTER_ASSERT(reporter, nullptr == SkCanvas::MakeRasterDirect(info, baseAddr, minRowBytes)); in DEF_TEST() 195 REPORTER_ASSERT(reporter, nullptr == SkCanvas::MakeRasterDirect(info, baseAddr, minRowBytes)); in DEF_TEST() 199 canvas = SkCanvas::MakeRasterDirect(info, baseAddr, minRowBytes); in DEF_TEST() [all …]
|
/third_party/skia/tests/ |
D | CanvasTest.cpp | 94 SkCanvas canvas(10, 10); in DEF_TEST() 123 SkCanvas c(-10, -20); in DEF_TEST() 144 static void test_restriction(skiatest::Reporter* reporter, SkCanvas* canvas) { in test_restriction() 166 [reporter](SkCanvas* canvas) { test_restriction(reporter, canvas); }); in DEF_TEST() 170 multi_canvas_driver(50, 50, [reporter](SkCanvas* canvas) { in DEF_TEST() 187 std::unique_ptr<SkCanvas> canvas = SkCanvas::MakeRasterDirect(info, baseAddr, minRowBytes); in DEF_TEST() 203 REPORTER_ASSERT(reporter, nullptr == SkCanvas::MakeRasterDirect(info, baseAddr, in DEF_TEST() 208 REPORTER_ASSERT(reporter, nullptr == SkCanvas::MakeRasterDirect(info, baseAddr, minRowBytes)); in DEF_TEST() 212 REPORTER_ASSERT(reporter, nullptr == SkCanvas::MakeRasterDirect(info, baseAddr, minRowBytes)); in DEF_TEST() 216 REPORTER_ASSERT(reporter, nullptr == SkCanvas::MakeRasterDirect(info, baseAddr, minRowBytes)); in DEF_TEST() [all …]
|
D | PictureTest.cpp | 73 static void rand_op(SkCanvas* canvas, SkRandom& rand) { in rand_op() 93 static void set_canvas_to_save_count_4(SkCanvas* canvas) { in set_canvas_to_save_count_4() 103 class SaveCountingCanvas : public SkCanvas { 144 using INHERITED = SkCanvas; 169 SkCanvas* canvas = recorder2.beginRecording(10, 10); in Copy() 177 static void create_imbalance(SkCanvas* canvas) { in create_imbalance() 194 SkCanvas canvas(bm); in check_balance() 218 SkCanvas* canvas = recorder.beginRecording(10, 10); in DEF_TEST() 241 SkCanvas* canvas = recorder.beginRecording(4, 3); in DEF_TEST() 258 SkCanvas testCanvas(100, 100); in test_unbalanced_save_restores() [all …]
|
/third_party/flutter/skia/bench/ |
D | Benchmark.h | 31 class SkCanvas; variable 70 void perCanvasPreDraw(SkCanvas*); 71 void perCanvasPostDraw(SkCanvas*); 74 void preDraw(SkCanvas*); 75 void postDraw(SkCanvas*); 78 void draw(int loops, SkCanvas*); 80 virtual void getGpuStats(SkCanvas*, SkTArray<SkString>* keys, SkTArray<double>* values) {} in getGpuStats() argument 93 virtual void onPerCanvasPreDraw(SkCanvas*) {} in onPerCanvasPreDraw() argument 94 virtual void onPerCanvasPostDraw(SkCanvas*) {} in onPerCanvasPostDraw() argument 95 virtual void onPreDraw(SkCanvas*) {} in onPreDraw() argument [all …]
|
/third_party/skia/bench/ |
D | Benchmark.h | 32 class SkCanvas; variable 71 void perCanvasPreDraw(SkCanvas*); 72 void perCanvasPostDraw(SkCanvas*); 75 void preDraw(SkCanvas*); 76 void postDraw(SkCanvas*); 79 void draw(int loops, SkCanvas*); 81 virtual void getGpuStats(SkCanvas*, SkTArray<SkString>* keys, SkTArray<double>* values) {} in getGpuStats() argument 97 virtual void onPerCanvasPreDraw(SkCanvas*) {} in onPerCanvasPreDraw() argument 98 virtual void onPerCanvasPostDraw(SkCanvas*) {} in onPerCanvasPostDraw() argument 99 virtual void onPreDraw(SkCanvas*) {} in onPreDraw() argument [all …]
|
/third_party/skia/modules/androidkit/src/ |
D | Canvas.cpp | 20 const auto* canvas = reinterpret_cast<const SkCanvas*>(native_instance); in Canvas_GetWidth() 25 const auto* canvas = reinterpret_cast<const SkCanvas*>(native_instance); in Canvas_GetHeight() 30 if (auto* canvas = reinterpret_cast<SkCanvas*>(native_instance)) { in Canvas_Save() 37 if (auto* canvas = reinterpret_cast<SkCanvas*>(native_instance)) { in Canvas_Restore() 43 if (auto* canvas = reinterpret_cast<SkCanvas*>(native_instance)) { in Canvas_RestoreToCount() 50 if (auto* canvas = reinterpret_cast<SkCanvas*>(native_instance)) { in Canvas_SaveLayer() 57 if (auto* canvas = reinterpret_cast<SkCanvas*>(native_instance)) { in Canvas_LocalToDevice() 65 auto* canvas = reinterpret_cast<SkCanvas*>(native_instance); in Canvas_Concat() 76 if (auto* canvas = reinterpret_cast<SkCanvas*>(native_instance)) { in Canvas_Concat16f() 85 if (auto* canvas = reinterpret_cast<SkCanvas*>(native_instance)) { in Canvas_Translate() [all …]
|