/frameworks/base/libs/hwui/hwui/ |
D | Bitmap.h | 48 static sk_sp<Bitmap> allocateHeapBitmap(const SkImageInfo& info); 53 static sk_sp<Bitmap> allocateAshmemBitmap(size_t allocSize, const SkImageInfo& info, 58 static sk_sp<Bitmap> createFrom(const SkImageInfo&, SkPixelRef&); 63 Bitmap(void* address, size_t allocSize, const SkImageInfo& info, size_t rowBytes, 66 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable); 67 Bitmap(void* address, int fd, size_t mappedSize, const SkImageInfo& info, 84 void reconfigure(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable); 85 void reconfigure(const SkImageInfo& info); 119 Bitmap(GraphicBuffer* buffer, const SkImageInfo& info);
|
D | Bitmap.cpp | 53 typedef sk_sp<Bitmap> (*AllocPixeRef)(size_t allocSize, const SkImageInfo& info, size_t rowBytes, 57 const SkImageInfo& info = bitmap->info(); in allocateBitmap() 86 static sk_sp<Bitmap> allocateHeapBitmap(size_t size, const SkImageInfo& info, size_t rowBytes, in allocateHeapBitmap() 221 const SkImageInfo& info = skBitmap.info(); in allocateHardwareBitmap() 269 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(const SkImageInfo& info) { in allocateHeapBitmap() 278 sk_sp<Bitmap> Bitmap::allocateAshmemBitmap(size_t size, const SkImageInfo& info, in allocateAshmemBitmap() 306 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, SkPixelRef& pixelRef) { in createFrom() 319 SkImageInfo info = SkImageInfo::Make(graphicBuffer->getWidth(), graphicBuffer->getHeight(), in createFrom() 327 SkImageInfo* myInfo = const_cast<SkImageInfo*>(&this->info()); in setColorSpace() 331 void Bitmap::reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTable* ctable) { in reconfigure() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaCanvasTests.cpp | 88 SkImageInfo adobeInfo = SkImageInfo::Make(1, 1, kN32_SkColorType, kOpaque_SkAlphaType, adobe); in TEST() 95 SkImageInfo info = adobeInfo.makeColorSpace(nullptr); in TEST() 141 SkImageInfo info = SkImageInfo::Make(1, 1, kN32_SkColorType, kOpaque_SkAlphaType); in TEST()
|
D | TextureCacheTests.cpp | 32 SkImageInfo info = SkImageInfo::Make(100, 100, kN32_SkColorType, kPremul_SkAlphaType); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
D | SkiaBehaviorTests.cpp | 31 SkImageInfo info = SkImageInfo::Make(width, height, kN32_SkColorType, kPremul_SkAlphaType); in createSkBitmap()
|
D | BitmapTests.cpp | 35 bm->allocPixels(SkImageInfo::Make(1, 1, kIndex_8_SkColorType, kPremul_SkAlphaType), in TEST()
|
D | VectorDrawableTests.cpp | 404 SkImageInfo info = SkImageInfo::Make(5, 5, kN32_SkColorType, kPremul_SkAlphaType); in TEST()
|
/frameworks/base/libs/hwui/ |
D | VkLayer.cpp | 29 SkImageInfo info = SkImageInfo::MakeS32(mWidth, mHeight, kPremul_SkAlphaType); in updateTexture()
|
D | Texture.h | 53 static bool hasUnsupportedColorType(const SkImageInfo& info, bool hasLinearBlending);
|
D | SkiaCanvasProxy.h | 47 virtual sk_sp<SkSurface> onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override;
|
D | Texture.cpp | 250 rgbaBitmap.allocPixels(SkImageInfo::MakeN32(bitmap.width(), bitmap.height(), in uploadToN32() 267 bool Texture::hasUnsupportedColorType(const SkImageInfo& info, bool hasLinearBlending) { in hasUnsupportedColorType()
|
D | VectorDrawable.cpp | 516 SkImageInfo info = SkImageInfo::MakeN32(width, height, kPremul_SkAlphaType, colorSpace); in allocateBitmapIfNeeded()
|
/frameworks/base/libs/hwui/utils/ |
D | TestWindowContext.cpp | 113 SkImageInfo destinationConfig = in capturePixels() 114 SkImageInfo::Make(mSize.width(), mSize.height(), in capturePixels() 138 SkImageInfo nativeConfig = in capturePixels() 139 SkImageInfo::Make(nativeBuffer.width, nativeBuffer.height, in capturePixels()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ReadbackFromHardwareBitmap.cpp | 31 SkImageInfo info = SkImageInfo::Make(400, 400, kN32_SkColorType, kPremul_SkAlphaType); in createHardwareBitmap()
|
/frameworks/base/libs/hwui/tests/common/ |
D | BitmapAllocationTestUtils.h | 42 SkImageInfo info = SkImageInfo::Make(width, height, colorType, kPremul_SkAlphaType); in allocateHardwareBitmap()
|
D | TestUtils.h | 185 SkImageInfo info = SkImageInfo::Make(width, height, colorType, kPremul_SkAlphaType); 190 SkImageInfo info = SkImageInfo::Make(width, height, kN32_SkColorType, kPremul_SkAlphaType); in createBitmap()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 132 SkImageInfo info = SkImageInfo::MakeN32Premul(node->getWidth(), node->getHeight()); in createOrUpdateLayer() 355 SkImageInfo offscreenInfo = SkImageInfo::MakeA8(surface->width(), surface->height()); in renderOverdraw()
|
D | GLFunctorDrawable.cpp | 59 SkImageInfo canvasInfo = canvas->imageInfo(); in onDraw()
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 185 const SkImageInfo info = in main() 186 SkImageInfo::Make(w, h, flinger2skia(f), kPremul_SkAlphaType); in main()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.h | 58 void reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info,
|
D | Bitmap.cpp | 99 const SkImageInfo& info() { in info() 138 SkImageInfo mInfo; 172 static void assert_premultiplied(const SkImageInfo& info, bool isPremultiplied) { in assert_premultiplied() 183 void reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info, in reinitBitmap() 247 const SkImageInfo& imageInfo = localBitmap->info(); in imageInfo() 742 bitmap.setInfo(SkImageInfo::Make(width, height, colorType, kPremul_SkAlphaType, colorSpace)); in Bitmap_creator() 767 SkImageInfo dstInfo = src.info().makeColorType(dstCT); in bitmapCopyTo() 904 bitmap->bitmap().reconfigure(SkImageInfo::Make(width, height, colorType, alphaType, in Bitmap_reconfigure() 1072 if (!bitmap->setInfo(SkImageInfo::Make(width, height, colorType, alphaType, colorSpace), in Bitmap_createFromParcel()
|
D | BitmapFactory.cpp | 179 const SkImageInfo& info = bitmap->info(); in allocPixelRef() 425 const SkImageInfo decodeInfo = SkImageInfo::Make(size.width(), size.height(), in doDecode() 430 SkImageInfo bitmapInfo = decodeInfo; in doDecode()
|
D | GraphicBuffer.cpp | 186 bitmap.setInfo(SkImageInfo::Make(buffer->getWidth(), buffer->getHeight(), in android_graphics_GraphicBuffer_lockCanvas()
|
/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 74 static inline SkImageInfo convertPixelFormat(const ANativeWindow_Buffer& buffer) { in convertPixelFormat() 97 return SkImageInfo::Make(buffer.width, buffer.height, colorType, alphaType, in convertPixelFormat()
|
D | android_view_Surface.cpp | 326 SkImageInfo info = SkImageInfo::Make(outBuffer.width, outBuffer.height, in nativeLockCanvas()
|