Home
last modified time | relevance | path

Searched refs:dstConfig (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/core/
DSkConfig8888.cpp173 SkCanvas::Config8888 dstConfig, in convert_config8888() argument
178 switch(dstConfig) { in convert_config8888()
207 SkCanvas::Config8888 dstConfig, in SkConvertConfig8888Pixels() argument
213 if (srcConfig == dstConfig) { in SkConvertConfig8888Pixels()
236 …config8888<SkCanvas::kNative_Premul_Config8888>(dstPixels, dstRowBytes, dstConfig, srcPixels, srcR… in SkConvertConfig8888Pixels()
239 …nfig8888<SkCanvas::kNative_Unpremul_Config8888>(dstPixels, dstRowBytes, dstConfig, srcPixels, srcR… in SkConvertConfig8888Pixels()
242 …convert_config8888<SkCanvas::kBGRA_Premul_Config8888>(dstPixels, dstRowBytes, dstConfig, srcPixels… in SkConvertConfig8888Pixels()
245 …config8888<SkCanvas::kBGRA_Unpremul_Config8888>(dstPixels, dstRowBytes, dstConfig, srcPixels, srcR… in SkConvertConfig8888Pixels()
248 …convert_config8888<SkCanvas::kRGBA_Premul_Config8888>(dstPixels, dstRowBytes, dstConfig, srcPixels… in SkConvertConfig8888Pixels()
251 …config8888<SkCanvas::kRGBA_Unpremul_Config8888>(dstPixels, dstRowBytes, dstConfig, srcPixels, srcR… in SkConvertConfig8888Pixels()
DSkBitmap.cpp845 bool SkBitmap::canCopyTo(Config dstConfig) const { in canCopyTo()
850 bool sameConfigs = (this->config() == dstConfig); in canCopyTo()
851 switch (dstConfig) { in canCopyTo()
875 bool SkBitmap::copyTo(SkBitmap* dst, Config dstConfig, Allocator* alloc) const { in copyTo() argument
876 if (!this->canCopyTo(dstConfig)) { in copyTo()
889 if (tmpSrc.config() == dstConfig && NULL == alloc) { in copyTo()
905 tmpDst.setConfig(dstConfig, src->width(), src->height()); in copyTo()
908 SkColorTable* ctable = (dstConfig == kIndex8_Config) ? in copyTo()
923 if (src->config() == dstConfig) { in copyTo()
956 bool SkBitmap::deepCopyTo(SkBitmap* dst, Config dstConfig) const { in deepCopyTo()
[all …]
DSkConfig8888.h18 SkCanvas::Config8888 dstConfig,
/external/skia/src/gpu/
DSkGrTexturePixelRef.cpp52 SkBitmap::Config dstConfig) { in copyToTexturePixelRef() argument
65 desc.fConfig = SkGr::BitmapConfig2PixelConfig(dstConfig, false); in copyToTexturePixelRef()
94 SkPixelRef* SkGrTexturePixelRef::deepCopy(SkBitmap::Config dstConfig) { in deepCopy() argument
95 return copyToTexturePixelRef(fTexture, dstConfig); in deepCopy()
142 SkPixelRef* SkGrRenderTargetPixelRef::deepCopy(SkBitmap::Config dstConfig) { in deepCopy() argument
152 return copyToTexturePixelRef(fRenderTarget->asTexture(), dstConfig); in deepCopy()
/external/skia/src/opts/
Dopts_check_SSE2.cpp149 SkBlitMask::ColorProc SkBlitMask::PlatformColorProcs(SkBitmap::Config dstConfig, in PlatformColorProcs() argument
158 switch (dstConfig) { in PlatformColorProcs()
185 SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkBitmap::Config dstConfig, in PlatformRowProcs() argument
DSkBlitRow_opts_none.cpp31 SkBlitMask::ColorProc SkBlitMask::PlatformColorProcs(SkBitmap::Config dstConfig, in PlatformColorProcs() argument
41 SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkBitmap::Config dstConfig, in PlatformRowProcs() argument
DSkBlitRow_opts_arm.cpp1857 SkBlitMask::ColorProc SkBlitMask::PlatformColorProcs(SkBitmap::Config dstConfig, in PlatformColorProcs() argument
1867 SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkBitmap::Config dstConfig, in PlatformRowProcs() argument
/external/skia/include/gpu/
DSkGrTexturePixelRef.h56 virtual SkPixelRef* deepCopy(SkBitmap::Config dstConfig) SK_OVERRIDE;
79 virtual SkPixelRef* deepCopy(SkBitmap::Config dstConfig) SK_OVERRIDE;
/external/skia/tests/
DBitmapCopyTest.cpp36 SkBitmap::Config dstConfig) { in test_isOpaque() argument
45 if (canHaveAlpha(bitmap.config()) && canHaveAlpha(dstConfig)) { in test_isOpaque()
50 REPORTER_ASSERT(reporter, bitmap.copyTo(&dst, dstConfig)); in test_isOpaque()
51 REPORTER_ASSERT(reporter, dst.config() == dstConfig); in test_isOpaque()
61 REPORTER_ASSERT(reporter, bitmap.copyTo(&dst, dstConfig)); in test_isOpaque()
62 REPORTER_ASSERT(reporter, dst.config() == dstConfig); in test_isOpaque()
/external/skia/src/images/
DSkImageDecoder_libpng.cpp150 static bool canUpscalePaletteToConfig(SkBitmap::Config dstConfig, in canUpscalePaletteToConfig() argument
152 switch (dstConfig) { in canUpscalePaletteToConfig()