Home
last modified time | relevance | path

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

/third_party/skia/experimental/graphite/include/private/
DMtlTypesPriv.h46 , fUsage(0) in TextureSpec()
51 , fUsage(info.fUsage) in TextureSpec()
57 fUsage == that.fUsage &&
63 TextureUsage fUsage; member
/third_party/skia/src/sksl/transform/
DSkSLEliminateDeadLocalVariables.cpp24 , fUsage(usage) {} in EliminateDeadLocalVariables()
37 ProgramUsage::VariableCounts* counts = fUsage->fVariableCounts.find(var); in EliminateDeadLocalVariables()
45 fUsage->remove(stmt.get()); in EliminateDeadLocalVariables()
47 fUsage->add(stmt.get()); in EliminateDeadLocalVariables()
50 fUsage->remove(stmt.get()); in EliminateDeadLocalVariables()
74 ProgramUsage* fUsage; in EliminateDeadLocalVariables() member in SkSL::Transform::EliminateDeadLocalVariables::DeadLocalVariableEliminator
DSkSLEliminateUnreachableCode.cpp24 : fUsage(usage) { in EliminateUnreachableCode()
39 if (fUsage) { in EliminateUnreachableCode()
40 fUsage->remove(stmt.get()); in EliminateUnreachableCode()
128 ProgramUsage* fUsage; in EliminateUnreachableCode() member in SkSL::Transform::EliminateUnreachableCode::UnreachableCodeEliminator
/third_party/skia/src/sksl/analysis/
DSkSLProgramUsage.cpp24 ProgramUsageVisitor(ProgramUsage* usage, int delta) : fUsage(usage), fDelta(delta) {} in ProgramUsageVisitor()
32 fUsage->fVariableCounts[param]; in visitProgramElement()
36 fUsage->fVariableCounts[&pe.as<InterfaceBlock>().variable()]; in visitProgramElement()
45 ProgramUsage::VariableCounts& counts = fUsage->fVariableCounts[&vd.var()]; in visitStatement()
59 fUsage->fCallCounts[f] += fDelta; in visitExpression()
60 SkASSERT(fUsage->fCallCounts[f] >= 0); in visitExpression()
63 ProgramUsage::VariableCounts& counts = fUsage->fVariableCounts[ref.variable()]; in visitExpression()
85 ProgramUsage* fUsage; member in SkSL::__anon8899370c0111::ProgramUsageVisitor
/third_party/skia/include/private/
DGrMtlTypesPriv.h56 , fUsage(0) in GrMtlTextureSpec()
60 , fUsage(info.fUsage) in GrMtlTextureSpec()
64 GrMTLTextureUsage fUsage; member
/third_party/flutter/skia/src/gpu/gl/
DGrGLBuffer.cpp98 , fUsage(gr_to_gl_access_pattern(intendedType, accessPattern)) in GrGLBuffer()
109 fUsage)); in GrGLBuffer()
177 GL_CALL(BufferData(target, this->size(), nullptr, fUsage)); in onMap()
187 GL_CALL(BufferData(target, this->size(), nullptr, fUsage)); in onMap()
206 GL_CALL(BufferData(target, this->size(), nullptr, fUsage)); in onMap()
261 GL_CALL(BufferData(target, (GrGLsizeiptr) srcSizeInBytes, src, fUsage)); in onUpdateData()
270 GL_CALL(BufferData(target, this->size(), nullptr, fUsage)); in onUpdateData()
278 GL_CALL(BufferData(target, srcSizeInBytes, src, fUsage)); in onUpdateData()
DGrGLBuffer.h61 GrGLenum fUsage; variable
/third_party/skia/src/gpu/gl/
DGrGLBuffer.cpp111 , fUsage(gr_to_gl_access_pattern(intendedType, accessPattern, gpu->glCaps())) in GrGLBuffer()
117 GrGLenum error = GL_ALLOC_CALL(BufferData(target, (GrGLsizeiptr)size, data, fUsage)); in GrGLBuffer()
186 GL_ALLOC_CALL(BufferData(target, this->size(), nullptr, fUsage)); in onMap()
199 GrGLenum error = GL_ALLOC_CALL(BufferData(target, this->size(), nullptr, fUsage)); in onMap()
221 GrGLenum error = GL_ALLOC_CALL(BufferData(target, this->size(), nullptr, fUsage)); in onMap()
280 GL_ALLOC_CALL(BufferData(target, (GrGLsizeiptr)srcSizeInBytes, src, fUsage)); in onUpdateData()
293 GL_ALLOC_CALL(BufferData(target, (GrGLsizeiptr)this->size(), nullptr, fUsage)); in onUpdateData()
305 GL_ALLOC_CALL(BufferData(target, (GrGLsizeiptr)srcSizeInBytes, src, fUsage)); in onUpdateData()
DGrGLBuffer.h61 GrGLenum fUsage; variable
/third_party/skia/experimental/graphite/src/mtl/
DMtlTexture.mm43 (*desc).usage = mtlSpec.fUsage;
48 if (mtlSpec.fUsage & MTLTextureUsageRenderTarget) {
53 if (mtlSpec.fUsage & MTLTextureUsageShaderRead) {
59 if (mtlSpec.fUsage & MTLTextureUsageShaderRead) {
67 SkASSERT(mtlSpec.fUsage & MTLTextureUsageShaderRead);
DMtlTypesPriv.mm22 fUsage = mtlTex.usage;
37 info.fUsage = mtlSpec.fUsage;
DMtlCaps.mm238 info.fUsage = usage;
254 info.fUsage = usage;
268 info.fUsage = MTLTextureUsageRenderTarget;
/third_party/skia/src/gpu/dawn/
DGrDawnRingBuffer.cpp18 : fGpu(gpu) , fUsage(usage) { in GrDawnRingBuffer()
27 desc.usage = fUsage | wgpu::BufferUsage::CopyDst; in allocate()
DGrDawnRingBuffer.h39 wgpu::BufferUsage fUsage; variable
/third_party/skia/experimental/graphite/include/mtl/
DMtlTypes.h46 TextureUsage fUsage = 0; // MTLTextureUsage fUsage = MTLTextureUsageUnknown; member
61 , fUsage(usage) in TextureInfo()
/third_party/skia/src/gpu/mtl/
DGrMtlTypesPriv.mm22 info.fUsage = mtlSpec.fUsage;
/third_party/skia/src/sksl/ir/
DSkSLProgram.h94 fUsage = Analysis::GetUsage(*this); in Program()
182 const ProgramUsage* usage() const { return fUsage.get(); } in usage()
200 std::unique_ptr<ProgramUsage> fUsage; member
/third_party/skia/src/sksl/
DSkSLAnalysis.cpp78 fUsage = SampleUsage(); // reset to none in visit()
80 return fUsage; in visit()
89 SampleUsage fUsage; member in SkSL::__anonfff69e700111::MergeSampleUsageVisitor
107 fUsage.merge(SampleUsage::PassThrough()); in visitExpression()
110 fUsage.merge(SampleUsage::Explicit()); in visitExpression()
114 fUsage.merge(SampleUsage::PassThrough()); in visitExpression()
DSkSLCompiler.h111 ProgramUsage* fUsage = nullptr; member
DSkSLCompiler.cpp536 ProgramUsage* usage = program.fUsage.get(); in optimize()
/third_party/skia/include/gpu/mtl/
DGrMtlTypes.h57 GrMTLTextureUsage fUsage = 0; // MTLTextureUsage fUsage = MTLTextureUsageUnknown; member
/third_party/skia/src/gpu/
DGrFragmentProcessor.h233 return fUsage; in sampleUsage()
459 SkSL::SampleUsage fUsage; variable
DGrFragmentProcessor.cpp157 child->fUsage = sampleUsage; in registerChild()
177 SkASSERT(!fUsage.isSampled() && !fParent); in registerChild()
/third_party/flutter/skia/src/xps/
DSkXPSDevice.cpp2052 if (SkBaseDevice::kGeneral_Usage == info.fUsage) { in onCreateDevice()
/third_party/skia/src/xps/
DSkXPSDevice.cpp1986 if (SkBaseDevice::kGeneral_Usage == info.fUsage) { in onCreateDevice()