Home
last modified time | relevance | path

Searched refs:Float32Array (Results 1 – 25 of 48) sorted by relevance

12

/external/skia/modules/canvaskit/htmlcanvas/
Dcolor.js11 'aliceblue': Float32Array.of(0.941, 0.973, 1.000, 1.000),
12 'antiquewhite': Float32Array.of(0.980, 0.922, 0.843, 1.000),
13 'aqua': Float32Array.of(0.000, 1.000, 1.000, 1.000),
14 'aquamarine': Float32Array.of(0.498, 1.000, 0.831, 1.000),
15 'azure': Float32Array.of(0.941, 1.000, 1.000, 1.000),
16 'beige': Float32Array.of(0.961, 0.961, 0.863, 1.000),
17 'bisque': Float32Array.of(1.000, 0.894, 0.769, 1.000),
18 'black': Float32Array.of(0.000, 0.000, 0.000, 1.000),
19 'blanchedalmond': Float32Array.of(1.000, 0.922, 0.804, 1.000),
20 'blue': Float32Array.of(0.000, 0.000, 1.000, 1.000),
[all …]
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts371 colors?: Float32Array | ColorIntArray | null, indices?: number[] | null,
675 positions: Float32Array; // alternating x0, y0, x1, y1, ...
950 uniforms(): Float32Array;
1488 bytesPerRow?: number): Uint8Array | Float32Array | null;
1639 output?: Float32Array): Float32Array;
1660 output?: Float32Array): Float32Array;
1852 bytesPerRow?: number): Uint8Array | Float32Array | null;
2531 makeShader(uniforms: Float32Array | number[], isOpaque?: boolean,
2541 makeShaderWithChildren(uniforms: Float32Array | number[], isOpaque?: boolean,
3570 export type PosTan = Float32Array;
[all …]
Dcanvaskit-wasm-tests.ts87 const someMatrix = CK.Malloc(Float32Array, 16); // Make sure matrixes can be malloc'd.
146 const mallocedVector3 = CK.Malloc(Float32Array, 3);
375 const mallocedVector3 = CK.Malloc(Float32Array, 3);
423 const points = CK.Malloc(Float32Array, 10);
600 const mFoo = CK.Malloc(Float32Array, 5);
721 Float32Array.of(
731 Float32Array.of(
744 Float32Array.of(
754 Float32Array.of(
768 Float32Array.of(
[all …]
/external/skia/modules/canvaskit/tests/
Dcore.spec.js58 expect(new Float32Array(out.ambient)).toEqual(CanvasKit.BLACK);
68 const ambientColor = CanvasKit.Malloc(Float32Array, 4);
70 const spotColor = CanvasKit.Malloc(Float32Array, 4);
77 expect(new Float32Array(out.ambient)).toEqual(CanvasKit.BLACK);
386 const positions = new Float32Array(256*2);
529 Float32Array.of(...transparentGreen, ...CanvasKit.BLUE, ...CanvasKit.RED),
540 const colors = CanvasKit.Malloc(Float32Array, 12);
961 expect(CanvasKit.TRANSPARENT).toEqual(Float32Array.of(0, 0, 0, 0));
962 expect(CanvasKit.RED).toEqual(Float32Array.of(1, 0, 0, 1));
974 expect(paint.getColor()).toEqual(Float32Array.of(3.3, 2.2, 1.1, 0.5));
[all …]
Dpath.spec.js122 const mPoints = CanvasKit.Malloc(Float32Array, 18);
123 const mWeights = CanvasKit.Malloc(Float32Array, 1);
194 const mPoints = CanvasKit.Malloc(Float32Array, 18);
195 const mWeights = CanvasKit.Malloc(Float32Array, 1);
313 const bounds = new Float32Array(4);
438 const pointsObj = CanvasKit.Malloc(Float32Array, 6 * 2);
Dskottie.spec.js45 expectArrayCloseTo(size, Float32Array.of(800, 600), 4);
53 const damageRect = Float32Array.of(0, 0, 0, 0, 999);
58 expectArrayCloseTo(damageRect, Float32Array.of(0, 0, 800, 600, 999), 4);
Dcanvas.spec.js206 const rrect = CanvasKit.Malloc(Float32Array, 12);
368 const colorObj = new CanvasKit.Malloc(Float32Array, 20);
578 const mPointsObj = CanvasKit.Malloc(Float32Array, 3*2);
605 const points = Float32Array.of(40, 40, 80, 40, 120, 80, 160, 80);
712 const colors = Float32Array.of(...CanvasKit.RED, ...CanvasKit.BLUE,
762 const garbageMatrix = new Float32Array(16);
796 const garbageMatrix = new Float32Array(16);
/external/skia/tools/perf-canvaskit-puppeteer/
Dbenchmark.js41 const totalFrame = new Float32Array(maxFrames);
42 const withFlush = new Float32Array(maxFrames);
43 const withoutFlush = new Float32Array(maxFrames);
/external/skia/modules/canvaskit/
Dcolor.js39 return Float32Array.of(r, g, b, a);
147 return (ob.constructor === Float32Array && ob.length === 4);
157 if (arr instanceof Float32Array) {
166 } else if (arr instanceof Array && arr[0] instanceof Float32Array) {
Dfont.js26 var rects = new Float32Array(CanvasKit.HEAPU8.buffer, rectPtr, glyphs.length * 4);
33 var rv = Float32Array.from(rects);
79 var widths = new Float32Array(CanvasKit.HEAPU8.buffer, widthPtr, glyphs.length);
86 var rv = Float32Array.from(widths);
163 var xycs = new Float32Array(4);
Dparticles.js63 return new Float32Array();
65 return new Float32Array(CanvasKit.HEAPU8.buffer, fptr, numFloats);
Dinterface.js11 _scratchColor = CanvasKit.Malloc(Float32Array, 4); // 4 color scalars.
14 _scratch4x4Matrix = CanvasKit.Malloc(Float32Array, 16); // 16 matrix scalars.
17 _scratch3x3Matrix = CanvasKit.Malloc(Float32Array, 9); // 9 matrix scalars.
20 _scratchRRect = CanvasKit.Malloc(Float32Array, 12); // 4 scalars for rrect, 8 for radii.
23 _scratchRRect2 = CanvasKit.Malloc(Float32Array, 12); // 4 scalars for rrect, 8 for radii.
26 _scratchFourFloatsA = CanvasKit.Malloc(Float32Array, 4);
29 _scratchFourFloatsB = CanvasKit.Malloc(Float32Array, 4);
32 _scratchThreeFloatsA = CanvasKit.Malloc(Float32Array, 3); // 3 floats to represent SkVector3
35 _scratchThreeFloatsB = CanvasKit.Malloc(Float32Array, 3); // 3 floats to represent SkVector3
433 retVal = new Float32Array(CanvasKit.HEAPU8.buffer, pPtr, pBytes).slice();
[all …]
Dmemory.js155 if (colors instanceof Float32Array) {
189 var defaultPerspective = Float32Array.of(0, 0, 1);
353 var rv = new Float32Array(4);
DWasmCommon.h26 using Float32Array = emscripten::val; variable
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js171 var vertices = new Float32Array(
181 var normals = new Float32Array(
192 var texCoords = new Float32Array(
301 ctx.bufferData(ctx.ARRAY_BUFFER, new Float32Array(normalData), ctx.STATIC_DRAW);
305 ctx.bufferData(ctx.ARRAY_BUFFER, new Float32Array(texCoordData), ctx.STATIC_DRAW);
309 ctx.bufferData(ctx.ARRAY_BUFFER, new Float32Array(geometryData), ctx.STATIC_DRAW);
497 obj.ctx.bufferData(obj.ctx.ARRAY_BUFFER, new Float32Array(normalArray), obj.ctx.STATIC_DRAW);
501 obj.ctx.bufferData(obj.ctx.ARRAY_BUFFER, new Float32Array(textureArray), obj.ctx.STATIC_DRAW);
505 obj.ctx.bufferData(obj.ctx.ARRAY_BUFFER, new Float32Array(vertexArray), obj.ctx.STATIC_DRAW);
/external/skia/experimental/tskit/bindings/
Dpublic_api.d.ts37 export type InputFlattenedRectArray = Float32Array | number[];
38 export type TypedArray = Float32Array | Int32Array;
Dembind.d.ts8 HEAPF32: Float32Array;
/external/adhd/scripts/mic_testing/frontend/
Drecorder.js24 var tmpLeft = new Float32Array(length);
25 var tmpRight = new Float32Array(length);
264 var buffer = new Float32Array(endIdx - startIdx);
278 var result = new Float32Array(recLength);
295 var result = new Float32Array(length);
Danalysis.js33 var tmpBuffer = new Float32Array(length);
369 this.spectrum = new Float32Array(bufferSize/2);
370 this.real = new Float32Array(bufferSize);
371 this.imag = new Float32Array(bufferSize);
374 this.sinTable = new Float32Array(bufferSize);
375 this.cosTable = new Float32Array(bufferSize);
/external/skia/experimental/tskit/npm_build/types/
Dindex.d.ts83 export type InputFlattenedRectArray = Float32Array | number[];
/external/deqp-deps/SPIRV-Tools/tools/sva/src/
Dassembler.js82 let f = new Float32Array(b);
/external/swiftshader/third_party/SPIRV-Tools/tools/sva/src/
Dassembler.js82 let f = new Float32Array(b);
/external/angle/third_party/vulkan-deps/spirv-tools/src/tools/sva/src/
Dassembler.js82 let f = new Float32Array(b);
/external/skia/modules/pathkit/
Dhelper.js39 ta = new Float32Array(len);
/external/skqp/modules/pathkit/
Dhelper.js39 ta = new Float32Array(len);

12