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

1 2

  /external/chromium_org/gpu/command_buffer/service/
vertex_attrib_manager.h 28 class GPU_EXPORT VertexAttrib {
30 typedef std::list<VertexAttrib*> VertexAttribList;
32 VertexAttrib();
33 ~VertexAttrib();
35 // Returns true if this VertexAttrib can access index.
170 typedef std::list<VertexAttrib*> VertexAttribList;
186 VertexAttrib* GetVertexAttrib(GLuint index) {
202 VertexAttrib* attrib = GetVertexAttrib(index);
216 VertexAttrib* attrib = GetVertexAttrib(index);
272 std::vector<VertexAttrib> vertex_attribs_
    [all...]
vertex_attrib_manager.cc 29 VertexAttrib::VertexAttrib()
43 VertexAttrib::~VertexAttrib() {
46 void VertexAttrib::SetInfo(
64 void VertexAttrib::Unbind(Buffer* buffer) {
70 bool VertexAttrib::CanAccess(GLuint index) const {
146 VertexAttrib& info = vertex_attribs_[index];
183 VertexAttrib* attrib = *it;
184 const Program::VertexAttrib* attrib_info
    [all...]
vertex_attrib_manager_unittest.cc 71 VertexAttrib* attrib = manager_->GetVertexAttrib(ii);
90 VertexAttrib* attrib1 = manager_->GetVertexAttrib(1);
91 VertexAttrib* attrib2 = manager_->GetVertexAttrib(3);
115 VertexAttrib* attrib = manager_->GetVertexAttrib(1);
151 VertexAttrib* attrib = manager_->GetVertexAttrib(1);
201 VertexAttrib* attrib1 = manager_->GetVertexAttrib(1);
202 VertexAttrib* attrib3 = manager_->GetVertexAttrib(3);
program_manager.h 65 struct VertexAttrib {
66 VertexAttrib(GLsizei _size, GLenum _type, const std::string& _name,
80 typedef std::vector<VertexAttrib> AttribInfoVector;
98 const VertexAttrib* GetAttribInfo(GLint index) const {
105 const VertexAttrib* GetAttribInfoByLocation(GLuint location) const {
context_state.cc 113 const VertexAttrib* attrib =
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
arrayobj.c 86 for (i = 0; i < Elements(obj->VertexAttrib); i++)
87 _mesa_reference_buffer_object(ctx, &obj->VertexAttrib[i].BufferObj, NULL);
219 for (i = 0; i < Elements(obj->VertexAttrib); i++) {
222 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_WEIGHT], 1, GL_FLOAT);
225 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_NORMAL], 3, GL_FLOAT);
228 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_COLOR1], 3, GL_FLOAT);
231 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_FOG], 1, GL_FLOAT);
234 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX], 1, GL_FLOAT);
237 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_EDGEFLAG], 1, GL_BOOL);
241 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_POINT_SIZE], 1, GL_FLOAT)
    [all...]
getstring.c 217 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Ptr;
222 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Ptr;
227 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Ptr;
232 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Ptr;
237 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_FOG].Ptr;
242 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Ptr;
247 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(clientUnit)].Ptr;
252 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Ptr;
268 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POINT_SIZE].Ptr;
varray.c 256 array = &ctx->Array.ArrayObj->VertexAttrib[attrib];
546 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(arrayObj->VertexAttrib));
548 if (!arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled) {
551 arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled = GL_TRUE;
573 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(arrayObj->VertexAttrib));
575 if (arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled) {
578 arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled = GL_FALSE;
601 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib));
603 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)];
662 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib));
    [all...]
get.c 623 { GL_VERTEX_ARRAY, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_POS].Enabled), NO_EXTRA },
624 { GL_VERTEX_ARRAY_SIZE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_POS].Size), NO_EXTRA },
625 { GL_VERTEX_ARRAY_TYPE, ARRAY_ENUM(VertexAttrib[VERT_ATTRIB_POS].Type), NO_EXTRA },
626 { GL_VERTEX_ARRAY_STRIDE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_POS].Stride), NO_EXTRA },
627 { GL_NORMAL_ARRAY, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_NORMAL].Enabled), NO_EXTRA },
628 { GL_NORMAL_ARRAY_TYPE, ARRAY_ENUM(VertexAttrib[VERT_ATTRIB_NORMAL].Type), NO_EXTRA },
629 { GL_NORMAL_ARRAY_STRIDE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_NORMAL].Stride), NO_EXTRA },
630 { GL_COLOR_ARRAY, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_COLOR0].Enabled), NO_EXTRA },
631 { GL_COLOR_ARRAY_SIZE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_COLOR0].Size), NO_EXTRA },
632 { GL_COLOR_ARRAY_TYPE, ARRAY_ENUM(VertexAttrib[VERT_ATTRIB_COLOR0].Type), NO_EXTRA }
    [all...]
enable.c 63 var = &arrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled;
67 var = &arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled;
71 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled;
75 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Enabled;
79 var = &arrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Enabled;
83 var = &arrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Enabled;
87 var = &arrayObj->VertexAttrib[VERT_ATTRIB_FOG].Enabled;
91 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled;
97 var = &arrayObj->VertexAttrib[VERT_ATTRIB_POINT_SIZE].Enabled;
122 ASSERT(VERT_ATTRIB_GENERIC(n) < Elements(arrayObj->VertexAttrib));
    [all...]
api_arrayelt.c 577 * Array [size][type] of VertexAttrib functions
    [all...]
