HomeSort by relevance Sort by last modified time
    Searched defs:pixelRef (Results 1 - 3 of 3) sorted by null

  /external/skia/tests/
PixelRefTest.cpp 72 sk_sp<SkPixelRef> pixelRef = SkMallocPixelRef::MakeAllocate(info, 0);
76 pixelRef->addGenIDChangeListener(new TestListener(&count));
79 // No one has looked at our pixelRef's generation ID, so invalidating it doesn't make sense.
81 pixelRef->notifyPixelsChanged();
85 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
88 pixelRef->notifyPixelsChanged();
92 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
93 pixelRef->addGenIDChangeListener(new TestListener(&count));
94 pixelRef->notifyPixelsChanged();
98 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID())
    [all...]
  /frameworks/base/libs/hwui/hwui/
Bitmap.cpp 127 auto pixelRef = (SkPixelRef*) context;
128 pixelRef->unref();
131 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, SkPixelRef& pixelRef) {
132 pixelRef.ref();
133 return sk_sp<Bitmap>(new Bitmap((void*) pixelRef.pixels(), (void*) &pixelRef, FreePixelRef,
134 info, pixelRef.rowBytes()));
  /external/skia/include/core/
SkBitmap.h 117 /** Return true iff the bitmap has no pixelref. Note: this can return true even if the
182 underlying pixelref. This state can be set, but it cannot be
184 that share the same pixelref.
234 // Returns the bounds of this bitmap, offset by its pixelref origin.
248 * is non-null, call it to allcoate the pixelref. If the ImageInfo requires
314 * Install a pixelref that wraps the specified pixels and rowBytes, and
329 * of the created bitmap (and its pixelRef).
346 * (and its pixelRef).
353 * of the created bitmap (and its pixelRef).
358 will automatically release any pixelref previously installed. Only cal
    [all...]

Completed in 107 milliseconds