Searched refs:RuntimeEffect (Results 1 – 9 of 9) sorted by relevance
/external/skia/modules/canvaskit/ |
D | rt_shader.js | 7 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…
|
D | externs.js | 169 RuntimeEffect: { property 1055 CanvasKit.RuntimeEffect.prototype.makeShader = function() {}; class 1056 CanvasKit.RuntimeEffect.prototype.makeShaderWithChildren = function() {};
|
D | CHANGELOG.md | 16 - `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/ |
D | rtshader.spec.js | 43 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/ |
D | spiralshader.js | 27 return CanvasKit.RuntimeEffect.Make(_spiralSkSL);
|
/external/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 419 readonly RuntimeEffect: RuntimeEffectFactory; property 2524 export interface RuntimeEffect extends EmbindObject<RuntimeEffect> { interface 3288 Make(sksl: string, callback?: (err: string) => void): RuntimeEffect | null;
|
D | canvaskit-wasm-tests.ts | 666 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/ |
D | sksl_public.sksl | 1 // Reduced set of intrinsics that are available to public SkSL (RuntimeEffect and Interpreter)
|
/external/skia/site/docs/user/modules/ |
D | canvaskit.md | 507 const fact = CanvasKit.RuntimeEffect.Make(prog); 610 const fact = CanvasKit.RuntimeEffect.Make(prog);
|