/external/skia/include/private/ |
D | GrSwizzle.h | 17 class GrSwizzle { 36 constexpr GrSwizzle(const char c[4]) in GrSwizzle() function 45 GrSwizzle() { *this = RGBA(); } in GrSwizzle() function 47 GrSwizzle(const GrSwizzle& that) { *this = that; } in GrSwizzle() function 49 GrSwizzle& operator=(const GrSwizzle& that) { 50 memcpy(this, &that, sizeof(GrSwizzle)); 64 bool operator==(const GrSwizzle& that) const { return this->asUInt() == that.asUInt(); } 66 bool operator!=(const GrSwizzle& that) const { return !(*this == that); } 112 static GrSwizzle RGBA() { return GrSwizzle("rgba"); } in RGBA() 113 static GrSwizzle AAAA() { return GrSwizzle("aaaa"); } in AAAA() [all …]
|
/external/skia/include/gpu/ |
D | GrShaderCaps.h | 243 const GrSwizzle& configTextureSwizzle(GrPixelConfig config) const { in configTextureSwizzle() 248 const GrSwizzle& configOutputSwizzle(GrPixelConfig config) const { in configOutputSwizzle() 328 GrSwizzle fConfigTextureSwizzle[kGrPixelConfigCnt]; 329 GrSwizzle fConfigOutputSwizzle[kGrPixelConfigCnt];
|
D | GrContext.h | 40 class GrSwizzle; variable
|
/external/skia/src/gpu/gl/ |
D | GrGLUniformHandler.h | 44 SamplerHandle addSampler(uint32_t visibility, GrSwizzle, GrSLType, GrSLPrecision, 51 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle() 85 SkTArray<GrSwizzle> fSamplerSwizzles;
|
D | GrGLCaps.cpp | 1582 fConfigTable[kUnknown_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1606 fConfigTable[kRGBA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1661 fConfigTable[kBGRA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1736 fConfigTable[kSRGBA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1756 fConfigTable[kSBGRA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1813 fConfigTable[kRGB_565_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1832 fConfigTable[kRGBA_4444_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1842 fConfigTable[kAlpha_8_GrPixelConfig].fSwizzle = GrSwizzle::RRRR(); in initConfigTable() 1852 fConfigTable[kAlpha_8_GrPixelConfig].fSwizzle = GrSwizzle::AAAA(); in initConfigTable() 1871 fConfigTable[kGray_8_GrPixelConfig].fSwizzle = GrSwizzle::RRRA(); in initConfigTable() [all …]
|
D | GrGLGpu.h | 29 class GrSwizzle; variable 283 void flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle&); 585 fSwizzle(GrSwizzle::RGBA()) {} in BufferTexture() 591 GrSwizzle fSwizzle;
|
D | GrGLCaps.h | 144 const GrSwizzle& configSwizzle(GrPixelConfig config) const { in configSwizzle() 552 GrSwizzle fSwizzle;
|
D | GrGLGpu.cpp | 708 tempDrawInfo->fSwizzle = GrSwizzle::RGBA(); in onGetWritePixelsInfo() 726 tempDrawInfo->fSwizzle = GrSwizzle::BGRA(); in onGetWritePixelsInfo() 732 tempDrawInfo->fSwizzle = GrSwizzle::BGRA(); in onGetWritePixelsInfo() 740 tempDrawInfo->fSwizzle = GrSwizzle::BGRA(); in onGetWritePixelsInfo() 1817 const GrSwizzle& swizzle = this->caps()->shaderCaps()->configOutputSwizzle( in flushGLState() 2162 tempDrawInfo->fSwizzle = GrSwizzle::RGBA(); in onGetReadPixelsInfo() 2185 tempDrawInfo->fSwizzle = GrSwizzle::BGRA(); in onGetReadPixelsInfo() 2195 tempDrawInfo->fSwizzle = GrSwizzle::BGRA(); in onGetReadPixelsInfo() 2206 tempDrawInfo->fSwizzle = GrSwizzle::BGRA(); in onGetReadPixelsInfo() 2216 tempDrawInfo->fSwizzle = GrSwizzle::BGRA(); in onGetReadPixelsInfo() [all …]
|
D | GrGLUniformHandler.cpp | 55 GrSwizzle swizzle, in addSampler()
|
/external/skia/src/gpu/vk/ |
D | GrVkCaps.cpp | 211 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RRRR(); in initShaderCaps() 212 shaderCaps->fConfigOutputSwizzle[i] = GrSwizzle::AAAA(); in initShaderCaps() 215 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RRRA(); in initShaderCaps() 221 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::BGRA(); in initShaderCaps() 222 shaderCaps->fConfigOutputSwizzle[i] = GrSwizzle::BGRA(); in initShaderCaps() 224 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RGBA(); in initShaderCaps()
|
D | GrVkUniformHandler.h | 64 GrSwizzle swizzle, 73 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle() 117 SkTArray<GrSwizzle> fSamplerSwizzles;
|
D | GrVkUniformHandler.cpp | 199 GrSwizzle swizzle, in addSampler()
|
D | GrVkGpu.cpp | 338 tempDrawInfo->fSwizzle = GrSwizzle::RGBA(); in onGetWritePixelsInfo() 369 tempDrawInfo->fSwizzle = GrSwizzle::BGRA(); in onGetWritePixelsInfo() 1767 tempDrawInfo->fSwizzle = GrSwizzle::RGBA(); in onGetReadPixelsInfo()
|
D | GrVkPipeline.cpp | 544 const GrSwizzle& swizzle = gpu->caps()->shaderCaps()->configOutputSwizzle(pixelConfig); in SetDynamicBlendConstantState()
|
/external/skia/src/gpu/ |
D | GrFragmentProcessor.cpp | 230 const GrSwizzle& swizzle) { in SwizzleOutput() 233 static sk_sp<GrFragmentProcessor> Make(const GrSwizzle& swizzle) { in SwizzleOutput() 238 const GrSwizzle& swizzle() const { return fSwizzle; } in SwizzleOutput() 241 SwizzleFragmentProcessor(const GrSwizzle& swizzle) in SwizzleOutput() 252 const GrSwizzle& swizzle = sfp.swizzle(); in SwizzleOutput() 275 GrSwizzle fSwizzle; in SwizzleOutput() 283 if (GrSwizzle::RGBA() == swizzle) { in SwizzleOutput()
|
D | GrFragmentProcessor.h | 19 class GrSwizzle; variable 75 static sk_sp<GrFragmentProcessor> SwizzleOutput(sk_sp<GrFragmentProcessor>, const GrSwizzle&);
|
D | GrGpu.h | 172 GrSwizzle fSwizzle; 221 GrSwizzle fSwizzle;
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLUniformHandler.h | 67 virtual GrSwizzle samplerSwizzle(SamplerHandle) const = 0; 69 virtual SamplerHandle addSampler(uint32_t visibility, GrSwizzle, GrSLType, GrSLPrecision,
|
D | GrGLSLShaderBuilder.cpp | 64 static inline void append_texture_swizzle(SkString* out, GrSwizzle swizzle) { in append_texture_swizzle() 65 if (swizzle != GrSwizzle::RGBA()) { in append_texture_swizzle()
|
D | GrGLSLProgramBuilder.cpp | 326 GrSwizzle swizzle = this->shaderCaps()->configTextureSwizzle(config); in emitSampler() 357 GrSwizzle swizzle; in emitFSOutputSwizzle() 359 if (swizzle != GrSwizzle::RGBA()) { in emitFSOutputSwizzle()
|
D | GrGLSLProgramBuilder.h | 53 GrSwizzle samplerSwizzle(SamplerHandle handle) const { in samplerSwizzle()
|
/external/skia/gn/ |
D | gpu.gni | 42 "$_include/private/GrSwizzle.h",
|