Home
last modified time | relevance | path

Searched refs:SkTDArray (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/external/skqp/include/private/
DSkTDArray.h19 template <typename T> class SkTDArray {
21 SkTDArray() : fArray(nullptr), fReserve(0), fCount(0) {} in SkTDArray() function
22 SkTDArray(const T src[], int count) { in SkTDArray() function
33 SkTDArray(const std::initializer_list<T>& list) : SkTDArray(list.begin(), list.size()) {} in SkTDArray() function
34 SkTDArray(const SkTDArray<T>& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() function
35 SkTDArray<T> tmp(src.fArray, src.fCount); in SkTDArray()
38 SkTDArray(SkTDArray<T>&& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() function
41 ~SkTDArray() { in ~SkTDArray()
45 SkTDArray<T>& operator=(const SkTDArray<T>& src) {
48 SkTDArray<T> tmp(src.fArray, src.fCount);
[all …]
/external/skia/include/private/
DSkTDArray.h19 template <typename T> class SkTDArray {
21 SkTDArray() : fArray(nullptr), fReserve(0), fCount(0) {} in SkTDArray() function
22 SkTDArray(const T src[], int count) { in SkTDArray() function
33 SkTDArray(const std::initializer_list<T>& list) : SkTDArray(list.begin(), list.size()) {} in SkTDArray() function
34 SkTDArray(const SkTDArray<T>& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() function
35 SkTDArray<T> tmp(src.fArray, src.fCount); in SkTDArray()
38 SkTDArray(SkTDArray<T>&& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() function
41 ~SkTDArray() { in ~SkTDArray()
45 SkTDArray<T>& operator=(const SkTDArray<T>& src) {
48 SkTDArray<T> tmp(src.fArray, src.fCount);
[all …]
/external/skqp/src/gpu/ops/
DGrAAConvexTessellator.h124 SkTDArray<struct PointData> fPts;
151 void init(const SkTDArray<SkVector>& norms, const SkTDArray<SkVector>& bisectors);
176 SkTDArray<PointData> fPts;
252 SkTDArray<SkPoint> fPts;
253 SkTDArray<SkScalar> fCoverages;
255 SkTDArray<bool> fMovable;
258 SkTDArray<CurveState> fCurveState;
261 SkTDArray<SkVector> fNorms;
264 SkTDArray<SkVector> fBisectors;
269 SkTDArray<int> fIndices;
[all …]
/external/skia/src/gpu/ops/
DGrAAConvexTessellator.h124 SkTDArray<struct PointData> fPts;
151 void init(const SkTDArray<SkVector>& norms, const SkTDArray<SkVector>& bisectors);
176 SkTDArray<PointData> fPts;
252 SkTDArray<SkPoint> fPts;
253 SkTDArray<SkScalar> fCoverages;
255 SkTDArray<bool> fMovable;
258 SkTDArray<CurveState> fCurveState;
261 SkTDArray<SkVector> fNorms;
264 SkTDArray<SkVector> fBisectors;
269 SkTDArray<int> fIndices;
[all …]
/external/skia/tests/
DMatrixClipCollapseTest.cpp61 static void gets_ops(SkPicture& input, SkTDArray<DrawType>* ops) { in gets_ops()
142 DrawOpType draw, SkTDArray<DrawType>* expected,
146 SkTDArray<DrawType>* expected, int accumulatedClips);
149 SkTDArray<DrawType>* expected);
194 static void add_clip(ClipType clip, MatType mat, SkTDArray<DrawType>* expected) { in add_clip()
257 static void add_mat(MatType mat, SkTDArray<DrawType>* expected) { in add_mat()
283 static void emit_draw(SkCanvas* canvas, DrawOpType draw, SkTDArray<DrawType>* expected) { in emit_draw()
326 DrawOpType draw, SkTDArray<DrawType>* expected, in emit_clip_and_mat()
347 DrawOpType draw, SkTDArray<DrawType>* expected, in emit_mat_and_clip()
370 DrawOpType draw, SkTDArray<DrawType>* expected, in emit_double_mat_and_clip()
[all …]
DPackedConfigsTextureTest.cpp43 const SkTDArray<uint16_t>& controlData, in check_4444()
44 const SkTDArray<uint32_t>& readBuffer) { in check_4444()
74 const SkTDArray<uint16_t>& controlData, in check_565()
75 const SkTDArray<GrColor>& readBuffer) { in check_565()
100 SkTDArray<uint16_t> controlPixelData; in run_test()
102 SkTDArray<GrColor> readBuffer; in run_test()
DGpuRectanizerTest.cpp33 const SkTDArray<SkISize>& rects) { in test_rectanizer_inserts()
45 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { in test_skyline()
52 static void test_pow2(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { in test_pow2()
60 SkTDArray<SkISize> rects; in DEF_GPUTEST()
/external/skqp/tests/
DMatrixClipCollapseTest.cpp61 static void gets_ops(SkPicture& input, SkTDArray<DrawType>* ops) { in gets_ops()
142 DrawOpType draw, SkTDArray<DrawType>* expected,
146 SkTDArray<DrawType>* expected, int accumulatedClips);
149 SkTDArray<DrawType>* expected);
194 static void add_clip(ClipType clip, MatType mat, SkTDArray<DrawType>* expected) { in add_clip()
257 static void add_mat(MatType mat, SkTDArray<DrawType>* expected) { in add_mat()
283 static void emit_draw(SkCanvas* canvas, DrawOpType draw, SkTDArray<DrawType>* expected) { in emit_draw()
326 DrawOpType draw, SkTDArray<DrawType>* expected, in emit_clip_and_mat()
347 DrawOpType draw, SkTDArray<DrawType>* expected, in emit_mat_and_clip()
370 DrawOpType draw, SkTDArray<DrawType>* expected, in emit_double_mat_and_clip()
[all …]
DPackedConfigsTextureTest.cpp43 const SkTDArray<uint16_t>& controlData, in check_4444()
44 const SkTDArray<uint32_t>& readBuffer) { in check_4444()
74 const SkTDArray<uint16_t>& controlData, in check_565()
75 const SkTDArray<GrColor>& readBuffer) { in check_565()
100 SkTDArray<uint16_t> controlPixelData; in run_test()
102 SkTDArray<GrColor> readBuffer; in run_test()
DGpuRectanizerTest.cpp33 const SkTDArray<SkISize>& rects) { in test_rectanizer_inserts()
45 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { in test_skyline()
52 static void test_pow2(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { in test_pow2()
60 SkTDArray<SkISize> rects; in DEF_GPUTEST()
/external/skia/include/core/
DSkContourMeasure.h77 const SkTDArray<Segment> fSegments;
78 const SkTDArray<SkPoint> fPts; // Points used to define the segments
83 SkContourMeasure(SkTDArray<Segment>&& segs, SkTDArray<SkPoint>&& pts,
130 SkTDArray<SkContourMeasure::Segment> fSegments;
131 SkTDArray<SkPoint> fPts; // Points used to define the segments
DSkMultiPictureDraw.h68 static void Reset(SkTDArray<DrawData>&);
71 SkTDArray<DrawData> fThreadSafeDrawData;
72 SkTDArray<DrawData> fGPUDrawData;
/external/skqp/src/utils/
DSkPolyUtils.h27 SkScalar inset, SkTDArray<SkPoint>* insetPolygon);
43 SkScalar offset, SkTDArray<SkPoint>* offsetPolygon,
44 SkTDArray<int>* polygonIndices = nullptr);
104 SkTDArray<uint16_t>* triangleIndices);
DSkShadowTessellator.cpp58 const SkTDArray<SkPoint>& umbraPolygon, bool lastEdge, bool doClip);
60 const SkTDArray<SkPoint>& umbraPolygon, int* currUmbraIndex);
61 int getClosestUmbraIndex(const SkPoint& point, const SkTDArray<SkPoint>& umbraPolygon);
65 void stitchConcaveRings(const SkTDArray<SkPoint>& umbraPolygon,
66 SkTDArray<int>* umbraIndices,
67 const SkTDArray<SkPoint>& penumbraPolygon,
68 SkTDArray<int>* penumbraIndices);
92 SkTDArray<SkPoint> fPointBuffer;
94 SkTDArray<SkPoint> fPositions;
95 SkTDArray<SkColor> fColors;
[all …]
/external/skia/src/utils/
DSkPolyUtils.h27 SkScalar inset, SkTDArray<SkPoint>* insetPolygon);
43 SkScalar offset, SkTDArray<SkPoint>* offsetPolygon,
44 SkTDArray<int>* polygonIndices = nullptr);
104 SkTDArray<uint16_t>* triangleIndices);
DSkShadowTessellator.cpp58 const SkTDArray<SkPoint>& umbraPolygon, bool lastEdge, bool doClip);
60 const SkTDArray<SkPoint>& umbraPolygon, int* currUmbraIndex);
61 int getClosestUmbraIndex(const SkPoint& point, const SkTDArray<SkPoint>& umbraPolygon);
65 void stitchConcaveRings(const SkTDArray<SkPoint>& umbraPolygon,
66 SkTDArray<int>* umbraIndices,
67 const SkTDArray<SkPoint>& penumbraPolygon,
68 SkTDArray<int>* penumbraIndices);
92 SkTDArray<SkPoint> fPointBuffer;
94 SkTDArray<SkPoint> fPositions;
95 SkTDArray<SkColor> fColors;
[all …]
/external/skia/bench/
DPolyUtilsBench.cpp20 virtual void makePoly(SkTDArray<SkPoint>* poly) = 0;
48 SkTDArray<SkPoint> poly; in onDraw()
63 SkTDArray<SkPoint> result; in onDraw()
72 SkTDArray<SkPoint> result; in onDraw()
85 SkTDArray<uint16_t> triangleIndices; in onDraw()
109 void makePoly(SkTDArray<SkPoint>* poly) override { in makePoly()
137 void makePoly(SkTDArray<SkPoint>* poly) override { in makePoly()
161 void makePoly(SkTDArray<SkPoint>* poly) override { in makePoly()
188 void makePoly(SkTDArray<SkPoint>* poly) override { in makePoly()
214 void makePoly(SkTDArray<SkPoint>* poly) override { in makePoly()
DChartBench.cpp22 SkRandom* random, SkTDArray<SkScalar>* dataPts) { in gen_data()
34 static void gen_paths(const SkTDArray<SkScalar>& topData, in gen_paths()
35 const SkTDArray<SkScalar>* bottomData, in gen_paths()
149 SkTDArray<SkScalar>* prevData = nullptr; in onDraw()
182 SkTDArray<SkScalar> fData[kNumGraphs];
/external/skqp/bench/
DPolyUtilsBench.cpp20 virtual void makePoly(SkTDArray<SkPoint>* poly) = 0;
48 SkTDArray<SkPoint> poly; in onDraw()
63 SkTDArray<SkPoint> result; in onDraw()
72 SkTDArray<SkPoint> result; in onDraw()
85 SkTDArray<uint16_t> triangleIndices; in onDraw()
109 void makePoly(SkTDArray<SkPoint>* poly) override { in makePoly()
137 void makePoly(SkTDArray<SkPoint>* poly) override { in makePoly()
161 void makePoly(SkTDArray<SkPoint>* poly) override { in makePoly()
188 void makePoly(SkTDArray<SkPoint>* poly) override { in makePoly()
214 void makePoly(SkTDArray<SkPoint>* poly) override { in makePoly()
DChartBench.cpp22 SkRandom* random, SkTDArray<SkScalar>* dataPts) { in gen_data()
34 static void gen_paths(const SkTDArray<SkScalar>& topData, in gen_paths()
35 const SkTDArray<SkScalar>* bottomData, in gen_paths()
149 SkTDArray<SkScalar>* prevData = nullptr; in onDraw()
182 SkTDArray<SkScalar> fData[kNumGraphs];
/external/skia/src/core/
DSkRTree.h44 void search(const SkRect& query, SkTDArray<int>* results) const override;
78 void search(Node* root, const SkRect& query, SkTDArray<int>* results) const;
81 Branch bulkLoad(SkTDArray<Branch>* branches, int level = 0);
92 SkTDArray<Node> fNodes;
/external/skqp/src/core/
DSkRTree.h44 void search(const SkRect& query, SkTDArray<int>* results) const override;
78 void search(Node* root, const SkRect& query, SkTDArray<int>* results) const;
81 Branch bulkLoad(SkTDArray<Branch>* branches, int level = 0);
92 SkTDArray<Node> fNodes;
/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.h59 SkTDArray<GrGLuint>* shaderIds,
66 SkTDArray<GrGLuint>* shaderIds,
77 void cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs);
78 void cleanupShaders(const SkTDArray<GrGLuint>& shaderIDs);
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h60 SkTDArray<GrGLuint>* shaderIds,
67 SkTDArray<GrGLuint>* shaderIds,
78 void cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs);
79 void cleanupShaders(const SkTDArray<GrGLuint>& shaderIDs);
/external/skqp/include/core/
DSkMultiPictureDraw.h68 static void Reset(SkTDArray<DrawData>&);
71 SkTDArray<DrawData> fThreadSafeDrawData;
72 SkTDArray<DrawData> fGPUDrawData;

12345678910>>...12