/frameworks/native/opengl/tests/gl_perfapp/jni/ |
gl_code.cpp | 36 int pgm; variable
|
/hardware/libhardware/tests/hwc/ |
test-arrows.c | 44 static GLuint pgm; variable 98 pgm = load_program(gVertexShader, gFragmentShader); 99 if (!pgm) 102 aPosition = glGetAttribLocation(pgm, "aPosition"); 103 uTexture = glGetUniformLocation(pgm, "uTexture"); 104 uTransform = glGetUniformLocation(pgm, "uTransform"); 105 uAnim = glGetUniformLocation(pgm, "uAnim"); 131 glUseProgram(pgm);
|
/frameworks/rs/driver/ |
rsdShaderCache.cpp | 141 GLuint pgm = e->program; local 142 glAttachShader(pgm, vID); 144 glAttachShader(pgm, fID); 146 glBindAttribLocation(pgm, 0, "ATTRIB_position"); 147 glBindAttribLocation(pgm, 1, "ATTRIB_color"); 148 glBindAttribLocation(pgm, 2, "ATTRIB_normal"); 149 glBindAttribLocation(pgm, 3, "ATTRIB_texture0"); 152 glLinkProgram(pgm); 155 glGetProgramiv(pgm, GL_LINK_STATUS, &linkStatus); 158 glGetProgramiv(pgm, GL_INFO_LOG_LENGTH, &bufLength) [all...] |
/frameworks/native/opengl/tests/gl_perf/ |
fill_common.cpp | 191 static void randUniform(int pgm, const char *var) { 192 GLint loc = glGetUniformLocation(pgm, var); 202 static void doLoop(bool warmup, int pgm, uint32_t passCount) { 214 GLint loc = glGetUniformLocation(pgm, "u_texOff"); 217 randUniform(pgm, "u_color"); 218 randUniform(pgm, "u_0"); 219 randUniform(pgm, "u_1"); 220 randUniform(pgm, "u_2"); 221 randUniform(pgm, "u_3"); 269 int pgm = createProgram(gVertexShader, pgmTxt) local [all...] |
/external/tcpdump/ |
print-pgm.c | 18 "@(#) $Header: /tcpdump/master/tcpdump/print-pgm.c,v 1.1.2.5 2005/06/07 22:06:16 guy Exp $"; 42 * PGM header (RFC 3208) 152 register const struct pgm_header *pgm; local 168 pgm = (struct pgm_header *)bp; 182 if (!TTEST(pgm->pgm_dport)) { 185 (void)printf("%s > %s: [|pgm]", 192 (void)printf("%s > %s: [|pgm]", 199 sport = EXTRACT_16BITS(&pgm->pgm_sport); 200 dport = EXTRACT_16BITS(&pgm->pgm_dport); 229 TCHECK(*pgm); [all...] |
/prebuilts/sdk/renderscript/lib/ |
javalib.jar | |