Searched refs:pixelRef (Results 1 - 15 of 15) sorted by relevance
/frameworks/base/native/graphics/jni/ |
H A D | bitmap.cpp | 65 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 D | AssetAtlas.cpp | 64 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 D | AssetAtlas.h | 80 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 D | TextureCache.cpp | 113 AssetAtlas::Entry* entry = mAssetAtlas->getEntry(bitmap->pixelRef()); 119 Texture* texture = mCache.get(bitmap->pixelRef()->getStableID()); 150 mCache.put(bitmap->pixelRef()->getStableID(), texture);
|
H A D | BakedOpDispatcher.cpp | 51 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 D | BakedOpRenderer.cpp | 185 Texture* texture = mRenderState.assetAtlas().getEntryTexture(bitmap->pixelRef());
|
H A D | SkiaCanvasProxy.cpp | 106 SkPixelRef* pxRef = bitmap.pixelRef();
|
H A D | DisplayListOp.h | 618 mEntry = renderer.renderState().assetAtlas().getEntry(mBitmap->pixelRef()); 783 mEntry = renderer.renderState().assetAtlas().getEntry(mBitmap->pixelRef());
|
H A D | OpenGLRenderer.cpp | 1535 Texture* texture = mRenderState.assetAtlas().getEntryTexture(bitmap->pixelRef()); 2319 Texture* texture = mRenderState.assetAtlas().getEntryTexture(bitmap->pixelRef());
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | SkiaBehaviorTests.cpp | 43 EXPECT_EQ(origBitmap.pixelRef(), bitmap.pixelRef());
|
H A D | FrameBuilderTests.cpp | 405 EXPECT_EQ(opaqueBitmap.pixelRef(), op.bitmap->pixelRef()); 408 EXPECT_EQ(transpBitmap.pixelRef(), op.bitmap->pixelRef());
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 1359 SkPixelRef* pixelRef = bitmap.valid() ? bitmap->peekAtPixelRef() : nullptr; local 1360 SkSafeRef(pixelRef); 1361 return reinterpret_cast<jlong>(pixelRef);
|
H A D | BitmapFactory.cpp | 517 if (outputBitmap.pixelRef() == NULL) {
|
H A D | Graphics.cpp | 649 bitmap->pixelRef()->setImmutable(); 720 // This call will give the bitmap the same pixelRef as mRecycledBitmap.
|
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 282 SkPixelRef* ref = nativeBitmap.pixelRef();
|
Completed in 1423 milliseconds