Home
last modified time | relevance | path

Searched refs:dstColorType (Results 1 – 25 of 215) sorted by relevance

123456789

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/gm/
H A Dreadpixels.cpp114 static void draw_image(SkCanvas* canvas, SkImage* image, SkColorType dstColorType, in draw_image() argument
117 size_t rowBytes = image->width() * SkColorTypeBytesPerPixel(dstColorType); in draw_image()
119 SkImageInfo dstInfo = SkImageInfo::Make(image->width(), image->height(), dstColorType, in draw_image()
171 for (SkColorType dstColorType : colorTypes) { in onDraw() local
173 draw_image(canvas, image.get(), dstColorType, dstAlphaType, in onDraw()
231 for (SkColorType dstColorType : colorTypes) { in onDraw() local
234 draw_image(canvas, image.get(), dstColorType, dstAlphaType, dstColorSpace, in onDraw()
298 for (SkColorType dstColorType : colorTypes) { in onDraw() local
301 draw_image(canvas, image.get(), dstColorType, dstAlphaType, in onDraw()
H A Dshowmiplevels.cpp203 void copy_to(SkBitmap* dst, SkColorType dstColorType, const SkBitmap& src) { in copy_to() argument
204 if (kGray_8_SkColorType == dstColorType) { in copy_to()
210 if (kRGB_565_SkColorType == dstColorType) { in copy_to()
215 ToolUtils::copy_to(dst, dstColorType, *srcPtr); in copy_to()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/gm/
H A Dreadpixels.cpp114 SkColorType dstColorType, SkAlphaType dstAlphaType, in draw_image() argument
116 size_t rowBytes = image->width() * SkColorTypeBytesPerPixel(dstColorType); in draw_image()
118 SkImageInfo dstInfo = SkImageInfo::Make(image->width(), image->height(), dstColorType, in draw_image()
171 for (SkColorType dstColorType : colorTypes) { in onDraw() local
173 draw_image(dContext, canvas, image.get(), dstColorType, dstAlphaType, in onDraw()
231 for (SkColorType dstColorType : colorTypes) { in onDraw() local
234 draw_image(nullptr, canvas, image.get(), dstColorType, dstAlphaType, in onDraw()
298 for (SkColorType dstColorType : colorTypes) { in onDraw() local
301 draw_image(nullptr, canvas, image.get(), dstColorType, dstAlphaType, in onDraw()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/gpu/
H A DGrGpu.cpp196 int height, size_t rowBytes, GrColorType dstColorType, in getReadPixelsInfo() argument
206 if (GrColorType::kRGB_565 == dstColorType || GrColorType::kABGR_4444 == dstColorType) { in getReadPixelsInfo()
216 if (GrColorTypeIsAlphaOnly(dstColorType)) { in getReadPixelsInfo()
217 tempSurfaceConfig = GrColorTypeToPixelConfig(dstColorType, GrSRGBEncoded::kNo); in getReadPixelsInfo()
220 dstColorType, GrPixelConfigIsSRGBEncoded(srcSurface->config())); in getReadPixelsInfo()
225 tempSurfaceConfig = GrColorTypeToPixelConfig(dstColorType, GrSRGBEncoded::kYes); in getReadPixelsInfo()
235 tempSurfaceConfig = GrColorTypeToPixelConfig(dstColorType, GrSRGBEncoded::kNo); in getReadPixelsInfo()
260 tempDrawInfo->fReadColorType = dstColorType; in getReadPixelsInfo()
360 int height, GrColorType dstColorType, void* buffer, size_t rowBytes) { in readPixels() argument
363 int bpp = GrColorTypeBytesPerPixel(dstColorType); in readPixels()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/android/
H A DSkBitmapRegionCodec.cpp53 SkColorType dstColorType = fCodec->computeOutputColorType(prefColorType); in decodeRegion() local
60 dstColorType, dstAlphaType, colorSpace); in decodeRegion()
66 if (kIndex_8_SkColorType == dstColorType) { in decodeRegion()
87 if (kGray_8_SkColorType == dstColorType) { in decodeRegion()
130 if (kIndex_8_SkColorType == dstColorType) { in decodeRegion()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/android/
H A DSkBitmapRegionCodec.cpp53 SkColorType dstColorType = fCodec->computeOutputColorType(prefColorType); in decodeRegion() local
55 sk_sp<SkColorSpace> dstColorSpace = fCodec->computeOutputColorSpace(dstColorType, in decodeRegion()
58 dstColorType, dstAlphaType, dstColorSpace); in decodeRegion()
77 if (kGray_8_SkColorType == dstColorType) { in decodeRegion()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/android/
H A DSkBitmapRegionCodec.cpp19 const SkIRect& desiredSubset, int sampleSize, SkColorType dstColorType, in decodeRegion() argument
54 SkImageInfo::Make(scaledSize, dstColorType, dstAlphaType, dstColorSpace); in decodeRegion()
73 if (kGray_8_SkColorType == dstColorType) { in decodeRegion()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/android/
H A DSkBitmapRegionCodec.cpp19 const SkIRect& desiredSubset, int sampleSize, SkColorType dstColorType, in decodeRegion() argument
54 SkImageInfo::Make(scaledSize, dstColorType, dstAlphaType, dstColorSpace); in decodeRegion()
73 if (kGray_8_SkColorType == dstColorType) { in decodeRegion()
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/android/
H A DSkBitmapRegionCodec.cpp19 const SkIRect& desiredSubset, int sampleSize, SkColorType dstColorType, in decodeRegion() argument
54 SkImageInfo::Make(scaledSize, dstColorType, dstAlphaType, dstColorSpace); in decodeRegion()
73 if (kGray_8_SkColorType == dstColorType) { in decodeRegion()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/android/
H A DSkBitmapRegionCodec.cpp19 const SkIRect& desiredSubset, int sampleSize, SkColorType dstColorType, in decodeRegion() argument
54 SkImageInfo::Make(scaledSize, dstColorType, dstAlphaType, dstColorSpace); in decodeRegion()
73 if (kGray_8_SkColorType == dstColorType) { in decodeRegion()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/android/
H A DSkBitmapRegionCodec.cpp19 const SkIRect& desiredSubset, int sampleSize, SkColorType dstColorType, in decodeRegion() argument
54 SkImageInfo::Make(scaledSize, dstColorType, dstAlphaType, dstColorSpace); in decodeRegion()
73 if (kGray_8_SkColorType == dstColorType) { in decodeRegion()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/client_utils/android/
H A DBitmapRegionDecoder.cpp49 const SkIRect& desiredSubset, int sampleSize, SkColorType dstColorType, in decodeRegion() argument
84 SkImageInfo::Make(scaledSize, dstColorType, dstAlphaType, dstColorSpace); in decodeRegion()
103 if (kGray_8_SkColorType == dstColorType) { in decodeRegion()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/shaders/
H A DSkPictureShader.cpp192 SkColorType dstColorType, in refBitmapShader() argument
243 dstColorType >= kRGBA_F16Norm_SkColorType in refBitmapShader()
348 SkColorType dstColorType = GrColorTypeToSkColorType(args.fDstColorInfo->colorType()); in asFragmentProcessor() local
349 if (dstColorType == kUnknown_SkColorType) { in asFragmentProcessor()
350 dstColorType = kRGBA_8888_SkColorType; in asFragmentProcessor()
352 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*args.fViewMatrix, &lm, dstColorType, in asFragmentProcessor()
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/shaders/
H A DSkPictureShader.cpp192 SkColorType dstColorType, in refBitmapShader() argument
243 dstColorType >= kRGBA_F16Norm_SkColorType in refBitmapShader()
348 SkColorType dstColorType = GrColorTypeToSkColorType(args.fDstColorInfo->colorType()); in asFragmentProcessor() local
349 if (dstColorType == kUnknown_SkColorType) { in asFragmentProcessor()
350 dstColorType = kRGBA_8888_SkColorType; in asFragmentProcessor()
352 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*args.fViewMatrix, &lm, dstColorType, in asFragmentProcessor()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/shaders/
H A DSkPictureShader.cpp192 SkColorType dstColorType, in refBitmapShader() argument
243 dstColorType >= kRGBA_F16Norm_SkColorType in refBitmapShader()
348 SkColorType dstColorType = GrColorTypeToSkColorType(args.fDstColorInfo->colorType()); in asFragmentProcessor() local
349 if (dstColorType == kUnknown_SkColorType) { in asFragmentProcessor()
350 dstColorType = kRGBA_8888_SkColorType; in asFragmentProcessor()
352 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*args.fViewMatrix, &lm, dstColorType, in asFragmentProcessor()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/shaders/
H A DSkPictureShader.cpp192 SkColorType dstColorType, in refBitmapShader() argument
243 dstColorType >= kRGBA_F16Norm_SkColorType in refBitmapShader()
348 SkColorType dstColorType = GrColorTypeToSkColorType(args.fDstColorInfo->colorType()); in asFragmentProcessor() local
349 if (dstColorType == kUnknown_SkColorType) { in asFragmentProcessor()
350 dstColorType = kRGBA_8888_SkColorType; in asFragmentProcessor()
352 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*args.fViewMatrix, &lm, dstColorType, in asFragmentProcessor()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/
H A DGrTransferFromRenderTask.h18 GrColorType dstColorType, in GrTransferFromRenderTask() argument
25 , fDstColorType(dstColorType) in GrTransferFromRenderTask()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/
H A DGrTransferFromRenderTask.h18 GrColorType dstColorType, in GrTransferFromRenderTask() argument
25 , fDstColorType(dstColorType) in GrTransferFromRenderTask()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/
H A DGrTransferFromRenderTask.h18 GrColorType dstColorType, in GrTransferFromRenderTask() argument
25 , fDstColorType(dstColorType) in GrTransferFromRenderTask()
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/
H A DGrTransferFromRenderTask.h18 GrColorType dstColorType, in GrTransferFromRenderTask() argument
25 , fDstColorType(dstColorType) in GrTransferFromRenderTask()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/
H A DGrTransferFromRenderTask.h18 GrColorType dstColorType, in GrTransferFromRenderTask() argument
25 , fDstColorType(dstColorType) in GrTransferFromRenderTask()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/
H A DGrTransferFromRenderTask.h18 GrColorType dstColorType, in GrTransferFromRenderTask() argument
25 , fDstColorType(dstColorType) in GrTransferFromRenderTask()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/shaders/
H A DSkPictureShader.cpp177 SkColorType dstColorType, in refBitmapShader() argument
228 dstColorType >= kRGBA_F16Norm_SkColorType in refBitmapShader()
350 SkColorType dstColorType = GrColorTypeToSkColorType(args.fDstColorInfo->colorType()); in asFragmentProcessor() local
351 if (dstColorType == kUnknown_SkColorType) { in asFragmentProcessor()
352 dstColorType = kRGBA_8888_SkColorType; in asFragmentProcessor()
354 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*args.fViewMatrix, &lm, dstColorType, in asFragmentProcessor()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/shaders/
H A DSkPictureShader.cpp179 SkColorType dstColorType, in refBitmapShader() argument
230 dstColorType >= kRGBA_F16Norm_SkColorType in refBitmapShader()
355 SkColorType dstColorType = GrColorTypeToSkColorType(args.fDstColorInfo->colorType()); in asFragmentProcessor() local
356 if (dstColorType == kUnknown_SkColorType) { in asFragmentProcessor()
357 dstColorType = kRGBA_8888_SkColorType; in asFragmentProcessor()
360 this->refBitmapShader(args.fMatrixProvider.localToDevice(), &lm, dstColorType, in asFragmentProcessor()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/codec/
H A DSkCodecPriv.h112 static inline uint64_t get_color_table_fill_value(SkColorType dstColorType, SkAlphaType alphaType, in get_color_table_fill_value() argument
115 switch (dstColorType) { in get_color_table_fill_value()
128 SkAssertResult(colorXform->apply(select_xform_format(dstColorType), &dstColor, in get_color_table_fill_value()

123456789