/frameworks/base/libs/hwui/hwui/ |
D | Bitmap.h | 78 static sk_sp<Bitmap> allocateHeapBitmap(const SkImageInfo& info); 79 static sk_sp<Bitmap> allocateHeapBitmap(size_t size, const SkImageInfo& i, size_t rowBytes); 95 static sk_sp<Bitmap> createFrom(const SkImageInfo& info, size_t rowBytes, int fd, void* addr, 97 static sk_sp<Bitmap> createFrom(const SkImageInfo&, SkPixelRef&); 101 void reconfigure(const SkImageInfo& info, size_t rowBytes); 102 void reconfigure(const SkImageInfo& info); 122 const SkImageInfo& info() const { return mInfo; } in info() 146 static BitmapPalette computePalette(const SkImageInfo& info, const void* addr, size_t rowBytes); 179 static sk_sp<Bitmap> allocateAshmemBitmap(size_t size, const SkImageInfo& i, size_t rowBytes); 181 Bitmap(void* address, size_t allocSize, const SkImageInfo& info, size_t rowBytes); [all …]
|
D | Bitmap.cpp | 95 typedef sk_sp<Bitmap> (*AllocPixelRef)(size_t allocSize, const SkImageInfo& info, size_t rowBytes); 98 const SkImageInfo& info = bitmap->info(); in allocateBitmap() 124 sk_sp<Bitmap> Bitmap::allocateAshmemBitmap(size_t size, const SkImageInfo& info, size_t rowBytes) { in allocateAshmemBitmap() 161 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(const SkImageInfo& info) { in allocateHeapBitmap() 170 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(size_t size, const SkImageInfo& info, size_t rowBytes) { in allocateHeapBitmap() 178 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, SkPixelRef& pixelRef) { in createFrom() 188 SkImageInfo info = uirenderer::BufferDescriptionToImageInfo(bufferDesc, colorSpace); in createFrom() 197 SkImageInfo info = SkImageInfo::Make(bufferDesc.width, bufferDesc.height, in createFrom() 202 sk_sp<Bitmap> Bitmap::createFrom(AHardwareBuffer* hardwareBuffer, const SkImageInfo& info, in createFrom() 211 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, size_t rowBytes, int fd, void* addr, in createFrom() [all …]
|
D | ImageDecoder.h | 56 SkImageInfo getOutputInfo() const; 129 bool handleRestorePrevious(const SkImageInfo&, void* pixels, size_t rowBytes);
|
D | ImageDecoder.cpp | 107 auto info = SkImageInfo::Make(width, height, mOutColorType, getOutAlphaType()); in setTargetSize() 209 SkImageInfo ImageDecoder::getOutputInfo() const { in getOutputInfo() 211 return SkImageInfo::Make(size, mOutColorType, getOutAlphaType(), getOutputColorSpace()); in getOutputInfo() 352 bool ImageDecoder::handleRestorePrevious(const SkImageInfo& outputInfo, void* pixels, in handleRestorePrevious() 414 const auto decodeInfo = SkImageInfo::Make(mDecodeSize, mOutColorType, getOutAlphaType(), in decode() 545 SkImageInfo bitmapInfo = decoder.getOutputInfo(); in extractGainmap()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaCanvasTests.cpp | 39 auto surface = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(10, 10)); in TEST() 60 SkImageInfo adobeInfo = SkImageInfo::Make(1, 1, kN32_SkColorType, kOpaque_SkAlphaType, adobe); in TEST() 66 SkImageInfo info = adobeInfo.makeColorSpace(SkColorSpace::MakeSRGB()); in TEST() 97 SkImageInfo info = SkImageInfo::Make(1, 1, kN32_SkColorType, kOpaque_SkAlphaType); in TEST()
|
D | CacheManagerTests.cpp | 49 SkImageInfo info = SkImageInfo::MakeA8(width, height); in RENDERTHREAD_TEST() 60 sk_sp<Bitmap> bitmap = Bitmap::allocateHeapBitmap(SkImageInfo::MakeA8(width, height)); in RENDERTHREAD_TEST()
|
D | SkiaPipelineTests.cpp | 57 auto surface = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(1, 1)); in RENDERTHREAD_TEST() 79 auto surface = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(2, 2)); in RENDERTHREAD_TEST() 103 auto surface = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(2, 2)); in RENDERTHREAD_TEST() 119 auto surfaceLayer1 = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(1, 1)); in RENDERTHREAD_TEST() 130 auto surfaceLayer2 = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(2, 2)); in RENDERTHREAD_TEST() 172 auto surface = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(1, 1)); in RENDERTHREAD_TEST() 222 sk_sp<SkSurface> onNewSurface(const SkImageInfo&) override { return nullptr; } in onNewSurface() argument 433 auto surface = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(1, 1)); in RENDERTHREAD_TEST()
|
D | SkiaBehaviorTests.cpp | 36 SkImageInfo info = SkImageInfo::Make(width, height, kN32_SkColorType, kPremul_SkAlphaType); in createSkBitmap()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | VkFunctorDrawable.h | 35 const SkIRect& clip, const SkImageInfo& image_info); 45 const SkImageInfo mImageInfo; 65 const SkImageInfo& image_info) override;
|
D | SkiaCpuPipeline.cpp | 60 SkImageInfo info; in createOrUpdateLayer() 61 info = SkImageInfo::Make(surfaceWidth, surfaceHeight, getSurfaceColorType(), in createOrUpdateLayer() 118 SkImageInfo imageInfo = in setSurface() 119 SkImageInfo::Make(width, height, mSurfaceColorType, in setSurface()
|
D | VkFunctorDrawable.cpp | 44 const SkImageInfo& image_info) in VkFunctorDrawHandler() 126 const SkImageInfo& image_info) { in onSnapGpuDrawHandler()
|
D | VkInteropFunctorDrawable.h | 50 SkImageInfo mFBInfo;
|
/frameworks/base/libs/hwui/apex/ |
D | android_bitmap.cpp | 51 static AndroidBitmapFormat getFormat(const SkImageInfo& info) { in getFormat() 89 static uint32_t getAlphaFlags(const SkImageInfo& info) { in getAlphaFlags() 103 static uint32_t getInfoFlags(const SkImageInfo& info, bool isHardware) { in getInfoFlags() 127 static AndroidBitmapInfo getInfo(const SkImageInfo& imageInfo, uint32_t rowBytes, bool isHardware) { in getInfo() 144 const SkImageInfo& info = bitmap->info(); in ABitmap_getDataSpace() 151 SkImageInfo imageInfo = GraphicsJNI::getBitmapInfo(env, bitmapObj, &rowBytes, &isHardware); in ABitmap_getInfoFromJava() 294 SkImageInfo::Make(info->width, info->height, colorType, alphaType, std::move(cs)); in ABitmap_compress()
|
/frameworks/base/libs/hwui/ |
D | Tonemapper.h | 25 void tonemapPaint(const SkImageInfo& source, const SkImageInfo& destination, float maxLuminanceNits,
|
D | Tonemapper.cpp | 87 static ui::Dataspace getDataspace(const SkImageInfo& image) { in getDataspace() 97 void tonemapPaint(const SkImageInfo& source, const SkImageInfo& destination, float maxLuminanceNits, in tonemapPaint()
|
D | Readback.cpp | 183 SkImageInfo tmpInfo = bitmap->info().makeColorType(SkColorType::kN32_SkColorType); in copySurfaceInto() 259 SkImageInfo tmpInfo = bitmap->info().makeColorType(SkColorType::kN32_SkColorType); in copySurfaceInto() 361 SkImageInfo tmpInfo = bitmap->info().makeColorType(SkColorType::kN32_SkColorType); in copyLayerInto() 382 SkImageInfo tmpInfo = bitmap->info().makeColorType(SkColorType::kN32_SkColorType); in copyLayerInto()
|
/frameworks/base/libs/hwui/jni/ |
D | Bitmap.h | 22 struct SkImageInfo; 45 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() 244 SkImageInfo GraphicsJNI::getBitmapInfo(JNIEnv* env, jobject bitmap, uint32_t* outRowBytes, in getBitmapInfo() 266 SkImageInfo srcInfo = SkImageInfo::Make( in SetPixels() 311 bitmap.setInfo(SkImageInfo::Make(width, height, colorType, kPremul_SkAlphaType, in Bitmap_creator() 335 SkImageInfo dstInfo = srcPM.info().makeColorType(dstCT); in bitmapCopyTo() 488 bitmap->bitmap().reconfigure(SkImageInfo::Make(width, height, colorType, alphaType, in Bitmap_reconfigure() 712 static bool validateImageInfo(const SkImageInfo& info, int32_t rowBytes) { in validateImageInfo() [all …]
|
D | BitmapFactory.cpp | 138 const SkImageInfo& info = bitmap->info(); in allocPixelRef() 218 const SkImageInfo decodeInfo = SkImageInfo::Make(size.width(), size.height(), decodeColorType, in decodeGainmap() 221 SkImageInfo bitmapInfo = decodeInfo; in decodeGainmap() 489 const SkImageInfo decodeInfo = SkImageInfo::Make(size.width(), size.height(), in doDecode() 492 SkImageInfo bitmapInfo = decodeInfo; in doDecode()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ReadbackFromHardwareBitmap.cpp | 35 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 | 137 SkImageInfo info = SkImageInfo::Make(width, height, colorType, kPremul_SkAlphaType); 142 SkImageInfo info = SkImageInfo::Make(width, height, kN32_SkColorType, kPremul_SkAlphaType); in createBitmap()
|
/frameworks/base/libs/hwui/utils/ |
D | Color.h | 95 SkImageInfo ANativeWindowToImageInfo(const ANativeWindow_Buffer& buffer, 98 SkImageInfo BufferDescriptionToImageInfo(const AHardwareBuffer_Desc& bufferDesc,
|
D | Color.cpp | 31 static inline SkImageInfo createImageInfo(int32_t width, int32_t height, int32_t format, in createImageInfo() 64 return SkImageInfo::Make(width, height, colorType, alphaType, colorSpace); in createImageInfo() 67 SkImageInfo ANativeWindowToImageInfo(const ANativeWindow_Buffer& buffer, in ANativeWindowToImageInfo() 72 SkImageInfo BufferDescriptionToImageInfo(const AHardwareBuffer_Desc& bufferDesc, in BufferDescriptionToImageInfo()
|
/frameworks/native/libs/renderengine/skia/compat/ |
D | GaneshGpuContext.h | 35 sk_sp<SkSurface> createRenderTarget(SkImageInfo imageInfo) override;
|