/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
TileGrid.h | 30 #include "SkRegion.h" 59 void markAsDirty(const SkRegion& dirtyArea); 77 void drawMissingRegion(const SkRegion& region, float opacity, const Color* tileBackground); 84 SkRegion m_dirtyRegion;
|
GLExtras.cpp | 71 void GLExtras::drawRegion(const SkRegion& region, bool fill, bool drawBorder, 77 SkRegion::Iterator rgnIter(region); 94 SkRegion clip; 109 clip.op(line, SkRegion::kReverseDifference_Op); 114 clip.op(startRect, SkRegion::kDifference_Op);
|
GLExtras.h | 32 #include "SkRegion.h" 51 void drawRegion(const SkRegion& region, bool fill, bool drawBorder,
|
/external/skia/tests/ |
AAClipTest.cpp | 59 static void copyToMask(const SkRegion& rgn, SkMask* mask) { 82 SkRegion tmpRgn(rgn); 98 static void make_rand_rgn(SkRegion* rgn, SkRandom& rand) { 101 rgn->op(rand_rect(rand, 100), SkRegion::kXOR_Op); 105 static bool operator==(const SkRegion& rgn, const SkAAClip& aaclip) { 117 static bool equalsAAClip(const SkRegion& rgn) { 123 static void setRgnToPath(SkRegion* rgn, const SkPath& path) { 126 rgn->setPath(path, SkRegion(ir)); 133 SkRegion rgn; 139 SkRegion rgn [all...] |
/external/skia/src/gpu/ |
SkGr.cpp | 142 if (SkRegion::kReplace_Op == fCurr->fOp) { 175 GR_STATIC_ASSERT(0 == SkRegion::kDifference_Op); 176 GR_STATIC_ASSERT(1 == SkRegion::kIntersect_Op); 177 GR_STATIC_ASSERT(2 == SkRegion::kUnion_Op); 178 GR_STATIC_ASSERT(3 == SkRegion::kXOR_Op); 179 GR_STATIC_ASSERT(4 == SkRegion::kReverseDifference_Op); 180 GR_STATIC_ASSERT(5 == SkRegion::kReplace_Op);
|
/external/skia/src/core/ |
SkClipStack.cpp | 22 SkRegion::Op fOp; 26 Rec(int saveCount, const SkRect& rect, SkRegion::Op op, bool doAA) : fRect(rect) { 33 Rec(int saveCount, const SkPath& path, SkRegion::Op op, bool doAA) : fPath(path) { 65 bool canBeIntersected(int saveCount, SkRegion::Op op) const { 67 SkRegion::kDifference_Op == op || 68 SkRegion::kIntersect_Op == op)) { 72 SkRegion::kIntersect_Op == fOp && 73 SkRegion::kIntersect_Op == op; 145 void SkClipStack::clipDevRect(const SkRect& rect, SkRegion::Op op, bool doAA) { 167 void SkClipStack::clipDevPath(const SkPath& path, SkRegion::Op op, bool doAA) [all...] |
SkRasterClip.cpp | 67 bool SkRasterClip::setPath(const SkPath& path, const SkRegion& clip, bool doAA) { 83 SkRegion tmp; 93 SkRegion tmp; 98 return this->op(clip, SkRegion::kIntersect_Op); 102 bool SkRasterClip::op(const SkIRect& rect, SkRegion::Op op) { 108 bool SkRasterClip::op(const SkRegion& rgn, SkRegion::Op op) { 120 bool SkRasterClip::op(const SkRasterClip& clip, SkRegion::Op op) { 151 bool SkRasterClip::op(const SkRect& r, SkRegion::Op op, bool doAA) { 206 const SkRegion& SkRasterClip::forceGetBW() [all...] |
SkDrawProcs.h | 19 const SkRegion* fClip;
|
SkScan.cpp | 18 void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip, 34 SkRegion::Cliperator cliper(*clip, r); 48 void SkScan::FillXRect(const SkXRect& xr, const SkRegion* clip, 58 void SkScan::FillRect(const SkRect& r, const SkRegion* clip,
|
SkBitmap_scroll.cpp | 9 #include "SkRegion.h" 12 SkRegion* inval) const 69 inval->op(r, SkRegion::kDifference_Op);
|
SkPictureFlat.h | 17 #include "SkRegion.h" 66 static inline uint32_t ClipParams_pack(SkRegion::Op op, bool doAA) { 71 static inline SkRegion::Op ClipParams_unpackRegionOp(uint32_t packed) { 72 return (SkRegion::Op)(packed & 0xF); 221 static SkFlatRegion* Flatten(SkChunkAlloc* heap, const SkRegion& region, int index); 223 void unflatten(SkRegion* result) const {
|
SkPictureRecord.h | 33 virtual bool clipRect(const SkRect&, SkRegion::Op, bool) SK_OVERRIDE; 34 virtual bool clipPath(const SkPath&, SkRegion::Op, bool) SK_OVERRIDE; 35 virtual bool clipRegion(const SkRegion& region, SkRegion::Op op) SK_OVERRIDE; 127 void addRegion(const SkRegion& region); 135 int find(SkTDArray<const SkFlatRegion* >& regions, const SkRegion& region); 193 void recordOffsetForRestore(SkRegion::Op op);
|
/external/skia/include/core/ |
SkBlitter.h | 17 #include "SkRegion.h" 55 void blitMaskRegion(const SkMask& mask, const SkRegion& clip); 56 void blitRectRegion(const SkIRect& rect, const SkRegion& clip); 57 void blitRegion(const SkRegion& clip); 130 void init(SkBlitter* blitter, const SkRegion* clipRgn) { 148 const SkRegion* fRgn; 157 SkBlitter* apply(SkBlitter* blitter, const SkRegion* clip,
|
SkCanvas.h | 20 #include "SkRegion.h" 348 SkRegion::Op op = SkRegion::kIntersect_Op, 357 SkRegion::Op op = SkRegion::kIntersect_Op, 368 virtual bool clipRegion(const SkRegion& deviceRgn, 369 SkRegion::Op op = SkRegion::kIntersect_Op); 377 bool setClipRegion(const SkRegion& deviceRgn) { 378 return this->clipRegion(deviceRgn, SkRegion::kReplace_Op) [all...] |
/external/skia/bench/ |
AAClipBench.cpp | 11 #include "SkRegion.h" 18 SkRegion fRegion; 71 fRegion.setPath(path, SkRegion(bounds)); 87 SkRegion fRegion;
|
/external/skia/include/utils/ |
SkNWayCanvas.h | 36 virtual bool clipRect(const SkRect&, SkRegion::Op, bool) SK_OVERRIDE; 37 virtual bool clipPath(const SkPath&, SkRegion::Op, bool) SK_OVERRIDE; 38 virtual bool clipRegion(const SkRegion& deviceRgn, 39 SkRegion::Op) SK_OVERRIDE;
|
SkProxyCanvas.h | 41 virtual bool clipRect(const SkRect&, SkRegion::Op, bool) SK_OVERRIDE; 42 virtual bool clipPath(const SkPath&, SkRegion::Op, bool) SK_OVERRIDE; 43 virtual bool clipRegion(const SkRegion& deviceRgn, 44 SkRegion::Op op = SkRegion::kIntersect_Op) SK_OVERRIDE;
|
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
RecordingContextCanvasProxy.h | 63 virtual bool clipRect(const SkRect&, SkRegion::Op, bool) { /* NOT IMPLEMENTED*/ CRASH(); return -1; } 64 virtual bool clipPath(const SkPath&, SkRegion::Op, bool) { /* NOT IMPLEMENTED*/ CRASH(); return -1; } 65 virtual bool clipRegion(const SkRegion& region, SkRegion::Op op) { /* NOT IMPLEMENTED*/ CRASH(); return -1; }
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
SkiaUtils.h | 42 class SkRegion;
|
/frameworks/base/libs/hwui/ |
Snapshot.cpp | 60 mClipRegionRoot.op(*s->clipRegion, SkRegion::kUnion_Op); 109 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { 121 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { 127 bool Snapshot::clipTransformed(const Rect& r, SkRegion::Op op) { 131 case SkRegion::kIntersect_Op: { 133 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op); 143 case SkRegion::kUnion_Op: { 145 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kUnion_Op); 151 case SkRegion::kReplace_Op: {
|
/external/webkit/Source/WebKit/android/jni/ |
PicturePile.h | 33 #include "SkRegion.h" 104 SkRegion& dirtyRegion() { return m_dirtyRegion; } 122 SkRegion m_dirtyRegion;
|
/external/skia/src/images/ |
SkFlipPixelRef.cpp | 10 #include "SkRegion.h" 25 const SkRegion& SkFlipPixelRef::beginUpdate(SkBitmap* device) { 33 SkRegion copyBits; 34 const SkRegion& dirty = fFlipper.update(©Bits); 119 void SkFlipPixelRef::CopyBitsFromAddr(const SkBitmap& dst, const SkRegion& clip, 127 SkRegion::Cliperator iter(clip, bounds);
|
/external/skia/gm/ |
complexclip.cpp | 80 SkRegion::Op fOp; 83 {SkRegion::kIntersect_Op, "Isect "}, 84 {SkRegion::kDifference_Op, "Diff " }, 85 {SkRegion::kUnion_Op, "Union "}, 86 {SkRegion::kXOR_Op, "Xor " }, 87 {SkRegion::kReverseDifference_Op, "RDiff "} 106 canvas->clipPath(clipA, SkRegion::kIntersect_Op, fDoAAClip);
|
/external/skia/include/pdf/ |
SkPDFDevice.h | 175 SkRegion fExistingClipRegion; 198 const SkRegion& existingClipRegion); 212 const SkRegion& clipRegion); 215 const SkRegion& clipRegion, 223 const SkRegion& clipRegion, 234 const SkRegion& clipRegion, 247 const SkRegion& clipRegion,
|
/external/skia/samplecode/ |
SampleAAClip2.cpp | 14 #include "SkRegion.h" 78 void build_rgn(SkAAClip* clip, SkRegion::Op op) { 122 void drawRgnOped(SkCanvas* canvas, SkRegion::Op op, SkColor color) { 148 SkRegion::Op fOp; 150 { SK_ColorBLACK, "Difference", SkRegion::kDifference_Op }, 151 { SK_ColorRED, "Intersect", SkRegion::kIntersect_Op }, 152 { 0xFF008800, "Union", SkRegion::kUnion_Op }, 153 { SK_ColorBLUE, "XOR", SkRegion::kXOR_Op }
|