Home
last modified time | relevance | path

Searched refs:SkAutoMalloc (Results 1 – 25 of 68) sorted by relevance

123

/external/skia/src/core/
DSkAutoMalloc.h23 class SkAutoMalloc : SkNoncopyable {
25 explicit SkAutoMalloc(size_t size = 0)
81 #define SkAutoMalloc(...) SK_REQUIRE_LOCAL_VAR(SkAutoMalloc) macro
133 SkAutoMalloc::OnShrink shrink = SkAutoMalloc::kAlloc_OnShrink,
136 bool alloc = size != fSize && (SkAutoMalloc::kAlloc_OnShrink == shrink || size > fSize);
DSkBlitter.h137 return fBlitMemory.reset(sz, SkAutoMalloc::kReuse_OnShrink); in allocBlitMemory()
165 SkAutoMalloc fBlitMemory;
/external/skqp/src/core/
DSkAutoMalloc.h23 class SkAutoMalloc : SkNoncopyable {
25 explicit SkAutoMalloc(size_t size = 0)
81 #define SkAutoMalloc(...) SK_REQUIRE_LOCAL_VAR(SkAutoMalloc) macro
133 SkAutoMalloc::OnShrink shrink = SkAutoMalloc::kAlloc_OnShrink,
136 bool alloc = size != fSize && (SkAutoMalloc::kAlloc_OnShrink == shrink || size > fSize);
DSkBlitter.h137 return fBlitMemory.reset(sz, SkAutoMalloc::kReuse_OnShrink); in allocBlitMemory()
165 SkAutoMalloc fBlitMemory;
/external/skqp/tests/
DMallocPixelRefTest.cpp54 SkAutoMalloc memory(size); in DEF_TEST()
75 SkAutoMalloc memory(size); in DEF_TEST()
89 SkAutoMalloc memory(size); in DEF_TEST()
DStreamTest.cpp206 SkAutoMalloc peekStorage(bytesToPeek); in compare_peek_to_read()
207 SkAutoMalloc readStorage(bytesToPeek); in compare_peek_to_read()
263 SkAutoMalloc peekStorage(bytesToPeek); in test_peeking_front_buffered_stream()
264 SkAutoMalloc readStorage(bytesToPeek); in test_peeking_front_buffered_stream()
321 SkAutoMalloc storage(fileStream.getLength()); in DEF_TEST()
DWriter32Test.cpp126 SkAutoMalloc storage(len); in test2()
166 SkAutoMalloc readStorage(totalBytes); in testWritePad()
DYUVTest.cpp67 SkAutoMalloc storage(totalBytes); in codec_yuv()
DPaintTest.cpp233 SkAutoMalloc buf(writer.bytesWritten()); in DEF_TEST()
271 SkAutoMalloc buf(writer.bytesWritten());
DImageGeneratorTest.cpp132 SkAutoMalloc storage(100 * 100 * SkColorTypeBytesPerPixel(kRGBA_F32_SkColorType)); in DEF_TEST()
/external/skia/tests/
DMallocPixelRefTest.cpp54 SkAutoMalloc memory(size); in DEF_TEST()
75 SkAutoMalloc memory(size); in DEF_TEST()
89 SkAutoMalloc memory(size); in DEF_TEST()
DStreamTest.cpp206 SkAutoMalloc peekStorage(bytesToPeek); in compare_peek_to_read()
207 SkAutoMalloc readStorage(bytesToPeek); in compare_peek_to_read()
263 SkAutoMalloc peekStorage(bytesToPeek); in test_peeking_front_buffered_stream()
264 SkAutoMalloc readStorage(bytesToPeek); in test_peeking_front_buffered_stream()
321 SkAutoMalloc storage(fileStream.getLength()); in DEF_TEST()
DWriter32Test.cpp126 SkAutoMalloc storage(len); in test2()
166 SkAutoMalloc readStorage(totalBytes); in testWritePad()
DYUVTest.cpp67 SkAutoMalloc storage(totalBytes); in codec_yuv()
DPaintTest.cpp233 SkAutoMalloc buf(writer.bytesWritten()); in DEF_TEST()
271 SkAutoMalloc buf(writer.bytesWritten());
/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateDataManager.h81 mutable SkAutoMalloc fGeometryUniformData;
82 mutable SkAutoMalloc fFragmentUniformData;
/external/skqp/src/gpu/vk/
DGrVkPipelineStateDataManager.h85 mutable SkAutoMalloc fGeometryUniformData;
86 mutable SkAutoMalloc fFragmentUniformData;
/external/skia/src/gpu/vk/
DGrVkPipelineStateDataManager.h85 mutable SkAutoMalloc fGeometryUniformData;
86 mutable SkAutoMalloc fFragmentUniformData;
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateDataManager.h81 mutable SkAutoMalloc fGeometryUniformData;
82 mutable SkAutoMalloc fFragmentUniformData;
/external/skqp/bench/
DAndroidCodecBench.h37 SkAutoMalloc fPixelStorage; // Set in onDelayedSetup.
DCodecBench.h38 SkAutoMalloc fPixelStorage;
/external/skia/bench/
DAndroidCodecBench.h37 SkAutoMalloc fPixelStorage; // Set in onDelayedSetup.
DCodecBench.h38 SkAutoMalloc fPixelStorage;
/external/skqp/tools/sk_app/win/
DRasterWindowContext_win.cpp31 SkAutoMalloc fSurfaceMemory;
/external/skia/tools/sk_app/win/
DRasterWindowContext_win.cpp31 SkAutoMalloc fSurfaceMemory;

123