Home
last modified time | relevance | path

Searched refs:RuntimeEffect (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/modules/canvaskit/
Drt_shader.js7 CanvasKit.RuntimeEffect.Make = function(sksl, errorCallback) {
15 return CanvasKit.RuntimeEffect._Make(sksl, callbackObj);
18 CanvasKit.RuntimeEffect.prototype.makeShader = function(floats, isOpaque, localMatrix) {
28 …CanvasKit.RuntimeEffect.prototype.makeShaderWithChildren = function(floats, isOpaque, childrenShad…
Dexterns.js173 RuntimeEffect: { property
1059 CanvasKit.RuntimeEffect.prototype.makeShader = function() {}; class
1060 CanvasKit.RuntimeEffect.prototype.makeShaderWithChildren = function() {};
DCHANGELOG.md97 - `CanvasKit.Shader.MakeLerp`, the same effect can be easily generated with `RuntimeEffect`
123 - `CanvasKit.RuntimeEffect` now supports integer uniforms in the SkSL. These are still passed
124 to `RuntimeEffect.makeShader` as floats (like all other uniforms), and will be converted to
146 - `CanvasKit.rt_effect` to test if the RuntimeEffect code was compiled in.
181 - `CanvasKit.RuntimeEffect.Make` now takes an optional callback function that will be called
183 - `CanvasKit.RuntimeEffect` now exposes uniforms. The number, dimensions, and name of each
184 uniform can be queried, using `RuntimeEffect.getUniformCount`, `RuntimeEffect.getUniform`, and
185 `RuntimeEffect.getUniformName`. The total number of floats across all uniforms (that must be
186 passed to `RuntimeEffect.makeShader`) can be queried with `RuntimeEffect.getUniformFloatCount`.
/third_party/skia/modules/canvaskit/tests/
Drtshader.spec.js43 const spiral = CanvasKit.RuntimeEffect.Make(spiralSkSL);
92 const spiral = CanvasKit.RuntimeEffect.Make(`invalid sksl code, I hope`, (e) => {
137 const thresholdEffect = CanvasKit.RuntimeEffect.Make(thresholdSkSL);
139 const spiralEffect = CanvasKit.RuntimeEffect.Make(spiralSkSL);
/third_party/skia/demos.skia.org/demos/textedit/
Dspiralshader.js27 return CanvasKit.RuntimeEffect.Make(_spiralSkSL);
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts414 readonly RuntimeEffect: RuntimeEffectFactory; property
2534 export interface RuntimeEffect extends EmbindObject<RuntimeEffect> { interface
3350 Make(sksl: string, callback?: (err: string) => void): RuntimeEffect | null;
Dcanvaskit-wasm-tests.ts672 const rt = CK.RuntimeEffect.Make('not real sksl code'); // $ExpectType RuntimeEffect | null
674 const rt2 = CK.RuntimeEffect.Make('not real sksl code', (err) => {
/third_party/skia/site/docs/user/modules/
Dcanvaskit.md475 const fact = CanvasKit.RuntimeEffect.Make(prog);
576 const fact = CanvasKit.RuntimeEffect.Make(prog);
/third_party/skia/src/sksl/
Dsksl_public.sksl1 // Reduced set of intrinsics that are available to public SkSL (RuntimeEffect and Interpreter)