/cts/tests/openglperf2/jni/graphics/ |
Mesh.cpp | 16 Mesh::Mesh(const float* vertices, const float* normals, const float* texCoords, 18 : mVertices(vertices),
|
Mesh.h | 23 Mesh(const float* vertices, const float* normals, const float* texCoords,
|
/external/deqp/framework/referencerenderer/ |
rrPrimitiveAssembler.hpp | 80 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) 85 *(outputIterator++) = Triangle(vertices[ndx], vertices[ndx+1], vertices[ndx+2], provokingOffset); 88 static size_t getPrimitiveCount (size_t vertices) 90 return vertices / 3; 97 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) 104 VertexPacket* vert0 = vertices[0]; 105 VertexPacket* vert1 = vertices[1]; 114 *(outputIterator++) = Triangle(vert0, vert1, vertices[ndx], (provokingConvention == rr::PROVOKINGVERTEX_FIRST) ? (0) : (2)) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_prim.h | 222 * primitives for a set of vertices. 225 u_decomposed_prims_for_vertices(enum pipe_prim_type primitive, int vertices) 229 return vertices; 231 return vertices / 2; 233 return (vertices >= 2) ? vertices : 0; 235 return (vertices >= 2) ? vertices - 1 : 0; 237 return vertices / 3; 239 return (vertices >= 3) ? vertices - 2 : 0 [all...] |
u_blit.c | 70 struct pipe_resource *vbuf; /**< quad vertices */ 73 float vertices[4][2][4]; /**< vertex/texcoords for quad */ member in struct:blit_state 123 ctx->vertices[i][0][3] = 1.0f; /* w */ 124 ctx->vertices[i][1][3] = 1.0f; /* q */ 219 * Get offset of next free slot in vertex buffer for quad vertices. 224 const unsigned max_slots = 4096 / sizeof ctx->vertices; 235 max_slots * sizeof ctx->vertices); 238 return ctx->vbuf_slot++ * sizeof ctx->vertices; 261 ctx->vertices[0][0][0] = x0; 262 ctx->vertices[0][0][1] = y0 [all...] |
/external/eigen/demos/opengl/ |
gpuhelper.cpp | 100 static float vertices[][3] = { local 111 glNormal3f(0,0,-1); glVertex3fv(vertices[0]); glVertex3fv(vertices[2]); glVertex3fv(vertices[3]); glVertex3fv(vertices[1]); 112 glNormal3f(0,0, 1); glVertex3fv(vertices[4]); glVertex3fv(vertices[5]); glVertex3fv(vertices[7]); glVertex3fv(vertices[6]); 113 glNormal3f(0,-1,0); glVertex3fv(vertices[0]); glVertex3fv(vertices[1]); glVertex3fv(vertices[5]); glVertex3fv(vertices[4]) [all...] |
icosphere.h | 20 const std::vector<Eigen::Vector3f>& vertices() const { return mVertices; } function in class:IcoSphere
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pt_decompose.h | 2 char *verts = (char *) vertices; \
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/isl/ |
vertices.h | 27 isl_ctx *isl_vertices_get_ctx(__isl_keep isl_vertices *vertices); 28 int isl_vertices_get_n_vertices(__isl_keep isl_vertices *vertices); 29 int isl_vertices_foreach_vertex(__isl_keep isl_vertices *vertices, 31 void isl_vertices_free(__isl_take isl_vertices *vertices); 39 int isl_vertices_foreach_cell(__isl_keep isl_vertices *vertices,
|
/external/deqp/external/vulkancts/modules/vulkan/clipping/ |
vktClippingTests.cpp | 122 std::vector<Vec4> vertices; local 124 // We're setting adjacent vertices to zero where needed, as we don't use them in meaningful way. 129 vertices.push_back(offset + Vec4(0.0f, 0.0f, slope/2.0f + z, w)); 130 vertices.push_back(offset + Vec4( -hp, -hp, z, w)); 131 vertices.push_back(offset + Vec4( hp, -hp, slope + z, w)); 132 vertices.push_back(offset + Vec4( -hp, hp, z, w)); 133 vertices.push_back(offset + Vec4( hp, hp, slope + z, w)); 137 vertices.push_back(offset + Vec4(-p, -p, z, w)); 138 vertices.push_back(offset + Vec4( p, p, slope + z, w)); // line 0 139 vertices.push_back(offset + Vec4( p, p, slope + z, w)) 420 const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0f), 0.0f); local 462 const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0f), 0.0f); local 546 const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0f), 1.0f); local 594 std::vector<Vec4> vertices; local 658 std::vector<Vec4> vertices; local 1005 std::vector<Vec4> vertices; local 1112 std::vector<Vec4> vertices; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineVertexUtil.cpp | 691 std::vector<Vertex4RGBA> vertices; 738 vertices.push_back(lowerLeftVertex); 739 vertices.push_back(lowerRightVertex); 740 vertices.push_back(upperLeftVertex); 743 vertices.push_back(lowerRightVertex); 744 vertices.push_back(upperLeftVertex); 745 vertices.push_back(upperRightVertex); 748 return vertices; 776 const Vertex4Tex4 vertices[6] = local 787 return std::vector<Vertex4Tex4>(vertices, vertices + DE_LENGTH_OF_ARRAY(vertices)) 797 std::vector<Vertex4Tex4> vertices; local 870 std::vector<Vertex4Tex4> vertices = createQuadMosaic(2, 3); local 887 std::vector<Vertex4Tex4> vertices = createQuadMosaicCube(); local 904 std::vector<Vertex4Tex4> vertices; local [all...] |
/external/deqp/modules/gles3/stress/ |
es3sOcclusionQueryTests.cpp | 151 std::vector<float> vertices; local 172 vertices.resize(4*NUM_GENERATED_VERTICES); 176 vertices[4*i ] = m_rnd.getFloat(-1.0f, 1.0f); 177 vertices[4*i + 1] = m_rnd.getFloat(-1.0f, 1.0f); 178 vertices[4*i + 2] = m_rnd.getFloat(0.0f, 1.0f); 179 vertices[4*i + 3] = 1.0f; 189 occluderVertices[4*i ] = vertices[4*vtxNdx]; 190 occluderVertices[4*i + 1] = vertices[4*vtxNdx + 1]; 191 occluderVertices[4*i + 2] = vertices[4*vtxNdx + 2]; 192 occluderVertices[4*i + 3] = vertices[4*vtxNdx + 3] [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
GlopBuilderTests.cpp | 65 EXPECT_EQ(expectedMesh.vertices.attribFlags, builtMesh.vertices.attribFlags); 66 EXPECT_EQ(expectedMesh.vertices.bufferObject, builtMesh.vertices.bufferObject); 67 EXPECT_EQ(expectedMesh.vertices.color, builtMesh.vertices.color); 68 EXPECT_EQ(expectedMesh.vertices.position, builtMesh.vertices.position); 69 EXPECT_EQ(expectedMesh.vertices.stride, builtMesh.vertices.stride) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fNegativeVertexArrayApiTests.cpp | 350 GLfloat vertices[1]; 353 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); 358 glDrawElements(GL_POINTS, 1, -1, vertices); 360 glDrawElements(GL_POINTS, 1, GL_FLOAT, vertices); 365 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); 373 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); 397 glDrawElements (GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); 401 glDrawElements (GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); 417 GLfloat vertices[1]; 420 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fNegativeVertexArrayApiTests.cpp | 489 GLfloat vertices[1]; local 498 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); 503 ctx.glDrawElements(GL_POINTS, 1, -1, vertices); 505 ctx.glDrawElements(GL_POINTS, 1, GL_FLOAT, vertices); 510 ctx.glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); 518 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); 542 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); 546 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); 563 GLfloat vertices[1]; local 566 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); 599 GLfloat vertices[1]; local 674 GLfloat vertices[1]; local 708 GLfloat vertices[1]; local 833 GLfloat vertices[1]; local 910 GLfloat vertices[1]; local 950 GLfloat vertices[1]; local 1029 GLfloat vertices[1]; local 1074 GLfloat vertices[1]; local 1094 GLfloat vertices[1]; local 1173 GLfloat vertices[1]; local 1214 GLfloat vertices[1]; local 1294 GLfloat vertices[1]; local 1341 GLfloat vertices[1]; local [all...] |
/frameworks/base/libs/hwui/renderstate/ |
MeshState.cpp | 68 ALOGD("MeshState vertices: vertex data %p, stride %d", mCurrentPositionPointer, 117 // Vertices 120 void MeshState::bindPositionVertexPointer(const GLvoid* vertices, GLsizei stride) { 121 // update pos coords if !current vbo, since vertices may point into mutable memory (e.g. stack) 122 if (mCurrentBuffer == 0 || vertices != mCurrentPositionPointer || 124 glVertexAttribPointer(Program::kBindingPosition, 2, GL_FLOAT, GL_FALSE, stride, vertices); 125 mCurrentPositionPointer = vertices; 130 void MeshState::bindTexCoordsVertexPointer(const GLvoid* vertices, GLsizei stride) { 131 // update tex coords if !current vbo, since vertices may point into mutable memory (e.g. stack) 132 if (mCurrentBuffer == 0 || vertices != mCurrentTexCoordsPointer | [all...] |
RenderState.cpp | 248 const Glop::Mesh::Vertices& vertices = mesh.vertices; local 305 // vertices 306 meshState().bindMeshBuffer(vertices.bufferObject); 307 meshState().bindPositionVertexPointer(vertices.position, vertices.stride); 333 if (vertices.attribFlags & VertexAttribFlags::TextureCoord) { 335 meshState().bindTexCoordsVertexPointer(vertices.texCoord, vertices.stride) [all...] |
/external/autotest/client/deps/glbench/src/ |
attributefetchtest.cc | 97 GLfloat *vertices = NULL; local 99 CreateLattice(&vertices, &vertex_buffer_size, 1.f / g_width, 1.f / g_height, 102 vertex_buffer_size, vertices); 142 delete[] vertices;
|
trianglesetuptest.cc | 47 GLfloat *vertices = NULL; local 49 CreateLattice(&vertices, &vertex_buffer_size, 1.f / g_width, 1.f / g_height, 52 vertex_buffer_size, vertices); 101 delete[] vertices;
|
/external/skia/include/atlastext/ |
SkAtlasTextRenderer.h | 61 * 'vertices' provides interleaved device-space positions, colors, and 62 * texture coordinates. There are are 4 * 'quadCnt' entries in 'vertices'. 64 virtual void drawSDFGlyphs(void* targetHandle, void* textureHandle, const SDFVertex vertices[],
|
/external/skqp/include/atlastext/ |
SkAtlasTextRenderer.h | 61 * 'vertices' provides interleaved device-space positions, colors, and 62 * texture coordinates. There are are 4 * 'quadCnt' entries in 'vertices'. 64 virtual void drawSDFGlyphs(void* targetHandle, void* textureHandle, const SDFVertex vertices[],
|
/external/skia/src/gpu/ops/ |
GrMeshDrawOp.cpp | 27 void* vertices = local 29 if (!vertices) { 30 SkDebugf("Vertices could not be allocated for instanced rendering."); 40 return vertices;
|
/external/skqp/src/gpu/ops/ |
GrMeshDrawOp.cpp | 27 void* vertices = local 29 if (!vertices) { 30 SkDebugf("Vertices could not be allocated for instanced rendering."); 40 return vertices;
|
/external/deqp/modules/gles2/functional/ |
es2fNegativeVertexArrayApiTests.cpp | 211 GLfloat vertices[1] = { 0.0f }; 214 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); 219 glDrawElements(GL_POINTS, 1, -1, vertices); 224 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); 233 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); 244 GLfloat vertices[1] = { 0.0f }; 247 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); 252 glDrawElements(GL_POINTS, 1, -1, vertices); 257 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); 266 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
fs-fragcoord.c | 24 static struct vertex vertices[] = variable in typeref:struct:vertex 47 #define NUM_VERTS (sizeof(vertices) / sizeof(vertices[0])) 74 sizeof(vertices), 75 vertices);
|