Searched refs:pixelRef (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp65 SkPixelRef* pixelRef = GraphicsJNI::refSkPixelRef(env, jbitmap); local
66 if (!pixelRef) {
70 pixelRef->lockPixels();
71 void* addr = pixelRef->pixels();
73 pixelRef->unlockPixels();
74 pixelRef->unref();
89 SkPixelRef* pixelRef = GraphicsJNI::refSkPixelRef(env, jbitmap); local
90 if (!pixelRef) {
98 pixelRef->notifyPixelsChanged();
100 pixelRef
[all...]
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp64 AssetAtlas::Entry* AssetAtlas::getEntry(const SkPixelRef* pixelRef) const {
65 auto result = mEntries.find(pixelRef);
69 Texture* AssetAtlas::getEntryTexture(const SkPixelRef* pixelRef) const {
70 auto result = mEntries.find(pixelRef);
101 SkPixelRef* pixelRef = reinterpret_cast<SkPixelRef*>(map[i++]); local
111 if (!pixelRef) continue;
114 x / width, (x + pixelRef->info().width()) / width,
115 y / height, (y + pixelRef->info().height()) / height);
118 texture->blend = !SkAlphaTypeIsOpaque(pixelRef->info().alphaType());
119 texture->wrap(mTexture->id(), pixelRef
[all...]
H A DAssetAtlas.h80 SkPixelRef* pixelRef; member in class:android::uirenderer::AssetAtlas::Entry
87 Entry(SkPixelRef* pixelRef, Texture* texture, const UvMapper& mapper, argument
91 , pixelRef(pixelRef)
149 * pixelRef. If the pixelRef is not in the atlas, return NULL.
151 Entry* getEntry(const SkPixelRef* pixelRef) const;
155 * specified pixelRef. If the pixelRef is not in the atlas, return NULL.
157 Texture* getEntryTexture(const SkPixelRef* pixelRef) cons
[all...]
H A DTextureCache.cpp113 AssetAtlas::Entry* entry = mAssetAtlas->getEntry(bitmap->pixelRef());
119 Texture* texture = mCache.get(bitmap->pixelRef()->getStableID());
150 mCache.put(bitmap->pixelRef()->getStableID(), texture);
H A DBakedOpDispatcher.cpp51 AssetAtlas::Entry* entry = renderer.renderState().assetAtlas().getEntry(bitmap->pixelRef());
96 firstOp.bitmap->pixelRef());
460 Texture* texture = renderer.renderState().assetAtlas().getEntryTexture(op.bitmap->pixelRef());
602 AssetAtlas::Entry* entry = renderer.renderState().assetAtlas().getEntry(op.bitmap->pixelRef());
H A DBakedOpRenderer.cpp185 Texture* texture = mRenderState.assetAtlas().getEntryTexture(bitmap->pixelRef());
H A DSkiaCanvasProxy.cpp106 SkPixelRef* pxRef = bitmap.pixelRef();
H A DDisplayListOp.h618 mEntry = renderer.renderState().assetAtlas().getEntry(mBitmap->pixelRef());
783 mEntry = renderer.renderState().assetAtlas().getEntry(mBitmap->pixelRef());
H A DOpenGLRenderer.cpp1535 Texture* texture = mRenderState.assetAtlas().getEntryTexture(bitmap->pixelRef());
2319 Texture* texture = mRenderState.assetAtlas().getEntryTexture(bitmap->pixelRef());
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaBehaviorTests.cpp43 EXPECT_EQ(origBitmap.pixelRef(), bitmap.pixelRef());
H A DFrameBuilderTests.cpp405 EXPECT_EQ(opaqueBitmap.pixelRef(), op.bitmap->pixelRef());
408 EXPECT_EQ(transpBitmap.pixelRef(), op.bitmap->pixelRef());
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp1359 SkPixelRef* pixelRef = bitmap.valid() ? bitmap->peekAtPixelRef() : nullptr; local
1360 SkSafeRef(pixelRef);
1361 return reinterpret_cast<jlong>(pixelRef);
H A DBitmapFactory.cpp517 if (outputBitmap.pixelRef() == NULL) {
H A DGraphics.cpp649 bitmap->pixelRef()->setImmutable();
720 // This call will give the bitmap the same pixelRef as mRecycledBitmap.
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp282 SkPixelRef* ref = nativeBitmap.pixelRef();

Completed in 1423 milliseconds