HomeSort by relevance Sort by last modified time
    Searched refs:uniforms (Results 1 - 25 of 44) sorted by null

1 2

  /external/chromium_org/third_party/mesa/src/src/glsl/
link_uniforms.cpp 40 * Assign locations for GLSL uniforms.
110 * Class to help calculate the storage requirements for a set of uniforms
112 * As uniforms are added to the active set the number of active uniforms and
113 * the storage requirements for those uniforms are accumulated. The active
114 * uniforms are added the the hash table supplied to the constructor.
135 * Total number of active uniforms counted
140 * Number of data values required to back the storage for the active uniforms
150 * Number of uniforms used in the current shader
186 * uniforms
369 struct gl_uniform_storage *uniforms; member in class:parcel_out_uniform_storage
594 struct gl_uniform_storage *uniforms = local
    [all...]
  /external/mesa3d/src/glsl/
link_uniforms.cpp 40 * Assign locations for GLSL uniforms.
110 * Class to help calculate the storage requirements for a set of uniforms
112 * As uniforms are added to the active set the number of active uniforms and
113 * the storage requirements for those uniforms are accumulated. The active
114 * uniforms are added the the hash table supplied to the constructor.
135 * Total number of active uniforms counted
140 * Number of data values required to back the storage for the active uniforms
150 * Number of uniforms used in the current shader
186 * uniforms
369 struct gl_uniform_storage *uniforms; member in class:parcel_out_uniform_storage
594 struct gl_uniform_storage *uniforms = local
    [all...]
  /external/chromium_org/cc/output/
