Home
last modified time | relevance | path

Searched refs:program (Results 1 – 25 of 123) sorted by relevance

12345

/expo/packages/expo-processing/
H A Dindex.js32 gl.getUniformLocation = (program, name) => { argument
33 if (!program.uniformLocationCache) {
34 program.uniformLocationCache = {};
36 let loc = program.uniformLocationCache[name];
40 loc = origGetUniformLocation.call(gl, program, name);
41 program.uniformLocationCache[name] = loc;
46 gl.getAttribLocation = (program, name) => { argument
47 if (!program.attribLocationCache) {
48 program.attribLocationCache = {};
50 let loc = program.attribLocationCache[name];
[all …]
/expo/packages/expo-test-runner/src/
H A Dindex.ts6 const program = commander.version('0.0.1'); constant
7 [CreateProject, RunTest].forEach((command) => command(program));
9 program.parse(process.argv);
/expo/apps/test-suite/tests/
H A DGLView.js106 const program = gl.createProgram();
107 gl.attachShader(program, vert);
108 gl.attachShader(program, frag);
109 gl.linkProgram(program);
110 gl.useProgram(program);
128 gl.uniform1i(gl.getUniformLocation(program, 'texture'), 0);
147 const program = gl.createProgram();
148 gl.attachShader(program, vert);
149 gl.attachShader(program, frag);
150 gl.linkProgram(program);
[all …]
/expo/tools/bin/
H A Dexpotools.js128 function loadCommand(program, commandFile) { argument
137 commandModule.default(program);
141 const program = require('@expo/commander');
150 loadCommand(program, commandFile);
153 callback(commandFile, program);
161 await loadAllCommandsAsync((commandFile, program) => {
162 for (const command of program.commands) {
228 const program = require('@expo/commander');
269 loadCommand(program, commandFilePath);
273 program.parse(process.argv);
[all …]
/expo/packages/expo-test-runner/build/
H A Dindex.js9 const program = commander_1.default.version('0.0.1'); constant
10 [CreateProject_1.default, RunTest_1.default].forEach((command) => command(program));
11 program.parse(process.argv);
/expo/apps/native-component-list/src/screens/GL/
H A DGLMaskScreen.tsx69 // Link together into a program
70 const program = gl.createProgram()!;
71 gl.attachShader(program, vert);
72 gl.attachShader(program, frag);
73 gl.linkProgram(program);
76 const positionAttrib = gl.getAttribLocation(program, 'position');
93 // Bind buffer, program and position attribute for use
95 gl.useProgram(program);
H A DBasicTextureScreen.tsx32 const program = gl.createProgram()!;
33 gl.attachShader(program, vert);
34 gl.attachShader(program, frag);
35 gl.linkProgram(program);
36 gl.useProgram(program);
42 const positionAttrib = gl.getAttribLocation(program, 'position');
54 gl.uniform1i(gl.getUniformLocation(program, 'texture'), 0);
H A DGLCameraScreen.tsx79 // Link, use program, save and enable attributes
80 const program = gl.createProgram()!;
81 gl.attachShader(program, vertShader);
82 gl.attachShader(program, fragShader);
83 gl.linkProgram(program);
84 gl.validateProgram(program);
86 gl.useProgram(program);
88 const positionAttrib = gl.getAttribLocation(program, 'position');
101 gl.uniform1i(gl.getUniformLocation(program, 'cameraTexture'), 0);
H A DWebGL2TransformFeedbackScreen.tsx82 const program = gl.createProgram()!;
83 gl.attachShader(program, vert);
84 gl.attachShader(program, frag);
89 // Get varyings and link program
91 gl.transformFeedbackVaryings(program, varyings, gl.SEPARATE_ATTRIBS);
92 gl.linkProgram(program);
94 // Get uniform locations for the draw program
95 const drawTimeLocation = gl.getUniformLocation(program, 'u_time');
96 const drawAccelerationLocation = gl.getUniformLocation(program, 'u_acceleration');
97 const drawColorLocation = gl.getUniformLocation(program, 'u_color');
[all …]
H A DGLHeadlessRenderingScreen.tsx54 // Link, use program, save and enable attributes
55 const program = gl.createProgram()!;
56 gl.attachShader(program, vertShader);
57 gl.attachShader(program, fragShader);
58 gl.linkProgram(program);
59 gl.validateProgram(program);
61 gl.useProgram(program);
63 contrastLocation = gl.getUniformLocation(program, 'contrast');
77 const positionAttrib = gl.getAttribLocation(program, 'position');
120 gl.uniform1i(gl.getUniformLocation(program, 'inputImageTexture'), 1);
H A DGLReanimatedExample.tsx57 const program = gl.createProgram()!;
58 gl.attachShader(program, vert);
59 gl.attachShader(program, frag);
60 gl.linkProgram(program);
61 gl.useProgram(program);
66 const positionAttrib = gl.getAttribLocation(program, 'a_position');
79 const textureLocation = gl.getUniformLocation(program, 'u_texture');
80 const rotationLocation = gl.getUniformLocation(program, 'u_translate')!;
H A DGLViewOnBusyThread.tsx35 const program = gl.createProgram()!;
36 gl.attachShader(program, vert);
37 gl.attachShader(program, frag);
38 gl.linkProgram(program);
39 gl.useProgram(program);
45 const positionAttrib = gl.getAttribLocation(program, 'position');
57 gl.uniform1i(gl.getUniformLocation(program, 'texture'), 0);
/expo/packages/@expo/config-types/scripts/
H A Dgenerate.ts14 const program = new Command(packageJSON.name) constant
38 if (program.path && typeof program.path === 'string') {
39 const filePath = path.resolve(program.path.trim());
/expo/tools/src/commands/
H A DCodeReviewCommand.ts25 export default (program: Command) => {
26 program
H A DUpdateNativeDependencies.ts29 export default (program: Command) => {
30 program
H A DNativeUnitTests.ts42 export default (program: any) => {
43 program
H A DPromotePackages.ts8 export default (program: Command) => {
9 program
H A DUpdateReactNative.ts41 export default (program: Command) => {
42 program
H A DAndroidGenerateDynamicMacros.ts27 export default (program: Command) => {
28 program
H A DPackagesDependencyGraphCommand.ts34 export default (program: Command) => {
35 program
H A DCheckPackages.ts11 export default (program: Command) => {
12 program
H A DIosGenerateDynamicMacros.ts34 export default (program: Command) => {
35 program
H A DPodInstallCommand.ts61 export default (program: Command) => {
62 program
/expo/packages/expo-test-runner/src/commands/
H A DCreateProject.ts26 export default (program: CommanderStatic) => {
27 registerCommand(program, 'create-project', createProjectAsync).option(
/expo/packages/expo-test-runner/build/commands/
H A DCreateProject.js21 exports.default = (program) => { argument
22 …(0, registerCommand_1.registerCommand)(program, 'create-project', createProjectAsync).option('-a, …

12345