/external/skia/gn/ |
D | sksl_tests.gni | 7 "/sksl/errors/GrBadIn.fp", 8 "/sksl/errors/GrMainParameterWrongType.fp", 9 "/sksl/errors/GrMainTooManyParameters.fp", 10 "/sksl/errors/GrNoFragmentProcessorConstruction.fp", 11 "/sksl/errors/GrNoFragmentProcessorExpressions.fp", 12 "/sksl/errors/GrNoFragmentProcessorLocals.fp", 13 "/sksl/errors/GrNoFragmentProcessorParams.fp", 14 "/sksl/errors/GrNoFragmentProcessorReturn.fp", 15 "/sksl/errors/GrRecursion.fp", 19 "/sksl/dslfp/GrDSLFPTest_Builtins.fp", [all …]
|
D | sksl.gni | 21 "$_include/sksl/DSL.h", 22 "$_include/sksl/DSLBlock.h", 23 "$_include/sksl/DSLCase.h", 24 "$_include/sksl/DSLCore.h", 25 "$_include/sksl/DSLErrorHandling.h", 26 "$_include/sksl/DSLExpression.h", 27 "$_include/sksl/DSLFunction.h", 28 "$_include/sksl/DSLLayout.h", 29 "$_include/sksl/DSLModifiers.h", 30 "$_include/sksl/DSLRuntimeEffects.h", [all …]
|
D | tests.gni | 333 "$_tests/sksl/dslfp/GrDSLFPTest_DoStatement.dsl.cpp", 334 "$_tests/sksl/dslfp/GrDSLFPTest_DoStatement.h", 335 "$_tests/sksl/dslfp/GrDSLFPTest_ForStatement.dsl.cpp", 336 "$_tests/sksl/dslfp/GrDSLFPTest_ForStatement.h", 337 "$_tests/sksl/dslfp/GrDSLFPTest_IfStatement.dsl.cpp", 338 "$_tests/sksl/dslfp/GrDSLFPTest_IfStatement.h", 339 "$_tests/sksl/dslfp/GrDSLFPTest_SwitchStatement.dsl.cpp", 340 "$_tests/sksl/dslfp/GrDSLFPTest_SwitchStatement.h", 341 "$_tests/sksl/dslfp/GrDSLFPTest_Swizzle.dsl.cpp", 342 "$_tests/sksl/dslfp/GrDSLFPTest_Swizzle.h", [all …]
|
/external/skqp/gn/ |
D | sksl.gni | 10 "$_src/sksl/SkSLCFGGenerator.cpp", 11 "$_src/sksl/SkSLCompiler.cpp", 12 "$_src/sksl/SkSLCPPCodeGenerator.cpp", 13 "$_src/sksl/SkSLCPPUniformCTypes.cpp", 14 "$_src/sksl/SkSLGLSLCodeGenerator.cpp", 15 "$_src/sksl/SkSLHCodeGenerator.cpp", 16 "$_src/sksl/SkSLInterpreter.cpp", 17 "$_src/sksl/SkSLIRGenerator.cpp", 18 "$_src/sksl/SkSLJIT.cpp", 19 "$_src/sksl/SkSLLexer.cpp", [all …]
|
/external/skia/src/core/ |
D | SkRuntimeEffectPriv.h | 21 sk_sp<SkRuntimeEffect> SkMakeCachedRuntimeEffect(SkRuntimeEffect::Result (*make)(SkString sksl), 22 SkString sksl); 25 const char* sksl) { in SkMakeCachedRuntimeEffect() argument 26 return SkMakeCachedRuntimeEffect(make, SkString{sksl}); in SkMakeCachedRuntimeEffect()
|
D | SkRuntimeEffect.cpp | 133 SkRuntimeEffect::Result SkRuntimeEffect::Make(SkString sksl, const Options& options, in Make() argument 148 program = compiler->convertProgram(kind, SkSL::String(sksl.c_str(), sksl.size()), settings); in Make() 154 return Make(std::move(sksl), std::move(program), options, kind); in Make() 163 SkRuntimeEffect::Result SkRuntimeEffect::Make(SkString sksl, in Make() argument 264 sk_sp<SkRuntimeEffect> effect(new SkRuntimeEffect(std::move(sksl), in Make() 275 SkRuntimeEffect::Result SkRuntimeEffect::MakeForColorFilter(SkString sksl, const Options& options) { in MakeForColorFilter() argument 276 auto result = Make(std::move(sksl), options, SkSL::ProgramKind::kRuntimeColorFilter); in MakeForColorFilter() 281 SkRuntimeEffect::Result SkRuntimeEffect::MakeForShader(SkString sksl, const Options& options) { in MakeForShader() argument 282 auto result = Make(std::move(sksl), options, SkSL::ProgramKind::kRuntimeShader); in MakeForShader() 299 sk_sp<SkRuntimeEffect> SkMakeCachedRuntimeEffect(SkRuntimeEffect::Result (*make)(SkString sksl), in SkMakeCachedRuntimeEffect() argument [all …]
|
/external/skia/ |
D | Android.bp | 794 "src/sksl/SkSLASTNode.cpp", 795 "src/sksl/SkSLAnalysis.cpp", 796 "src/sksl/SkSLBuiltinTypes.cpp", 797 "src/sksl/SkSLCPPUniformCTypes.cpp", 798 "src/sksl/SkSLCompiler.cpp", 799 "src/sksl/SkSLConstantFolder.cpp", 800 "src/sksl/SkSLContext.cpp", 801 "src/sksl/SkSLDehydrator.cpp", 802 "src/sksl/SkSLIRGenerator.cpp", 803 "src/sksl/SkSLInliner.cpp", [all …]
|
D | public.bzl | 251 "src/sksl/SkSLMain.cpp", 254 "src/sksl/lex/*", 553 "src/sksl", 579 "tests/sksl/dslfp/GrDSLFPTest_DoStatement.dsl.cpp", 580 "tests/sksl/dslfp/GrDSLFPTest_DoStatement.h", 581 "tests/sksl/dslfp/GrDSLFPTest_ForStatement.dsl.cpp", 582 "tests/sksl/dslfp/GrDSLFPTest_ForStatement.h", 583 "tests/sksl/dslfp/GrDSLFPTest_IfStatement.dsl.cpp", 584 "tests/sksl/dslfp/GrDSLFPTest_IfStatement.h", 585 "tests/sksl/dslfp/GrDSLFPTest_SwitchStatement.dsl.cpp", [all …]
|
D | BUILD.gn | 569 "src/sksl/lex/Main.cpp", 570 "src/sksl/lex/NFA.cpp", 571 "src/sksl/lex/RegexNode.cpp", 572 "src/sksl/lex/RegexParser.cpp", 580 sources = [ "src/sksl/lex/sksl.lex" ] 585 "$target_out_dir/" + rebase_path("src/sksl/SkSLLexer.h", target_out_dir), 632 "src/sksl/SkSLMain.cpp", 663 "src/sksl/sksl_fp_raw.sksl", 665 outputs = [ "$root_out_dir/sksl_fp.sksl" ] 675 "src/sksl/sksl_frag.sksl", [all …]
|
/external/skia/include/effects/ |
D | SkRuntimeEffect.h | 111 static Result MakeForColorFilter(SkString sksl, const Options&); 119 static Result MakeForShader(SkString sksl, const Options&); 123 static Result MakeForColorFilter(SkString sksl) { in MakeForColorFilter() argument 124 return MakeForColorFilter(std::move(sksl), Options{}); in MakeForColorFilter() 126 static Result MakeForShader(SkString sksl) { in MakeForShader() argument 127 return MakeForShader(std::move(sksl), Options{}); in MakeForShader() 200 SkRuntimeEffect(SkString sksl, 211 static Result Make(SkString sksl, const Options& options, SkSL::ProgramKind kind); 213 static Result Make(SkString sksl, std::unique_ptr<SkSL::Program> program,
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 248 SkSL::String* sksl[kGrShaderTypeCount] = { in finalize() local 308 sksl[i] = &cached_sksl[i]; in finalize() 336 *sksl[kFragment_GrShaderType], in finalize() 361 *sksl[kVertex_GrShaderType], in finalize() 422 *sksl[kGeometry_GrShaderType], in finalize() 444 if (!this->checkLinkStatus(programID, errorHandler, sksl, glsl)) { in finalize() 467 glsl[i] = GrShaderUtils::PrettyPrint(*sksl[i]); in finalize() 492 SkSL::String* sksl[], const SkSL::String glsl[]) { in checkLinkStatus() argument 497 if (sksl) { in checkLinkStatus() 498 allShaders.appendf("// Vertex SKSL\n%s\n", sksl[kVertex_GrShaderType]->c_str()); in checkLinkStatus() [all …]
|
D | GrGLShaderStringBuilder.cpp | 22 const SkSL::String& sksl, in GrSkSLtoGLSL() argument 29 SkSL::String src = GrShaderUtils::PrettyPrint(sksl); in GrSkSLtoGLSL() 31 const SkSL::String& src = sksl; in GrSkSLtoGLSL() 43 GrShaderUtils::PrintLineByLine(GrShaderUtils::PrettyPrint(sksl)); in GrSkSLtoGLSL()
|
/external/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
D | RuntimeShaderBuilder.java | 16 public RuntimeShaderBuilder(String sksl) { in RuntimeShaderBuilder() argument 17 mNativeInstance = nCreate(sksl); in RuntimeShaderBuilder() 42 private static native long nCreate(String sksl); in nCreate() argument
|
/external/skqp/src/gpu/gl/builders/ |
D | GrGLShaderStringBuilder.cpp | 40 SkSL::String sksl = GrSKSLPrettyPrint::PrettyPrint(skslStrings, lengths, count, false); local 42 print_source_lines_with_numbers(sksl.c_str(), println); 81 SkSL::String sksl; in GrSkSLtoGLSL() local 83 sksl = GrSKSLPrettyPrint::PrettyPrint(skslStrings, lengths, count, false); in GrSkSLtoGLSL() 86 sksl.append(skslStrings[i], lengths[i]); in GrSkSLtoGLSL() 98 program = compiler->convertProgram(programKind, sksl, settings); in GrSkSLtoGLSL()
|
/external/skia/tests/ |
D | SkRuntimeEffectTest.cpp | 79 auto test_valid_es3 = [](skiatest::Reporter* r, const char* sksl) { in DEF_TEST() argument 82 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl), opt); in DEF_TEST() 92 auto test_valid = [r](const char* sksl) { in DEF_TEST() argument 93 auto [effect, errorText] = SkRuntimeEffect::MakeForColorFilter(SkString(sksl)); in DEF_TEST() 97 auto test_invalid = [r](const char* sksl, const char* expected) { in DEF_TEST() argument 98 auto [effect, errorText] = SkRuntimeEffect::MakeForColorFilter(SkString(sksl)); in DEF_TEST() 172 auto test_valid = [r](const char* sksl) { in DEF_TEST() argument 173 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl)); in DEF_TEST() 177 auto test_invalid = [r](const char* sksl, const char* expected) { in DEF_TEST() argument 178 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl)); in DEF_TEST()
|
/external/skia/src/gpu/vk/ |
D | GrVkPipelineStateBuilder.cpp | 75 const SkSL::String& sksl, in createVkShaderModule() argument 81 if (!GrCompileVkShaderModule(fGpu, sksl, stage, shaderModule, in createVkShaderModule() 248 SkSL::String* sksl[kGrShaderTypeCount] = { in finalize() local 258 sksl[i] = &cached_sksl[i]; in finalize() 264 *sksl[kVertex_GrShaderType], in finalize() 272 *sksl[kFragment_GrShaderType], in finalize() 281 *sksl[kGeometry_GrShaderType], in finalize() 305 shaders[i] = GrShaderUtils::PrettyPrint(*sksl[i]); in finalize()
|
/external/skqp/src/gpu/effects/ |
D | GrSkSLFP.h | 74 const char* sksl, 86 const char* name, const char* sksl, const void* inputs, size_t inputSize); 138 GrSkSLFPFactory(const char* name, const GrShaderCaps* shaderCaps, const char* sksl);
|
D | GrSkSLFP.cpp | 17 GrSkSLFPFactory::GrSkSLFPFactory(const char* name, const GrShaderCaps* shaderCaps, const char* sksl) in GrSkSLFPFactory() argument 22 SkSL::String(sksl), in GrSkSLFPFactory() 235 const char* sksl, const void* inputs, in Make() argument 239 index, name, sksl, inputs, inputSize)); in Make() 243 int index, const char* name, const char* sksl, const void* inputs, in GrSkSLFP() argument 250 , fSkSL(sksl) in GrSkSLFP()
|
/external/skqp/src/sksl/ |
D | SkSLCPPCodeGenerator.cpp | 631 String sksl = skslBuffer->str(); in flushEmittedCode() local 646 while (i < sksl.size()) { in flushEmittedCode() 649 if (sksl[i] == '}') { in flushEmittedCode() 652 String toFlush = String(sksl.c_str(), flushPoint + 1); in flushEmittedCode() 657 int codeBlock = stoi(String(sksl.c_str() + tokenStart + 2, i - tokenStart - 2)); in flushEmittedCode() 664 String compacted = String(sksl.c_str() + flushPoint + 1, in flushEmittedCode() 666 if (i < sksl.size() - 1) { in flushEmittedCode() 667 compacted += String(sksl.c_str() + i + 1, sksl.size() - i - 1); in flushEmittedCode() 669 sksl = compacted; in flushEmittedCode() 678 if (sksl[i] == ';' || sksl[i] == '{' || sksl[i] == '}') { in flushEmittedCode() [all …]
|
/external/skia/modules/canvaskit/ |
D | rt_shader.js | 7 CanvasKit.RuntimeEffect.Make = function(sksl, errorCallback) { argument 15 return CanvasKit.RuntimeEffect._Make(sksl, callbackObj);
|
/external/skia/src/sksl/codegen/ |
D | SkSLCPPCodeGenerator.cpp | 729 String sksl = skslBuffer->str(); in flushEmittedCode() local 744 while (i < sksl.size()) { in flushEmittedCode() 747 if (sksl[i] == '}') { in flushEmittedCode() 750 String toFlush = String(sksl.c_str(), flushPoint + 1); in flushEmittedCode() 757 stoi(StringFragment(sksl.c_str() + tokenStart + 2, i - tokenStart - 2), in flushEmittedCode() 765 String compacted = String(sksl.c_str() + flushPoint + 1, in flushEmittedCode() 767 if (i < sksl.size() - 1) { in flushEmittedCode() 768 compacted += String(sksl.c_str() + i + 1, sksl.size() - i - 1); in flushEmittedCode() 770 sksl = compacted; in flushEmittedCode() 779 if (sksl[i] == ';' || sksl[i] == '{' || sksl[i] == '}') { in flushEmittedCode() [all …]
|
/external/skia/tools/viewer/ |
D | SkSLSlide.cpp | 85 SkString sksl("uniform float3 iResolution;\n" in rebuild() local 88 sksl.append(fSkSL); in rebuild() 99 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(sksl); in rebuild() 105 Viewer::ShaderErrorHandler()->compileError(sksl.c_str(), errorText.c_str()); in rebuild()
|
/external/skia/src/gpu/d3d/ |
D | GrD3DPipelineStateBuilder.cpp | 143 const SkSL::String& sksl, in compileD3DProgram() argument 148 SkSL::String src = GrShaderUtils::PrettyPrint(sksl); in compileD3DProgram() 150 const SkSL::String& src = sksl; in compileD3DProgram() 167 GrShaderUtils::PrintLineByLine(GrShaderUtils::PrettyPrint(sksl)); in compileD3DProgram() 611 SkSL::String* sksl[kGrShaderTypeCount] = { in finalize() local 623 sksl[i] = &cached_sksl[i]; in finalize() 629 shaders[shaderType] = this->compileD3DProgram(kind, *sksl[shaderType], settings, in finalize() 652 hlsl[i] = GrShaderUtils::PrettyPrint(*sksl[i]); in finalize()
|
/external/skia/gm/ |
D | runtimeeffectimage.cpp | 28 SkString sksl(R"( in onOnceBeforeDraw() local 45 auto [effect, error] = SkRuntimeEffect::MakeForShader(sksl); in onOnceBeforeDraw()
|
/external/skia/tests/sksl/ |
D | README.txt | 2 in the /resources/sksl/ directory.
|