Home
last modified time | relevance | path

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

123456789

/external/skia/src/gpu/
DGrLayerHoister.h59 SkTDArray<GrHoistedLayer>* atlasedNeedRendering,
60 SkTDArray<GrHoistedLayer>* recycled,
78 SkTDArray<GrHoistedLayer>* needRendering,
79 SkTDArray<GrHoistedLayer>* recycled,
86 static void DrawLayersToAtlas(GrContext* context, const SkTDArray<GrHoistedLayer>& layers);
92 static void DrawLayers(GrContext* context, const SkTDArray<GrHoistedLayer>& layers);
99 const SkTDArray<GrHoistedLayer>& layers,
106 static void UnlockLayers(GrContext* context, const SkTDArray<GrHoistedLayer>& layers);
DGrLayerHoister.cpp28 SkTDArray<GrHoistedLayer>* needRendering, in prepare_for_hoisting()
29 SkTDArray<GrHoistedLayer>* recycled, in prepare_for_hoisting()
121 SkTDArray<GrHoistedLayer>* atlased, in FindLayersToAtlas()
122 SkTDArray<GrHoistedLayer>* recycled, in FindLayersToAtlas()
183 SkTDArray<GrHoistedLayer>* needRendering, in FindLayersToHoist()
184 SkTDArray<GrHoistedLayer>* recycled, in FindLayersToHoist()
230 const SkTDArray<GrHoistedLayer>& atlased) { in DrawLayersToAtlas()
322 void GrLayerHoister::DrawLayers(GrContext* context, const SkTDArray<GrHoistedLayer>& layers) { in DrawLayers()
366 const SkTDArray<GrHoistedLayer>& layers) { in UnlockLayers()
/external/skia/include/private/
DSkTDArray.h15 template <typename T> class SkTDArray {
17 SkTDArray() { in SkTDArray() function
21 SkTDArray(const T src[], int count) { in SkTDArray() function
32 SkTDArray(const SkTDArray<T>& src) { in SkTDArray() function
35 SkTDArray<T> tmp(src.fArray, src.fCount); in SkTDArray()
38 ~SkTDArray() { in ~SkTDArray()
42 SkTDArray<T>& operator=(const SkTDArray<T>& src) {
45 SkTDArray<T> tmp(src.fArray, src.fCount);
55 friend bool operator==(const SkTDArray<T>& a, const SkTDArray<T>& b) {
60 friend bool operator!=(const SkTDArray<T>& a, const SkTDArray<T>& b) {
[all …]
/external/skia/src/gpu/batches/
DGrAAConvexTessellator.h121 SkTDArray<struct PointData> fPts;
141 void init(const SkTDArray<SkVector>& norms, const SkTDArray<SkVector>& bisectors);
166 SkTDArray<PointData> fPts;
229 SkTDArray<SkPoint> fPts;
230 SkTDArray<SkScalar> fCoverages;
232 SkTDArray<bool> fMovable;
235 SkTDArray<SkVector> fNorms;
238 SkTDArray<SkVector> fBisectors;
242 SkTDArray<bool> fIsCurve;
247 SkTDArray<int> fIndices;
[all …]
DGrDrawVerticesBatch.h27 SkTDArray<SkPoint> fPositions;
28 SkTDArray<uint16_t> fIndices;
29 SkTDArray<GrColor> fColors;
30 SkTDArray<SkPoint> fLocalCoords;
/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 …]
DTopoSortTest.cpp14 typedef void (*CreateGraphPF)(SkTDArray<sk_tool_utils::TopoTestNode*>* graph);
23 static void create_graph0(SkTDArray<sk_tool_utils::TopoTestNode*>* graph) { in create_graph0()
41 static void create_graph1(SkTDArray<sk_tool_utils::TopoTestNode*>* graph) { in create_graph1()
54 static void create_graph2(SkTDArray<sk_tool_utils::TopoTestNode*>* graph) { in create_graph2()
73 static void create_graph3(SkTDArray<sk_tool_utils::TopoTestNode*>* graph) { in create_graph3()
94 static void create_graph4(SkTDArray<sk_tool_utils::TopoTestNode*>* graph) { in create_graph4()
123 SkTDArray<sk_tool_utils::TopoTestNode*> graph; in DEF_TEST()
DGpuRectanizerTest.cpp35 const SkTDArray<SkISize>& rects) { in test_rectanizer_inserts()
47 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { in test_skyline()
54 static void test_pow2(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { in test_pow2()
62 SkTDArray<SkISize> rects; in DEF_GPUTEST()
DPathOpsSkpClipTest.cpp248 SkTDArray<SortByPixel> fPixelWorst;
249 SkTDArray<SortByTime> fSlowest;
256 SkTDArray<class TestRunnable*> fRunnables;
624 SkTDArray<TestResult>* tests, SkTDArray<SortByName*>* sorted) { in buildTestDir()
653 SkTDArray<TestResult>& testSet = tests[dirNo - firstDirNo]; in buildTestDir()
706 SkTDArray<TestResult> tests[1]; in doOneDir()
707 SkTDArray<SortByName*> sorted[1]; in doOneDir()
765 SkTDArray<SortByPixel*> worst; in encodeFound()
776 SkTDArray<SortByTime*> slowest; in encodeFound()
883 static bool buildTests(SkTDArray<TestResult>* tests, SkTDArray<SortByName*>* sorted) { in buildTests()
[all …]
DFontMgrAndroidParserTest.cpp18 int CountFallbacks(SkTDArray<FontFamily*> fontFamilies) { in CountFallbacks()
38 void ValidateLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* firstExpectedFile, in ValidateLoadedFonts()
69 void DumpLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* label) { in DumpLoadedFonts()
158 SkTDArray<FontFamily*> preV17FontFamilies; in DEF_TEST()
176 SkTDArray<FontFamily*> v17FontFamilies; in DEF_TEST()
195 SkTDArray<FontFamily*> v22FontFamilies; in DEF_TEST()
/external/skia/src/pdf/
DSkPDFResourceDict.h40 const SkTDArray<SkPDFObject*>* gStateResources,
41 const SkTDArray<SkPDFObject*>* patternResources,
42 const SkTDArray<SkPDFObject*>* xObjectResources,
43 const SkTDArray<SkPDFObject*>* fontResources);
DSkPDFResourceDict.cpp58 const SkTDArray<SkPDFObject*>& resourceList, in add_subdict()
73 const SkTDArray<SkPDFObject*>* gStateResources, in Create()
74 const SkTDArray<SkPDFObject*>* patternResources, in Create()
75 const SkTDArray<SkPDFObject*>* xObjectResources, in Create()
76 const SkTDArray<SkPDFObject*>* fontResources) { in Create()
DSkPDFDevice.h154 const SkTDArray<SkPDFFont*>& getFontResources() const;
212 SkTDArray<RectWithData*> fLinkToURLs;
213 SkTDArray<RectWithData*> fLinkToDestinations;
214 SkTDArray<NamedDestination*> fNamedDestinations;
216 SkTDArray<SkPDFObject*> fGraphicStateResources;
217 SkTDArray<SkPDFObject*> fXObjectResources;
218 SkTDArray<SkPDFFont*> fFontResources;
219 SkTDArray<SkPDFObject*> fShaderResources;
DSkPDFCanon.h92 SkTDArray<FontRec> fFontRecords;
94 SkTDArray<SkPDFFunctionShader*> fFunctionShaderRecords;
96 SkTDArray<SkPDFAlphaFunctionShader*> fAlphaShaderRecords;
98 SkTDArray<SkPDFImageShader*> fImageShaderRecords;
/external/skia/src/core/
DSkTTopoSort.h15 void SkTTopoSort_CheckAllUnmarked(const SkTDArray<T*>& graph) { in SkTTopoSort_CheckAllUnmarked()
23 void SkTTopoSort_CleanExit(const SkTDArray<T*>& graph) { in SkTTopoSort_CleanExit()
34 bool SkTTopoSort_Visit(T* node, SkTDArray<T*>* result) { in SkTTopoSort_Visit()
81 bool SkTTopoSort(SkTDArray<T*>* graph) { in SkTTopoSort()
82 SkTDArray<T*> result; in SkTTopoSort()
DSkRTree.h45 void search(const SkRect& query, SkTDArray<int>* results) const override;
79 void search(Node* root, const SkRect& query, SkTDArray<int>* results) const;
82 Branch bulkLoad(SkTDArray<Branch>* branches, int level = 0);
93 SkTDArray<Node> fNodes;
DSkPictureRecord.h34 const SkTDArray<const SkPicture* >& getPictureRefs() const { in getPictureRefs()
38 const SkTDArray<const SkTextBlob* >& getTextBlobRefs() const { in getTextBlobRefs()
42 const SkTDArray<const SkImage* >& getImageRefs() const { in getImageRefs()
83 SkTDArray<int32_t> fRestoreOffsetStack;
85 SkTDArray<uint32_t> fCullOffsetStack;
238 SkTDArray<const SkImage*> fImageRefs;
239 SkTDArray<const SkPicture*> fPictureRefs;
240 SkTDArray<const SkTextBlob*> fTextBlobRefs;
/external/skia/src/doc/
DSkDocument_PDF.cpp54 const SkTDArray<const SkPDFDevice*>& pageDevices, in perform_font_subsetting()
92 static void generate_page_tree(const SkTDArray<SkPDFDict*>& pages, in generate_page_tree()
93 SkTDArray<SkPDFDict*>* pageTree, in generate_page_tree()
105 SkTDArray<SkPDFDict*> curNodes; in generate_page_tree()
113 SkTDArray<SkPDFDict*> nextRoundNodes; in generate_page_tree()
169 static bool emit_pdf_document(const SkTDArray<const SkPDFDevice*>& pageDevices, in emit_pdf_document()
176 SkTDArray<SkPDFDict*> pages; in emit_pdf_document()
218 SkTDArray<SkPDFDict*> pageTree; in emit_pdf_document()
236 SkTDArray<int32_t> offsets; in emit_pdf_document()
280 const SkTDArray<SkPDFDevice*>& pageDevices,
[all …]
/external/skia/bench/
DSKPBench.h46 const SkTDArray<SkSurface*>& surfaces() const { return fSurfaces; } in surfaces()
47 const SkTDArray<SkIRect>& tileRects() const { return fTileRects; } in tileRects()
57 SkTDArray<SkSurface*> fSurfaces; // for MultiPictureDraw
58 SkTDArray<SkIRect> fTileRects; // for MultiPictureDraw
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()
152 SkTDArray<SkScalar>* prevData = nullptr; in onDraw()
185 SkTDArray<SkScalar> fData[kNumGraphs];
/external/skia/src/animator/
DSkAnimatorScript.h41 static bool Eval(const char* function, size_t len, SkTDArray<SkScriptValue>& params,
50 SkTDArray<SkScriptValue>& params, void* user, SkScriptValue* value);
52 static bool EvalRGB(const char* function, size_t len, SkTDArray<SkScriptValue>& params,
56 static bool IsFinite(const char* function, size_t len, SkTDArray<SkScriptValue>& params,
58 static bool IsNaN(const char* function, size_t len, SkTDArray<SkScriptValue>& params,
DSkScript.h62 … typedef bool (*_functionCallBack)(const char* func, size_t len, SkTDArray<SkScriptValue>& params,
67 SkTDArray<SkScriptValue>& params, void* userStorage, SkScriptValue* result);
190 bool convertParams(SkTDArray<SkScriptValue>&, const SkFunctionParamType* ,
201 bool functionParams(const char** scriptPtr, SkTDArray<SkScriptValue>& params);
206 …bool handleMemberFunction(const char* field, size_t len, void* object, SkTDArray<SkScriptValue>& p…
227 SkTDArray<SkSuppress> fSuppressStack;
240 SkTDArray<UserCallBack> fUserCallBacks;
/external/skia/src/utils/
DSkRTConf.cpp60 SkTDArray<SkRTConfBase *> *confArray; in ~SkRTConfRegistry()
111 SkTDArray<SkRTConfBase *> *confArray; in printAll()
126 SkTDArray<SkRTConfBase *> *confArray; in hasNonDefault()
144 SkTDArray<SkRTConfBase *> *confArray; in printNonDefault()
161 SkTDArray<SkRTConfBase *> *confArray; in registerConf()
169 confArray = new SkTDArray<SkRTConfBase *>; in registerConf()
296 SkTDArray<SkRTConfBase *> *confArray; in set()
/external/skia/include/core/
DSkMultiPictureDraw.h68 static void Reset(SkTDArray<DrawData>&);
71 SkTDArray<DrawData> fThreadSafeDrawData;
72 SkTDArray<DrawData> fGPUDrawData;
/external/skia/tools/
Dsk_tool_utils.h181 static void AllocNodes(SkTDArray<TopoTestNode*>* graph, int num) { in AllocNodes()
189 static void DeallocNodes(SkTDArray<TopoTestNode*>* graph) { in DeallocNodes()
196 static void Print(const SkTDArray<TopoTestNode*>& graph) { in Print()
205 static void Shuffle(SkTDArray<TopoTestNode*>* graph, SkRandom* rand) { in Shuffle()
220 SkTDArray<TopoTestNode*> fDependencies;

123456789