/external/skia/src/core/ |
SkPixelRef.cpp | 10 #include "SkPixelRef.h" 43 SkPixelRef::SkPixelRef(const SkImageInfo& info) 61 SkPixelRef::~SkPixelRef() { 72 void SkPixelRef::needsNewGenID() { 77 void SkPixelRef::cloneGenID(const SkPixelRef& that) { 102 void SkPixelRef::setPreLocked(void* pixels, size_t rowBytes, SkColorTable* ctable) { 115 bool SkPixelRef::lockPixelsInsideMutex() [all...] |
SkImagePriv.h | 51 extern const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* rasterImage);
|
SkBitmap.cpp | 19 #include "SkPixelRef.h" 219 SkPixelRef* SkBitmap::setPixelRef(SkPixelRef* pr, int dx, int dy) { 225 void SkBitmap::setPixelRef(sk_sp<SkPixelRef> pr, int dx, int dy) { 303 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewDirect(fInfo, p, fRowBytes, ctable)); 339 sk_sp<SkPixelRef> pr(defaultFactory.create(correctedInfo, rowBytes, nullptr)); 370 sk_sp<SkPixelRef> pr(factory->create(correctedInfo, correctedInfo.minRowBytes(), ctable)); 406 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewWithProc(correctedInfo, rb, ct, pixels, releaseProc, 476 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewAllocate(info, dst->rowBytes(), ctable)); 821 SkPixelRef* dstPixelRef = tmpDst.pixelRef() [all...] |
SkSpecialSurface.cpp | 66 SkSpecialSurface_Raster(sk_sp<SkPixelRef> pr, 101 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewZeroed(info, 0, nullptr));
|
SkMallocPixelRef.cpp | 217 SkPixelRef* SkMallocPixelRef::PRFactory::create(const SkImageInfo& info, size_t rowBytes, 222 SkPixelRef* SkMallocPixelRef::ZeroedPRFactory::create(const SkImageInfo& info, size_t rowBytes,
|
SkBitmapDevice.h | 16 #include "SkPixelRef.h" 28 class SkPixelRef;
|
SkResourceCache.cpp | 12 #include "SkPixelRef.h" 87 class SkOneShotDiscardablePixelRef : public SkPixelRef { 109 typedef SkPixelRef INHERITED;
|
/external/skia/include/core/ |
SkMallocPixelRef.h | 12 #include "SkPixelRef.h" 17 class SK_API SkMallocPixelRef : public SkPixelRef { 90 SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) override; 95 SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) override; 124 typedef SkPixelRef INHERITED;
|
SkPixelRef.h | 28 /** \class SkPixelRef 36 class SK_API SkPixelRef : public SkRefCnt { 38 explicit SkPixelRef(const SkImageInfo&); 39 virtual ~SkPixelRef(); 112 /** Returns a non-zero, unique value corresponding to this SkPixelRef. 115 to consider this ID unique even after this SkPixelRef is deleted. 117 Can be used as a key which uniquely identifies this SkPixelRef 197 // We'll only call the listener if we're confident that we are the only SkPixelRef with this 202 // This can be used to invalidate caches keyed by SkPixelRef generation ID. 252 * This should be implemented in all serializable SkPixelRef derived classes [all...] |
SkBitmap.h | 22 class SkPixelRef; 412 SkPixelRef* pixelRef() const { return fPixelRef.get(); } 433 void setPixelRef(sk_sp<SkPixelRef>, int dx, int dy); 443 SkPixelRef* setPixelRef(SkPixelRef* pr, int dx, int dy); 445 SkPixelRef* setPixelRef(SkPixelRef* pr, const SkIPoint& origin) { 449 SkPixelRef* setPixelRef(SkPixelRef* pr) { 759 mutable sk_sp<SkPixelRef> fPixelRef [all...] |
/external/skia/tests/ |
PDFInvalidBitmapTest.cpp | 12 #include "SkPixelRef.h" 20 // SkPixelRef which fails to lock, as a lazy pixel ref might if its pixels 22 class InvalidPixelRef : public SkPixelRef { 24 InvalidPixelRef(const SkImageInfo& info) : SkPixelRef(info) {}
|
PixelRefTest.cpp | 11 #include "SkPixelRef.h" 61 class TestListener : public SkPixelRef::GenIDChangeListener { 72 sk_sp<SkPixelRef> pixelRef(SkMallocPixelRef::NewAllocate(info, 0, nullptr)); 80 // (An SkPixelRef tree falls in the forest but there's nobody around to hear it. Do we care?)
|
DrawBitmapRectTest.cpp | 16 #include "SkPixelRef.h" 22 class FailurePixelRef : public SkPixelRef { 24 FailurePixelRef(const SkImageInfo& info) : SkPixelRef(info) {}
|
BitmapTest.cpp | 47 SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, info.minRowBytes(), nullptr);
|
/frameworks/base/libs/hwui/hwui/ |
Bitmap.h | 22 #include <SkPixelRef.h> 45 class ANDROID_API Bitmap : public SkPixelRef { 58 static sk_sp<Bitmap> createFrom(const SkImageInfo&, SkPixelRef&); 73 // Can't mark as override since SkPixelRef::rowBytes isn't virtual 76 // doing on a Bitmap type, not a SkPixelRef, so static
|
Bitmap.cpp | 301 auto pixelRef = (SkPixelRef*) context; 306 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, SkPixelRef& pixelRef) { 363 : SkPixelRef(info) 372 : SkPixelRef(info) 382 : SkPixelRef(info) 391 : SkPixelRef(info)
|
/external/skia/src/image/ |
SkSurface_Raster.cpp | 23 SkSurface_Raster(sk_sp<SkPixelRef>, const SkSurfaceProps*); 111 SkSurface_Raster::SkSurface_Raster(sk_sp<SkPixelRef> pr, const SkSurfaceProps* props) 138 if (SkPixelRef* pr = fBitmap.pixelRef()) { 152 if (SkPixelRef* pr = fBitmap.pixelRef()) { 212 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewZeroed(info, rowBytes, nullptr));
|
SkImage_Raster.cpp | 17 #include "SkPixelRef.h" 102 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } 335 const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* image) {
|
SkImage.cpp | 23 #include "SkPixelRef.h" 224 SkPixelRef* pr = bm.pixelRef();
|
/frameworks/base/core/jni/android/graphics/ |
Bitmap.h | 24 #include <SkPixelRef.h>
|
GraphicsJNI.h | 8 #include "SkPixelRef.h" 66 static SkPixelRef* refSkPixelRef(JNIEnv*, jobject bitmap); 99 * SkPixelRef, which ensures that upon deletion the appropriate caches
|
/frameworks/base/libs/hwui/ |
ResourceCache.h | 23 #include <SkPixelRef.h>
|
/external/skia/src/gpu/ |
SkGr.h | 36 class SkPixelRef; 254 * - SkBitmap/SkPixelRef 264 void GrInstallBitmapUniqueKeyInvalidator(const GrUniqueKey& key, SkPixelRef* pixelRef);
|
SkGr.cpp | 31 #include "SkPixelRef.h" 183 void GrInstallBitmapUniqueKeyInvalidator(const GrUniqueKey& key, SkPixelRef* pixelRef) { 184 class Invalidator : public SkPixelRef::GenIDChangeListener {
|
/frameworks/base/core/jni/ |
com_google_android_gles_jni_EGLImpl.cpp | 35 #include <SkPixelRef.h> 403 SkPixelRef* ref = (SkPixelRef*)(_env->GetLongField(surface,
|