HomeSort by relevance Sort by last modified time
    Searched refs:SkRegion (Results 1 - 25 of 143) sorted by null

1 2 3 4 5 6

  /external/skia/include/images/
SkPageFlipper.h 13 #include "SkRegion.h"
35 const SkRegion& dirtyRgn() const { return *fDirty1; }
39 void inval(const SkRegion&);
51 const SkRegion& update(SkRegion* copyBits);
54 SkRegion* fDirty0;
55 SkRegion* fDirty1;
56 SkRegion fDirty0Storage;
57 SkRegion fDirty1Storage;
SkFlipPixelRef.h 18 class SkRegion;
26 const SkRegion& dirtyRgn() const { return fFlipper.dirtyRgn(); }
30 void inval(const SkRegion& rgn) { fFlipper.inval(rgn); }
33 const SkRegion& beginUpdate(SkBitmap* device);
50 static void CopyBitsFromAddr(const SkBitmap& dst, const SkRegion& clip,
93 const SkRegion& dirty() const { return *fDirty; }
106 const SkRegion* fDirty;
  /frameworks/base/core/jni/android/graphics/
Region.h 21 #include "SkRegion.h"
25 /* Gets the underlying SkRegion from a Region object. */
26 extern SkRegion* android_graphics_Region_getSkRegion(JNIEnv* env, jobject regionObj);
Region.cpp 17 #include "SkRegion.h"
32 static inline SkRegion* GetSkRegion(JNIEnv* env, jobject regionObject) {
33 SkRegion* rgn = (SkRegion*)env->GetIntField(regionObject, gRegion_nativeInstanceFieldID);
38 static SkRegion* Region_constructor(JNIEnv* env, jobject) {
39 return new SkRegion;
42 static void Region_destructor(JNIEnv* env, jobject, SkRegion* region) {
47 static void Region_setRegion(JNIEnv* env, jobject, SkRegion* dst, const SkRegion* src) {
52 static jboolean Region_setRect(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int bottom)
    [all...]
  /external/skia/src/core/
SkRegionPriv.h 13 #include "SkRegion.h"
17 SkASSERT(((value) == SkRegion::kRunTypeSentinel) == isSentinel)
21 struct SkRegion::RunHead {
30 SkASSERT(count >= SkRegion::kRectRegionRuns);
43 SkRegion::RunType* writable_runs()
47 return (SkRegion::RunType*)(this + 1);
49 const SkRegion::RunType* readonly_runs() const
52 return (const SkRegion::RunType*)(this + 1);
SkRegion.cpp 20 static SkRegion::RunType* skip_scanline(const SkRegion::RunType runs[])
22 while (runs[0] != SkRegion::kRunTypeSentinel)
27 return (SkRegion::RunType*)(runs + 1); // return past the X-sentinel
31 bool SkRegion::ComputeRunBounds(const SkRegion::RunType runs[], int count, SkIRect* bounds)
57 if (*runs < SkRegion::kRunTypeSentinel)
67 } while (runs[0] < SkRegion::kRunTypeSentinel);
76 SkRegion::SkRegion() {
    [all...]
SkScanPriv.h 18 SkScanClipper(SkBlitter* blitter, const SkRegion* clip, const SkIRect& bounds);
33 const SkRegion& clipRgn);
36 void sk_blit_above(SkBlitter*, const SkIRect& avoid, const SkRegion& clip);
37 void sk_blit_below(SkBlitter*, const SkIRect& avoid, const SkRegion& clip);
SkRasterClip.h 11 #include "SkRegion.h"
23 const SkRegion& bwRgn() const { SkASSERT(fIsBW); return fBW; }
34 bool setPath(const SkPath& path, const SkRegion& clip, bool doAA);
38 bool op(const SkIRect&, SkRegion::Op);
39 bool op(const SkRegion&, SkRegion::Op);
40 bool op(const SkRasterClip&, SkRegion::Op);
41 bool op(const SkRect&, SkRegion::Op, bool doAA);
64 const SkRegion& forceGetBW();
73 SkRegion fBW
    [all...]
SkRegion_rects.cpp 8 #include "SkRegion.h"
19 SkRegion::RunType fX;
20 SkRegion::RunType fTop;
21 SkRegion::RunType fBottom;
61 Accumulator(SkRegion::RunType top, int numRects);
64 SkRegion::RunType append(SkRegion::RunType top, const VEdge* edge);
67 void copyTo(SkRegion::RunType dst[]);
71 SkRegion::RunType* fPtr;
72 SkRegion::RunType fBottom
    [all...]
SkRegion_path.cpp 25 fCurrScanline->fXCount = (SkRegion::RunType)((int)(fCurrXPtr - fCurrScanline->firstX()));
34 void copyToRgn(SkRegion::RunType runs[]) const;
55 SkRegion::RunType fLastY;
56 SkRegion::RunType fXCount;
58 SkRegion::RunType* firstX() const { return (SkRegion::RunType*)(this + 1); }
60 return (Scanline*)((SkRegion::RunType*)(this + 1) + fXCount);
63 SkRegion::RunType* fStorage;
67 SkRegion::RunType* fCurrXPtr;
68 SkRegion::RunType fTop; // first Y valu
    [all...]
SkAAClip.h 13 #include "SkRegion.h"
35 bool setPath(const SkPath&, const SkRegion* clip = NULL, bool doAA = true);
36 bool setRegion(const SkRegion&);
39 bool op(const SkAAClip&, const SkAAClip&, SkRegion::Op);
42 bool op(const SkIRect&, SkRegion::Op);
43 bool op(const SkRect&, SkRegion::Op, bool doAA);
44 bool op(const SkAAClip&, SkRegion::Op);
  /external/skia/src/images/
SkPageFlipper.cpp 49 fDirty1->op(r, SkRegion::kUnion_Op);
53 void SkPageFlipper::inval(const SkRegion& rgn) {
54 SkRegion r;
56 if (r.op(rgn, SkRegion::kIntersect_Op)) {
57 fDirty1->op(r, SkRegion::kUnion_Op);
70 const SkRegion& SkPageFlipper::update(SkRegion* copyBits) {
72 copyBits->op(*fDirty0, *fDirty1, SkRegion::kDifference_Op);
73 SkTSwap<SkRegion*>(fDirty0, fDirty1);
  /external/skia/include/core/
SkRegion.h 22 #define SkRegion_gEmptyRunHeadPtr ((SkRegion::RunHead*)-1)
25 /** \class SkRegion
27 The SkRegion class encapsulates the geometric region used to specify
30 class SK_API SkRegion {
37 SkRegion();
38 SkRegion(const SkRegion&);
39 explicit SkRegion(const SkIRect&);
40 ~SkRegion();
42 SkRegion& operator=(const SkRegion&)
    [all...]
SkClipStack.h 12 #include "SkRegion.h"
34 SkRegion::Op op = SkRegion::kIntersect_Op) {
39 void clipDevRect(const SkRect&, SkRegion::Op, bool doAA);
40 void clipDevPath(const SkPath&, SkRegion::Op, bool doAA);
52 Clip() : fRect(NULL), fPath(NULL), fOp(SkRegion::kIntersect_Op) {}
57 SkRegion::Op fOp;
SkScan.h 16 class SkRegion;
66 friend class SkRegion;
68 static void FillIRect(const SkIRect&, const SkRegion* clip, SkBlitter*);
69 static void FillXRect(const SkXRect&, const SkRegion* clip, SkBlitter*);
71 static void FillRect(const SkRect& rect, const SkRegion* clip,
75 static void AntiFillRect(const SkRect& rect, const SkRegion* clip,
80 static void FillRect(const SkRect&, const SkRegion* clip, SkBlitter*);
81 static void AntiFillRect(const SkRect&, const SkRegion* clip, SkBlitter*);
83 static void AntiFillXRect(const SkXRect&, const SkRegion*, SkBlitter*);
84 static void FillPath(const SkPath&, const SkRegion& clip, SkBlitter*)
    [all...]
SkBounder.h 23 class SkRegion;
79 void setClip(const SkRegion* clip) { fClip = clip; }
81 const SkRegion* fClip;
  /frameworks/base/libs/hwui/
Snapshot.h 26 #include <SkRegion.h>
87 SkRegion::Op op = SkRegion::kIntersect_Op);
94 bool clipTransformed(const Rect& r, SkRegion::Op op = SkRegion::kIntersect_Op);
206 SkRegion* clipRegion;
231 bool clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op);
238 SkRegion mClipRegionRoot;
  /external/webkit/Source/WebKit/android/nav/
DrawExtra.h 43 class SkRegion;
61 // A helper extra that has a SkRegion per LayerAndroid
74 SkRegion* getHighlightRegionsForLayer(const LayerAndroid* layer);
76 typedef HashMap<int, SkRegion* > HighlightRegionMap;
DrawExtra.cpp 32 #include "SkRegion.h"
48 SkRegion* RegionLayerDrawExtra::getHighlightRegionsForLayer(const LayerAndroid* layer)
61 SkRegion* region = m_highlightRegions.get(layerId);
63 region = new SkRegion();
76 region->op(r.x(), r.y(), r.maxX(), r.maxY(), SkRegion::kUnion_Op);
82 SkRegion* region = getHighlightRegionsForLayer(layer);
85 SkRegion::Iterator rgnIter(*region);
97 SkRegion* region = getHighlightRegionsForLayer(layer);
  /external/skia/samplecode/
SampleRegion.cpp 13 #include "SkRegion.h"
24 static void make_rgn(SkRegion* rgn, int left, int top, int right, int bottom,
33 static void test_union_bug_1505668(SkRegion* ra, SkRegion* rb, SkRegion* rc) {
58 rc->op(*ra, *rb, SkRegion::kUnion_Op);
69 static void scale_rgn(SkRegion* dst, const SkRegion& src, float scale) {
70 SkRegion tmp;
71 SkRegion::Iterator iter(src)
    [all...]
SampleAAClip.cpp 14 static void testop(const SkIRect& r0, const SkIRect& r1, SkRegion::Op op,
28 SkRegion::Op op;
31 {{ 1, 2, 9, 3 }, { -3, 2, 5, 11 }, SkRegion::kDifference_Op, { 5, 2, 9, 3 }},
32 {{ 1, 10, 5, 13 }, { 1, 2, 5, 11 }, SkRegion::kDifference_Op, { 1, 11, 5, 13 }},
33 {{ 1, 10, 5, 13 }, { 1, 2, 5, 11 }, SkRegion::kReverseDifference_Op, { 1, 2, 5, 10 }},
99 aaclip3.op(aaclip, aaclip2, SkRegion::kIntersect_Op);
  /external/skia/tests/
ClipStackTest.cpp 24 s.clipDevPath(p, SkRegion::kIntersect_Op, doAA);
28 s.clipDevRect(r, SkRegion::kIntersect_Op, doAA);
30 s.clipDevRect(r, SkRegion::kIntersect_Op, doAA);
34 s.clipDevRect(r, SkRegion::kUnion_Op, doAA);
47 s.clipDevRect(r, SkRegion::kUnion_Op, doAA);
54 s.clipDevRect(r, SkRegion::kIntersect_Op, doAA);
62 s.clipDevPath(rp, SkRegion::kUnion_Op, doAA);
69 s.clipDevRect(r, SkRegion::kUnion_Op, doAA);
84 s.clipDevPath(p, SkRegion::kIntersect_Op, doAA);
112 stack.clipDevRect(gRects[i], SkRegion::kIntersect_Op)
    [all...]
RegionTest.cpp 9 #include "SkRegion.h"
21 SkRegion rgn0, rgn1;
24 rgn0.op(rect[i], SkRegion::kUnion_Op);
58 SkRegion rgn0, rgn1;
  /external/skia/gm/
complexclip2.cpp 56 SkRegion::Op ops[] = {
57 SkRegion::kDifference_Op,
58 SkRegion::kIntersect_Op,
59 SkRegion::kUnion_Op,
60 SkRegion::kXOR_Op,
61 SkRegion::kReverseDifference_Op,
62 SkRegion::kReplace_Op,
121 SkRegion::Op fOps[kRows * kCols][5];
  /external/webkit/Source/WebCore/platform/graphics/android/rendering/
Tile.h 33 #include "SkRegion.h"
118 void markAsDirty(const SkRegion& dirtyArea);
120 const SkRegion& dirtyArea() { return m_dirtyArea; }
166 SkRegion m_dirtyArea;

Completed in 298 milliseconds

1 2 3 4 5 6