/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/skqp/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 | 214 const GrSwizzle& configTextureSwizzle(GrPixelConfig config) const { in configTextureSwizzle() 219 const GrSwizzle& configOutputSwizzle(GrPixelConfig config) const { in configOutputSwizzle() 289 GrSwizzle fConfigTextureSwizzle[kGrPixelConfigCnt]; 290 GrSwizzle fConfigOutputSwizzle[kGrPixelConfigCnt];
|
/external/skqp/include/gpu/ |
D | GrShaderCaps.h | 232 const GrSwizzle& configTextureSwizzle(GrPixelConfig config) const { in configTextureSwizzle() 237 const GrSwizzle& configOutputSwizzle(GrPixelConfig config) const { in configOutputSwizzle() 313 GrSwizzle fConfigTextureSwizzle[kGrPixelConfigCnt]; 314 GrSwizzle fConfigOutputSwizzle[kGrPixelConfigCnt];
|
/external/skia/src/gpu/gl/ |
D | GrGLUniformHandler.h | 43 SamplerHandle addSampler(uint32_t visibility, GrSwizzle, GrSLType, GrSLPrecision, 50 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle() 76 SkTArray<GrSwizzle> fSamplerSwizzles;
|
D | GrGLCaps.cpp | 1398 fConfigTable[kUnknown_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1422 fConfigTable[kRGBA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1478 fConfigTable[kBGRA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1548 fConfigTable[kSRGBA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1568 fConfigTable[kSBGRA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1598 fConfigTable[kRGB_565_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1617 fConfigTable[kRGBA_4444_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1636 fConfigTable[kRGBA_1010102_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1650 alphaInfo.fSwizzle = GrSwizzle::AAAA(); in initConfigTable() 1661 redInfo.fSwizzle = GrSwizzle::RRRR(); in initConfigTable() [all …]
|
D | GrGLGpu.h | 29 class GrSwizzle; variable 275 void flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle&); 580 fSwizzle(GrSwizzle::RGBA()) {} in BufferTexture() 586 GrSwizzle fSwizzle;
|
/external/skqp/src/gpu/gl/ |
D | GrGLUniformHandler.h | 43 SamplerHandle addSampler(uint32_t visibility, GrSwizzle, GrSLType, GrSLPrecision, 50 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle() 76 SkTArray<GrSwizzle> fSamplerSwizzles;
|
D | GrGLCaps.cpp | 1422 fConfigTable[kUnknown_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1446 fConfigTable[kRGBA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1502 fConfigTable[kBGRA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1572 fConfigTable[kSRGBA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1592 fConfigTable[kSBGRA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1649 fConfigTable[kRGB_565_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1668 fConfigTable[kRGBA_4444_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable() 1682 alphaInfo.fSwizzle = GrSwizzle::AAAA(); in initConfigTable() 1693 redInfo.fSwizzle = GrSwizzle::RRRR(); in initConfigTable() 1722 grayLumInfo.fSwizzle = GrSwizzle::RGBA(); in initConfigTable() [all …]
|
D | GrGLGpu.h | 29 class GrSwizzle; variable 293 void flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle&); 593 fSwizzle(GrSwizzle::RGBA()) {} in BufferTexture() 599 GrSwizzle fSwizzle;
|
/external/skia/src/gpu/vk/ |
D | GrVkUniformHandler.h | 64 GrSwizzle swizzle, 73 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle() 104 SkTArray<GrSwizzle> fSamplerSwizzles;
|
D | GrVkCaps.cpp | 232 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RRRR(); in initShaderCaps() 233 shaderCaps->fConfigOutputSwizzle[i] = GrSwizzle::AAAA(); in initShaderCaps() 237 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RRRA(); in initShaderCaps() 243 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::BGRA(); in initShaderCaps() 244 shaderCaps->fConfigOutputSwizzle[i] = GrSwizzle::BGRA(); in initShaderCaps() 246 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RGBA(); in initShaderCaps()
|
/external/skqp/src/gpu/vk/ |
D | GrVkUniformHandler.h | 64 GrSwizzle swizzle, 73 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle() 104 SkTArray<GrSwizzle> fSamplerSwizzles;
|
D | GrVkCaps.cpp | 228 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RRRR(); in initShaderCaps() 229 shaderCaps->fConfigOutputSwizzle[i] = GrSwizzle::AAAA(); in initShaderCaps() 233 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RRRA(); in initShaderCaps() 239 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::BGRA(); in initShaderCaps() 240 shaderCaps->fConfigOutputSwizzle[i] = GrSwizzle::BGRA(); in initShaderCaps() 242 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RGBA(); in initShaderCaps()
|
/external/skqp/src/gpu/ |
D | GrFragmentProcessor.cpp | 153 std::unique_ptr<GrFragmentProcessor> fp, const GrSwizzle& swizzle) { in SwizzleOutput() 156 static std::unique_ptr<GrFragmentProcessor> Make(const GrSwizzle& swizzle) { in SwizzleOutput() 161 const GrSwizzle& swizzle() const { return fSwizzle; } in SwizzleOutput() 166 SwizzleFragmentProcessor(const GrSwizzle& swizzle) in SwizzleOutput() 176 const GrSwizzle& swizzle = sfp.swizzle(); in SwizzleOutput() 199 GrSwizzle fSwizzle; in SwizzleOutput() 207 if (GrSwizzle::RGBA() == swizzle) { in SwizzleOutput()
|
D | GrFragmentProcessor.h | 19 class GrSwizzle; variable 89 const GrSwizzle&);
|
/external/skia/src/gpu/ |
D | GrFragmentProcessor.cpp | 151 std::unique_ptr<GrFragmentProcessor> fp, const GrSwizzle& swizzle) { in SwizzleOutput() 154 static std::unique_ptr<GrFragmentProcessor> Make(const GrSwizzle& swizzle) { in SwizzleOutput() 159 const GrSwizzle& swizzle() const { return fSwizzle; } in SwizzleOutput() 164 SwizzleFragmentProcessor(const GrSwizzle& swizzle) in SwizzleOutput() 174 const GrSwizzle& swizzle = sfp.swizzle(); in SwizzleOutput() 197 GrSwizzle fSwizzle; in SwizzleOutput() 205 if (GrSwizzle::RGBA() == swizzle) { in SwizzleOutput()
|
D | GrFragmentProcessor.h | 19 class GrSwizzle; variable 89 const GrSwizzle&);
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLUniformHandler.h | 88 virtual GrSwizzle samplerSwizzle(SamplerHandle) const = 0; 90 virtual SamplerHandle addSampler(uint32_t visibility, GrSwizzle, GrSLType, GrSLPrecision,
|
D | GrGLSLProgramBuilder.cpp | 311 GrSwizzle swizzle = this->shaderCaps()->configTextureSwizzle(config); in emitSampler() 324 GrSwizzle swizzle; in emitFSOutputSwizzle() 326 if (swizzle != GrSwizzle::RGBA()) { in emitFSOutputSwizzle()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLUniformHandler.h | 88 virtual GrSwizzle samplerSwizzle(SamplerHandle) const = 0; 90 virtual SamplerHandle addSampler(uint32_t visibility, GrSwizzle, GrSLType, GrSLPrecision,
|
D | GrGLSLProgramBuilder.cpp | 311 GrSwizzle swizzle = this->shaderCaps()->configTextureSwizzle(config); in emitSampler() 324 GrSwizzle swizzle; in emitFSOutputSwizzle() 326 if (swizzle != GrSwizzle::RGBA()) { in emitFSOutputSwizzle()
|
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()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlCaps.mm | 189 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RRRR(); 190 shaderCaps->fConfigOutputSwizzle[i] = GrSwizzle::AAAA(); 193 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RRRA(); 195 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RGBA();
|
/external/skia/src/gpu/mtl/ |
D | GrMtlCaps.mm | 200 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RRRR(); 201 shaderCaps->fConfigOutputSwizzle[i] = GrSwizzle::AAAA(); 204 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RRRA(); 206 shaderCaps->fConfigTextureSwizzle[i] = GrSwizzle::RGBA();
|