Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Side by Side Diff: tools/android/SkAndroidSDKCanvas.h

Issue 1774503004: Update android_make to support both --gcc and --clang options. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: better way to handle codec.gyp Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/views/SkView.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkAndroidSDKCanvas_DEFINED 8 #ifndef SkAndroidSDKCanvas_DEFINED
9 #define SkAndroidSDKCanvas_DEFINED 9 #define SkAndroidSDKCanvas_DEFINED
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, 65 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
66 const SkPaint& paint) override; 66 const SkPaint& paint) override;
67 67
68 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], 68 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
69 const SkPoint texCoords[4], SkXfermode* xmode, 69 const SkPoint texCoords[4], SkXfermode* xmode,
70 const SkPaint& paint) override; 70 const SkPaint& paint) override;
71 71
72 void onDrawImage(const SkImage*, SkScalar, SkScalar, const SkPaint*) overrid e; 72 void onDrawImage(const SkImage*, SkScalar, SkScalar, const SkPaint*) overrid e;
73 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkP aint*, 73 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkP aint*,
74 SrcRectConstraint) override; 74 SrcRectConstraint) override;
75 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*); 75 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de;
76 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], 76 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[],
77 const SkColor[], int count, SkXfermode::Mode, 77 const SkColor[], int count, SkXfermode::Mode,
78 const SkRect* cull, const SkPaint*) override; 78 const SkRect* cull, const SkPaint*) override;
79 void onDrawImageNine(const SkImage*, const SkIRect& center, 79 void onDrawImageNine(const SkImage*, const SkIRect& center,
80 const SkRect& dst, const SkPaint*) override; 80 const SkRect& dst, const SkPaint*) override;
81 81
82 // PASS THROUGH 82 // PASS THROUGH
83 83
84 void onDrawDrawable(SkDrawable*, const SkMatrix*) override; 84 void onDrawDrawable(SkDrawable*, const SkMatrix*) override;
85 SkISize getBaseLayerSize() const override; 85 SkISize getBaseLayerSize() const override;
(...skipping 15 matching lines...) Expand all
101 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; 101 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override;
102 void onClipRegion(const SkRegion&, SkRegion::Op) override; 102 void onClipRegion(const SkRegion&, SkRegion::Op) override;
103 void onDiscard() override; 103 void onDiscard() override;
104 104
105 protected: 105 protected:
106 SkCanvas* fProxyTarget; 106 SkCanvas* fProxyTarget;
107 }; 107 };
108 108
109 #endif // SkAndroidSDKCanvas_DEFINED 109 #endif // SkAndroidSDKCanvas_DEFINED
110 110
OLDNEW
« no previous file with comments | « src/views/SkView.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698