| /expo/packages/expo-processing/ |
| H A D | index.js | 32 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 D | index.ts | 6 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 D | GLView.js | 106 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 D | expotools.js | 128 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 D | index.js | 9 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 D | GLMaskScreen.tsx | 69 // 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 D | BasicTextureScreen.tsx | 32 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 D | GLCameraScreen.tsx | 79 // 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 D | WebGL2TransformFeedbackScreen.tsx | 82 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 D | GLHeadlessRenderingScreen.tsx | 54 // 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 D | GLReanimatedExample.tsx | 57 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 D | GLViewOnBusyThread.tsx | 35 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 D | generate.ts | 14 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 D | CodeReviewCommand.ts | 25 export default (program: Command) => { 26 program
|
| H A D | UpdateNativeDependencies.ts | 29 export default (program: Command) => { 30 program
|
| H A D | NativeUnitTests.ts | 42 export default (program: any) => { 43 program
|
| H A D | PromotePackages.ts | 8 export default (program: Command) => { 9 program
|
| H A D | UpdateReactNative.ts | 41 export default (program: Command) => { 42 program
|
| H A D | AndroidGenerateDynamicMacros.ts | 27 export default (program: Command) => { 28 program
|
| H A D | PackagesDependencyGraphCommand.ts | 34 export default (program: Command) => { 35 program
|
| H A D | CheckPackages.ts | 11 export default (program: Command) => { 12 program
|
| H A D | IosGenerateDynamicMacros.ts | 34 export default (program: Command) => { 35 program
|
| H A D | PodInstallCommand.ts | 61 export default (program: Command) => { 62 program
|
| /expo/packages/expo-test-runner/src/commands/ |
| H A D | CreateProject.ts | 26 export default (program: CommanderStatic) => { 27 registerCommand(program, 'create-project', createProjectAsync).option(
|
| /expo/packages/expo-test-runner/build/commands/ |
| H A D | CreateProject.js | 21 exports.default = (program) => { argument 22 …(0, registerCommand_1.registerCommand)(program, 'create-project', createProjectAsync).option('-a, …
|