Searched refs:pixelRef (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/native/graphics/jni/ |
D | bitmap.cpp | 65 SkPixelRef* pixelRef = GraphicsJNI::refSkPixelRef(env, jbitmap); in AndroidBitmap_lockPixels() local 66 if (!pixelRef) { in AndroidBitmap_lockPixels() 70 pixelRef->lockPixels(); in AndroidBitmap_lockPixels() 71 void* addr = pixelRef->pixels(); in AndroidBitmap_lockPixels() 73 pixelRef->unlockPixels(); in AndroidBitmap_lockPixels() 74 pixelRef->unref(); in AndroidBitmap_lockPixels() 89 SkPixelRef* pixelRef = GraphicsJNI::refSkPixelRef(env, jbitmap); in AndroidBitmap_unlockPixels() local 90 if (!pixelRef) { in AndroidBitmap_unlockPixels() 98 pixelRef->notifyPixelsChanged(); in AndroidBitmap_unlockPixels() 100 pixelRef->unlockPixels(); in AndroidBitmap_unlockPixels() [all …]
|
/frameworks/base/libs/hwui/ |
D | AssetAtlas.cpp | 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() [all …]
|
D | AssetAtlas.h | 80 SkPixelRef* pixelRef; 87 Entry(SkPixelRef* pixelRef, Texture* texture, const UvMapper& mapper, in Entry() argument 91 , pixelRef(pixelRef) in Entry() 151 Entry* getEntry(const SkPixelRef* pixelRef) const; 157 Texture* getEntryTexture(const SkPixelRef* pixelRef) const;
|
D | TextureCache.cpp | 113 AssetAtlas::Entry* entry = mAssetAtlas->getEntry(bitmap->pixelRef()); in getCachedTexture() 119 Texture* texture = mCache.get(bitmap->pixelRef()->getStableID()); in getCachedTexture() 150 mCache.put(bitmap->pixelRef()->getStableID(), texture); in getCachedTexture()
|
D | BakedOpDispatcher.cpp | 51 AssetAtlas::Entry* entry = renderer.renderState().assetAtlas().getEntry(bitmap->pixelRef()); in onMergedBitmapOps() 96 firstOp.bitmap->pixelRef()); in onMergedPatchOps() 460 Texture* texture = renderer.renderState().assetAtlas().getEntryTexture(op.bitmap->pixelRef()); in onBitmapMeshOp() 602 AssetAtlas::Entry* entry = renderer.renderState().assetAtlas().getEntry(op.bitmap->pixelRef()); in onPatchOp()
|
D | BakedOpRenderer.cpp | 185 Texture* texture = mRenderState.assetAtlas().getEntryTexture(bitmap->pixelRef()); in getTexture()
|
D | SkiaCanvasProxy.cpp | 106 SkPixelRef* pxRef = bitmap.pixelRef(); in onDrawBitmap()
|
D | DisplayListOp.h | 618 mEntry = renderer.renderState().assetAtlas().getEntry(mBitmap->pixelRef()); in getAtlasEntry() 783 mEntry = renderer.renderState().assetAtlas().getEntry(mBitmap->pixelRef()); in getAtlasEntry()
|
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/ |
D | SkiaBehaviorTests.cpp | 43 EXPECT_EQ(origBitmap.pixelRef(), bitmap.pixelRef()); in TEST()
|
D | FrameBuilderTests.cpp | 405 EXPECT_EQ(opaqueBitmap.pixelRef(), op.bitmap->pixelRef()); in RENDERTHREAD_TEST() 408 EXPECT_EQ(transpBitmap.pixelRef(), op.bitmap->pixelRef()); in RENDERTHREAD_TEST()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 1360 SkPixelRef* pixelRef = bitmap.valid() ? bitmap->peekAtPixelRef() : nullptr; in Bitmap_refPixelRef() local 1361 SkSafeRef(pixelRef); in Bitmap_refPixelRef() 1362 return reinterpret_cast<jlong>(pixelRef); in Bitmap_refPixelRef()
|
D | BitmapFactory.cpp | 517 if (outputBitmap.pixelRef() == NULL) { in doDecode()
|
D | Graphics.cpp | 650 bitmap->pixelRef()->setImmutable(); in mapAshmemPixelRef()
|
/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 282 SkPixelRef* ref = nativeBitmap.pixelRef(); in jni_eglCreatePixmapSurface()
|