Home
last modified time | relevance | path

Searched refs:SkTArray (Results 1 – 25 of 115) sorted by relevance

12345

/external/skia/include/core/
DSkTArray.h15 template <typename T, bool MEM_COPY = false> class SkTArray; variable
20 inline void copy(SkTArray<T, true>* self, int dst, int src) { in copy()
24 inline void copy(SkTArray<T, true>* self, const T* array) { in copy()
28 inline void copyAndDelete(SkTArray<T, true>* self, char* newMemArray) { in copyAndDelete()
33 inline void copy(SkTArray<T, false>* self, int dst, int src) { in copy()
37 inline void copy(SkTArray<T, false>* self, const T* array) { in copy()
43 inline void copyAndDelete(SkTArray<T, false>* self, char* newMemArray) { in copyAndDelete()
52 template <typename T, bool MEM_COPY> void* operator new(size_t, SkTArray<T, MEM_COPY>*, int);
59 template <typename T, bool MEM_COPY> class SkTArray {
64 SkTArray() { in SkTArray() function
[all …]
/external/skia/src/gpu/
DGrProcessor.cpp27 SkTArray<GrProcessorTestFactory<GrFragmentProcessor>*, true>*
29 static SkTArray<GrProcessorTestFactory<GrFragmentProcessor>*, true> gFactories; in GetFactories()
34 SkTArray<GrProcessorTestFactory<GrXPFactory>*, true>*
36 static SkTArray<GrProcessorTestFactory<GrXPFactory>*, true> gFactories; in GetFactories()
41 SkTArray<GrProcessorTestFactory<GrGeometryProcessor>*, true>*
43 static SkTArray<GrProcessorTestFactory<GrGeometryProcessor>*, true> gFactories; in GetFactories()
DGrAAHairLinePathRenderer.h25 typedef SkTArray<SkPoint, true> PtArray;
26 typedef SkTArray<int, true> IntArray;
27 typedef SkTArray<float, true> FloatArray;
/external/skia/tests/
DTArrayTest.cpp15 SkTArray<int, MEM_COPY> a; in TestTSet_basic()
62 SkTArray<int>* make() { in make()
63 typedef SkTArray<int> IntArray; in make()
67 template <int N> SkTArray<int>* make_s() { in make_s()
74 typedef SkTArray<int>* (*ArrayMaker)(); in test_swap()
82 SkTArray<int>* a = arrayMakers[arrayA](); in test_swap()
83 SkTArray<int>* b = arrayMakers[arrayB](); in test_swap()
DPathOpsTestCommon.cpp39 static bool add_simple_ts(const SkDCubic& cubic, double precision, SkTArray<double, true>* ts) { in add_simple_ts()
52 SkTArray<double, true>* ts) { in addTs()
63 static void toQuadraticTs(const SkDCubic* cubic, double precision, SkTArray<double, true>* ts) { in toQuadraticTs()
133 void CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads) { in CubicToQuads()
134 SkTArray<double, true> ts; in CubicToQuads()
166 SkTArray<SkDQuad, true> quads; in CubicPathToQuads()
DGrGLSLPrettyPrintTest.cpp90 SkTArray<const char*> testStr; in DEF_TEST()
91 SkTArray<int> lengths; in DEF_TEST()
/external/skia/src/gpu/gl/
DGrGLExtensions.cpp22 static int find_string(const SkTArray<SkString>& strings, const char ext[]) { in find_string()
34 GrGLExtensions::GrGLExtensions(const GrGLExtensions& that) : fStrings(SkNEW(SkTArray<SkString>)) { in GrGLExtensions()
114 SkAutoTDelete< SkTArray<SkString> > oldStrings(fStrings.detach()); in remove()
115 fStrings.reset(SkNEW(SkTArray<SkString>(oldStrings->count() - 1))); in remove()
DGrGLGeometryProcessor.h29 const SkTArray<const GrCoordTransform*, true>& transforms) { in setTransformData()
38 const SkTArray<const GrCoordTransform*, true>& transforms) { in setTransformDataHelper()
86 const SkTArray<const GrCoordTransform*, true>& transforms) { in setTransformDataMatrix()
DGrGLProcessor.h38 typedef SkTArray<GrShaderVar> TransformedCoordsArray;
65 typedef SkTArray<TextureSampler> TextureSamplerArray;
DGrGLCaps.h181 const SkTArray<StencilFormat, true>& stencilFormats() const { in stencilFormats()
326 SkTArray<StencilFormat, true> fStencilFormats;
330 SkTArray<VerifiedColorConfigs, true> fStencilVerifiedColorConfigs;
/external/skia/experimental/AndroidPathRenderer/
DAndroidPathRenderer.h65 float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices);
76 SkTArray<Vertex, true>* outputVertices);
88 SkTArray<Vertex, true>* outputVertices);
DAndroidPathRenderer.cpp100 static void getFillVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, VertexBuffer* ver… in getFillVerticesFromPerimeter()
117 static void getStrokeVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, float halfStrok… in getStrokeVerticesFromPerimeter()
156 static void getStrokeVerticesFromUnclosedVertices(const SkTArray<Vertex, true>& vertices, float hal… in getStrokeVerticesFromUnclosedVertices()
206 static void getFillVerticesFromPerimeterAA(const SkTArray<Vertex, true>& perimeter, VertexBuffer* v… in getFillVerticesFromPerimeterAA()
271 static void getStrokeVerticesFromUnclosedVerticesAA(const SkTArray<Vertex, true>& vertices, float h… in getStrokeVerticesFromUnclosedVerticesAA()
430 static void getStrokeVerticesFromPerimeterAA(const SkTArray<Vertex, true>& perimeter, float halfStr… in getStrokeVerticesFromPerimeterAA()
531 SkTArray<Vertex, true> tempVertices; in ConvexPathVertices()
591 static void pushToVector(SkTArray<Vertex, true>* vertices, float x, float y) { in pushToVector()
599 float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices) { in ConvexPathPerimeterVertices()
658 float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices) { in RecursiveCubicBezierVertices()
[all …]
/external/skia/tools/skpdiff/
Dskpdiff_util.h42 bool get_directory(const char path[], SkTArray<SkString>* entries);
50 bool glob_files(const char globPattern[], SkTArray<SkString>* entries);
DSkDiffContext.cpp234 SkTArray<SkString> baselineEntries; in diffDirectories()
241 SkTArray<SkThreadedDiff> runnableDiffs; in diffDirectories()
267 SkTArray<SkString> baselineEntries; in diffPatterns()
273 SkTArray<SkString> testEntries; in diffPatterns()
285 SkTArray<SkThreadedDiff> runnableDiffs; in diffPatterns()
/external/skia/src/core/
DSkMessageBus.h29 void poll(SkTArray<Message>* out);
32 SkTArray<Message> fMessages;
90 void SkMessageBus<Message>::Inbox::poll(SkTArray<Message>* messages) { in poll()
DSkPictureData.h149 SkTArray<SkBitmap> fBitmaps;
150 SkTArray<SkPaint> fPaints;
151 SkTArray<SkPath> fPaths;
DSkConvolver.h135 SkTArray<FilterInstance> fFilters;
140 SkTArray<ConvolutionFixed> fFilterValues;
/external/skia/src/codec/
DSkCodec_libico.h56 SkTArray<SkAutoTDelete<SkCodec>, true>* embeddedCodecs);
58 SkAutoTDelete<SkTArray<SkAutoTDelete<SkCodec>, true>>
DSkCodec_libico.cpp113 SkAutoTDelete<SkTArray<SkAutoTDelete<SkCodec>, true>> codecs( in NewFromStream()
114 SkNEW_ARGS((SkTArray<SkAutoTDelete<SkCodec>, true>), (numImages))); in NewFromStream()
189 SkTArray<SkAutoTDelete<SkCodec>, true>* codecs) in SkIcoCodec()
/external/skia/include/gpu/gl/
DGrGLExtensions.h24 GrGLExtensions() : fInitialized(false), fStrings(SkNEW(SkTArray<SkString>)) {} in GrGLExtensions()
68 SkAutoTDelete<SkTArray<SkString> > fStrings;
/external/skia/dm/
DDM.cpp58 static SkTArray<SkString> gFailures;
69 static SkTArray<SkString> gRunning;
153 SkTArray<SkString> hashes; in gather_uninteresting_hashes()
171 static SkTArray<Tagged<Src>, kMemcpyOK> gSrcs;
172 static SkTArray<Tagged<Sink>, kMemcpyOK> gSinks;
400 SkTArray<SkString> parts; in gather_sinks()
602 static void run_enclave(SkTArray<Task>* tasks) { in run_enclave()
661 static void run_enclave_and_gpu_tests(SkTArray<Task>* tasks) { in run_enclave_and_gpu_tests()
720 SkTArray<Task> enclaves[kNumEnclaves]; in dm_main()
722 SkTArray<Task>& tasks = enclaves[gSinks[j]->enclave()]; in dm_main()
/external/skia/gm/
Dfilterfastbounds.cpp83 static void add_paint(SkImageFilter* filter, SkTArray<SkPaint>* paints) { in add_paint()
90 static void create_paints(SkImageFilter* source, SkTArray<SkPaint>* paints) { in create_paints()
233 SkTArray<SkPaint> paints; in onDraw()
250 SkTArray<SkPaint> pifPaints; in onDraw()
270 SkTArray<SkPaint> bmsPaints; in onDraw()
Drects.cpp290 SkTArray<SkPaint> fPaints;
291 SkTArray<SkMatrix> fMatrices;
292 SkTArray<SkRect> fRects;
/external/skia/src/ports/
DSkFontConfigParser_android.h88 SkTArray<SkString, true> fNames;
89 SkTArray<FontFileInfo, true> fFonts;
/external/skia/include/gpu/
DGrProcessor.h27 GrProcessorKeyBuilder(SkTArray<unsigned char, true>* data) : fData(data), fCount(0) { in GrProcessorKeyBuilder()
47 SkTArray<uint8_t, true>* fData; // unowned ptr to the larger key.

12345