Home
last modified time | relevance | path

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

1234

/external/skia/gn/
Dsksl_tests.gni4 # The source of truth is //resources/sksl/BUILD.bazel
8 # Generated by Bazel rule //resources/sksl:sksl_error_tests
13 "errors/ArrayConstructorElementCount.sksl",
15 "errors/ArrayInlinedIndexOutOfRange.sksl",
51 "errors/BadCaps.sksl",
55 "errors/BadModifiers.sksl",
58 "errors/BinaryTypeCoercion.sksl",
63 "errors/BooleanArithmetic.sksl",
67 "errors/CanExitWithoutReturningValue.sksl",
74 "errors/DoTypeMismatch.sksl",
[all …]
Dsksl.gni6 # //include/sksl/BUILD.bazel
11 # //src/sksl/BUILD.bazel
12 # //src/sksl/analysis/BUILD.bazel
13 # //src/sksl/codegen/BUILD.bazel
14 # //src/sksl/dsl/BUILD.bazel
15 # //src/sksl/dsl/priv/BUILD.bazel
16 # //src/sksl/ir/BUILD.bazel
17 # //src/sksl/tracing/BUILD.bazel
18 # //src/sksl/transform/BUILD.bazel
28 # //include/sksl:public_hdrs
[all …]
/external/skia/resources/sksl/
DBUILD.bazel3 ## Tests in sksl_minify_tests_sources will be compiled with sksl-minify, and are expected to
4 ## generate a .minified.sksl file.
11 visibility = ["//tools/sksl-minify:__pkg__"],
126 "blend/BlendClear.sksl",
127 "blend/BlendColor.sksl",
128 "blend/BlendColorBurn.sksl",
129 "blend/BlendColorDodge.sksl",
130 "blend/BlendDarken.sksl",
131 "blend/BlendDifference.sksl",
132 "blend/BlendDst.sksl",
[all …]
/external/skia/src/sksl/
DBUILD.bazel11 "generated/sksl_compute.minified.sksl",
12 "generated/sksl_compute.unoptimized.sksl",
13 "generated/sksl_frag.minified.sksl",
14 "generated/sksl_frag.unoptimized.sksl",
15 "generated/sksl_gpu.minified.sksl",
16 "generated/sksl_gpu.unoptimized.sksl",
17 "generated/sksl_graphite_frag.minified.sksl",
18 "generated/sksl_graphite_frag.unoptimized.sksl",
19 "generated/sksl_graphite_vert.minified.sksl",
20 "generated/sksl_graphite_vert.unoptimized.sksl",
[all …]
/external/skia/
Dpublic.bzl194 "include/sksl/DSLBlock.h",
195 "include/sksl/DSLCase.h",
196 "include/sksl/DSLCore.h",
197 "include/sksl/DSLExpression.h",
198 "include/sksl/DSLFunction.h",
199 "include/sksl/DSL.h",
200 "include/sksl/DSLLayout.h",
201 "include/sksl/DSLModifiers.h",
202 "include/sksl/DSLStatement.h",
203 "include/sksl/DSLType.h",
[all …]
DAndroid.bp785 "src/sksl/SkSLAnalysis.cpp",
786 "src/sksl/SkSLBuiltinTypes.cpp",
787 "src/sksl/SkSLCompiler.cpp",
788 "src/sksl/SkSLConstantFolder.cpp",
789 "src/sksl/SkSLContext.cpp",
790 "src/sksl/SkSLErrorReporter.cpp",
791 "src/sksl/SkSLInliner.cpp",
792 "src/sksl/SkSLIntrinsicList.cpp",
793 "src/sksl/SkSLLexer.cpp",
794 "src/sksl/SkSLMangler.cpp",
[all …]
DBUILD.gn614 "src/sksl/lex/DFA.h",
615 "src/sksl/lex/DFAState.h",
616 "src/sksl/lex/LexUtil.h",
617 "src/sksl/lex/Main.cpp",
618 "src/sksl/lex/NFA.cpp",
619 "src/sksl/lex/NFA.h",
620 "src/sksl/lex/NFAState.h",
621 "src/sksl/lex/NFAtoDFA.h",
622 "src/sksl/lex/RegexNode.cpp",
623 "src/sksl/lex/RegexNode.h",
[all …]
/external/skia/tools/skslc/
DBUILD.bazel29 visibility = ["//tools/sksl-minify:__pkg__"],
36 "//resources/sksl:sksl_glsl_settings_tests_sources",
37 "//resources/sksl:sksl_glsl_tests_sources",
51 inputs = "//resources/sksl:sksl_glsl_settings_tests_sources",
58 inputs = "//resources/sksl:sksl_metal_tests_sources",
64 inputs = "//resources/sksl:sksl_skrp_tests_sources",
70 inputs = "//resources/sksl:sksl_skvm_tests_sources",
76 inputs = "//resources/sksl:sksl_stage_tests_sources",
82 inputs = "//resources/sksl:sksl_spirv_tests_sources",
88 inputs = "//resources/sksl:sksl_hlsl_tests_sources",
[all …]
/external/skia/src/sksl/tracing/
DBUILD.bazel7 # In own group for exporting to sksl.gni:skia_sksl_tracing_sources.
11 "//src/sksl:enable_sksl_tracing_true": ["SkVMDebugTracePlayer.cpp"],
12 "//src/sksl:enable_sksl_tracing_false": [],
16 # In own group for exporting to sksl.gni:skia_sksl_tracing_sources.
20 "//src/sksl:enable_sksl_tracing_true": ["SkVMDebugTracePlayer.h"],
21 "//src/sksl:enable_sksl_tracing_false": [],
32 visibility = ["//src/sksl:__pkg__"],
43 visibility = ["//src/sksl:__pkg__"],
/external/skia/tools/sksl-minify/
DBUILD.bazel8 # Run these py_binary rules like bazel run //tools/sksl-minify:minify_srcs
16 "//src/sksl:sksl_srcs",
30 "//resources/sksl:sksl_minify_tests_sources",
62 # bazel-out/k8-opt-exec-81C6BA4F/bin/tools/sksl-minify/sksl_minify
66 sksl_minify_exe = os.path.abspath("$(execpath //tools/sksl-minify:sksl_minify)")
72 "src/sksl/generated",
73 ] + glob.glob("src/sksl/*.sksl"), encoding="utf-8"))
100 # bazel-out/k8-opt-exec-81C6BA4F/bin/tools/sksl-minify/sksl_minify
104 sksl_minify_exe = os.path.abspath("$(execpath //tools/sksl-minify:sksl_minify)")
111 "src/sksl/sksl_shared.sksl",
[all …]
/external/skia/src/core/
DSkRuntimeEffectPriv.h96 SkRuntimeEffect::Result (*make)(SkString sksl, const SkRuntimeEffect::Options&),
97 SkString sksl);
101 const char* sksl) { in SkMakeCachedRuntimeEffect() argument
102 return SkMakeCachedRuntimeEffect(make, SkString{sksl}); in SkMakeCachedRuntimeEffect()
110 const char* sksl,
115 if (SkStrContains(sksl, "//") || SkStrContains(sksl, " ")) {
116 SkDEBUGFAILF("Found SkSL snippet that can be minified: \n %s\n", sksl);
120 auto result = make(SkString{sksl}, options);
/external/skia/src/sksl/codegen/
DBUILD.bazel44 "//src/sksl:use_sksl_gpu_srcs": [":gpu_srcs"],
47 visibility = ["//src/sksl:__pkg__"],
57 "//src/sksl:use_sksl_gpu_srcs": [":gpu_hdrs"],
60 visibility = ["//src/sksl:__pkg__"],
65 visibility = ["//src/sksl:__pkg__"],
67 "//src/sksl:use_sksl_gpu_srcs": ["@spirv_cross"],
/external/skia/src/gpu/ganesh/gl/builders/
DGrGLShaderStringBuilder.cpp24 const std::string& sksl, in GrSkSLtoGLSL() argument
31 std::string src = SkShaderUtils::PrettyPrint(sksl); in GrSkSLtoGLSL()
33 const std::string& src = sksl; in GrSkSLtoGLSL()
45 SkShaderUtils::PrintLineByLine(SkShaderUtils::PrettyPrint(sksl)); in GrSkSLtoGLSL()
110 const std::string* sksl[kGrShaderTypeCount], in GrGLCheckLinkStatus()
118 if (sksl) { in GrGLCheckLinkStatus()
121 sksl[kVertex_GrShaderType]->c_str(), in GrGLCheckLinkStatus()
122 sksl[kFragment_GrShaderType]->c_str()); in GrGLCheckLinkStatus()
DGrGLProgramBuilder.cpp242 const std::string* sksl[kGrShaderTypeCount] = { in finalize() local
301 sksl[i] = &cached_sksl[i]; in finalize()
329 *sksl[kFragment_GrShaderType], in finalize()
354 *sksl[kVertex_GrShaderType], in finalize()
377 if (!GrGLCheckLinkStatus(fGpu, programID, errorHandler, sksl, glsl)) { in finalize()
394 glsl[i] = SkShaderUtils::PrettyPrint(*sksl[i]); in finalize()
472 auto compileShader = [&](SkSL::ProgramKind kind, const std::string& sksl, GrGLenum type) { in PrecompileProgram() argument
474 auto program = GrSkSLtoGLSL(glGpu, kind, sksl, settings, &glsl, errorHandler); in PrecompileProgram()
/external/skia/src/gpu/graphite/
DContextUtils.cpp306 std::string sksl = in GetSkSLVS() local
313 sksl += emit_attributes(step->vertexAttributes(), step->instanceAttributes()); in GetSkSLVS()
320 sksl += EmitRenderStepUniforms( in GetSkSLVS()
325 sksl += EmitVaryings(step, "out", defineShadingSsboIndexVarying, defineLocalCoordsVarying); in GetSkSLVS()
328 sksl += "void main() {"; in GetSkSLVS()
330 sksl += "float2 stepLocalCoords = float2(0);"; in GetSkSLVS()
332 sksl += step->vertexSkSL(); in GetSkSLVS()
333 sksl += "sk_Position = float4(devPosition.xy * rtAdjust.xy + devPosition.ww * rtAdjust.zw," in GetSkSLVS()
338 SkSL::String::appendf(&sksl, "shadingSsboIndexVar = %s;", step->ssboIndex()); in GetSkSLVS()
343 sksl += "localCoordsVar = stepLocalCoords;"; in GetSkSLVS()
[all …]
/external/skia/src/sksl/dsl/
DBUILD.bazel19 "//src/sksl/dsl/priv:srcs",
21 visibility = ["//src/sksl:__pkg__"],
27 "//src/sksl/dsl/priv:private_hdrs",
29 visibility = ["//src/sksl:__pkg__"],
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNativeRuntimeShader.java131 protected void __constructor__(String sksl) { in __constructor__() argument
138 sksl = RIPPLE_SHADER_31; in __constructor__()
144 RuntimeShader.class, runtimeShader, ClassParameter.from(String.class, sksl)); in __constructor__()
153 protected static long nativeCreateBuilder(String sksl) { in nativeCreateBuilder() argument
155 return RuntimeShaderNatives.nativeCreateBuilder(sksl); in nativeCreateBuilder()
/external/skia/src/utils/
DBUILD.bazel8 # In own group for exporting to sksl.gni:skslc_deps.
99 "//src/sksl:enable_sksl_tracing_true",
110 name = "sksl",
130 "//src/sksl:needs_sksl": [":sksl_srcs"],
146 "//src/sksl:needs_sksl": [":sksl_hdrs"],
/external/skia/include/effects/
DSkRuntimeEffect.h164 static Result MakeForColorFilter(SkString sksl, const Options&);
165 static Result MakeForColorFilter(SkString sksl) { in MakeForColorFilter() argument
166 return MakeForColorFilter(std::move(sksl), Options{}); in MakeForColorFilter()
171 static Result MakeForShader(SkString sksl, const Options&);
172 static Result MakeForShader(SkString sksl) { in MakeForShader() argument
173 return MakeForShader(std::move(sksl), Options{}); in MakeForShader()
178 static Result MakeForBlender(SkString sksl, const Options&);
179 static Result MakeForBlender(SkString sksl) { in MakeForBlender() argument
180 return MakeForBlender(std::move(sksl), Options{}); in MakeForBlender()
297 static Result MakeFromSource(SkString sksl, const Options& options, SkSL::ProgramKind kind);
/external/skia/platform_tools/android/apps/jetski/src/main/java/org/skia/jetski/
DRuntimeShaderBuilder.java15 public RuntimeShaderBuilder(String sksl) { in RuntimeShaderBuilder() argument
16 mNativeInstance = nCreate(sksl); in RuntimeShaderBuilder()
49 private static native long nCreate(String sksl); in nCreate() argument
/external/skia/src/
DBUILD.bazel37 "//src/sksl:needs_sksl": ["//src/sksl:srcs"],
83 "//src/sksl:needs_sksl": ["//src/sksl:private_hdrs"],
117 "//src/sksl:needs_sksl": ["//src/sksl:deps"],
/external/skia/platform_tools/android/apps/jetskidemo/src/main/java/org/skia/jetskidemo/samples/
DRuntimeSample.java23 String sksl = ""; in RuntimeSample() local
29 sksl = new String(data); in RuntimeSample()
32 mShaderBuilder = new RuntimeShaderBuilder(sksl); in RuntimeSample()
/external/skia/src/gpu/graphite/dawn/
DDawnUtils.cpp99 const std::string& sksl, in SkSLToSPIRV() argument
106 std::string src = SkShaderUtils::PrettyPrint(sksl); in SkSLToSPIRV()
108 const std::string& src = sksl; in SkSLToSPIRV()
121 SkShaderUtils::PrintLineByLine(SkShaderUtils::PrettyPrint(sksl)); in SkSLToSPIRV()
/external/skia/src/gpu/ganesh/vk/
DGrVkPipelineStateBuilder.cpp72 const std::string& sksl, in createVkShaderModule() argument
78 if (!GrCompileVkShaderModule(fGpu, sksl, stage, shaderModule, in createVkShaderModule()
226 std::string* sksl[kGrShaderTypeCount] = { in finalize() local
235 sksl[i] = &cached_sksl[i]; in finalize()
241 *sksl[kVertex_GrShaderType], in finalize()
249 *sksl[kFragment_GrShaderType], in finalize()
271 shaders[i] = SkShaderUtils::PrettyPrint(*sksl[i]); in finalize()
/external/skia/src/gpu/graphite/mtl/
DMtlUtils.mm18 #include "src/sksl/SkSLCompiler.h"
19 #include "src/sksl/SkSLProgramSettings.h"
112 const std::string& sksl,
119 std::string src = SkShaderUtils::PrettyPrint(sksl);
121 const std::string& src = sksl;
135 SkShaderUtils::PrintLineByLine(SkShaderUtils::PrettyPrint(sksl));

1234