/external/skia/src/gpu/ |
D | GrContext.cpp | 216 bool sw_convert_to_premul(GrPixelConfig srcConfig, int width, int height, size_t inRowBytes, in sw_convert_to_premul() argument 219 if (!GrPixelConfig2ColorAndProfileType(srcConfig, &srcPI.fColorType, nullptr)) { in sw_convert_to_premul() 237 GrPixelConfig srcConfig, const void* buffer, size_t rowBytes, in writeSurfacePixels() argument 250 GrBytesPerPixel(srcConfig), &left, &top, &width, in writeSurfacePixels() 257 if (!GrPixelConfigIs8888(srcConfig)) { in writeSurfacePixels() 271 if (!fGpu->getWritePixelsInfo(surface, width, height, srcConfig, &drawPreference, in writeSurfacePixels() 323 if (!sw_convert_to_premul(srcConfig, width, height, rowBytes, buffer, tmpRowBytes, in writeSurfacePixels() 357 if (!sw_convert_to_premul(srcConfig, width, height, rowBytes, buffer, tmpRowBytes, in writeSurfacePixels() 365 return fGpu->writePixels(surface, left, top, width, height, srcConfig, buffer, rowBytes); in writeSurfacePixels()
|
D | GrGpu.cpp | 293 GrPixelConfig srcConfig, DrawPreference* drawPreference, in getWritePixelsInfo() argument 300 dstSurface->desc().fConfig != srcConfig) { in getWritePixelsInfo() 313 if (!this->onGetWritePixelsInfo(dstSurface, width, height, srcConfig, drawPreference, in getWritePixelsInfo() 323 !this->caps()->isConfigTexturable(srcConfig)) { in getWritePixelsInfo()
|
D | GrGpu.h | 229 GrPixelConfig srcConfig, DrawPreference*, WritePixelTempDrawInfo*); 544 GrPixelConfig srcConfig, DrawPreference*,
|
D | GrTest.cpp | 306 GrPixelConfig srcConfig, DrawPreference*, in onGetWritePixelsInfo() argument
|
/external/skia/src/codec/ |
D | SkJpegCodec.cpp | 355 SkSwizzler::SrcConfig srcConfig = SkSwizzler::kUnknown; in initializeSwizzler() local 357 srcConfig = SkSwizzler::kCMYK; in initializeSwizzler() 363 srcConfig = SkSwizzler::kNoOp8; in initializeSwizzler() 366 srcConfig = SkSwizzler::kNoOp32; in initializeSwizzler() 369 srcConfig = SkSwizzler::kNoOp16; in initializeSwizzler() 378 srcConfig = SkSwizzler::kRGB; in initializeSwizzler() 390 fSwizzler.reset(SkSwizzler::CreateSwizzler(srcConfig, nullptr, dstInfo, swizzlerOptions)); in initializeSwizzler()
|
D | SkPngCodec.h | 48 SkSwizzler::SrcConfig srcConfig() const { return fSrcConfig; } in srcConfig() function
|
D | SkPngCodec.cpp | 561 fStorage.reset(this->getInfo().width() * SkSwizzler::BytesPerPixel(this->srcConfig())); in onStartScanlineDecode() 632 fSrcRowBytes = this->getInfo().width() * SkSwizzler::BytesPerPixel(this->srcConfig()); in onStartScanlineDecode()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 722 GrPixelConfig srcConfig, in onGetWritePixelsInfo() argument 725 if (kIndex_8_GrPixelConfig == srcConfig || GrPixelConfigIsCompressed(dstSurface->config())) { in onGetWritePixelsInfo() 741 if (GrPixelConfigIsSRGB(dstSurface->config()) != GrPixelConfigIsSRGB(srcConfig)) { in onGetWritePixelsInfo() 747 tempDrawInfo->fWriteConfig = srcConfig; in onGetWritePixelsInfo() 752 tempDrawInfo->fTempSurfaceDesc.fConfig = srcConfig; in onGetWritePixelsInfo() 758 bool configsAreRBSwaps = GrPixelConfigSwapRAndB(srcConfig) == dstSurface->config(); in onGetWritePixelsInfo() 761 if (!this->caps()->isConfigTexturable(srcConfig)) { in onGetWritePixelsInfo() 767 kRGBA_8888_GrPixelConfig == srcConfig) { in onGetWritePixelsInfo() 2235 GrPixelConfig srcConfig = srcSurface->config(); in onGetReadPixelsInfo() local 2252 tempDrawInfo->fTempSurfaceDesc.fConfig = srcConfig; in onGetReadPixelsInfo() [all …]
|
D | GrGLGpu.h | 67 GrPixelConfig srcConfig, DrawPreference*,
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.h | 64 GrPixelConfig srcConfig, DrawPreference*,
|
D | GrVkGpu.cpp | 240 GrPixelConfig srcConfig, DrawPreference* drawPreference, in onGetWritePixelsInfo() argument 242 if (kIndex_8_GrPixelConfig == srcConfig || GrPixelConfigIsCompressed(dstSurface->config())) { in onGetWritePixelsInfo() 251 if (dstSurface->config() != srcConfig) { in onGetWritePixelsInfo()
|