Home
last modified time | relevance | path

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

/external/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.js169 RuntimeEffect: { property
1055 CanvasKit.RuntimeEffect.prototype.makeShader = function() {}; class
1056 CanvasKit.RuntimeEffect.prototype.makeShaderWithChildren = function() {};
DCHANGELOG.md16 - `CanvasKit.RuntimeEffect` now supports integer uniforms in the SkSL. These are still passed
17 to `RuntimeEffect.makeShader` as floats (like all other uniforms), and will be converted to
39 - `CanvasKit.rt_effect` to test if the RuntimeEffect code was compiled in.
74 - `CanvasKit.RuntimeEffect.Make` now takes an optional callback function that will be called
76 - `CanvasKit.RuntimeEffect` now exposes uniforms. The number, dimensions, and name of each
77 uniform can be queried, using `RuntimeEffect.getUniformCount`, `RuntimeEffect.getUniform`, and
78 `RuntimeEffect.getUniformName`. The total number of floats across all uniforms (that must be
79 passed to `RuntimeEffect.makeShader`) can be queried with `RuntimeEffect.getUniformFloatCount`.
/external/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);
/external/skia/demos.skia.org/demos/textedit/
Dspiralshader.js27 return CanvasKit.RuntimeEffect.Make(_spiralSkSL);
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts419 readonly RuntimeEffect: RuntimeEffectFactory; property
2524 export interface RuntimeEffect extends EmbindObject<RuntimeEffect> { interface
3288 Make(sksl: string, callback?: (err: string) => void): RuntimeEffect | null;
Dcanvaskit-wasm-tests.ts666 const rt = CK.RuntimeEffect.Make('not real sksl code'); // $ExpectType RuntimeEffect | null
668 const rt2 = CK.RuntimeEffect.Make('not real sksl code', (err) => {
/external/skia/src/sksl/
Dsksl_public.sksl1 // Reduced set of intrinsics that are available to public SkSL (RuntimeEffect and Interpreter)
/external/skia/site/docs/user/modules/
Dcanvaskit.md507 const fact = CanvasKit.RuntimeEffect.Make(prog);
610 const fact = CanvasKit.RuntimeEffect.Make(prog);