Home
last modified time | relevance | path

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

1234567

/external/skia/include/private/
DSkTArray.h23 template <typename T, bool MEM_COPY = false> class SkTArray {
28 SkTArray() { in SkTArray() function
40 explicit SkTArray(int reserveCount) { in SkTArray() function
47 explicit SkTArray(const SkTArray& array) { in SkTArray() function
56 SkTArray(const T* array, int count) { in SkTArray() function
63 SkTArray& operator =(const SkTArray& array) {
74 ~SkTArray() { in ~SkTArray()
246 void swap(SkTArray* that) { in swap()
258 SkTArray copy(*that); in swap()
321 bool operator==(const SkTArray<T, MEM_COPY>& right) const {
[all …]
/external/skia/src/gpu/
DGrProcessor.cpp26 SkTArray<GrProcessorTestFactory<GrFragmentProcessor>*, true>*
28 static SkTArray<GrProcessorTestFactory<GrFragmentProcessor>*, true> gFactories; in GetFactories()
33 SkTArray<GrProcessorTestFactory<GrXPFactory>*, true>*
35 static SkTArray<GrProcessorTestFactory<GrXPFactory>*, true> gFactories; in GetFactories()
40 SkTArray<GrProcessorTestFactory<GrGeometryProcessor>*, true>*
42 static SkTArray<GrProcessorTestFactory<GrGeometryProcessor>*, true> gFactories; in GetFactories()
DGrTest.cpp116 void GrContext::dumpCacheStatsKeyValuePairs(SkTArray<SkString>* keys, in dumpCacheStatsKeyValuePairs()
117 SkTArray<double>* values) const { in dumpCacheStatsKeyValuePairs()
135 void GrContext::dumpGpuStatsKeyValuePairs(SkTArray<SkString>* keys, in dumpGpuStatsKeyValuePairs()
136 SkTArray<double>* values) const { in dumpGpuStatsKeyValuePairs()
186 void GrGpu::Stats::dumpKeyValuePairs(SkTArray<SkString>* keys, SkTArray<double>* values) { in dumpKeyValuePairs()
235 void GrResourceCache::dumpStatsKeyValuePairs(SkTArray<SkString>* keys, in dumpStatsKeyValuePairs()
236 SkTArray<double>* values) const { in dumpStatsKeyValuePairs()
/external/skia/tools/flags/
DSkCommonFlagsConfig.h32 const SkTArray<SkString>& viaParts);
39 const SkTArray<SkString>& getViaParts() const { return fViaParts; } in getViaParts()
43 SkTArray<SkString> fViaParts;
54 SkCommandLineConfigGpu(const SkString& tag, const SkTArray<SkString>& viaParts,
70 typedef SkTArray<SkAutoTDelete<SkCommandLineConfig>, true> SkCommandLineConfigArray;
DSkCommonFlagsConfig.cpp141 const SkTArray<SkString>& viaParts) in SkCommandLineConfig()
151 const SkString& tag, const SkTArray<SkString>& viaParts, in SkCommandLineConfigGpu()
236 const SkTArray<SkString>& vias, in parse_command_line_config_gpu()
248 SkTArray<SkString> optionParts; in parse_command_line_config_gpu()
251 SkTArray<SkString> keyValueParts; in parse_command_line_config_gpu()
287 SkTArray<SkString> vias; in ParseConfigs()
290 SkTArray<SkString> parts; in ParseConfigs()
293 SkTArray<SkString> parts2; in ParseConfigs()
/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()
/external/skia/src/gpu/batches/
DGrAAHairLinePathRenderer.h18 typedef SkTArray<SkPoint, true> PtArray;
19 typedef SkTArray<int, true> IntArray;
20 typedef SkTArray<float, true> FloatArray;
DGrDrawVerticesBatch.cpp256 SkTArray<SkPoint>* positions, in randomize_params()
257 SkTArray<SkPoint>* texCoords, bool hasTexCoords, in randomize_params()
258 SkTArray<GrColor>* colors, bool hasColors, in randomize_params()
259 SkTArray<uint16_t>* indices, bool hasIndices) { in randomize_params()
280 SkTArray<SkPoint> positions; in DRAW_BATCH_TEST_DEFINE()
281 SkTArray<SkPoint> texCoords; in DRAW_BATCH_TEST_DEFINE()
282 SkTArray<GrColor> colors; in DRAW_BATCH_TEST_DEFINE()
283 SkTArray<uint16_t> indices; in DRAW_BATCH_TEST_DEFINE()
DGrDrawAtlasBatch.cpp232 SkTArray<SkRSXform>* xforms, in randomize_params()
233 SkTArray<SkRect>* texRects, in randomize_params()
234 SkTArray<GrColor>* colors, bool hasColors) { in randomize_params()
247 SkTArray<SkRSXform> xforms(spriteCount); in DRAW_BATCH_TEST_DEFINE()
248 SkTArray<SkRect> texRects(spriteCount); in DRAW_BATCH_TEST_DEFINE()
249 SkTArray<GrColor> colors; in DRAW_BATCH_TEST_DEFINE()
/external/skia/src/gpu/vk/
DGrVkCaps.h56 const SkTArray<StencilFormat, true>& stencilFormats() const { in stencilFormats()
64 const SkTArray<StencilFormat, true>& linearStencilFormats() const { in linearStencilFormats()
100 SkTArray<StencilFormat, true> fLinearStencilFormats;
101 SkTArray<StencilFormat, true> fStencilFormats;
/external/skia/src/gpu/gl/
DGrGLProgram.h98 SkTArray<const GrTextureAccess*>* textureBindings);
114 SkTArray<UniformHandle>* passSamplerUniforms);
118 SkTArray<const GrTextureAccess*>* textureBindings);
139 SkTArray<UniformHandle> fSamplerUniforms;
DGrGLExtensions.cpp22 static int find_string(const SkTArray<SkString>& strings, const char ext[]) { in find_string()
34 GrGLExtensions::GrGLExtensions(const GrGLExtensions& that) : fStrings(new SkTArray<SkString>) { in GrGLExtensions()
44 static void eat_space_sep_strings(SkTArray<SkString>* out, const char in[]) { in eat_space_sep_strings()
128 SkAutoTDelete< SkTArray<SkString> > oldStrings(fStrings.detach()); in remove()
129 fStrings.reset(new SkTArray<SkString>(oldStrings->count() - 1)); in remove()
DGrGLProgram.cpp37 SkTArray<UniformHandle>* passSamplerUniforms) in GrGLProgram()
70 SkTArray<const GrTextureAccess*>* textureBindings) { in append_texture_bindings()
82 SkTArray<const GrTextureAccess*>* textureBindings) { in setData()
102 SkTArray<const GrTextureAccess*>* textureBindings) { in setFragmentData()
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.h29 const SkTArray<const GrCoordTransform*, true>& transforms) override { in setTransformData()
38 const SkTArray<const GrCoordTransform*, true>& transforms) { in setTransformDataHelper()
102 const SkTArray<const GrCoordTransform*, true>& transforms) { in setTransformDataMatrix()
/external/skia/src/core/
DSkMessageBus.h29 void poll(SkTArray<Message>* out);
32 SkTArray<Message> fMessages;
87 void SkMessageBus<Message>::Inbox::poll(SkTArray<Message>* messages) { in poll()
DSkPictureData.h157 SkTArray<SkBitmap> fBitmaps;
158 SkTArray<SkPaint> fPaints;
159 SkTArray<SkPath> fPaths;
/external/skia/tools/VisualBench/
DVisualLightweightBenchModule.h35 SkTArray<double> fMeasurements;
38 SkTArray<Record> fRecords;
/external/skia/include/gpu/
DGrContext.h334 void dumpCacheStatsKeyValuePairs(SkTArray<SkString>* keys, SkTArray<double>* values) const;
339 void dumpGpuStatsKeyValuePairs(SkTArray<SkString>* keys, SkTArray<double>* values) const;
/external/skia/bench/
DSKPBench.cpp163 SkTArray<SkString>* keys, SkTArray<double>* values, in draw_pic_for_stats()
180 void SKPBench::getGpuStats(SkCanvas* canvas, SkTArray<SkString>* keys, SkTArray<double>* values) { in getGpuStats()
DSKPBench.h31 void getGpuStats(SkCanvas*, SkTArray<SkString>* keys, SkTArray<double>* values) override;
/external/skia/include/gpu/gl/
DGrGLExtensions.h25 GrGLExtensions() : fInitialized(false), fStrings(new SkTArray<SkString>) {} in GrGLExtensions()
71 SkAutoTDelete<SkTArray<SkString> > fStrings;
/external/skia/src/codec/
DSkIcoCodec.h74 SkIcoCodec(const SkImageInfo& srcInfo, SkTArray<SkAutoTDelete<SkCodec>, true>* embeddedCodecs);
76 SkAutoTDelete<SkTArray<SkAutoTDelete<SkCodec>, true>> fEmbeddedCodecs; // owned
/external/skia/src/ports/
DSkFontMgr_android_parser.h76 SkTArray<SkFontMgr::FontParameters::Axis, true> fAxes;
94 SkTArray<SkString, true> fNames;
95 SkTArray<FontFileInfo, true> fFonts;
/external/skia/gm/
Dfilterfastbounds.cpp85 static void add_paint(SkImageFilter* filter, SkTArray<SkPaint>* paints) { in add_paint()
92 static void create_paints(SkImageFilter* source, SkTArray<SkPaint>* paints) { in create_paints()
244 SkTArray<SkPaint> paints; in onDraw()
261 SkTArray<SkPaint> pifPaints; in onDraw()
281 SkTArray<SkPaint> bmsPaints; in onDraw()

1234567