Home
last modified time | relevance | path

Searched refs:SkAutoSTMalloc (Results 1 – 25 of 33) sorted by relevance

12

/external/skia/tests/
DTemplatesTest.cpp13 SkAutoSTMalloc<1, int> array; in test_automalloc_realloc()
104 test_container_apis<SkAutoSTMalloc<kStackPreallocCount, int>, size_t>(reporter); in DEF_TEST()
127 test_realloc_to_zero<SkAutoSTMalloc<kStackPreallocCount, int> >(reporter); in DEF_TEST()
/external/skia/gm/
Dtypeface.cpp21 SkAutoSTMalloc<128, SkScalar> widthStorage(count); in getGlyphPositions()
50 SkAutoSTMalloc<128, uint16_t> glyphStorage(len); in drawKernText()
57 SkAutoSTMalloc<128, int32_t> adjustmentStorage(glyphCount - 1); in drawKernText()
67 SkAutoSTMalloc<128, SkPoint> posStorage(glyphCount); in drawKernText()
/external/skia/include/private/
DSkTemplates.h317 template <size_t kCountRequested, typename T> class SkAutoSTMalloc : SkNoncopyable {
319 SkAutoSTMalloc() : fPtr(fTStorage) {} in SkAutoSTMalloc() function
321 SkAutoSTMalloc(size_t count) { in SkAutoSTMalloc() function
331 ~SkAutoSTMalloc() { in ~SkAutoSTMalloc()
/external/skia/src/gpu/instanced/
DGLInstancedRendering.h53 SkAutoSTMalloc<1024, GLDrawCmdInfo> fGLDrawCmdsInfo;
/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp164 SkAutoSTMalloc<128 * 128, uint32_t> tempYUV(yuvSize.fWidth * yuvSize.fHeight); in GrTextureToYUVPlanes()
205 SkAutoSTMalloc<128 * 128, uint32_t> tempUV(uvSize.fWidth * uvSize.fHeight); in GrTextureToYUVPlanes()
/external/skia/src/utils/win/
DSkDWrite.h28 typedef SkAutoSTMalloc<16, WCHAR> SkSMallocWCHAR;
/external/skia/src/core/
DSkFontDescriptor.h48 SkAutoSTMalloc<4, SkFixed> fAxis;
DSkFontDescriptor.cpp73 SkAutoSTMalloc<4, SkFixed> axis; in Deserialize()
DSkRecord.h190 SkAutoSTMalloc<kInlineRecords, Record> fRecords;
DSkPictureData.cpp202 SkAutoSTMalloc<16, SkFlattenable::Factory> storage(count); in WriteFactories()
232 SkAutoSTMalloc<16, SkTypeface*> storage(count); in WriteTypefaces()
DSkGeometry.h405 SkAutoSTMalloc<kPointCount, SkPoint> fStorage;
/external/skia/src/gpu/ops/
DGrDrawPathOp.cpp203 SkAutoSTMalloc<4096, float> transformStorage(floatsPerTransform * fTotalPathCount); in onExecute()
204 SkAutoSTMalloc<2048, uint16_t> indexStorage(fTotalPathCount); in onExecute()
DGrAtlasTextOp.h162 SkAutoSTMalloc<kMinGeometryAllocated, Geometry> fGeoData;
/external/skia/src/ports/
DSkFontMgr_android.cpp203 SkAutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.count()); in SkFontStyleSet_Android()
447 SkAutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.count()); in onCreateFromStream()
DSkFontMgr_custom.cpp219 SkAutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.count()); in onCreateFromStream()
DSkFontHost_win.cpp558 SkAutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf);
1597 SkAutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf) in getGDIGlyphPath()
1653 SkAutoSTMalloc<BUFFERSIZE, uint8_t> glyphbuf(BUFFERSIZE); in generatePath()
1665 SkAutoSTMalloc<BUFFERSIZE, uint8_t> hintedGlyphbuf(BUFFERSIZE); in generatePath()
2057 SkAutoSTMalloc<256, uint16_t> scratchGlyphs; in onCharsToGlyphs()
2222 SkAutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
DSkFontMgr_FontConfigInterface.cpp246 SkAutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.count()); in onCreateFromStream()
DSkFontHost_FreeType.cpp242 SkAutoSTMalloc<4, SkFixed> fAxes;
311 SkAutoSTMalloc<4, FT_Fixed> coords(data.getAxisCount()); in ft_face_setup_axes()
1594 SkAutoSTMalloc<4, FT_Fixed> coords(variations->num_axis); in onGetVariationDesignPosition()
/external/skia/include/gpu/
DGrResourceKey.h144 SkAutoSTMalloc<kMetaDataCnt + 7, uint32_t> fKey;
/external/skia/src/codec/
DSkRawCodec.cpp317 SkAutoSTMalloc<kMinSizeToRead, uint8> tempBuffer(sizeToRead); in bufferMoreData()
542 SkAutoSTMalloc<kHeaderSize, unsigned char> header(kHeaderSize); in isTiffHeaderValid()
/external/skia/src/images/
DSkPNGImageEncoder.cpp369 SkAutoSTMalloc<1024, char> rowStorage(pixmap.width() * pngBytesPerPixel); in do_encode()
/external/skia/src/utils/
DSkInsetConvexPolygon.cpp199 SkAutoSTMalloc<64, EdgeData> edgeData(inputPolygonSize); in SkInsetConvexPolygon()
/external/skia/src/jumper/
DSkJumper.cpp242 SkAutoSTMalloc<64, void*> program(2*fStages.size() + 1); in run_with_jumper()
/external/skia/tools/debugger/
DSkObjectParser.cpp375 SkAutoSTMalloc<0x100, char> utf8(sizeNeeded); in TextToString()
/external/skia/samplecode/
DSamplePatch.cpp116 SkAutoSTMalloc<16, SkPoint> storage(npts + 1); in draw()

12