/external/skia/src/pipe/utils/ |
SamplePipeControllers.h | 14 class SkCanvas; 19 PipeController(SkCanvas* target, SkPicture::InstallPixelRefProc proc = NULL); 69 void draw(SkCanvas*);
|
/external/skia/tests/ |
QuickRejectTest.cpp | 10 #include "SkCanvas.h" 20 virtual void init(SkCanvas*) SK_OVERRIDE { 24 virtual bool next(SkCanvas* canvas, SkPaint*) SK_OVERRIDE { 53 SkCanvas canvas(dst);
|
CanvasTest.cpp | 12 * used in several test cases that verify that different types of SkCanvas 21 * static void MyTestStepFunction(SkCanvas* canvas, 48 #include "SkCanvas.h" 68 class Canvas2CanvasClipVisitor : public SkCanvas::ClipVisitor { 70 Canvas2CanvasClipVisitor(SkCanvas* target) : fTarget(target) {} 80 SkCanvas* fTarget; 83 static void test_clipVisitor(skiatest::Reporter* reporter, SkCanvas* canvas) { 88 SkCanvas c(bm); 106 "Drawing test step %s with SkCanvas"; 159 virtual void draw(SkCanvas*, skiatest::Reporter*) = 0 [all...] |
ReadPixelsTest.cpp | 10 #include "SkCanvas.h" 62 static SkPMColor convertConfig8888ToPMColor(SkCanvas::Config8888 config8888, 69 case SkCanvas::kNative_Premul_Config8888: 71 case SkCanvas::kNative_Unpremul_Config8888: 78 case SkCanvas::kBGRA_Unpremul_Config8888: 80 case SkCanvas::kBGRA_Premul_Config8888: 86 case SkCanvas::kRGBA_Unpremul_Config8888: 88 case SkCanvas::kRGBA_Premul_Config8888: 106 static void fillCanvas(SkCanvas* canvas) { 172 SkCanvas::Config8888 config8888) [all...] |
DrawPathTest.cpp | 11 #include "SkCanvas.h" 15 static SkCanvas* create(SkBitmap::Config config, int w, int h, int rb, 24 return new SkCanvas(bm); 27 static SkCanvas* new_canvas(int w, int h) { 41 SkCanvas* canvas = surf->getCanvas(); 117 SkAutoTUnref<SkCanvas> canvas(new_canvas(640, 480)); 131 SkCanvas canvas(bm); 156 SkAutoTUnref<SkCanvas> canvas(new_canvas(640, 480)); 197 SkAutoTUnref<SkCanvas> canvas(new_canvas(640, 480)); 246 SkAutoTUnref<SkCanvas> canvas(new_canvas(640, 480)) [all...] |
/external/chromium_org/ppapi/proxy/ |
ppb_image_data_proxy.h | 89 virtual SkCanvas* GetPlatformCanvas() OVERRIDE; 90 virtual SkCanvas* GetCanvas() OVERRIDE; 99 scoped_ptr<SkCanvas> mapped_canvas_; 118 virtual SkCanvas* GetPlatformCanvas() OVERRIDE; 119 virtual SkCanvas* GetCanvas() OVERRIDE;
|
/frameworks/base/core/jni/android/graphics/ |
Canvas.cpp | 21 #include "SkCanvas.h" 55 class ClipCopier : public SkCanvas::ClipVisitor { 57 ClipCopier(SkCanvas* dstCanvas) : m_dstCanvas(dstCanvas) {} 67 SkCanvas* m_dstCanvas; 73 static void finalizer(JNIEnv* env, jobject clazz, SkCanvas* canvas) { 77 static SkCanvas* initRaster(JNIEnv* env, jobject, SkBitmap* bitmap) { 79 return new SkCanvas(*bitmap); 84 return new SkCanvas(emptyBitmap); 89 SkCanvas* srcCanvas, SkCanvas* dstCanvas) [all...] |
/external/skia/bench/ |
LightingBench.cpp | 9 #include "SkCanvas.h" 23 void draw(const int loops, SkCanvas* canvas, SkImageFilter* imageFilter) const { 108 virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { 129 virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { 150 virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { 174 virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { 196 virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { 218 virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE {
|
PictureRecordBench.cpp | 8 #include "SkCanvas.h" 53 virtual void onDraw(const int loops, SkCanvas*) SK_OVERRIDE { 55 SkCanvas* canvas = NULL; 91 SkCanvas bitmapCanvas(bitmap); 120 virtual void onDraw(const int loops, SkCanvas*) SK_OVERRIDE { 124 SkCanvas* canvas = NULL; 160 virtual void onDraw(const int loops, SkCanvas*) SK_OVERRIDE { 162 SkCanvas* canvas = picture.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT);
|
DisplacementBench.cpp | 10 #include "SkCanvas.h" 39 SkCanvas canvas(&device); 55 SkCanvas canvas(&device); 74 void drawClippedBitmap(SkCanvas* canvas, int x, int y, const SkPaint& paint) { 102 virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { 129 virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { 155 virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE {
|
/external/chromium_org/third_party/skia/include/core/ |
SkDevice.h | 15 #include "SkCanvas.h" 127 SkCanvas::Config8888 config8888 = SkCanvas::kNative_Premul_Config8888) = 0; 144 * and SkCanvas' SkBaseDevice & SkBitmap -taking ctors). It allows the 147 virtual void onAttachToCanvas(SkCanvas*) { 159 * possibly from SkCanvas' dtor. 225 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t count, 261 SkCanvas::DrawBitmapRectFlags flags) = 0; 265 * Decorations (underline and stike-thru) will be handled by SkCanvas. 275 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCount [all...] |
SkBitmapDevice.h | 101 SkCanvas::Config8888 config8888) SK_OVERRIDE; 130 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t count, 166 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE; 170 * Decorations (underline and stike-thru) will be handled by SkCanvas. 180 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCount, 216 SkCanvas::Config8888 config8888) SK_OVERRIDE; 234 * intrinsically. Doing so means that SkCanvas will pass-through this 236 * Returning false means the SkCanvas will have apply the filter itself, 252 friend class SkCanvas;
|
SkImage.h | 17 class SkCanvas; 88 void draw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*); 95 * See SkCanvas::drawBitmapRectToRect for similar behavior. 97 void draw(SkCanvas*, const SkRect* src, const SkRect& dst, const SkPaint*);
|
/external/chromium_org/third_party/skia/include/views/ |
SkView.h | 20 class SkCanvas; 116 virtual void draw(SkCanvas* canvas); 263 void draw(SkView*, SkCanvas*); 266 virtual void onDraw(SkView*, SkCanvas*) = 0; 329 virtual void onDraw(SkCanvas*); 338 virtual SkCanvas* beforeChildren(SkCanvas* c) { return c; } 340 virtual void afterChildren(SkCanvas* orig) {} 343 virtual void beforeChild(SkView* child, SkCanvas* canvas) {} 345 virtual void afterChild(SkView* child, SkCanvas* canvas) { [all...] |
/external/skia/gm/ |
dropshadowimagefilter.cpp | 16 static void draw_paint(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { 26 static void draw_path(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { 37 static void draw_text(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { 50 static void draw_bitmap(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { 60 SkCanvas c(bm); 70 static void draw_sprite(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { 80 SkCanvas c(bm); 108 void draw_frame(SkCanvas* canvas, const SkRect& r) { 123 virtual void onDraw(SkCanvas* canvas) { 124 void (*drawProc[])(SkCanvas*, const SkRect&, SkImageFilter*) = [all...] |
imagefilterscropped.cpp | 9 #include "SkCanvas.h" 22 static void draw_paint(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { 32 static void draw_path(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { 43 static void draw_text(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { 56 static void draw_bitmap(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { 66 SkCanvas c(bm); 76 static void draw_sprite(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { 86 SkCanvas c(bm); 114 void draw_frame(SkCanvas* canvas, const SkRect& r) { 129 virtual void onDraw(SkCanvas* canvas) [all...] |
/external/skia/include/core/ |
SkDevice.h | 15 #include "SkCanvas.h" 127 SkCanvas::Config8888 config8888 = SkCanvas::kNative_Premul_Config8888) = 0; 144 * and SkCanvas' SkBaseDevice & SkBitmap -taking ctors). It allows the 147 virtual void onAttachToCanvas(SkCanvas*) { 159 * possibly from SkCanvas' dtor. 225 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t count, 261 SkCanvas::DrawBitmapRectFlags flags) = 0; 265 * Decorations (underline and stike-thru) will be handled by SkCanvas. 275 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCount [all...] |
SkBitmapDevice.h | 101 SkCanvas::Config8888 config8888) SK_OVERRIDE; 130 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t count, 166 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE; 170 * Decorations (underline and stike-thru) will be handled by SkCanvas. 180 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCount, 216 SkCanvas::Config8888 config8888) SK_OVERRIDE; 234 * intrinsically. Doing so means that SkCanvas will pass-through this 236 * Returning false means the SkCanvas will have apply the filter itself, 252 friend class SkCanvas;
|
/external/skia/include/views/ |
SkView.h | 20 class SkCanvas; 116 virtual void draw(SkCanvas* canvas); 263 void draw(SkView*, SkCanvas*); 266 virtual void onDraw(SkView*, SkCanvas*) = 0; 329 virtual void onDraw(SkCanvas*); 338 virtual SkCanvas* beforeChildren(SkCanvas* c) { return c; } 340 virtual void afterChildren(SkCanvas* orig) {} 343 virtual void beforeChild(SkView* child, SkCanvas* canvas) {} 345 virtual void afterChild(SkView* child, SkCanvas* canvas) { [all...] |
/external/chromium_org/skia/ext/ |
analysis_canvas.h | 10 #include "third_party/skia/include/core/SkCanvas.h" 23 class SK_API AnalysisCanvas : public SkCanvas, public SkDrawPictureCallback { 35 // SkCanvas overrides. 48 SkCanvas::SaveFlags flags) OVERRIDE; 54 typedef SkCanvas INHERITED; 80 SkCanvas::PointMode mode, 112 SkCanvas::DrawBitmapRectFlags flags) OVERRIDE; 142 SkCanvas::VertexMode vertex_mode,
|
skia_utils_mac.h | 17 class SkCanvas; 108 // Converts a SkCanvas temporarily to a CGContext 111 explicit SkiaBitLocker(SkCanvas* canvas); 117 SkCanvas* canvas_;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GraphicsContextRecorder.cpp | 45 SkCanvas* canvas = m_picture->beginRecording(size.width(), size.height()); 69 explicit SnapshotPlayer(PassRefPtr<SkPicture> picture, SkCanvas* canvas) 75 SkCanvas* canvas() { return m_canvas; } 84 SkCanvas* m_canvas; 89 FragmentSnapshotPlayer(PassRefPtr<SkPicture> picture, SkCanvas* canvas) 120 ProfilingSnapshotPlayer(PassRefPtr<SkPicture> picture, SkCanvas* canvas)
|
/external/chromium_org/third_party/skia/include/utils/ |
SkProxyCanvas.h | 11 #include "SkCanvas.h" 13 /** This class overrides all virtual methods on SkCanvas, and redirects them 14 to a "proxy", another SkCanvas instance. It can be the basis for 20 class SK_API SkProxyCanvas : public SkCanvas { 23 SkProxyCanvas(SkCanvas* proxy); 26 SkCanvas* getProxy() const { return fProxy; } 27 void setProxy(SkCanvas* proxy); 89 SkCanvas* fProxy; 91 typedef SkCanvas INHERITED;
|
/external/skia/include/utils/ |
SkProxyCanvas.h | 11 #include "SkCanvas.h" 13 /** This class overrides all virtual methods on SkCanvas, and redirects them 14 to a "proxy", another SkCanvas instance. It can be the basis for 20 class SK_API SkProxyCanvas : public SkCanvas { 23 SkProxyCanvas(SkCanvas* proxy); 26 SkCanvas* getProxy() const { return fProxy; } 27 void setProxy(SkCanvas* proxy); 89 SkCanvas* fProxy; 91 typedef SkCanvas INHERITED;
|
/external/chromium_org/third_party/skia/src/core/ |
SkAnnotation.cpp | 55 #include "SkCanvas.h" 61 void SkAnnotateRectWithURL(SkCanvas* canvas, const SkRect& rect, SkData* value) { 70 void SkAnnotateNamedDestination(SkCanvas* canvas, const SkPoint& point, SkData* name) { 79 void SkAnnotateLinkToDestination(SkCanvas* canvas, const SkRect& rect, SkData* name) {
|