/third_party/skia/src/gpu/ |
D | GrSwizzle.h | 18 class GrSwizzle { 20 constexpr GrSwizzle() : GrSwizzle("rgba") {} in GrSwizzle() function 21 explicit constexpr GrSwizzle(const char c[4]); 23 constexpr GrSwizzle(const GrSwizzle&); 24 constexpr GrSwizzle& operator=(const GrSwizzle& that); 26 static constexpr GrSwizzle Concat(const GrSwizzle& a, const GrSwizzle& b); 28 constexpr bool operator==(const GrSwizzle& that) const { return fKey == that.fKey; } 29 constexpr bool operator!=(const GrSwizzle& that) const { return !(*this == that); } 55 static constexpr GrSwizzle RGBA() { return GrSwizzle("rgba"); } in RGBA() 56 static constexpr GrSwizzle BGRA() { return GrSwizzle("bgra"); } in BGRA() [all …]
|
D | GrSurfaceProxyView.h | 22 GrSurfaceProxyView(sk_sp<GrSurfaceProxy> proxy, GrSurfaceOrigin origin, GrSwizzle swizzle) in GrSurfaceProxyView() 80 GrSwizzle swizzle() const { return fSwizzle; } in swizzle() 82 void concatSwizzle(GrSwizzle swizzle) { fSwizzle = GrSwizzle::Concat(fSwizzle, swizzle); } in concatSwizzle() 84 GrSurfaceProxyView makeSwizzle(GrSwizzle swizzle) const & { in makeSwizzle() 85 return {fProxy, fOrigin, GrSwizzle::Concat(fSwizzle, swizzle)}; in makeSwizzle() 88 GrSurfaceProxyView makeSwizzle(GrSwizzle swizzle) && { in makeSwizzle() 89 return {std::move(fProxy), fOrigin, GrSwizzle::Concat(fSwizzle, swizzle)}; in makeSwizzle() 137 GrSwizzle fSwizzle;
|
D | GrSwizzle.cpp | 12 void GrSwizzle::apply(SkRasterPipeline* pipeline) const { in apply() 15 case GrSwizzle("rgba").asKey(): in apply() 17 case GrSwizzle("bgra").asKey(): in apply() 20 case GrSwizzle("aaa1").asKey(): in apply() 23 case GrSwizzle("rgb1").asKey(): in apply() 38 SkString GrSwizzle::asString() const { in asString()
|
D | GrDataUtils.cpp | 403 static GrSwizzle get_load_and_src_swizzle(GrColorType ct, SkRasterPipeline::StockStage* load, in get_load_and_src_swizzle() 405 GrSwizzle swizzle("rgba"); in get_load_and_src_swizzle() 413 case GrColorType::kARGB_4444: swizzle = GrSwizzle("bgra"); in get_load_and_src_swizzle() 415 case GrColorType::kBGRA_4444: swizzle = GrSwizzle("gbar"); in get_load_and_src_swizzle() 421 swizzle = GrSwizzle("bgra"); in get_load_and_src_swizzle() 441 swizzle = GrSwizzle("000r"); in get_load_and_src_swizzle() 444 swizzle = GrSwizzle("000r"); in get_load_and_src_swizzle() 447 swizzle = GrSwizzle("rrr1"); in get_load_and_src_swizzle() 450 swizzle = GrSwizzle("aaa1"); in get_load_and_src_swizzle() 453 swizzle = GrSwizzle("rrrg"); in get_load_and_src_swizzle() [all …]
|
D | GrPipeline.h | 64 GrSwizzle fWriteSwizzle; 74 const GrSwizzle& writeSwizzle, 83 const GrSwizzle& writeSwizzle, 195 const GrSwizzle& writeSwizzle() const { return fWriteSwizzle; } in writeSwizzle() 230 GrSwizzle fWriteSwizzle;
|
D | GrRecordingContextPriv.cpp | 86 GrSwizzle writeSwizzle; in makeSC() 142 GrSwizzle swizzle; in makeSC() 187 GrSwizzle readSwizzle = this->caps()->getReadSwizzle (format, info.colorType()); in makeSFC() 188 GrSwizzle writeSwizzle = this->caps()->getWriteSwizzle(format, info.colorType()); in makeSFC() 213 GrSwizzle readSwizzle, in makeSFC() 214 GrSwizzle writeSwizzle, in makeSFC() 335 GrSwizzle readSwizzle = this->caps()->getReadSwizzle (format, info.colorType()); in makeSFCFromBackendTexture() 336 GrSwizzle writeSwizzle = this->caps()->getWriteSwizzle(format, info.colorType()); in makeSFCFromBackendTexture()
|
D | GrSPIRVUniformHandler.h | 52 SamplerHandle addSampler(const GrBackendFormat&, GrSamplerState, const GrSwizzle&, 55 GrSwizzle samplerSwizzle(SamplerHandle handle) const override; 68 SkTArray<GrSwizzle> fSamplerSwizzles;
|
D | GrXferProcessor.h | 299 const GrSwizzle& writeSwizzle) in GR_MAKE_BITFIELD_CLASS_OPS() 321 GrSwizzle fWriteSwizzle; in GR_MAKE_BITFIELD_CLASS_OPS() 375 const GrSwizzle&, in GR_MAKE_BITFIELD_CLASS_OPS()
|
D | GrRecordingContextPriv.h | 18 class GrSwizzle; variable 174 GrSwizzle readSwizzle, 175 GrSwizzle writeSwizzle,
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnCaps.cpp | 46 static GrSwizzle get_swizzle(const GrBackendFormat& format, GrColorType colorType, in get_swizzle() 52 return GrSwizzle("a000"); in get_swizzle() 54 return GrSwizzle("000r"); in get_swizzle() 58 return GrSwizzle::RRRA(); in get_swizzle() 63 return GrSwizzle::RGB1(); in get_swizzle() 67 return GrSwizzle::RGBA(); in get_swizzle() 69 return GrSwizzle::RGBA(); in get_swizzle() 125 GrSwizzle GrDawnCaps::onGetReadSwizzle(const GrBackendFormat& format, GrColorType colorType) const in onGetReadSwizzle() 130 GrSwizzle GrDawnCaps::getWriteSwizzle(const GrBackendFormat& format, GrColorType colorType) const { in getWriteSwizzle()
|
/third_party/skia/gm/ |
D | clear_swizzle.cpp | 35 GrSwizzle readSwizzle = GrSwizzle::Concat(sfc->readSwizzle(), GrSwizzle{"bgra"}); in __anon9cbcb5980102() 36 GrSwizzle writeSwizzle = GrSwizzle::Concat(sfc->readSwizzle(), GrSwizzle{"bgra"}); in __anon9cbcb5980102()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkUniformHandler.h | 115 const GrSwizzle&, 119 SamplerHandle addInputSampler(const GrSwizzle& swizzle, const char* name) override; 125 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle() 143 GrSwizzle inputSamplerSwizzle(SamplerHandle handle) const override { in inputSamplerSwizzle() 158 SkTArray<GrSwizzle> fSamplerSwizzles; 160 GrSwizzle fInputSwizzle;
|
D | GrVkCaps.h | 238 GrSwizzle getWriteSwizzle(const GrBackendFormat&, GrColorType) const override; 318 GrSwizzle onGetReadSwizzle(const GrBackendFormat&, GrColorType) const override; 339 GrSwizzle fReadSwizzle; 340 GrSwizzle fWriteSwizzle;
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLUniformHandler.h | 102 virtual GrSwizzle samplerSwizzle(SamplerHandle) const = 0; 108 virtual GrSwizzle inputSamplerSwizzle(SamplerHandle) const { in inputSamplerSwizzle() 113 virtual SamplerHandle addSampler(const GrBackendFormat&, GrSamplerState, const GrSwizzle&, 116 virtual SamplerHandle addInputSampler(const GrSwizzle& swizzle, const char* name) { in addInputSampler()
|
D | GrGLSLProgramBuilder.h | 58 GrSwizzle samplerSwizzle(SamplerHandle handle) const { in samplerSwizzle() 66 GrSwizzle inputSamplerSwizzle(SamplerHandle handle) const { in inputSamplerSwizzle() 154 SamplerHandle emitSampler(const GrBackendFormat&, GrSamplerState, const GrSwizzle&, 156 SamplerHandle emitInputSampler(const GrSwizzle& swizzle, const char* name);
|
/third_party/skia/src/gpu/gl/ |
D | GrGLUniformHandler.h | 55 SamplerHandle addSampler(const GrBackendFormat&, GrSamplerState, const GrSwizzle&, 62 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle() 81 SkTArray<GrSwizzle> fSamplerSwizzles;
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DCaps.h | 95 GrSwizzle getWriteSwizzle(const GrBackendFormat&, GrColorType) const override; 145 GrSwizzle onGetReadSwizzle(const GrBackendFormat&, GrColorType) const override; 161 GrSwizzle fReadSwizzle; 162 GrSwizzle fWriteSwizzle;
|
D | GrD3DCaps.cpp | 383 ctInfo.fReadSwizzle = GrSwizzle("rgb1"); in initFormatTable() 404 ctInfo.fReadSwizzle = GrSwizzle("000r"); in initFormatTable() 405 ctInfo.fWriteSwizzle = GrSwizzle("a000"); in initFormatTable() 413 ctInfo.fReadSwizzle = GrSwizzle("rrr1"); in initFormatTable() 497 ctInfo.fReadSwizzle = GrSwizzle("000r"); in initFormatTable() 498 ctInfo.fWriteSwizzle = GrSwizzle("a000"); in initFormatTable() 556 ctInfo.fReadSwizzle = GrSwizzle("argb"); in initFormatTable() 557 ctInfo.fWriteSwizzle = GrSwizzle("gbar"); in initFormatTable() 596 ctInfo.fReadSwizzle = GrSwizzle("000r"); in initFormatTable() 597 ctInfo.fWriteSwizzle = GrSwizzle("a000"); in initFormatTable() [all …]
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlUniformHandler.h | 75 const GrSwizzle&, 83 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle() 98 SkTArray<GrSwizzle> fSamplerSwizzles;
|
D | GrMtlCaps.h | 80 GrSwizzle getWriteSwizzle(const GrBackendFormat&, GrColorType) const override; 131 GrSwizzle onGetReadSwizzle(const GrBackendFormat&, GrColorType) const override; 144 GrSwizzle fReadSwizzle; 145 GrSwizzle fWriteSwizzle;
|
/third_party/skia/src/gpu/mock/ |
D | GrMockCaps.h | 133 GrSwizzle getWriteSwizzle(const GrBackendFormat& format, GrColorType ct) const override { in getWriteSwizzle() 135 return GrSwizzle("rgba"); in getWriteSwizzle() 181 GrSwizzle onGetReadSwizzle(const GrBackendFormat& format, GrColorType ct) const override { in onGetReadSwizzle() 183 return GrSwizzle("rgba"); in onGetReadSwizzle()
|
/third_party/skia/tests/ |
D | TextureOpTest.cpp | 90 GrSwizzle::RGBA()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 93 GrSwizzle::RGBA()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 96 GrSwizzle::RGBA()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | BackendAllocationTest.cpp | 858 GrSwizzle swizzle; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 861 swizzle = GrSwizzle("aaaa"); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 864 swizzle = GrSwizzle("aaaa"); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 867 swizzle = GrSwizzle("aaaa"); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 1003 GrSwizzle swizzle; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 1007 swizzle = GrSwizzle("aaaa"); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 1011 swizzle = GrSwizzle("aaaa"); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 1015 swizzle = GrSwizzle("aaaa"); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 1019 swizzle = GrSwizzle("bgra"); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 1023 swizzle = GrSwizzle("rgba"); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
|
D | MtlBackendAllocationTest.mm | 142 GrSwizzle swizzle; 145 swizzle = GrSwizzle("aaaa"); 148 swizzle = GrSwizzle("aaaa"); 151 swizzle = GrSwizzle("aaaa");
|
/third_party/skia/src/gpu/ops/ |
D | AtlasInstancedHelper.h | 41 const GrSwizzle& atlasSwizzle() const { return fAtlasSwizzle; } in atlasSwizzle() 94 const GrSwizzle fAtlasSwizzle;
|