Home
last modified time | relevance | path

Searched refs:SkAutoTMalloc (Results 1 – 25 of 76) sorted by relevance

1234

/external/skia/tests/
DSVGDeviceTest.cpp54 SkAutoTMalloc<SkScalar> xpos(xposCount); in check_text_node()
71 SkAutoTMalloc<SkScalar> ypos(yposCount); in check_text_node()
101 SkAutoTMalloc<SkScalar> xpos(len); in test_whitespace_pos()
114 SkAutoTMalloc<SkPoint> pos(len); in test_whitespace_pos()
DCopySurfaceTest.cpp28 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
33 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
55 SkAutoTMalloc<uint32_t> read(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp19 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_read_pixels()
39 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_write_pixels()
70 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_copy_surface_dst()
105 SkAutoTMalloc<uint32_t> expectedPixels(pixelCnt); in test_clear()
DEGLImageTest.cpp42 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_read_pixels()
62 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_write_pixels()
145 SkAutoTMalloc<uint32_t> pixels(kSize * kSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRecordDrawTest.cpp142 SkAutoTMalloc<SkRect> bounds(record.count()); in DEF_TEST()
165 SkAutoTMalloc<SkRect> bounds(record.count()); in DEF_TEST()
225 SkAutoTMalloc<SkRect> bounds(record.count()); in DEF_TEST()
248 SkAutoTMalloc<SkRect> bounds(record.count()); in DEF_TEST()
DVkClearTests.cpp52 SkAutoTMalloc<GrColor> buffer(25); in basic_clear_test()
106 SkAutoTMalloc<GrColor> buffer(width * height); in sub_clear_test()
107 SkAutoTMalloc<GrColor> subBuffer(subWidth * subHeight); in sub_clear_test()
DVkUploadPixelsTests.cpp59 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight); in basic_texture_test()
60 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight); in basic_texture_test()
DSkBase64Test.cpp21 SkAutoTMalloc<char> src(encodeLength + 1); in DEF_TEST()
DARGBImageEncoderTest.cpp53 SkAutoTMalloc<char> pixelBufferManager(bufferSize); in DEF_TEST()
/external/skia/src/core/
DSkPictureRecorder.cpp75 SkAutoTMalloc<SkRect> bounds(fRecord->count()); in endRecordingAsPicture()
163 SkAutoTMalloc<SkRect> scratchBounds(fRecord->count()); in onNewPictureSnapshot()
189 SkAutoTMalloc<SkRect> bounds(fRecord->count()); in endRecordingAsDrawable()
DSkBigPicture.h33 SkAutoTMalloc<const SkPicture*> fPics;
/external/skia/samplecode/
DSampleMeasure.cpp41 SkAutoTMalloc<SkScalar> autoWidths(len); in doMeasure()
43 SkAutoTMalloc<SkRect> autoRects(len); in doMeasure()
DSamplePatch.cpp153 SkAutoTMalloc<SkPoint> vertStorage(vertCount); in draw()
177 SkAutoTMalloc<SkPoint> stripStorage(stripCount * 2); in draw()
178 SkAutoTMalloc<SkColor> colorStorage(stripCount); in draw()
/external/skia/include/private/
DSkTemplates.h263 template <typename T> class SkAutoTMalloc : SkNoncopyable {
266 explicit SkAutoTMalloc(T* ptr = NULL) {
271 explicit SkAutoTMalloc(size_t count) { in SkAutoTMalloc() function
275 ~SkAutoTMalloc() { in ~SkAutoTMalloc()
/external/skia/gm/
Dcolorcube.cpp76 SkAutoTMalloc<uint8_t> lutMemory(size); in make_3Dlut()
77 SkAutoTMalloc<uint8_t> invLutMemory(size); in make_3Dlut()
/external/skia/bench/
DSortBench.cpp105 SkAutoTMalloc<int> fUnsorted;
128 SkAutoTMalloc<int> sorted(N); in onDraw()
DRTreeBench.cpp39 SkAutoTMalloc<SkRect> rects(NUM_BUILD_RECTS); in onDraw()
72 SkAutoTMalloc<SkRect> rects(NUM_QUERY_RECTS); in onDelayedSetup()
/external/skia/src/effects/
DSkBlurMask.cpp548 SkAutoTMalloc<uint8_t> tmpBuffer(dstSize); in BoxBlur()
720 SkAutoTMalloc<uint8_t> horizontalScanline(width); in ComputeBlurredScanline()
789 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth); in BlurRect()
790 SkAutoTMalloc<uint8_t> verticalScanline(dstHeight); in BlurRect()
865 SkAutoTMalloc<float> gaussWindow(windowSize); in BlurGroundTruth()
915 SkAutoTMalloc<uint8_t> padPixels(padSize); in BlurGroundTruth()
932 SkAutoTMalloc<float> tmpImage(tmpSize); in BlurGroundTruth()
/external/skia/src/svg/parser/
DSkSVG.cpp23 SkAutoTMalloc<char> storage(size);
/external/skia/src/pdf/
DSkPDFBitmap.cpp190 SkAutoTMalloc<uint8_t> scanline(3 * bm.width()); in bitmap_to_pdf_pixels()
210 SkAutoTMalloc<uint8_t> scanline(3 * bm.width()); in bitmap_to_pdf_pixels()
257 SkAutoTMalloc<uint8_t> scanline(bm.width()); in bitmap_alpha_to_a8()
276 SkAutoTMalloc<uint8_t> scanline(bm.width()); in bitmap_alpha_to_a8()
/external/skia/include/effects/
DSkColorCubeFilter.h59 SkAutoTMalloc<uint8_t> fLutStorage;
/external/skia/src/codec/
DSkWbmpCodec.h53 SkAutoTMalloc<uint8_t> fSrcBuffer;
DSkJpegCodec.h116 SkAutoTMalloc<uint8_t> fStorage; // Only used if sampling is needed
/external/skia/include/ports/
DSkRemotableFontMgr.h51 SkAutoTMalloc<SkFontIdentity> fData;
/external/skia/tools/
DStats.h47 SkAutoTMalloc<double> sorted(n); in Stats()

1234