Home
last modified time | relevance | path

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

123

/external/skia/src/gpu/
DGrProgramDesc.h106 class GrProgramDesc {
108 GrProgramDesc(const GrProgramDesc& other) = default;
111 void reset() { *this = GrProgramDesc{}; } in reset()
123 bool operator== (const GrProgramDesc& that) const {
127 bool operator!= (const GrProgramDesc& other) const {
149 GrProgramDesc() {} in GrProgramDesc() function
158 static void Build(GrProgramDesc*, const GrProgramInfo&, const GrCaps&);
161 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.cpp168 void GrProgramDesc::Build(GrProgramDesc* desc, in Build()
177 SkString GrProgramDesc::Describe(const GrProgramInfo& programInfo, in Describe()
179 GrProgramDesc desc; in Describe()
/external/skqp/src/gpu/
DGrProgramDesc.h23 class GrProgramDesc {
26 GrProgramDesc() {} in GrProgramDesc() function
42 static bool Build(GrProgramDesc*,
60 GrProgramDesc& operator= (const GrProgramDesc& other) {
67 bool operator== (const GrProgramDesc& that) const {
84 bool operator!= (const GrProgramDesc& other) const {
/external/skia/src/gpu/mtl/
DGrMtlResourceProvider.h30 const GrProgramDesc&,const GrProgramInfo&,
59 GrMtlPipelineState* refPipelineState(const GrProgramDesc&, const GrProgramInfo&,
64 GrMtlPipelineState* onRefPipelineState(const GrProgramDesc&, const GrProgramInfo&,
70 uint32_t operator()(const GrProgramDesc& desc) const { in operator()
75 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap;
DGrMtlPipelineStateBuilder.h19 class GrProgramDesc; variable
42 const GrProgramDesc&,
50 GrMtlPipelineStateBuilder(GrMtlGpu*, const GrProgramDesc&, const GrProgramInfo&);
52 GrMtlPipelineState* finalize(const GrProgramDesc&, const GrProgramInfo&,
DGrMtlResourceProvider.mm13 #include "src/gpu/GrProgramDesc.h"
33 const GrProgramDesc& programDesc,
107 const GrProgramDesc& desc,
128 const GrProgramDesc& desc,
168 GrProgramDesc desc;
169 if (!GrProgramDesc::BuildFromData(&desc, key.data(), key.size())) {
/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateBuilder.h29 GrProgramDesc*,
37 GrProgramDesc*, GrMtlGpu*);
54 GrProgramDesc* desc);
56 GrMtlPipelineState* finalize(const GrPrimitiveProcessor&, const GrPipeline&, GrProgramDesc*);
/external/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()
/external/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;
DGrVkPipelineStateCache.cpp90 GrProgramDesc desc = fGpu->caps()->makeDesc(renderTarget, programInfo, flags); in findOrCreatePipelineState()
109 const GrProgramDesc& desc, in findOrCreatePipelineStateImpl()
DGrVkPipelineStateBuilder.cpp27 const GrProgramDesc& desc, in CreatePipelineState()
51 const GrProgramDesc& desc, in GrVkPipelineStateBuilder()
164 SkString description = GrProgramDesc::Describe(fProgramInfo, *this->caps()); in storeShadersInCache()
173 GrVkPipelineState* GrVkPipelineStateBuilder::finalize(const GrProgramDesc& desc, in finalize()
/external/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.h18 class GrProgramDesc; variable
32 const GrProgramDesc&,
48 GrD3DPipelineStateBuilder(GrD3DGpu*, GrD3DRenderTarget*, const GrProgramDesc&,
/external/skqp/src/gpu/glsl/
DGrGLSLProgramBuilder.h43 GrProgramDesc* desc() { return fDesc; } in desc()
44 const GrProgramDesc::KeyHeader& header() const { return fDesc->header(); } in header()
94 GrProgramDesc* fDesc;
108 GrProgramDesc*);
/external/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h25 class GrProgramDesc; variable
54 const GrProgramDesc& desc() const { return fDesc; } in desc()
102 const GrProgramDesc& fDesc;
112 explicit GrGLSLProgramBuilder(const GrProgramDesc&, const GrProgramInfo&);
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h22 class GrProgramDesc; variable
48 const GrProgramDesc&,
61 GrGLProgramBuilder(GrGLGpu*, const GrProgramDesc&, const GrProgramInfo&);
/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.h22 class GrProgramDesc; variable
42 GrProgramDesc*,
52 const GrTextureProxy* const primProcProxies[], GrProgramDesc*);
/external/skqp/src/gpu/vk/
DGrVkPipelineStateBuilder.h38 class Desc : public GrProgramDesc {
53 typedef GrProgramDesc INHERITED;
86 GrProgramDesc*);
/external/skia/include/gpu/
DGrRecordingContext.h25 class GrProgramDesc; variable
159 ProgramData(std::unique_ptr<const GrProgramDesc>, const GrProgramInfo*);
164 const GrProgramDesc& desc() const { return *fDesc; } in desc()
169 std::unique_ptr<const GrProgramDesc> fDesc;
/external/skia/src/gpu/mock/
DGrMockCaps.cpp12 GrProgramDesc GrMockCaps::makeDesc(GrRenderTarget* /* rt */, in makeDesc()
16 GrProgramDesc desc; in makeDesc()
17 GrProgramDesc::Build(&desc, programInfo, *this); in makeDesc()
/external/skia/src/gpu/dawn/
DGrDawnProgramBuilder.h83 GrProgramDesc*);
96 GrProgramDesc*);
DGrDawnCaps.cpp167 GrProgramDesc GrDawnCaps::makeDesc(GrRenderTarget* rt, in makeDesc()
171 GrProgramDesc desc; in makeDesc()
172 GrProgramDesc::Build(&desc, programInfo, *this); in makeDesc()
DGrDawnGpu.h50 bool compile(const GrProgramDesc&, const GrProgramInfo&) override;
223 uint32_t operator()(const GrProgramDesc& desc) const { in operator()
234 SkLRUCache<GrProgramDesc, sk_sp<GrDawnProgram>, ProgramDescHash> fRenderPipelineCache;
/external/skqp/src/gpu/gl/
DGrGLGpuProgramCache.cpp83 GrProgramDesc desc; in refProgram()
84 if (!GrProgramDesc::Build(&desc, renderTarget->config(), primProc, isPoints, pipeline, gpu)) { in refProgram()

123