Home
last modified time | relevance | path

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

12345678910

/external/skia/src/gpu/
DGrLayerHoister.h52 SkTDArray<GrHoistedLayer>* atlasedNeedRendering,
53 SkTDArray<GrHoistedLayer>* recycled,
71 SkTDArray<GrHoistedLayer>* needRendering,
72 SkTDArray<GrHoistedLayer>* recycled,
79 static void DrawLayersToAtlas(GrContext* context, const SkTDArray<GrHoistedLayer>& layers);
85 static void DrawLayers(GrContext* context, const SkTDArray<GrHoistedLayer>& layers);
92 const SkTDArray<GrHoistedLayer>& layers,
99 static void UnlockLayers(GrContext* context, const SkTDArray<GrHoistedLayer>& layers);
DGrAAConvexTessellator.h116 SkTDArray<struct PointData> fPts;
136 void init(const SkTDArray<SkVector>& norms, const SkTDArray<SkVector>& bisectors);
160 SkTDArray<PointData> fPts;
210 SkTDArray<SkPoint> fPts;
211 SkTDArray<SkScalar> fDepths;
213 SkTDArray<bool> fMovable;
216 SkTDArray<SkVector> fNorms;
219 SkTDArray<SkVector> fBisectors;
223 SkTDArray<int> fIndices;
228 SkTDArray<Ring*> fRings;
DGrLayerHoister.cpp30 SkTDArray<GrHoistedLayer>* needRendering, in prepare_for_hoisting()
31 SkTDArray<GrHoistedLayer>* recycled, in prepare_for_hoisting()
123 SkTDArray<GrHoistedLayer>* atlased, in FindLayersToAtlas()
124 SkTDArray<GrHoistedLayer>* recycled, in FindLayersToAtlas()
185 SkTDArray<GrHoistedLayer>* needRendering, in FindLayersToHoist()
186 SkTDArray<GrHoistedLayer>* recycled, in FindLayersToHoist()
231 const SkTDArray<GrHoistedLayer>& atlased) { in DrawLayersToAtlas()
328 void GrLayerHoister::DrawLayers(GrContext* context, const SkTDArray<GrHoistedLayer>& layers) { in DrawLayers()
371 const SkTDArray<GrHoistedLayer>& layers) { in UnlockLayers()
/external/skia/include/core/
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 …]
DSkMultiPictureDraw.h68 static void Reset(SkTDArray<DrawData>&);
73 SkTDArray<DrawData> fThreadSafeDrawData;
74 SkTDArray<DrawData> fGPUDrawData;
/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 …]
DFontConfigParser.cpp15 int CountFallbacks(SkTDArray<FontFamily*> fontFamilies) { in CountFallbacks()
35 void ValidateLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* firstExpectedFile, in ValidateLoadedFonts()
66 void DumpLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* label) { in DumpLoadedFonts()
98 SkTDArray<FontFamily*> preV17FontFamilies; in DEF_TEST()
115 SkTDArray<FontFamily*> v17FontFamilies; in DEF_TEST()
133 SkTDArray<FontFamily*> v22FontFamilies; 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.cpp250 SkTDArray<SortByPixel> fPixelWorst;
251 SkTDArray<SortByTime> fSlowest;
258 SkTDArray<class TestRunnable*> fRunnables;
627 SkTDArray<TestResult>* tests, SkTDArray<SortByName*>* sorted) { in buildTestDir()
656 SkTDArray<TestResult>& testSet = tests[dirNo - firstDirNo]; in buildTestDir()
709 SkTDArray<TestResult> tests[1]; in doOneDir()
710 SkTDArray<SortByName*> sorted[1]; in doOneDir()
768 SkTDArray<SortByPixel*> worst; in encodeFound()
779 SkTDArray<SortByTime*> slowest; in encodeFound()
888 static bool buildTests(SkTDArray<TestResult>* tests, SkTDArray<SortByName*>* sorted) { in buildTests()
[all …]
/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);
DSkPDFCanon.h72 SkTDArray<FontRec> fFontRecords;
74 SkTDArray<SkPDFFunctionShader*> fFunctionShaderRecords;
76 SkTDArray<SkPDFAlphaFunctionShader*> fAlphaShaderRecords;
78 SkTDArray<SkPDFImageShader*> fImageShaderRecords;
95 SkTDArray<SkPDFBitmap*> fBitmapRecords;
DSkPDFResourceDict.cpp62 const SkTDArray<SkPDFObject*>& resourceList, in add_subdict()
77 const SkTDArray<SkPDFObject*>* gStateResources, in Create()
78 const SkTDArray<SkPDFObject*>* patternResources, in Create()
79 const SkTDArray<SkPDFObject*>* xObjectResources, in Create()
80 const SkTDArray<SkPDFObject*>* fontResources) { in Create()
DSkPDFDevice.h145 const SkTDArray<SkPDFFont*>& getFontResources() const;
203 SkTDArray<NamedDestination*> fNamedDestinations;
205 SkTDArray<SkPDFObject*> fGraphicStateResources;
206 SkTDArray<SkPDFObject*> fXObjectResources;
207 SkTDArray<SkPDFFont*> fFontResources;
208 SkTDArray<SkPDFObject*> fShaderResources;
/external/skia/src/doc/
DSkDocument_PDF.cpp44 const SkTDArray<const SkPDFDevice*>& pageDevices, in perform_font_subsetting()
81 static void generate_page_tree(const SkTDArray<SkPDFDict*>& pages, in generate_page_tree()
82 SkTDArray<SkPDFDict*>* pageTree, in generate_page_tree()
94 SkTDArray<SkPDFDict*> curNodes; in generate_page_tree()
102 SkTDArray<SkPDFDict*> nextRoundNodes; in generate_page_tree()
158 static bool emit_pdf_document(const SkTDArray<const SkPDFDevice*>& pageDevices, in emit_pdf_document()
164 SkTDArray<SkPDFDict*> pages; in emit_pdf_document()
176 SkTDArray<SkPDFDict*> pageTree; in emit_pdf_document()
206 SkTDArray<int32_t> offsets; in emit_pdf_document()
246 const SkTDArray<SkPDFDevice*>& pageDevices,
[all …]
/external/skia/bench/
DSKPBench.h37 const SkTDArray<SkSurface*>& surfaces() const { return fSurfaces; } in surfaces()
38 const SkTDArray<SkIRect>& tileRects() const { return fTileRects; } in tileRects()
48 SkTDArray<SkSurface*> fSurfaces; // for MultiPictureDraw
49 SkTDArray<SkIRect> fTileRects; // for MultiPictureDraw
DChartBench.cpp20 SkRandom* random, SkTDArray<SkScalar>* dataPts) { in gen_data()
32 static void gen_paths(const SkTDArray<SkScalar>& topData, in gen_paths()
33 const SkTDArray<SkScalar>* bottomData, in gen_paths()
150 SkTDArray<SkScalar>* prevData = NULL; in onDraw()
183 SkTDArray<SkScalar> fData[kNumGraphs];
/external/skia/src/core/
DSkRTree.h45 void search(const SkRect& query, SkTDArray<unsigned>* results) const override;
79 void search(Node* root, const SkRect& query, SkTDArray<unsigned>* results) const;
82 Branch bulkLoad(SkTDArray<Branch>* branches, int level = 0);
93 SkTDArray<Node> fNodes;
DSkBitmapHeap.h276 SkTDArray<LookupEntry*> fLookupTable;
279 SkTDArray<SkBitmapHeapEntry*> fStorage;
282 SkTDArray<int> fUnusedSlots;
293 SkTDArray<int> fDeferredEntries;
/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.h64 … typedef bool (*_functionCallBack)(const char* func, size_t len, SkTDArray<SkScriptValue>& params,
69 SkTDArray<SkScriptValue>& params, void* userStorage, SkScriptValue* result);
192 bool convertParams(SkTDArray<SkScriptValue>&, const SkFunctionParamType* ,
203 bool functionParams(const char** scriptPtr, SkTDArray<SkScriptValue>& params);
208 …bool handleMemberFunction(const char* field, size_t len, void* object, SkTDArray<SkScriptValue>& p…
229 SkTDArray<SkSuppress> fSuppressStack;
242 SkTDArray<UserCallBack> fUserCallBacks;
/external/skia/src/utils/
DSkRTConf.cpp58 SkTDArray<SkRTConfBase *> *confArray; in ~SkRTConfRegistry()
109 SkTDArray<SkRTConfBase *> *confArray; in printAll()
124 SkTDArray<SkRTConfBase *> *confArray; in hasNonDefault()
142 SkTDArray<SkRTConfBase *> *confArray; in printNonDefault()
159 SkTDArray<SkRTConfBase *> *confArray; in registerConf()
167 confArray = new SkTDArray<SkRTConfBase *>; in registerConf()
294 SkTDArray<SkRTConfBase *> *confArray; in set()
/external/skia/samplecode/
DSampleChart.cpp15 static void gen_data(SkScalar yAvg, SkScalar ySpread, int count, SkTDArray<SkScalar>* dataPts) { in gen_data()
28 static void gen_paths(const SkTDArray<SkScalar>& topData, in gen_paths()
29 const SkTDArray<SkScalar>* bottomData, in gen_paths()
144 SkTDArray<SkScalar>* prevData = NULL; in onDrawContent()
177 SkTDArray<SkScalar> fData[kNumGraphs];
/external/skia/src/pathops/
DSkOpEdgeBuilder.h64 SkTDArray<SkPoint> fPathPts;
65 SkTDArray<SkScalar> fWeights;
66 SkTDArray<uint8_t> fPathVerbs;
/external/skia/src/gpu/gl/debug/
DGrFBBindableObj.h81SkTDArray<GrFakeRefObj *> fColorReferees; // frame buffers that use this as a color buffer (via …
82SkTDArray<GrFakeRefObj *> fDepthReferees; // frame buffers that use this as a depth buffer (via …
83SkTDArray<GrFakeRefObj *> fStencilReferees; // frame buffers that use this as a stencil buffer (vi…
/external/skia/src/ports/
DSkFontConfigParser_android.cpp84 FamilyData(XML_Parser parser, SkTDArray<FontFamily*>& families, in FamilyData()
101 SkTDArray<FontFamily*>& fFamilies; // The array to append families, owned by caller
111 SkTDArray<const TagHandler*> fHandler; // The stack of current tag handlers.
572 static int parse_config_file(const char* filename, SkTDArray<FontFamily*>& families, in parse_config_file()
629 static int append_system_font_families(SkTDArray<FontFamily*>& fontFamilies, in append_system_font_families()
647 static void append_fallback_font_families_for_locale(SkTDArray<FontFamily*>& fallbackFonts, in append_fallback_font_families_for_locale()
683 SkTDArray<FontFamily*> langSpecificFonts; in append_fallback_font_families_for_locale()
694 static void append_system_fallback_font_families(SkTDArray<FontFamily*>& fallbackFonts, in append_system_fallback_font_families()
703 static void mixin_vendor_fallback_font_families(SkTDArray<FontFamily*>& fallbackFonts, in mixin_vendor_fallback_font_families()
706 SkTDArray<FontFamily*> vendorFonts; in mixin_vendor_fallback_font_families()
[all …]

12345678910