Home
last modified time | relevance | path

Searched refs:fCompiler (Results 1 – 20 of 20) sorted by relevance

/external/skqp/src/gpu/effects/
DGrSkSLFP.cpp21 fBaseProgram = fCompiler.convertProgram(SkSL::Program::kPipelineStage_Kind, in GrSkSLFPFactory()
24 if (fCompiler.errorCount()) { in GrSkSLFPFactory()
25 SkDebugf("%s\n", fCompiler.errorText().c_str()); in GrSkSLFPFactory()
28 SkASSERT(!fCompiler.errorCount()); in GrSkSLFPFactory()
56 if (&v->fType == fCompiler.context().fInt_Type.get()) { in getSpecialization()
61 } else if (&v->fType == fCompiler.context().fBool_Type.get()) { in getSpecialization()
65 } else if (&v->fType == fCompiler.context().fFloat4_Type.get() || in getSpecialization()
66 &v->fType == fCompiler.context().fHalf4_Type.get()) { in getSpecialization()
68 } else if (&v->fType == fCompiler.context().fFragmentProcessor_Type.get()) { in getSpecialization()
76 std::unique_ptr<SkSL::Program> specialized = fCompiler.specialize(*fBaseProgram, inputMap); in getSpecialization()
[all …]
DGrSkSLFP.h145 SkSL::Compiler fCompiler; variable
/external/skia/src/gpu/effects/
DGrSkSLFP.cpp23 fBaseProgram = fCompiler.convertProgram(SkSL::Program::kPipelineStage_Kind, in GrSkSLFPFactory()
26 if (fCompiler.errorCount()) { in GrSkSLFPFactory()
27 SkDebugf("%s\n", fCompiler.errorText().c_str()); in GrSkSLFPFactory()
30 SkASSERT(!fCompiler.errorCount()); in GrSkSLFPFactory()
58 if (&v->fType == fCompiler.context().fInt_Type.get()) { in getSpecialization()
63 } else if (&v->fType == fCompiler.context().fFloat_Type.get()) { in getSpecialization()
68 } else if (&v->fType == fCompiler.context().fBool_Type.get()) { in getSpecialization()
72 } else if (&v->fType == fCompiler.context().fFloat4_Type.get() || in getSpecialization()
73 &v->fType == fCompiler.context().fHalf4_Type.get()) { in getSpecialization()
75 } else if (&v->fType == fCompiler.context().fFragmentProcessor_Type.get()) { in getSpecialization()
[all …]
DGrSkSLFP.h162 SkSL::Compiler fCompiler; variable
/external/skqp/src/gpu/gl/
DGrGLContext.cpp81 delete fCompiler; in ~GrGLContext()
85 if (!fCompiler) { in compiler()
86 fCompiler = new SkSL::Compiler(); in compiler()
88 return fCompiler; in compiler()
DGrGLContext.h102 GrGLContext(ConstructorArgs&& args) : INHERITED(std::move(args)), fCompiler(nullptr) {} in GrGLContext()
104 mutable SkSL::Compiler* fCompiler; variable
/external/skia/src/gpu/gl/
DGrGLContext.cpp81 delete fCompiler; in ~GrGLContext()
85 if (!fCompiler) { in compiler()
86 fCompiler = new SkSL::Compiler(); in compiler()
88 return fCompiler; in compiler()
DGrGLContext.h102 GrGLContext(ConstructorArgs&& args) : INHERITED(std::move(args)), fCompiler(nullptr) {} in GrGLContext()
104 mutable SkSL::Compiler* fCompiler; variable
/external/skqp/src/gpu/mtl/
DGrMtlGpu.h97 SkSL::Compiler* shaderCompiler() const { return fCompiler.get(); } in shaderCompiler()
191 std::unique_ptr<SkSL::Compiler> fCompiler; variable
DGrMtlGpu.mm99 , fCompiler(new SkSL::Compiler()) function
/external/skia/src/gpu/mtl/
DGrMtlGpu.h101 SkSL::Compiler* shaderCompiler() const { return fCompiler.get(); } in shaderCompiler()
217 std::unique_ptr<SkSL::Compiler> fCompiler; variable
DGrMtlGpu.mm99 , fCompiler(new SkSL::Compiler()) function
/external/skqp/src/gpu/vk/
DGrVkGpu.h117 return fCompiler; in shaderCompiler()
293 SkSL::Compiler* fCompiler; variable
DGrVkGpu.cpp159 fCompiler = new SkSL::Compiler(); in GrVkGpu()
262 delete fCompiler; in ~GrVkGpu()
/external/skia/src/gpu/vk/
DGrVkGpu.h125 return fCompiler; in shaderCompiler()
304 SkSL::Compiler* fCompiler; variable
DGrVkGpu.cpp159 fCompiler = new SkSL::Compiler(); in GrVkGpu()
262 delete fCompiler; in ~GrVkGpu()
/external/skia/src/sksl/
DSkSLJIT.h298 Compiler& fCompiler; variable
DSkSLJIT.cpp85 : fCompiler(*compiler) { in JIT()
839 SkASSERT(a.fArguments[0]->fType == *fCompiler.context().fSkRasterPipeline_Type); in appendStage()
1849 fCompiler.optimize(*program); in compile()
/external/skqp/src/sksl/
DSkSLJIT.h298 Compiler& fCompiler; variable
DSkSLJIT.cpp85 : fCompiler(*compiler) { in JIT()
839 SkASSERT(a.fArguments[0]->fType == *fCompiler.context().fSkRasterPipeline_Type); in appendStage()
1849 fCompiler.optimize(*program); in compile()