Home
last modified time | relevance | path

Searched refs:SkMallocPixelRef (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/core/
DSkMallocPixelRef.cpp40 SkMallocPixelRef* SkMallocPixelRef::NewDirect(const SkImageInfo& info, in NewDirect()
47 return SkNEW_ARGS(SkMallocPixelRef, in NewDirect()
52 SkMallocPixelRef* SkMallocPixelRef::NewAllocate(const SkImageInfo& info, in NewAllocate()
87 return SkNEW_ARGS(SkMallocPixelRef, in NewAllocate()
92 SkMallocPixelRef* SkMallocPixelRef::NewWithProc(const SkImageInfo& info, in NewWithProc()
96 SkMallocPixelRef::ReleaseProc proc, in NewWithProc()
101 return SkNEW_ARGS(SkMallocPixelRef, in NewWithProc()
109 SkMallocPixelRef* SkMallocPixelRef::NewWithData(const SkImageInfo& info, in NewWithData()
122 SkMallocPixelRef* pr in NewWithData()
123 = SkNEW_ARGS(SkMallocPixelRef, in NewWithData()
[all …]
DSkBitmap.cpp256 SkPixelRef* pr = SkMallocPixelRef::NewDirect(fInfo, p, fRowBytes, ctable); in setPixels()
293 SkMallocPixelRef::PRFactory defaultFactory; in tryAllocPixels()
321 SkMallocPixelRef::PRFactory defaultFactory; in tryAllocPixels()
351 SkPixelRef* pr = SkMallocPixelRef::NewWithProc(correctedInfo, rb, ct, pixels, releaseProc, in installPixels()
420 SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, dst->rowBytes(), ctable); in allocPixelRef()
1263 SkAutoTUnref<SkPixelRef> pr(SkMallocPixelRef::NewWithData(info, info.minRowBytes(), in ReadRawPixels()
/external/skia/tests/
DMallocPixelRefTest.cpp27 SkAutoTUnref<SkMallocPixelRef> pr( in DEF_TEST()
28 SkMallocPixelRef::NewAllocate(info, info.minRowBytes() - 1, NULL)); in DEF_TEST()
36 SkAutoTUnref<SkMallocPixelRef> pr( in DEF_TEST()
37 SkMallocPixelRef::NewWithData(info, rowBytes, NULL, data)); in DEF_TEST()
45 SkAutoTUnref<SkMallocPixelRef> pr( in DEF_TEST()
46 SkMallocPixelRef::NewWithData(info, rowBytes, NULL, data)); in DEF_TEST()
54 SkAutoTUnref<SkMallocPixelRef> pr( in DEF_TEST()
55 SkMallocPixelRef::NewDirect(info, memory.get(), rowBytes, NULL)); in DEF_TEST()
60 SkAutoTUnref<SkMallocPixelRef> pr( in DEF_TEST()
61 SkMallocPixelRef::NewAllocate(info, rowBytes, NULL)); in DEF_TEST()
[all …]
DPixelRefTest.cpp17 SkAutoTUnref<SkPixelRef> pixelRef(SkMallocPixelRef::NewAllocate(info, 0, NULL)); in DEF_TEST()
DBitmapTest.cpp21 SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, info.minRowBytes(), NULL); in test_bigalloc()
DWritePixelsTest.cpp290 SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, rowBytes, NULL); in allocRowBytes()
/external/skia/include/core/
DSkMallocPixelRef.h17 class SK_API SkMallocPixelRef : public SkPixelRef {
19 SK_DECLARE_INST_COUNT(SkMallocPixelRef)
30 static SkMallocPixelRef* NewDirect(const SkImageInfo&, void* addr,
43 static SkMallocPixelRef* NewAllocate(const SkImageInfo& info,
61 static SkMallocPixelRef* NewWithProc(const SkImageInfo& info,
76 static SkMallocPixelRef* NewWithData(const SkImageInfo& info,
92 SkMallocPixelRef(const SkImageInfo&, void* addr, size_t rb, SkColorTable*,
94 virtual ~SkMallocPixelRef();
107 SkMallocPixelRef(const SkImageInfo&, void* addr, size_t rb, SkColorTable*,
/external/skia/src/effects/gradients/
DSkGradientShaderPriv.h136 SkMallocPixelRef* getCache32PixelRef() const { return fCache32PixelRef; } in getCache32PixelRef()
146 SkMallocPixelRef* fCache32PixelRef;
DSkGradientShader.cpp571 cache->fCache32PixelRef = SkMallocPixelRef::NewAllocate(info, 0, NULL); in initCache32()
/external/skia/bench/
DDecodingBench.cpp85 bm->setPixelRef(SkMallocPixelRef::NewDirect(bm->info(), in allocPixelRef()
/external/skia/src/image/
DSkSurface_Raster.cpp172 SkAutoTUnref<SkPixelRef> pr(SkMallocPixelRef::NewAllocate(info, 0, NULL)); in NewRaster()
/external/skia/gyp/
Dcore.gypi123 '<(skia_src_path)/core/SkMallocPixelRef.cpp',
283 '<(skia_include_path)/core/SkMallocPixelRef.h',
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj101 …13B1225D0064D447 /* SkMallocPixelRef.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 260E025413…
628SkMallocPixelRef.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.…
749 …64D447 /* SkMallocPixelRef.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
1641 260E01D613B1225D0064D447 /* SkMallocPixelRef.h */,
1797 260E025413B1225D0064D447 /* SkMallocPixelRef.cpp */,
2998 260E02D613B1225D0064D447 /* SkMallocPixelRef.cpp in Sources */,
/external/skia/
DAndroid.mk163 src/core/SkMallocPixelRef.cpp \