shader.cc 29 const char** uniforms,
34 context->BindUniformLocationCHROMIUM(program, locations[i], uniforms[i]);
161 static const char* uniforms[] = { local
164 int locations[arraysize(uniforms)];
168 arraysize(uniforms),
169 uniforms,
195 static const char* uniforms[] = { local
199 int locations[arraysize(uniforms)];
203 arraysize(uniforms),
204 uniforms,
232 static const char* uniforms[] = { local
264 static const char* uniforms[] = { local
320 static const char* uniforms[] = { local
377 static const char* uniforms[] = { local
434 static const char* uniforms[] = { local
494 static const char* uniforms[] = { local
538 static const char* uniforms[] = { local
597 static const char* uniforms[] = { local
635 static const char* uniforms[] = { local
660 static const char* uniforms[] = { local
686 static const char* uniforms[] = { local
772 static const char* uniforms[] = { local
885 static const char* uniforms[] = { local
928 static const char* uniforms[] = { local
1002 static const char* uniforms[] = { local
1055 static const char* uniforms[] = { local
1116 static const char* uniforms[] = { local
1186 static const char* uniforms[] = { local
1243 static const char* uniforms[] = { local
1308 static const char* uniforms[] = { local
1368 static const char* uniforms[] = { local
1425 static const char* uniforms[] = { local
1456 static const char* uniforms[] = { local
1494 static const char* uniforms[] = { local
    [all...]
gl_renderer.cc 1322 SolidColorProgramUniforms uniforms; local
1324 SolidColorUniformLocation(GetSolidColorProgramAA(), &uniforms); local
1326 SolidColorUniformLocation(GetSolidColorProgram(), &uniforms); local
1476 TileProgramUniforms uniforms; local
1480 &uniforms); local
1483 &uniforms); local
1489 &uniforms); local
1492 &uniforms); local
1498 &uniforms); local
1501 &uniforms); local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/shader/
Shader.java 65 // private HashMap<String, Uniform> uniforms;
66 private ListMap<String, Uniform> uniforms; field in class:Shader
220 // uniforms = new HashMap<String, Uniform>();
221 uniforms = new ListMap<String, Uniform>();
235 //uniforms = new ListMap<String, Uniform>();
250 oc.writeStringSavableMap(uniforms, "uniforms", null);
259 HashMap<String, Uniform> uniMap = (HashMap<String, Uniform>) ic.readStringSavableMap("uniforms", null);
260 uniforms = new ListMap<String, Uniform>(uniMap);
265 * but have not been compiled yet. Does not copy the uniforms or attribs.
    [all...]
  /external/chromium_org/third_party/angle/src/compiler/
VariableInfo.h 14 // It is currently being used to store info about active attribs and uniforms.
28 // Traverses intermediate tree to collect all attributes, uniforms, varyings.
32 TVariableInfoList& uniforms,
ShHandle.h 72 const TVariableInfoList& getUniforms() const { return uniforms; }
94 // Collect info for all attribs, uniforms, varyings.
101 // Appendix A, section 7, the shader does not use too many uniforms.
145 TVariableInfoList uniforms; // Active uniforms in the compiled shader. member in class:TCompiler
Compiler.cpp 210 infoSink.info << "too many uniforms";
286 uniforms.clear();
395 CollectVariables collect(attribs, uniforms, varyings, hashFunction);
402 return packer.CheckVariablesWithinPackingLimits(maxUniformVectors, uniforms);
VariableInfo.cpp 184 TVariableInfoList& uniforms,
188 mUniforms(uniforms),
284 // TInterBinary node in that case. Since attributes, uniforms,
  /external/chromium_org/gpu/command_buffer/service/
test_helper.h 82 ::gfx::MockGLInterface* gl, UniformInfo* uniforms, size_t num_uniforms);
87 UniformInfo* uniforms, size_t num_uniforms,
92 UniformInfo* uniforms, size_t num_uniforms,
test_helper.cc 303 ::gfx::MockGLInterface* gl, UniformInfo* uniforms, size_t num_uniforms) {
305 const UniformInfo& info = uniforms[ii];
384 UniformInfo* uniforms, size_t num_uniforms,
433 size_t len = strlen(uniforms[ii].name) + 1;
441 const UniformInfo& info = uniforms[ii];
456 const UniformInfo& info = uniforms[ii];
490 UniformInfo* uniforms, size_t num_uniforms,
500 gl, attribs, num_attribs, uniforms, num_uniforms, service_id);
gles2_cmd_decoder_unittest_base.cc 579 UniformInfo uniforms[] = { local
587 SetupShader(attribs, arraysize(attribs), uniforms, arraysize(uniforms),
1115 static UniformInfo uniforms[] = { local
1149 static UniformInfo uniforms[] = { local
1183 static UniformInfo uniforms[] = { local
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGLUniformManager.cpp 252 void GrGLUniformManager::getUniformLocations(GrGLuint programID, const BuilderUniformArray& uniforms) {
253 SkASSERT(uniforms.count() == fUniforms.count());
256 SkASSERT(uniforms[i].fVariable.getType() == fUniforms[i].fType);
257 SkASSERT(uniforms[i].fVariable.getArrayCount() == fUniforms[i].fArrayCount);
263 BindUniformLocation(programID, location, uniforms[i].fVariable.c_str()));
266 GetUniformLocation(programID, uniforms[i].fVariable.c_str()));
268 if (GrGLShaderBuilder::kVertex_Visibility & uniforms[i].fVisibility) {
271 if (GrGLShaderBuilder::kFragment_Visibility & uniforms[i].fVisibility) {
GrGLUniformManager.h 20 /** Manages a program's uniforms.
54 * array of uniforms. arrayCount must be <= the array count of the uniform.
92 * Called by the GrGLShaderBuilder to get GL locations for all uniforms.
94 void getUniformLocations(GrGLuint programID, const BuilderUniformArray& uniforms);
  /external/skia/src/gpu/gl/
GrGLUniformManager.cpp 252 void GrGLUniformManager::getUniformLocations(GrGLuint programID, const BuilderUniformArray& uniforms) {
253 SkASSERT(uniforms.count() == fUniforms.count());
256 SkASSERT(uniforms[i].fVariable.getType() == fUniforms[i].fType);
257 SkASSERT(uniforms[i].fVariable.getArrayCount() == fUniforms[i].fArrayCount);
263 BindUniformLocation(programID, location, uniforms[i].fVariable.c_str()));
266 GetUniformLocation(programID, uniforms[i].fVariable.c_str()));
268 if (GrGLShaderBuilder::kVertex_Visibility & uniforms[i].fVisibility) {
271 if (GrGLShaderBuilder::kFragment_Visibility & uniforms[i].fVisibility) {
GrGLUniformManager.h 20 /** Manages a program's uniforms.
54 * array of uniforms. arrayCount must be <= the array count of the uniform.
92 * Called by the GrGLShaderBuilder to get GL locations for all uniforms.
94 void getUniformLocations(GrGLuint programID, const BuilderUniformArray& uniforms);
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_vec4.cpp 398 /* Prior to this, uniforms have been in an array sized according to
399 * the number of vector uniforms present, sparsely filled (so an
420 for (int i = 0; i < this->uniforms; i++) {
428 bool uniform_used[this->uniforms];
429 int new_loc[this->uniforms];
430 int new_chan[this->uniforms];
456 for (int src = 0; src < uniforms; src++) {
491 this->uniforms = new_uniform_count;
493 /* Now, update the instructions for our repacked uniforms. */
614 int pull_constant_loc[this->uniforms];
    [all...]
brw_vec4_visitor.cpp 394 /* Samplers take up one slot in UNIFORMS[], but they're baked in
455 /* Our support for uniforms is piggy-backed on the struct
482 c->prog_data.param[this->uniforms * 4 + i] = &values[i];
489 c->prog_data.param[this->uniforms * 4 + i] = &zero;
493 * uniforms.
495 this->uniform_vector_size[this->uniforms] = type->vector_elements;
496 this->uniforms++;
543 this->uniform_vector_size[this->uniforms] = 4;
544 this->userplane[compacted_clipplane_index] = dst_reg(UNIFORM, this->uniforms);
547 c->prog_data.param[this->uniforms * 4 + j] = &clip_planes[i][j]
    [all...]
brw_vec4_emit.cpp 115 if (intel->gen < 6 && this->uniforms == 0) {
116 this->uniform_vector_size[this->uniforms] = 1;
119 unsigned int slot = this->uniforms * 4 + i;
124 this->uniforms++;
127 reg += ALIGN(uniforms, 2) / 2;
130 c->prog_data.nr_params = this->uniforms * 4;
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_vec4.cpp 398 /* Prior to this, uniforms have been in an array sized according to
399 * the number of vector uniforms present, sparsely filled (so an
420 for (int i = 0; i < this->uniforms; i++) {
428 bool uniform_used[this->uniforms];
429 int new_loc[this->uniforms];
430 int new_chan[this->uniforms];
456 for (int src = 0; src < uniforms; src++) {
491 this->uniforms = new_uniform_count;
493 /* Now, update the instructions for our repacked uniforms. */
614 int pull_constant_loc[this->uniforms];
    [all...]
brw_vec4_visitor.cpp 394 /* Samplers take up one slot in UNIFORMS[], but they're baked in
455 /* Our support for uniforms is piggy-backed on the struct
482 c->prog_data.param[this->uniforms * 4 + i] = &values[i];
489 c->prog_data.param[this->uniforms * 4 + i] = &zero;
493 * uniforms.
495 this->uniform_vector_size[this->uniforms] = type->vector_elements;
496 this->uniforms++;
543 this->uniform_vector_size[this->uniforms] = 4;
544 this->userplane[compacted_clipplane_index] = dst_reg(UNIFORM, this->uniforms);
547 c->prog_data.param[this->uniforms * 4 + j] = &clip_planes[i][j]
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
nv50_screen.c 279 nouveau_bo_ref(NULL, &screen->uniforms);
435 PUSH_DATAh(push, screen->uniforms->offset + (0 << 16));
436 PUSH_DATA (push, screen->uniforms->offset + (0 << 16));
440 PUSH_DATAh(push, screen->uniforms->offset + (1 << 16));
441 PUSH_DATA (push, screen->uniforms->offset + (1 << 16));
445 PUSH_DATAh(push, screen->uniforms->offset + (2 << 16));
446 PUSH_DATA (push, screen->uniforms->offset + (2 << 16));
450 PUSH_DATAh(push, screen->uniforms->offset + (3 << 16));
451 PUSH_DATA (push, screen->uniforms->offset + (3 << 16));
468 PUSH_DATAh(push, screen->uniforms->offset + (3 << 16) + (1 << 9))
    [all...]
nv50_screen.h 32 struct nouveau_bo *uniforms; member in struct:nv50_screen
  /external/mesa3d/src/gallium/drivers/nv50/
nv50_screen.c 279 nouveau_bo_ref(NULL, &screen->uniforms);
435 PUSH_DATAh(push, screen->uniforms->offset + (0 << 16));
436 PUSH_DATA (push, screen->uniforms->offset + (0 << 16));
440 PUSH_DATAh(push, screen->uniforms->offset + (1 << 16));
441 PUSH_DATA (push, screen->uniforms->offset + (1 << 16));
445 PUSH_DATAh(push, screen->uniforms->offset + (2 << 16));
446 PUSH_DATA (push, screen->uniforms->offset + (2 << 16));
450 PUSH_DATAh(push, screen->uniforms->offset + (3 << 16));
451 PUSH_DATA (push, screen->uniforms->offset + (3 << 16));
468 PUSH_DATAh(push, screen->uniforms->offset + (3 << 16) + (1 << 9))
    [all...]
nv50_screen.h 32 struct nouveau_bo *uniforms; member in struct:nv50_screen

Completed in 539 milliseconds

1 2