Lines Matching refs:pixelRef
64 AssetAtlas::Entry* AssetAtlas::getEntry(const SkPixelRef* pixelRef) const { in getEntry()
65 auto result = mEntries.find(pixelRef); in getEntry()
69 Texture* AssetAtlas::getEntryTexture(const SkPixelRef* pixelRef) const { in getEntryTexture()
70 auto result = mEntries.find(pixelRef); in getEntryTexture()
101 SkPixelRef* pixelRef = reinterpret_cast<SkPixelRef*>(map[i++]); in createEntries() local
111 if (!pixelRef) continue; in createEntries()
114 x / width, (x + pixelRef->info().width()) / width, in createEntries()
115 y / height, (y + pixelRef->info().height()) / height); in createEntries()
118 texture->blend = !SkAlphaTypeIsOpaque(pixelRef->info().alphaType()); in createEntries()
119 texture->wrap(mTexture->id(), pixelRef->info().width(), in createEntries()
120 pixelRef->info().height(), mTexture->format()); in createEntries()
122 std::unique_ptr<Entry> entry(new Entry(pixelRef, texture, mapper, *this)); in createEntries()
125 mEntries.emplace(entry->pixelRef, std::move(entry)); in createEntries()