Searched refs:SkAutoTMalloc (Results 1 – 25 of 76) sorted by relevance
1234
54 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()
28 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()
19 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()
42 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()
142 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()
52 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()
59 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight); in basic_texture_test()60 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight); in basic_texture_test()
21 SkAutoTMalloc<char> src(encodeLength + 1); in DEF_TEST()
53 SkAutoTMalloc<char> pixelBufferManager(bufferSize); in DEF_TEST()
75 SkAutoTMalloc<SkRect> bounds(fRecord->count()); in endRecordingAsPicture()163 SkAutoTMalloc<SkRect> scratchBounds(fRecord->count()); in onNewPictureSnapshot()189 SkAutoTMalloc<SkRect> bounds(fRecord->count()); in endRecordingAsDrawable()
33 SkAutoTMalloc<const SkPicture*> fPics;
41 SkAutoTMalloc<SkScalar> autoWidths(len); in doMeasure()43 SkAutoTMalloc<SkRect> autoRects(len); in doMeasure()
153 SkAutoTMalloc<SkPoint> vertStorage(vertCount); in draw()177 SkAutoTMalloc<SkPoint> stripStorage(stripCount * 2); in draw()178 SkAutoTMalloc<SkColor> colorStorage(stripCount); in draw()
263 template <typename T> class SkAutoTMalloc : SkNoncopyable {266 explicit SkAutoTMalloc(T* ptr = NULL) {271 explicit SkAutoTMalloc(size_t count) { in SkAutoTMalloc() function275 ~SkAutoTMalloc() { in ~SkAutoTMalloc()
76 SkAutoTMalloc<uint8_t> lutMemory(size); in make_3Dlut()77 SkAutoTMalloc<uint8_t> invLutMemory(size); in make_3Dlut()
105 SkAutoTMalloc<int> fUnsorted;128 SkAutoTMalloc<int> sorted(N); in onDraw()
39 SkAutoTMalloc<SkRect> rects(NUM_BUILD_RECTS); in onDraw()72 SkAutoTMalloc<SkRect> rects(NUM_QUERY_RECTS); in onDelayedSetup()
548 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()
23 SkAutoTMalloc<char> storage(size);
190 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()
59 SkAutoTMalloc<uint8_t> fLutStorage;
53 SkAutoTMalloc<uint8_t> fSrcBuffer;
116 SkAutoTMalloc<uint8_t> fStorage; // Only used if sampling is needed
51 SkAutoTMalloc<SkFontIdentity> fData;
47 SkAutoTMalloc<double> sorted(n); in Stats()