/external/deqp/framework/referencerenderer/ |
H A D | rrVertexAttrib.hpp | 109 struct VertexAttrib struct in namespace:rr 118 VertexAttrib (void) function in struct:rr::VertexAttrib 128 bool isValidVertexAttrib (const VertexAttrib& vertexAttrib); 131 void readVertexAttrib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx); 132 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx); 133 void readVertexAttrib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx); 137 inline tcu::Vec4 readVertexAttribFloat (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) 144 inline tcu::IVec4 readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) 151 inline tcu::UVec4 readVertexAttribUint (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx)
|
H A D | rrRenderer.hpp | 110 DrawCommand (const RenderState& state_, const RenderTarget& renderTarget_, const Program& program_, int numVertexAttribs_, const VertexAttrib* vertexAttribs_, const PrimitiveList& primitives_) 125 const VertexAttrib* const vertexAttribs;
|
H A D | rrShaders.hpp | 104 virtual void shadeVertices (const VertexAttrib* inputs, VertexPacket* const* packets, const int numPackets) const = 0; 208 void shadeVertices (const VertexAttrib* inputs, VertexPacket* packets, const int numPackets) const; 215 void VertexShaderLoop<Shader>::shadeVertices (const VertexAttrib* inputs, VertexPacket* packets, const int numPackets) const
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | vertex_attrib_manager.h | 28 class GPU_EXPORT VertexAttrib { class in namespace:gpu::gles2 30 typedef std::list<VertexAttrib*> VertexAttribList; 32 VertexAttrib(); 33 ~VertexAttrib(); 35 // Returns true if this VertexAttrib can access index. 169 typedef std::list<VertexAttrib*> VertexAttribList; 185 VertexAttrib* GetVertexAttrib(GLuint index) { 201 VertexAttrib* attrib = GetVertexAttrib(index); 215 VertexAttrib* attrib = GetVertexAttrib(index); 272 std::vector<VertexAttrib> vertex_attribs [all...] |
H A D | vertex_attrib_manager.cc | 28 VertexAttrib::VertexAttrib() function in class:gpu::gles2::VertexAttrib 42 VertexAttrib::~VertexAttrib() { 45 void VertexAttrib::SetInfo( 63 void VertexAttrib::Unbind(Buffer* buffer) { 69 bool VertexAttrib::CanAccess(GLuint index) const { 143 VertexAttrib& info = vertex_attribs_[index]; 183 VertexAttrib* attrib = *it; 184 const Program::VertexAttrib* attrib_inf [all...] |
H A D | vertex_attrib_manager_unittest.cc | 63 VertexAttrib* attrib = manager_->GetVertexAttrib(ii); 82 VertexAttrib* attrib1 = manager_->GetVertexAttrib(1); 83 VertexAttrib* attrib2 = manager_->GetVertexAttrib(3); 107 VertexAttrib* attrib = manager_->GetVertexAttrib(1); 143 VertexAttrib* attrib = manager_->GetVertexAttrib(1); 193 VertexAttrib* attrib1 = manager_->GetVertexAttrib(1); 194 VertexAttrib* attrib3 = manager_->GetVertexAttrib(3);
|
H A D | program_manager.h | 80 struct VertexAttrib { struct in class:gpu::gles2::Program 81 VertexAttrib(GLsizei _size, GLenum _type, const std::string& _name, function in struct:gpu::gles2::Program::VertexAttrib 95 typedef std::vector<VertexAttrib> AttribInfoVector; 113 const VertexAttrib* GetAttribInfo(GLint index) const { 120 const VertexAttrib* GetAttribInfoByLocation(GLuint location) const {
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | 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_SIZ [all...] |
H A D | 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;
|
H A D | 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...] |
H A D | 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_COLOR [all...] |
H A D | 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...] |
H A D | api_arrayelt.c | 577 * Array [size][type] of VertexAttrib functions 1254 * Array [unnormalized/normalized/integer][size][type] of VertexAttrib 1477 if (arrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Enabled) { 1478 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX]; 1483 if (arrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Enabled) { 1484 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG]; 1489 if (arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled) { 1490 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL]; 1495 if (arrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled) { 1496 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR [all...] |
H A D | 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);
|
/external/mesa3d/src/mesa/main/ |
H A D | 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_SIZ [all...] |
H A D | 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;
|
H A D | 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...] |
H A D | 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_COLOR [all...] |
H A D | 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...] |
H A D | api_arrayelt.c | 577 * Array [size][type] of VertexAttrib functions 1254 * Array [unnormalized/normalized/integer][size][type] of VertexAttrib 1477 if (arrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Enabled) { 1478 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX]; 1483 if (arrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Enabled) { 1484 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG]; 1489 if (arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled) { 1490 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL]; 1495 if (arrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled) { 1496 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fFboTestUtil.hpp | 63 void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPackets) const; 78 void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPackets) const; 97 void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPackets) const; 126 void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPackets) const; 148 void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPackets) const; 170 void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPackets) const; 189 void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPackets) const;
|
/external/deqp/modules/glshared/ |
H A D | glsRandomShaderProgram.hpp | 47 virtual void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPackets) const;
|
/external/chromium_org/gpu/command_buffer/client/ |
H A D | vertex_array_object_manager.cc | 48 class VertexAttrib { class in class:gpu::gles2::VertexArrayObject 50 VertexAttrib() function in class:gpu::gles2::VertexArrayObject::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* attri [all...] |
H A D | program_info_manager.cc | 157 struct VertexAttrib { struct in class:gpu::gles2::CachedProgramInfoManager::Program 158 VertexAttrib(GLsizei _size, GLenum _type, const std::string& _name, function in struct:gpu::gles2::CachedProgramInfoManager::Program::VertexAttrib 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)); 447 const Program::VertexAttrib* attrib_info =
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fFboTestUtil.hpp | 67 void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPackets) const; 97 void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPackets) const;
|