Home | History | Annotate | Download | only in graphics

Lines Matching refs:AndroidPixelRef

487 AndroidPixelRef::AndroidPixelRef(JNIEnv* env, const SkImageInfo& info, void* storage,
507 AndroidPixelRef::AndroidPixelRef(AndroidPixelRef& wrappedPixelRef, const SkImageInfo& info,
523 AndroidPixelRef::~AndroidPixelRef() {
535 jbyteArray AndroidPixelRef::getStorageObj() {
542 void AndroidPixelRef::setLocalJNIRef(jbyteArray arr) {
551 void AndroidPixelRef::globalRef(void* localref) {
556 // Note: we only ref and unref the wrapped AndroidPixelRef so that
558 // the bitmap has its underlying AndroidPixelRef swapped out/wrapped
584 void AndroidPixelRef::globalUnref() {
626 SkPixelRef* pr = new AndroidPixelRef(env, info, (void*) addr,
664 ((AndroidPixelRef*) fNativeBitmap->pixelRef())->setLocalJNIRef(fBuffer);
670 ((AndroidPixelRef*) fNativeBitmap->pixelRef())->setLocalJNIRef(NULL);