/external/skia/src/core/ |
D | SkCanvas.cpp | 59 static SkCanvas::EdgeType paint2EdgeType(const SkPaint* paint) { in paint2EdgeType() 61 SkCanvas::kAA_EdgeType : SkCanvas::kBW_EdgeType; in paint2EdgeType() 161 class SkCanvas::MCRec { 179 if (flags & SkCanvas::kMatrix_SaveFlag) { in MCRec() 186 if (flags & SkCanvas::kClip_SaveFlag) { in MCRec() 223 SkDrawIter(SkCanvas* canvas, bool skipEmptyClips = true) { in SkDrawIter() 273 SkCanvas* fCanvas; 285 AutoDrawLooper(SkCanvas* canvas, const SkPaint& paint) : fOrigPaint(paint) { in AutoDrawLooper() 311 SkCanvas* fCanvas; 400 SkDevice* SkCanvas::init(SkDevice* device) { in init() [all …]
|
D | SkShape.cpp | 22 void SkShape::draw(SkCanvas* canvas) { in draw() 28 void SkShape::drawXY(SkCanvas* canvas, SkScalar dx, SkScalar dy) { in drawXY() 29 int saveCount = canvas->save(SkCanvas::kMatrix_SaveFlag); in drawXY() 35 void SkShape::drawMatrix(SkCanvas* canvas, const SkMatrix& matrix) { in drawMatrix() 36 int saveCount = canvas->save(SkCanvas::kMatrix_SaveFlag); in drawMatrix() 68 void SkShape::onDraw(SkCanvas*) {} in onDraw() argument
|
/external/skia/src/pipe/ |
D | SkGPipeRead.cpp | 141 static void clipPath_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in clipPath_rp() 148 static void clipRegion_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in clipRegion_rp() 155 static void clipRect_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in clipRect_rp() 162 static void setMatrix_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in setMatrix_rp() 169 static void concat_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in concat_rp() 176 static void scale_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in scale_rp() 182 static void skew_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in skew_rp() 188 static void rotate_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in rotate_rp() 193 static void translate_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in translate_rp() 201 static void save_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in save_rp() [all …]
|
/external/skia/samplecode/ |
D | SampleLayers.cpp | 32 static void dump_layers(const char label[], SkCanvas* canvas) { in dump_layers() 35 SkCanvas::LayerIter iter(canvas, true); in dump_layers() 49 static void test_fade(SkCanvas* canvas) { in test_fade() 65 …canvas->saveLayer(&r, NULL, (SkCanvas::SaveFlags)(SkCanvas::kHasAlphaLayer_SaveFlag | SkCanvas::kF… in test_fade() 69 …canvas->saveLayer(&r, NULL, (SkCanvas::SaveFlags)(SkCanvas::kHasAlphaLayer_SaveFlag | SkCanvas::kF… in test_fade() 121 virtual bool filter(SkCanvas*, SkPaint* p, SkDrawFilter::Type) { in filter() argument 128 virtual void restore(SkCanvas*, SkPaint* p, SkDrawFilter::Type) { in restore() argument 150 void drawBG(SkCanvas* canvas) { in drawBG() 154 virtual void onDraw(SkCanvas* canvas) { in onDraw() 202 …canvas->saveLayer(&r, &p, (SkCanvas::SaveFlags)(SkCanvas::kHasAlphaLayer_SaveFlag | SkCanvas::kFul… in onDraw() [all …]
|
D | SampleLineClipper.cpp | 32 static void drawQuad(SkCanvas* canvas, const SkPoint pts[3], const SkPaint& p) { in drawQuad() 39 static void drawCubic(SkCanvas* canvas, const SkPoint pts[4], const SkPaint& p) { in drawCubic() 47 SkCanvas*, const SkPaint&, const SkPaint&); 63 SkCanvas* canvas, const SkPaint& p0, const SkPaint& p1) { in line_intersector() 64 canvas->drawPoints(SkCanvas::kLines_PointMode, 2, src, p1); in line_intersector() 69 canvas->drawPoints(SkCanvas::kLines_PointMode, 2, dst, p0); in line_intersector() 74 SkCanvas* canvas, const SkPaint& p0, const SkPaint& p1) { in line_clipper() 75 canvas->drawPoints(SkCanvas::kLines_PointMode, 2, src, p1); in line_clipper() 81 canvas->drawPoints(SkCanvas::kLines_PointMode, 2, &dst[i], p0); in line_clipper() 86 SkCanvas* canvas, const SkPaint& p0, const SkPaint& p1) { in quad_clipper() [all …]
|
D | SamplePoints.cpp | 42 virtual void onDrawContent(SkCanvas* canvas) { in onDrawContent() 61 canvas->drawPoints(SkCanvas::kPolygon_PointMode, n, pts, p0); in onDrawContent() 62 canvas->drawPoints(SkCanvas::kLines_PointMode, n, pts, p1); in onDrawContent() 63 canvas->drawPoints(SkCanvas::kPoints_PointMode, n, pts, p2); in onDrawContent() 64 canvas->drawPoints(SkCanvas::kPoints_PointMode, n, pts, p3); in onDrawContent()
|
D | SampleDraw.cpp | 7 static void test_clearonlayers(SkCanvas* canvas) { in test_clearonlayers() 8 SkCanvas& c = *canvas; in test_clearonlayers() 31 static void test_strokerect(SkCanvas* canvas, const SkRect& r) { in test_strokerect() 48 static void test_strokerect(SkCanvas* canvas) { in test_strokerect() 99 void draw(SkCanvas* canvas) { in draw() 109 void drawSelection(SkCanvas* canvas) { in drawSelection() 130 virtual void onDraw(SkCanvas*) = 0; 133 virtual void onDrawSelection(SkCanvas* canvas) { in onDrawSelection() 142 canvas->drawPoints(SkCanvas::kPoints_PointMode, 4, pts, paint); in onDrawSelection() 174 virtual void onDraw(SkCanvas* canvas) { in onDraw() [all …]
|
D | OverView.cpp | 18 virtual void onDraw(SkCanvas* canvas) { in onDraw() 22 virtual SkCanvas* beforeChildren(SkCanvas*); 90 SkCanvas* OverView::beforeChildren(SkCanvas* canvas) { in beforeChildren()
|
D | SampleCircle.cpp | 11 static void test_circlebounds(SkCanvas* canvas) { in test_circlebounds() 42 void circle(SkCanvas* canvas, int width, bool aa) { in circle() 55 void drawSix(SkCanvas* canvas, SkScalar dx, SkScalar dy) { in drawSix() 66 static void blowup(SkCanvas* canvas, const SkIRect& src, const SkRect& dst) { in blowup() 88 static void rotate(SkCanvas* canvas, SkScalar angle, SkScalar px, SkScalar py) { in rotate() 94 virtual void onDrawContent(SkCanvas* canvas) { in onDrawContent()
|
D | SampleHairline.cpp | 33 SkCanvas canvas(bm); in test_chromium_9005() 86 static void line_proc(SkCanvas* canvas, const SkPaint& paint, in line_proc() 102 static void poly_proc(SkCanvas* canvas, const SkPaint& paint, in poly_proc() 125 static void quad_proc(SkCanvas* canvas, const SkPaint& paint, in quad_proc() 149 static void cube_proc(SkCanvas* canvas, const SkPaint& paint, in cube_proc() 167 typedef void (*HairProc)(SkCanvas*, const SkPaint&, const SkBitmap&); 207 void show_bitmaps(SkCanvas* canvas, const SkBitmap& b0, const SkBitmap& b1, in show_bitmaps() 215 virtual void onDrawContent(SkCanvas* canvas) { in onDrawContent() 234 SkCanvas c2(bm2); in onDrawContent()
|
D | SampleTriangles.cpp | 56 void drawBG(SkCanvas* canvas) { in drawBG() 60 static void draw_path(SkCanvas* canvas, const SkPaint& pathPaint, in draw_path() 70 canvas->drawVertices(SkCanvas::kTriangles_VertexMode, in draw_path() 78 canvas->drawPoints(SkCanvas::kPoints_PointMode, n, pts, paint); in draw_path() 82 virtual void onDraw(SkCanvas* canvas) { in onDraw()
|
/external/skia/bench/ |
D | RectBench.cpp | 48 virtual void drawThisRect(SkCanvas* c, const SkRect& r, const SkPaint& p) { in drawThisRect() 53 virtual void onDraw(SkCanvas* canvas) { in onDraw() 73 virtual void drawThisRect(SkCanvas* c, const SkRect& r, const SkPaint& p) { in drawThisRect() 83 virtual void drawThisRect(SkCanvas* c, const SkRect& r, const SkPaint& p) { in drawThisRect() 91 SkCanvas::PointMode fMode; 94 PointsBench(void* param, SkCanvas::PointMode mode, const char* name) : in PointsBench() 100 virtual void onDraw(SkCanvas* canvas) { in onDraw() 136 SkCanvas::PointMode fMode; 139 BlitMaskBench(void* param, SkCanvas::PointMode mode, in BlitMaskBench() 146 virtual void onDraw(SkCanvas* canvas) { in onDraw() [all …]
|
/external/skia/include/core/ |
D | SkPicture.h | 22 class SkCanvas; variable 72 SkCanvas* beginRecording(int width, int height, uint32_t recordFlags = 0); 77 SkCanvas* getRecordingCanvas() const; 89 void draw(SkCanvas* surface); 135 SkCanvas* getRecordingCanvas() const { return fCanvas; } in getRecordingCanvas() 139 SkCanvas* fCanvas;
|
D | SkShape.h | 6 class SkCanvas; variable 15 void draw(SkCanvas*); 20 void drawXY(SkCanvas*, SkScalar dx, SkScalar dy); 25 void drawMatrix(SkCanvas*, const SkMatrix&); 35 virtual void onDraw(SkCanvas*);
|
D | SkDevice.h | 43 virtual SkDevice* newDevice(SkCanvas*, SkBitmap::Config, int width, 49 virtual SkDevice* newDevice(SkCanvas*, SkBitmap::Config, int width, 55 SkDevice(SkCanvas*); 66 SkDevice(SkCanvas*, const SkBitmap& bitmap, bool forOffscreen); 161 virtual void gainFocus(SkCanvas*, const SkMatrix&, const SkRegion&, in gainFocus() argument 189 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t count, 226 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCount, 275 friend class SkCanvas; 279 SkCanvas* fCanvas;
|
D | SkDrawLooper.h | 22 class SkCanvas; variable 39 virtual void init(SkCanvas*) = 0; 53 virtual bool next(SkCanvas*, SkPaint* paint) = 0;
|
/external/skia/gm/ |
D | points.cpp | 19 void drawBG(SkCanvas* canvas) { in drawBG() 28 virtual void onDraw(SkCanvas* canvas) { in onDraw() 49 canvas->drawPoints(SkCanvas::kPolygon_PointMode, n, pts, p0); in onDraw() 50 canvas->drawPoints(SkCanvas::kLines_PointMode, n, pts, p1); in onDraw() 51 canvas->drawPoints(SkCanvas::kPoints_PointMode, n, pts, p2); in onDraw() 52 canvas->drawPoints(SkCanvas::kPoints_PointMode, n, pts, p3); in onDraw()
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
D | BaseRenderer.h | 34 class SkCanvas; variable 90 virtual void setupCanvas(const TileRenderInfo& renderInfo, SkCanvas* canvas) = 0; 91 virtual void setupPartialInval(const TileRenderInfo& renderInfo, SkCanvas* canvas) {} in setupPartialInval() 92 virtual void renderingComplete(const TileRenderInfo& renderInfo, SkCanvas* canvas) = 0; 94 void drawTileInfo(SkCanvas* canvas, const TileRenderInfo& renderInfo,
|
D | GaneshRenderer.h | 34 class SkCanvas; variable 49 virtual void setupCanvas(const TileRenderInfo& renderInfo, SkCanvas* canvas); 50 virtual void setupPartialInval(const TileRenderInfo& renderInfo, SkCanvas* canvas); 51 virtual void renderingComplete(const TileRenderInfo& renderInfo, SkCanvas* canvas);
|
D | TilePainter.h | 31 class SkCanvas; variable 40 virtual bool paint(BaseTile* tile, SkCanvas*, unsigned int*) = 0; 41 virtual void paintExtra(SkCanvas*) = 0;
|
/external/skia/include/views/ |
D | SkView.h | 25 class SkCanvas; variable 103 virtual void draw(SkCanvas* canvas); 242 void draw(SkView*, SkCanvas*); 245 virtual void onDraw(SkView*, SkCanvas*) = 0; 302 virtual void onDraw(SkCanvas*); 311 virtual SkCanvas* beforeChildren(SkCanvas* c) { return c; } in beforeChildren() 313 virtual void afterChildren(SkCanvas* orig) {} in afterChildren() 316 virtual void beforeChild(SkView* child, SkCanvas* canvas) {} in beforeChild() 318 virtual void afterChild(SkView* child, SkCanvas* canvas) {} in afterChild()
|
D | SkWidget.h | 103 virtual void onDraw(SkCanvas*); 117 virtual void onDraw(SkCanvas*); 158 virtual void onDraw(SkCanvas*); 183 virtual void onDraw(SkCanvas*); 215 virtual void onDraw(SkCanvas*); 248 virtual void onDraw(SkCanvas*); 265 virtual void onDraw(SkCanvas*); 284 virtual void onDraw(SkCanvas*); 319 virtual void onDraw(SkCanvas*); 397 virtual void onDraw(SkCanvas*); [all …]
|
/external/skia/include/pipe/ |
D | SkGPipe.h | 24 class SkCanvas; variable 28 SkGPipeReader(SkCanvas* target); 42 SkCanvas* fCanvas; 83 SkCanvas* startRecording(SkGPipeController*, uint32_t flags = 0);
|
/external/skia/include/utils/ |
D | SkProxyCanvas.h | 13 class SkProxyCanvas : public SkCanvas { 16 SkProxyCanvas(SkCanvas* proxy); 19 SkCanvas* getProxy() const { return fProxy; } in getProxy() 20 void setProxy(SkCanvas* proxy); 82 SkCanvas* fProxy; 84 typedef SkCanvas INHERITED;
|
/external/chromium/webkit/glue/media/ |
D | video_renderer_impl.h | 33 virtual void Paint(SkCanvas* canvas, const gfx::Rect& dest_rect); 50 bool CanFastPaint(SkCanvas* canvas, const gfx::Rect& dest_rect); 54 SkCanvas* canvas, 61 SkCanvas* canvas,
|