HomeSort by relevance Sort by last modified time
    Searched refs:SkMallocPixelRef (Results 1 - 14 of 14) sorted by null

  /external/skia/include/core/
SkMallocPixelRef.h 17 class SK_API SkMallocPixelRef : public SkPixelRef {
20 * Return a new SkMallocPixelRef with the provided pixel storage, rowBytes,
29 static SkMallocPixelRef* NewDirect(const SkImageInfo&, void* addr,
33 * Return a new SkMallocPixelRef, automatically allocating storage for the
42 static SkMallocPixelRef* NewAllocate(const SkImageInfo& info,
48 static SkMallocPixelRef* NewZeroed(const SkImageInfo& info,
52 * Return a new SkMallocPixelRef with the provided pixel storage,
60 * SkMallocPixelRef must not live beyond its pixels (e.g. by copying
66 static SkMallocPixelRef* NewWithProc(const SkImageInfo& info,
72 * Return a new SkMallocPixelRef that will use the provide
    [all...]
  /external/skia/src/core/
SkMallocPixelRef.cpp 8 #include "SkMallocPixelRef.h"
40 SkMallocPixelRef* SkMallocPixelRef::NewDirect(const SkImageInfo& info,
47 return new SkMallocPixelRef(info, addr, rowBytes, ctable, nullptr, nullptr);
51 SkMallocPixelRef* SkMallocPixelRef::NewUsing(void*(*alloc)(size_t),
87 return new SkMallocPixelRef(info, addr, rowBytes, ctable, sk_free_releaseproc, nullptr);
90 SkMallocPixelRef* SkMallocPixelRef::NewAllocate(const SkImageInfo& info,
97 SkMallocPixelRef* SkMallocPixelRef::NewZeroed(const SkImageInfo& info
    [all...]
SkSpecialSurface.cpp 62 #include "SkMallocPixelRef.h"
101 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewZeroed(info, 0, nullptr));
SkBitmap.cpp 16 #include "SkMallocPixelRef.h"
303 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewDirect(fInfo, p, fRowBytes, ctable));
337 SkMallocPixelRef::PRFactory defaultFactory;
365 SkMallocPixelRef::PRFactory defaultFactory;
406 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewWithProc(correctedInfo, rb, ct, pixels, releaseProc,
476 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewAllocate(info, dst->rowBytes(), ctable));
    [all...]
SkBitmapDevice.cpp 12 #include "SkMallocPixelRef.h"
125 SkMallocPixelRef::ZeroedPRFactory factory;
  /external/skia/tests/
MallocPixelRefTest.cpp 10 #include "SkMallocPixelRef.h"
22 * This test contains basic sanity checks concerning SkMallocPixelRef.
28 sk_sp<SkMallocPixelRef> pr(
29 SkMallocPixelRef::NewAllocate(info, info.minRowBytes() - 1, nullptr));
37 sk_sp<SkMallocPixelRef> pr(
38 SkMallocPixelRef::NewWithData(info, rowBytes, nullptr, data.get()));
46 sk_sp<SkMallocPixelRef> pr(
47 SkMallocPixelRef::NewWithData(info, rowBytes, nullptr, data.get()));
55 sk_sp<SkMallocPixelRef> pr(
56 SkMallocPixelRef::NewDirect(info, memory.get(), rowBytes, nullptr))
    [all...]
PixelRefTest.cpp 10 #include "SkMallocPixelRef.h"
72 sk_sp<SkPixelRef> pixelRef(SkMallocPixelRef::NewAllocate(info, 0, nullptr));
BitmapTest.cpp 9 #include "SkMallocPixelRef.h"
47 SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, info.minRowBytes(), nullptr);
WritePixelsTest.cpp 256 #include "SkMallocPixelRef.h"
266 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewAllocate(info, rowBytes, nullptr));
  /external/skia/src/effects/gradients/
SkGradientShaderPriv.h 19 #include "SkMallocPixelRef.h"
132 SkMallocPixelRef* getCache32PixelRef() const { return fCache32PixelRef; }
141 SkMallocPixelRef* fCache32PixelRef;
SkGradientShader.cpp 587 cache->fCache32PixelRef = SkMallocPixelRef::NewAllocate(info, 0, nullptr);
    [all...]
  /external/skia/src/image/
SkSurface_Raster.cpp 12 #include "SkMallocPixelRef.h"
212 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewZeroed(info, rowBytes, nullptr));
  /external/skia/fuzz/
fuzz.cpp 17 #include "SkMallocPixelRef.h"
227 SkMallocPixelRef::ZeroedPRFactory zeroFactory;
  /external/skia/dm/
DMSrcSink.cpp 28 #include "SkMallocPixelRef.h"
    [all...]

Completed in 446 milliseconds