Home
last modified time | relevance | path

Searched refs:SkCanvas (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/libs/hwui/
DSkiaCanvas.cpp53 explicit SkiaCanvas(SkCanvas* canvas) : mCanvas(canvas) { in SkiaCanvas()
58 virtual SkCanvas* asSkCanvas() override { in asSkCanvas()
133 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount,
187 SkCanvas::PointMode mode);
189 SkAutoTUnref<SkCanvas> mCanvas;
197 Canvas* Canvas::create_canvas(SkCanvas* skiaCanvas) { in create_canvas()
202 mCanvas.reset(new SkCanvas(bitmap)); in SkiaCanvas()
209 class ClipCopier : public SkCanvas::ClipVisitor {
211 ClipCopier(SkCanvas* dstCanvas) : m_dstCanvas(dstCanvas) {} in ClipCopier()
224 SkCanvas* m_dstCanvas;
[all …]
DSkiaCanvasProxy.cpp165 static inline SaveFlags::Flags saveFlags(SkCanvas::SaveLayerFlags layerFlags) { in saveFlags()
168 if (!(layerFlags & SkCanvas::kDontClipToLayer_Legacy_SaveLayerFlag)) { in saveFlags()
172 if (!(layerFlags & SkCanvas::kIsOpaque_SaveLayerFlag)) { in saveFlags()
179 SkCanvas::SaveLayerStrategy SkiaCanvasProxy::getSaveLayerStrategy(const SaveLayerRec& saveLayerRec)… in getSaveLayerStrategy()
188 return SkCanvas::kNoLayer_SaveLayerStrategy; in getSaveLayerStrategy()
374 this->drawVertices(SkCanvas::kTriangles_VertexMode, data.fVertexCount, data.fPoints, in onDrawPatch()
DVectorDrawable.h104 virtual void draw(SkCanvas* outCanvas, const SkMatrix& currentMatrix,
164 void draw(SkCanvas* outCanvas, const SkMatrix& groupStackedMatrix,
190 virtual void drawPath(SkCanvas *outCanvas, SkPath& renderPath,
384 void drawPath(SkCanvas* outCanvas, SkPath& renderPath,
404 void drawPath(SkCanvas* outCanvas, SkPath& renderPath,
514 virtual void draw(SkCanvas* outCanvas, const SkMatrix& currentMatrix,
DSkiaCanvasProxy.h40 class ANDROID_API SkiaCanvasProxy : public SkCanvas {
100 typedef SkCanvas INHERITED;
DVectorDrawable.cpp36 void Path::draw(SkCanvas* outCanvas, const SkMatrix& groupStackedMatrix, float scaleX, float scaleY, in draw()
195 void FullPath::drawPath(SkCanvas* outCanvas, SkPath& renderPath, float strokeScale, in drawPath()
311 void ClipPath::drawPath(SkCanvas* outCanvas, SkPath& renderPath, in drawPath()
320 void Group::draw(SkCanvas* outCanvas, const SkMatrix& currentMatrix, float scaleX, in draw()
552 SkCanvas outCanvas(*outCache); in updateBitmapCache()
DRecordingCanvas.h86 virtual SkCanvas* asSkCanvas() override;
171 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount, in drawVertices()
DDisplayListCanvas.h109 virtual SkCanvas* asSkCanvas() override;
192 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount, in drawVertices()
DTessellationCache.h37 class SkCanvas; variable
DPathCache.h36 class SkCanvas; variable
DTexture.cpp244 SkCanvas canvas(rgbaBitmap); in upload()
/frameworks/base/core/jni/android/graphics/pdf/
DPdfDocument.cpp64 SkCanvas* startPage(int width, int height, in startPage()
74 SkCanvas* canvas = page->mPictureRecorder->beginRecording( in startPage()
95 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight, in write()
129 SkCanvas* canvas = document->startPage(pageWidth, pageHeight, in nativeStartPage()
/frameworks/base/libs/hwui/utils/
DTestWindowContext.h22 class SkCanvas; variable
44 SkCanvas* prepareToDraw();
DNinePatch.h31 static void Draw(SkCanvas* canvas, const SkRect& bounds, const SkBitmap& bitmap,
DTestWindowContext.cpp99 SkCanvas* prepareToDraw() { in prepareToDraw()
198 SkCanvas* TestWindowContext::prepareToDraw() { in prepareToDraw()
DNinePatchImpl.cpp64 static void drawStretchyPatch(SkCanvas* canvas, SkIRect& src, const SkRect& dst, in drawStretchyPatch()
98 void NinePatch::Draw(SkCanvas* canvas, const SkRect& bounds, in Draw()
/frameworks/webview/chromium/plat_support/
Dgraphics_utils.cpp41 PixelInfo(SkCanvas* canvas);
46 PixelInfo::PixelInfo(SkCanvas* canvas) { in PixelInfo()
62 SkCanvas* canvas = nativeCanvas->asSkCanvas(); in GetPixels()
/frameworks/base/core/jni/android/graphics/
DPicture.cpp46 SkCanvas* canvas = mRecorder->beginRecording(width, height, NULL, 0); in beginRecording()
114 SkCanvas* canvas = reRecorder.beginRecording(mWidth, mHeight, NULL, 0); in makePartialCopy()
DCamera.cpp99 SkCanvas* canvas = reinterpret_cast<android::Canvas*>(canvasHandle)->asSkCanvas(); in Camera_applyToCanvas()
DGraphicsJNI.h18 class SkCanvas; variable
/frameworks/base/libs/hwui/hwui/
DCanvas.h84 static Canvas* create_canvas(SkCanvas* skiaCanvas);
98 virtual SkCanvas* asSkCanvas() = 0;
193 virtual void drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount,
/frameworks/minikin/sample/
Dexample_skia.cpp80 void drawToSkia(SkCanvas *canvas, SkPaint *paint, Layout *layout, float x, float y) { in drawToSkia()
133 SkCanvas canvas(bitmap); in runMinikinTest()
/frameworks/base/libs/hwui/tests/common/scenes/
DListViewAnimation.cpp85 SkCanvas canvas(bitmap); in createRandomCharIcon()
108 SkCanvas canvas(bitmap); in createBoxBitmap()
/frameworks/base/libs/hwui/tests/unit/
DSkiaCanvasTests.cpp45 SkCanvas* skCanvas = recorder.beginRecording(200, 200, NULL, 0); in TEST()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp333 SkCanvas::VertexMode mode = static_cast<SkCanvas::VertexMode>(modeHandle); in drawVertices()
/frameworks/base/libs/input/
DSpriteController.cpp216 SkCanvas surfaceCanvas(surfaceBitmap); in doUpdateSprites()

12