Lines Matching refs:coords

1989 		CColorArray coords;
1990 PrimitiveGen(_primitiveType, _drawSizeX, _drawSizeY, coords);
2001 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STATIC_DRAW);
2005 glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
2011 CElementArray elements(coords.size(), 0);
2021 indirectArrays.count = static_cast<GLuint>(coords.size());
2038 indirectElements.count = static_cast<GLuint>(coords.size());
2142 CColorArray coords;
2143 PrimitiveGen(GL_TRIANGLES, _drawSizeX, _drawSizeY, coords);
2164 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0]) +
2170 const size_t coords_instanced_offset = coords_offset + coords.size() * sizeof(coords[0]);
2174 glBufferSubData(GL_ARRAY_BUFFER, coords_offset, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0]);
2183 //i_vertex (coords)
2200 CElementArray elements(coords.size(), 0);
2210 indirectArrays.count = static_cast<GLuint>(coords.size());
2227 indirectElements.count = static_cast<GLuint>(coords.size());
2460 CColorArray coords;
2461 PrimitiveGen(GL_TRIANGLES, _drawSizeX, _drawSizeY, coords);
2476 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STATIC_DRAW);
2480 glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
2486 CElementArray elements(coords.size(), 0);
2507 indirectArrays.count = static_cast<GLuint>(coords.size());
2524 indirectElements.count = static_cast<GLuint>(coords.size());
2839 CColorArray coords;
2840 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
2848 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
2849 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
2853 indirectArrays.count = static_cast<GLuint>(coords.size());
2932 CColorArray coords;
2933 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
2941 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
2942 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
2946 indirectArrays.count = static_cast<GLuint>(coords.size()) / 2;
2948 indirectArrays.first = static_cast<GLuint>(coords.size()) / 2;
3029 CColorArray coords;
3030 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
3038 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
3039 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
3043 indirectArrays.count = static_cast<GLuint>(coords.size());
3122 CColorArray coords;
3123 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
3131 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
3132 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
3136 indirectElements.count = static_cast<GLuint>(coords.size());
3142 CElementArray elements(coords.size(), 0);
3227 CColorArray coords;
3228 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
3236 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
3237 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
3241 indirectElements.count = static_cast<GLuint>(coords.size()) / 2;
3244 indirectElements.firstIndex = static_cast<GLuint>(coords.size()) / 2;
3247 CElementArray elements(coords.size(), 0);
3337 CColorArray coords;
3338 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
3346 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
3347 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
3351 indirectElements.count = static_cast<GLuint>(coords.size()) / 2;
3353 indirectElements.baseVertex = static_cast<GLint>(coords.size()) / 2;
3357 CElementArray elements(coords.size(), 0);
3447 CColorArray coords;
3448 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
3456 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
3457 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
3461 indirectElements.count = static_cast<GLuint>(coords.size());
3467 CElementArray elements(coords.size(), 0);
3525 CColorArray coords;
3526 PrimitiveGen(GL_TRIANGLES, _drawSizeX, _drawSizeY, coords);
3534 std::vector<glw::GLfloat> ref_VertexId(coords.size());
3555 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0]) +
3562 const size_t coords_instanced_offset = coords_offset + coords.size() * sizeof(coords[0]);
3567 glBufferSubData(GL_ARRAY_BUFFER, coords_offset, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0]);
3578 //i_vertex (coords)
3598 CElementArray elements(coords.size(), 0);
3608 indirectArrays.count = static_cast<GLuint>(coords.size());
3625 indirectElements.count = static_cast<GLuint>(coords.size());
3858 CColorArray coords;
3859 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
3867 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
3868 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
3872 indirectElements.count = static_cast<GLuint>(coords.size()) / 2;
3874 indirectElements.baseVertex = -static_cast<GLint>(coords.size()) / 4;
3875 indirectElements.firstIndex = static_cast<GLuint>(coords.size()) / 4;
3878 std::vector<GLushort> elements(coords.size(), 0);
3969 CColorArray coords;
3970 PrimitiveGen(GL_TRIANGLES, 2, 2, coords);
3978 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
3979 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
3983 indirectElements.count = static_cast<GLuint>(coords.size()) / 2;
3985 indirectElements.baseVertex = -static_cast<GLint>(coords.size()) / 4;
3986 indirectElements.firstIndex = static_cast<GLuint>(coords.size()) / 4;
3989 std::vector<GLubyte> elements(coords.size(), 0);
4116 CColorArray coords;
4117 PrimitiveGen(_primitiveType, _drawSizeX, _drawSizeY, coords);
4128 (GLsizeiptr)(coords.size() * (sizeof(coords[0])) + padding.size() * (sizeof(padding[0]))), NULL,
4132 (GLsizeiptr)(coords.size() * (sizeof(coords[0]))), &coords[0]);
4134 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
4140 CElementArray elements(coords.size(), 0);
4153 indirectArrays.count = static_cast<GLuint>(coords.size()) / 2;
4166 indirectElements.count = static_cast<GLuint>(coords.size()) / 2;
4988 CColorArray coords;
4989 PrimitiveGen(GL_TRIANGLE_STRIP, 8, 8, coords);
5005 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STATIC_DRAW);
5019 uboData[0] = static_cast<GLuint>(coords.size()); //count
5028 uboData[0] = static_cast<GLuint>(coords.size()); //count
5043 glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
5046 CElementArray elements(coords.size(), 0);
5240 CColorArray coords(width * height, tcu::Vec4(0));
5258 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), 0, GL_STREAM_DRAW);
5664 void TriangleStipGen(CColorArray& coords, float widthStart, float widthEnd, float heightStart, float heightEnd,
5676 coords.push_back(tcu::Vec4(widthOffset, heightOffset, 0.0f, 1.0f));
5677 coords.push_back(tcu::Vec4(widthOffset, heightOffset + heightStep, 0.0f, 1.0f));
5678 coords.push_back(tcu::Vec4(widthOffset + widthStep, heightOffset, 0.0f, 1.0f));
5679 coords.push_back(tcu::Vec4(widthOffset + widthStep, heightOffset + heightStep, 0.0f, 1.0f));
5762 CColorArray coords;
5763 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
5770 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
5772 glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
5845 CColorArray coords;
5846 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
5854 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
5855 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
5858 CElementArray elements(coords.size(), 0);
5941 CColorArray coords;
5942 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
5950 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
5951 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
5955 indirectArrays.count = static_cast<GLuint>(coords.size());
6064 CColorArray coords;
6065 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
6073 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
6074 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
6078 indirectElements.count = static_cast<GLuint>(coords.size());
6081 CElementArray elements(coords.size(), 0);
6192 CColorArray coords;
6193 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
6198 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
6199 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
6203 indirectArrays.count = static_cast<GLuint>(coords.size());
6286 CColorArray coords;
6287 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
6292 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
6293 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
6297 indirectElements.count = static_cast<GLuint>(coords.size());
6300 CElementArray elements(coords.size(), 0);
6388 CColorArray coords;
6389 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
6396 indirectArrays.count = static_cast<GLuint>(coords.size());
6478 CColorArray coords;
6479 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
6487 indirectElements.count = static_cast<GLuint>(coords.size());
6490 CElementArray elements(coords.size(), 0);
6578 CColorArray coords;
6579 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
6587 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
6588 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
6592 indirectArrays.count = static_cast<GLuint>(coords.size());
6694 CColorArray coords;
6695 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
6703 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
6704 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
6708 indirectElements.count = static_cast<GLuint>(coords.size());
6711 CElementArray elements(coords.size(), 0);
6822 CColorArray coords;
6823 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
6831 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
6832 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
6836 indirectElements.count = static_cast<GLuint>(coords.size());
6839 CElementArray elements(coords.size(), 0);
6965 CColorArray coords;
6966 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
6974 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
6975 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
6979 indirectArrays.count = static_cast<GLuint>(coords.size());
7020 return "#version 150" NL "in vec4 coords;" NL "void main() {" NL " gl_Position = coords;" NL "}";
7079 CColorArray coords;
7080 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
7088 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
7089 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
7093 indirectElements.count = static_cast<GLuint>(coords.size());
7096 CElementArray elements(coords.size(), 0);
7144 return "#version 150" NL "in vec4 coords;" NL "void main() {" NL " gl_Position = coords;" NL "}";
7213 CColorArray coords;
7214 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
7222 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
7223 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
7227 indirectArrays.count = static_cast<GLuint>(coords.size());
7245 indirectArrays2.count = static_cast<GLfloat>(coords.size());
7328 CColorArray coords;
7329 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
7337 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
7338 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
7342 indirectElements.count = static_cast<GLuint>(coords.size());
7345 CElementArray elements(coords.size(), 0);
7369 indirectElements2.count = static_cast<GLfloat>(coords.size());
7448 CColorArray coords;
7449 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
7457 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
7458 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
7462 indirectArrays.count = static_cast<GLuint>(coords.size());
7547 CColorArray coords;
7548 PrimitiveGen(GL_TRIANGLES, 8, 8, coords);
7556 glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STREAM_DRAW);
7557 glVertexAttribPointer(0, sizeof(coords[0]) / sizeof(float), GL_FLOAT, GL_FALSE, sizeof(coords[0]), 0);
7561 indirectElements.count = static_cast<GLuint>(coords.size());
7564 CElementArray elements(coords.size(), 0);