Home
last modified time | relevance | path

Searched refs:GrProgramDesc (Results 1 – 25 of 76) sorted by relevance

1234

/third_party/skia/src/gpu/
DGrProgramDesc.h106 class GrProgramDesc {
108 GrProgramDesc(const GrProgramDesc& other) = default;
109 GrProgramDesc& operator=(const GrProgramDesc &other) = default;
112 void reset() { *this = GrProgramDesc{}; } in reset()
124 bool operator== (const GrProgramDesc& that) const {
128 bool operator!= (const GrProgramDesc& other) const {
150 GrProgramDesc() {} in GrProgramDesc() function
159 static void Build(GrProgramDesc*, const GrProgramInfo&, const GrCaps&);
162 static bool BuildFromData(GrProgramDesc* desc, const void* keyData, size_t keyLength) { in BuildFromData()
DGrDDLContext.cpp51 GrProgramDesc desc = caps->makeDesc(nullptr, *programInfo); in recordProgramInfo()
68 typedef const GrProgramDesc CacheKey;
94 dst->emplace_back(std::make_unique<const GrProgramDesc>(*programDesc), in toArray()
DGrProgramDesc.cpp169 void GrProgramDesc::Build(GrProgramDesc* desc, in Build()
178 SkString GrProgramDesc::Describe(const GrProgramInfo& programInfo, in Describe()
180 GrProgramDesc desc; in Describe()
/third_party/flutter/skia/src/gpu/
DGrProgramDesc.h23 class GrProgramDesc {
26 GrProgramDesc() {} in GrProgramDesc() function
42 static bool Build(GrProgramDesc*, const GrRenderTarget*, const GrPrimitiveProcessor&,
56 GrProgramDesc& operator= (const GrProgramDesc& other) {
63 bool operator== (const GrProgramDesc& that) const {
80 bool operator!= (const GrProgramDesc& other) const {
/third_party/skia/src/gpu/mtl/
DGrMtlResourceProvider.h32 const GrProgramDesc&,const GrProgramInfo&,
65 GrMtlPipelineState* refPipelineState(const GrProgramDesc&, const GrProgramInfo&,
70 GrMtlPipelineState* onRefPipelineState(const GrProgramDesc&, const GrProgramInfo&,
76 uint32_t operator()(const GrProgramDesc& desc) const { in operator()
81 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap;
DGrMtlPipelineStateBuilder.h19 class GrProgramDesc; variable
43 const GrProgramDesc&,
51 GrMtlPipelineStateBuilder(GrMtlGpu*, const GrProgramDesc&, const GrProgramInfo&);
53 GrMtlPipelineState* finalize(const GrProgramDesc&, const GrProgramInfo&,
DGrMtlResourceProvider.mm14 #include "src/gpu/GrProgramDesc.h"
34 const GrProgramDesc& programDesc,
198 const GrProgramDesc& desc,
219 const GrProgramDesc& desc,
261 GrProgramDesc desc;
262 if (!GrProgramDesc::BuildFromData(&desc, key.data(), key.size())) {
/third_party/skia/src/gpu/gl/
DGrGLGpuProgramCache.cpp38 fMap.foreach([](GrProgramDesc*, std::unique_ptr<Entry>* e) { in abandon() argument
55 GrProgramDesc desc = caps->makeDesc(/*renderTarget*/nullptr, programInfo); in findOrCreateProgram()
73 const GrProgramDesc& desc, in findOrCreateProgram()
87 const GrProgramDesc& desc, in findOrCreateProgramImpl()
124 GrProgramDesc desc; in precompileShader()
125 if (!GrProgramDesc::BuildFromData(&desc, key.data(), key.size())) { in precompileShader()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.h36 class Desc : public GrProgramDesc {
50 typedef GrProgramDesc INHERITED;
73 GrProgramDesc*);
89 GrProgramDesc* desc);
/third_party/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.h19 class GrProgramDesc; variable
33 const GrProgramDesc&,
48 GrVkPipelineStateBuilder(GrVkGpu*, const GrProgramDesc&, const GrProgramInfo&);
50 GrVkPipelineState* finalize(const GrProgramDesc&, VkRenderPass compatibleRenderPass,
DGrVkResourceProvider.h146 const GrProgramDesc&,
237 GrVkPipelineState* findOrCreatePipelineState(const GrProgramDesc& desc, in findOrCreatePipelineState()
248 GrVkPipelineState* findOrCreatePipelineStateImpl(const GrProgramDesc&,
255 uint32_t operator()(const GrProgramDesc& desc) const { in operator()
260 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap;
DGrVkPipelineStateBuilder.cpp27 const GrProgramDesc& desc, in CreatePipelineState()
51 const GrProgramDesc& desc, in GrVkPipelineStateBuilder()
155 SkString description = GrProgramDesc::Describe(fProgramInfo, *this->caps()); in storeShadersInCache()
164 GrVkPipelineState* GrVkPipelineStateBuilder::finalize(const GrProgramDesc& desc, in finalize()
DGrVkPipelineStateCache.cpp90 GrProgramDesc desc = fGpu->caps()->makeDesc(renderTarget, programInfo, flags); in findOrCreatePipelineState()
109 const GrProgramDesc& desc, in findOrCreatePipelineStateImpl()
/third_party/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.h18 class GrProgramDesc; variable
32 const GrProgramDesc&,
48 GrD3DPipelineStateBuilder(GrD3DGpu*, GrD3DRenderTarget*, const GrProgramDesc&,
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h49 GrProgramDesc* desc() { return fDesc; } in desc()
50 const GrProgramDesc::KeyHeader& header() const { return fDesc->header(); } in header()
102 GrProgramDesc* fDesc;
116 GrProgramDesc*);
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h24 class GrProgramDesc; variable
50 const GrProgramDesc& desc() const { return fDesc; } in desc()
101 const GrProgramDesc& fDesc;
114 explicit GrGLSLProgramBuilder(const GrProgramDesc&, const GrProgramInfo&);
/third_party/flutter/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h22 class GrProgramDesc; variable
42 GrProgramDesc*,
52 const GrTextureProxy* const primProcProxies[], GrProgramDesc*);
/third_party/skia/include/gpu/
DGrRecordingContext.h25 class GrProgramDesc; variable
158 ProgramData(std::unique_ptr<const GrProgramDesc>, const GrProgramInfo*);
163 const GrProgramDesc& desc() const { return *fDesc; } in desc()
168 std::unique_ptr<const GrProgramDesc> fDesc;
/third_party/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h22 class GrProgramDesc; variable
48 const GrProgramDesc&,
61 GrGLProgramBuilder(GrGLGpu*, const GrProgramDesc&, const GrProgramInfo&);
/third_party/flutter/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.h38 class Desc : public GrProgramDesc {
53 typedef GrProgramDesc INHERITED;
86 GrProgramDesc*);
/third_party/skia/src/gpu/mock/
DGrMockCaps.cpp27 GrProgramDesc GrMockCaps::makeDesc(GrRenderTarget* /* rt */, in makeDesc()
31 GrProgramDesc desc; in makeDesc()
32 GrProgramDesc::Build(&desc, programInfo, *this); in makeDesc()
/third_party/skia/src/gpu/dawn/
DGrDawnProgramBuilder.h64 GrProgramDesc*);
77 GrProgramDesc*);
DGrDawnCaps.cpp167 GrProgramDesc GrDawnCaps::makeDesc(GrRenderTarget* rt, in makeDesc()
171 GrProgramDesc desc; in makeDesc()
172 GrProgramDesc::Build(&desc, programInfo, *this); in makeDesc()
/third_party/flutter/skia/src/gpu/gl/
DGrGLGpuProgramCache.cpp88 GrProgramDesc desc; in refProgram()
89 if (!GrProgramDesc::Build(&desc, renderTarget, primProc, isPoints, pipeline, gpu)) { in refProgram()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnProgramBuilder.h89 GrProgramDesc* desc);
104 GrProgramDesc*);

1234