api_validate.c 126 if (!ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled)
149 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled ||
150 ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC0].Enabled);
nvprogram.c 368 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)];
412 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)];
456 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)];
511 *pointer = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Ptr;
  /external/mesa3d/src/mesa/main/
arrayobj.c 86 for (i = 0; i < Elements(obj->VertexAttrib); i++)
87 _mesa_reference_buffer_object(ctx, &obj->VertexAttrib[i].BufferObj, NULL);
219 for (i = 0; i < Elements(obj->VertexAttrib); i++) {
222 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_WEIGHT], 1, GL_FLOAT);
225 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_NORMAL], 3, GL_FLOAT);
228 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_COLOR1], 3, GL_FLOAT);
231 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_FOG], 1, GL_FLOAT);
234 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX], 1, GL_FLOAT);
237 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_EDGEFLAG], 1, GL_BOOL);
241 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_POINT_SIZE], 1, GL_FLOAT)
    [all...]
getstring.c 217 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Ptr;
222 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Ptr;
227 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Ptr;
232 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Ptr;
237 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_FOG].Ptr;
242 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Ptr;
247 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(clientUnit)].Ptr;
252 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Ptr;
268 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POINT_SIZE].Ptr;
varray.c 256 array = &ctx->Array.ArrayObj->VertexAttrib[attrib];
546 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(arrayObj->VertexAttrib));
548 if (!arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled) {
551 arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled = GL_TRUE;
573 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(arrayObj->VertexAttrib));
575 if (arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled) {
578 arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled = GL_FALSE;
601 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib));
603 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)];
662 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib));
    [all...]
get.c 623 { GL_VERTEX_ARRAY, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_POS].Enabled), NO_EXTRA },
624 { GL_VERTEX_ARRAY_SIZE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_POS].Size), NO_EXTRA },
625 { GL_VERTEX_ARRAY_TYPE, ARRAY_ENUM(VertexAttrib[VERT_ATTRIB_POS].Type), NO_EXTRA },
626 { GL_VERTEX_ARRAY_STRIDE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_POS].Stride), NO_EXTRA },
627 { GL_NORMAL_ARRAY, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_NORMAL].Enabled), NO_EXTRA },
628 { GL_NORMAL_ARRAY_TYPE, ARRAY_ENUM(VertexAttrib[VERT_ATTRIB_NORMAL].Type), NO_EXTRA },
629 { GL_NORMAL_ARRAY_STRIDE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_NORMAL].Stride), NO_EXTRA },
630 { GL_COLOR_ARRAY, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_COLOR0].Enabled), NO_EXTRA },
631 { GL_COLOR_ARRAY_SIZE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_COLOR0].Size), NO_EXTRA },
632 { GL_COLOR_ARRAY_TYPE, ARRAY_ENUM(VertexAttrib[VERT_ATTRIB_COLOR0].Type), NO_EXTRA }
    [all...]
enable.c 63 var = &arrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled;
67 var = &arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled;
71 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled;
75 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Enabled;
79 var = &arrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Enabled;
83 var = &arrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Enabled;
87 var = &arrayObj->VertexAttrib[VERT_ATTRIB_FOG].Enabled;
91 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled;
97 var = &arrayObj->VertexAttrib[VERT_ATTRIB_POINT_SIZE].Enabled;
122 ASSERT(VERT_ATTRIB_GENERIC(n) < Elements(arrayObj->VertexAttrib));
    [all...]
api_arrayelt.c 577 * Array [size][type] of VertexAttrib functions
    [all...]
api_validate.c 126 if (!ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled)
149 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled ||
150 ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC0].Enabled);
nvprogram.c 368 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)];
412 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)];
456 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)];
511 *pointer = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Ptr;
  /external/chromium_org/gpu/command_buffer/client/
vertex_array_object_manager.cc 48 class VertexAttrib {
50 VertexAttrib()
151 typedef std::vector<VertexAttrib> VertexAttribs;
184 const VertexAttrib* GetAttrib(GLuint index) const;
207 VertexAttrib& attrib = vertex_attribs_[ii];
233 VertexAttrib& attrib = vertex_attribs_[index];
253 VertexAttrib& attrib = vertex_attribs_[index];
269 const VertexAttrib* attrib = GetAttrib(index);
302 VertexAttrib& attrib = vertex_attribs_[index];
311 const VertexAttrib* attrib = GetAttrib(index)
    [all...]
program_info_manager.cc 157 struct VertexAttrib {
158 VertexAttrib(GLsizei _size, GLenum _type, const std::string& _name,
172 typedef std::vector<VertexAttrib> AttribInfoVector;
180 const VertexAttrib* GetAttribInfo(GLint index) const {
247 const VertexAttrib& info = attrib_infos_[ii];
351 VertexAttrib(input->size, input->type, name, *location));
445 const Program::VertexAttrib* attrib_info =
  /frameworks/base/media/mca/filterfw/native/core/
shader_program.h 410 struct VertexAttrib {
422 VertexAttrib();
424 typedef std::map<ProgramVar, VertexAttrib> VertexAttribMap;
492 bool StoreAttribute(VertexAttrib attrib);
shader_program.cpp 62 // VertexAttrib implementation /////////////////////////////////////////////////
63 ShaderProgram::VertexAttrib::VertexAttrib()
131 const VertexAttrib& attrib = iter->second;
962 VertexAttrib attrib;
988 VertexAttrib attrib;
1028 VertexAttrib attrib;
1041 bool ShaderProgram::StoreAttribute(VertexAttrib attrib) {
1053 const VertexAttrib& attrib = iter->second;
    [all...]

Completed in 2809 milliseconds

1 2