Searched refs:Uniforms (Results 1 - 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/program/
H A Dprog_uniform.h64 GLuint Size; /**< allocated size of Uniforms array */
68 struct gl_uniform *Uniforms; /**< Array [Size] */ member in struct:gl_uniform_list
/external/mesa3d/src/pixelflinger2/
H A Dshader.cpp271 ALOGD("slots: attribute=%d varying=%d uniforms=%d \n", program->AttributeSlots, program->VaryingSlots, program->Uniforms->Slots);
280 for (unsigned i = 0; i < program->Uniforms->NumUniforms; i++) {
281 const gl_uniform & uniform = program->Uniforms->Uniforms[i];
707 *params = program->Uniforms->Slots;
761 for (unsigned i = 0; i < program->Uniforms->NumUniforms; i++)
762 if (!strcmp(program->Uniforms->Uniforms[i].Name, name))
769 assert(0 <= location && program->Uniforms->NumUniforms > location);
770 int index = program->Uniforms
[all...]
/external/mesa3d/src/glsl/
H A Dlinker.cpp1110 ul->Uniforms = (gl_uniform *)hieralloc_zero_size(ul, total_uniforms * sizeof(gl_uniform));
1120 memcpy(&ul->Uniforms[idx], node->u, sizeof(gl_uniform));
1129 prog->Uniforms = ul;
1130 prog->Uniforms->Slots = next_position;
1131 prog->Uniforms->SamplerSlots = next_sampler_pos;
1749 (prog->Uniforms->Slots + prog->Uniforms->SamplerSlots) * sizeof(float) * 4 + sizeof(VertexInput) + sizeof(VertexOutput) + 16);
1755 memset(prog->ValuesUniform, 0, sizeof(float) * 4 * (prog->Uniforms->Slots + prog->Uniforms->SamplerSlots));
/external/mesa3d/src/mesa/main/
H A Dmtypes.h2127 struct gl_uniform_list *Uniforms; member in struct:gl_shader_program

Completed in 78 milliseconds