Home
last modified time | relevance | path

Searched refs:srcConfig (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/
DGrContext.cpp216 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()
DGrGpu.cpp293 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()
DGrGpu.h229 GrPixelConfig srcConfig, DrawPreference*, WritePixelTempDrawInfo*);
544 GrPixelConfig srcConfig, DrawPreference*,
DGrTest.cpp306 GrPixelConfig srcConfig, DrawPreference*, in onGetWritePixelsInfo() argument
/external/skia/src/codec/
DSkJpegCodec.cpp355 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()
DSkPngCodec.h48 SkSwizzler::SrcConfig srcConfig() const { return fSrcConfig; } in srcConfig() function
DSkPngCodec.cpp561 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/
DGrGLGpu.cpp722 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 …]
DGrGLGpu.h67 GrPixelConfig srcConfig, DrawPreference*,
/external/skia/src/gpu/vk/
DGrVkGpu.h64 GrPixelConfig srcConfig, DrawPreference*,
DGrVkGpu.cpp240 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()