/external/mesa3d/src/gallium/tests/graw/ |
tri-instanced.c | 49 static struct vertex vertices[4] = variable in typeref:struct:vertex 139 sizeof(vertices), 140 vertices);
|
vs-test.c | 61 static struct vertex vertices[MESH_SZ * MESH_SZ]; variable in typeref:struct:vertex 155 vertices[i].position[0] = ((float)x)/MESH_SZ * 2.0 - 1.0; 156 vertices[i].position[1] = ((float)y)/MESH_SZ * 2.0 - 1.0; 157 vertices[i].position[2] = 0; 158 vertices[i].position[3] = 1.0; 160 vertices[i].color[0] = .5; 161 vertices[i].color[1] = (float)x / (float)MESH_SZ; 162 vertices[i].color[2] = (float)y / (float)MESH_SZ; 173 sizeof(vertices), 174 vertices); [all...] |
/external/mesa3d/src/gallium/tests/trivial/ |
quad-tex.c | 114 float vertices[4][2][4] = { local 134 PIPE_USAGE_DEFAULT, sizeof(vertices)); 135 pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(vertices), vertices);
|
tri.c | 109 float vertices[4][2][4] = { local 125 PIPE_USAGE_DEFAULT, sizeof(vertices)); 126 pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(vertices), vertices);
|
/external/skia/bench/ |
GLInstancedArraysBench.cpp | 270 Vertex vertices[kVerticesPerTri * kNumTri]; local 272 Vertex* v = &vertices[i * kVerticesPerTri]; 299 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, sizeof(vertices), vertices, GR_GL_STATIC_DRAW));
|
/external/skia/gm/ |
gamut.cpp | 103 SkPoint vertices[4] = { variable 109 canvas->drawVertices(SkVertices::MakeCopy(SkVertices::kTriangleFan_VertexMode, 4, vertices, 114 return "Vertices";
|
/external/skia/src/gpu/ops/ |
GrAALinearizingConvexPathRenderer.cpp | 72 // extract the result vertices and indices from the GrAAConvexTessellator 74 void* vertices, 80 intptr_t verts = reinterpret_cast<intptr_t>(vertices); 195 const GrPipeline* pipeline, int vertexCount, size_t vertexStride, void* vertices, 206 SkDebugf("Could not allocate vertices\n"); 209 memcpy(verts, vertices, vertexCount * vertexStride); 249 uint8_t* vertices = (uint8_t*) sk_malloc_throw(maxVertices * vertexStride); variable 265 this->draw(target, gp.get(), pipeline, vertexCount, vertexStride, vertices, 273 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride) 288 sk_free(vertices); variable [all...] |
GrDrawVerticesOp.cpp | 14 sk_sp<SkVertices> vertices, 20 SkASSERT(vertices); 22 : SkVertexModeToGrPrimitiveType(vertices->mode()); 23 return Helper::FactoryHelper<GrDrawVerticesOp>(std::move(paint), std::move(vertices), primType, 29 sk_sp<SkVertices> vertices, GrPrimitiveType primitiveType, 37 SkASSERT(vertices); 39 fVertexCount = vertices->vertexCount(); 40 fIndexCount = vertices->indexCount(); 41 fColorArrayType = vertices->hasColors() ? ColorArrayType::kSkColor 45 fLinearizeColors = gammaCorrect && vertices->hasColors() 412 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(kIgnoredMode, vertexCount, positions.begin(), local [all...] |
GrLatticeOp.cpp | 105 void* vertices = helper.init(target, vertexStride, indexBuffer.get(), kVertsPerRect, variable 107 if (!vertices || !indexBuffer) { 108 SkDebugf("Could not allocate vertices\n"); 112 intptr_t verts = reinterpret_cast<intptr_t>(vertices);
|
GrNonAAFillRectOp.cpp | 67 static void tesselate(intptr_t vertices, 73 SkPoint* positions = reinterpret_cast<SkPoint*>(vertices); 87 reinterpret_cast<SkPoint*>(vertices + kLocalOffset + i * vertexStride); 93 GrColor* vertColor = reinterpret_cast<GrColor*>(vertices + kColorOffset); 181 void* vertices = helper.init(target, vertexStride, indexBuffer.get(), kVertsPerRect, variable 183 if (!vertices || !indexBuffer) { 184 SkDebugf("Could not allocate vertices\n"); 190 reinterpret_cast<intptr_t>(vertices) + i * kVertsPerRect * vertexStride; 303 void* vertices = helper.init(target, vertexStride, indexBuffer.get(), kVertsPerRect, variable 305 if (!vertices || !indexBuffer) [all...] |
/frameworks/base/libs/hwui/ |
BakedOpRenderer.cpp | 191 std::vector<Vertex> vertices; local 192 vertices.reserve(count); 193 Vertex* vertex = vertices.data(); 214 .setMeshIndexedQuads(vertices.data(), count / 4)
|
Glop.h | 103 struct Vertices { 110 } vertices; member in struct:android::uirenderer::Glop::Mesh
|
GlopBuilder.cpp | 81 mOutGlop->mesh.vertices = { 95 mOutGlop->mesh.vertices = { 106 // can't use unit quad VBO, so build UV vertices manually 114 mOutGlop->mesh.vertices = { 134 mOutGlop->mesh.vertices = { 148 mOutGlop->mesh.vertices = { 162 mOutGlop->mesh.vertices = { 176 mOutGlop->mesh.vertices = { 195 mOutGlop->mesh.vertices = { 211 mOutGlop->mesh.vertices = 665 const Glop::Mesh::Vertices& vertices = glop.mesh.vertices; local [all...] |
Matrix.cpp | 472 float vertices[] = { local 482 float px = vertices[i]; 483 float py = vertices[i + 1]; 490 vertices[i] = x * z; 491 vertices[i + 1] = y * z; 494 r.left = r.right = vertices[0]; 495 r.top = r.bottom = vertices[1]; 498 x = vertices[i]; 499 y = vertices[i + 1];
|
/frameworks/base/libs/hwui/renderstate/ |
RenderState.cpp | 268 const Glop::Mesh::Vertices& vertices = mesh.vertices; local 328 // vertices 329 meshState().bindMeshBuffer(vertices.bufferObject); 330 meshState().bindPositionVertexPointer(vertices.position, vertices.stride); 356 if (vertices.attribFlags & VertexAttribFlags::TextureCoord) { 358 meshState().bindTexCoordsVertexPointer(vertices.texCoord, vertices.stride) [all...] |
/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 233 const GLfloat vertices[] = {
local 254 glVertexPointer(3, GL_FLOAT, 0, vertices);
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/XRay/ |
Graph.h | 49 /// Usage Example Graph with weighted edges and vertices: 56 /// for(const auto &v : G.vertices()){ 57 /// // Do something with the vertices in the graph; 67 /// char vb[] = "Vertex B"; // Vertices are referenced by String Refs. 77 /// These objects are used to name edges and vertices in the graph. 81 /// This type is the value_type of all iterators which range over vertices, 82 /// Determined by the Vertices DenseMap 116 VertexMapT Vertices; 269 /// A class for ranging over the vertices in the graph. 285 iterator begin() { return G.Vertices.begin(); 350 VertexView<false> vertices() { return VertexView<false>(*this); } function in class:llvm::xray::Graph 352 VertexView<true> vertices() const { return VertexView<true>(*this); } function in class:llvm::xray::Graph [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/XRay/ |
Graph.h | 49 /// Usage Example Graph with weighted edges and vertices: 56 /// for(const auto &v : G.vertices()){ 57 /// // Do something with the vertices in the graph; 67 /// char vb[] = "Vertex B"; // Vertices are referenced by String Refs. 77 /// These objects are used to name edges and vertices in the graph. 81 /// This type is the value_type of all iterators which range over vertices, 82 /// Determined by the Vertices DenseMap 116 VertexMapT Vertices; 269 /// A class for ranging over the vertices in the graph. 285 iterator begin() { return G.Vertices.begin(); 350 VertexView<false> vertices() { return VertexView<false>(*this); } function in class:llvm::xray::Graph 352 VertexView<true> vertices() const { return VertexView<true>(*this); } function in class:llvm::xray::Graph [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/XRay/ |
Graph.h | 49 /// Usage Example Graph with weighted edges and vertices: 56 /// for(const auto &v : G.vertices()){ 57 /// // Do something with the vertices in the graph; 67 /// char vb[] = "Vertex B"; // Vertices are referenced by String Refs. 77 /// These objects are used to name edges and vertices in the graph. 81 /// This type is the value_type of all iterators which range over vertices, 82 /// Determined by the Vertices DenseMap 116 VertexMapT Vertices; 269 /// A class for ranging over the vertices in the graph. 285 iterator begin() { return G.Vertices.begin(); 350 VertexView<false> vertices() { return VertexView<false>(*this); } function in class:llvm::xray::Graph 352 VertexView<true> vertices() const { return VertexView<true>(*this); } function in class:llvm::xray::Graph [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/XRay/ |
Graph.h | 49 /// Usage Example Graph with weighted edges and vertices: 56 /// for(const auto &v : G.vertices()){ 57 /// // Do something with the vertices in the graph; 67 /// char vb[] = "Vertex B"; // Vertices are referenced by String Refs. 77 /// These objects are used to name edges and vertices in the graph. 81 /// This type is the value_type of all iterators which range over vertices, 82 /// Determined by the Vertices DenseMap 116 VertexMapT Vertices; 269 /// A class for ranging over the vertices in the graph. 285 iterator begin() { return G.Vertices.begin(); 350 VertexView<false> vertices() { return VertexView<false>(*this); } function in class:llvm::xray::Graph 352 VertexView<true> vertices() const { return VertexView<true>(*this); } function in class:llvm::xray::Graph [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/XRay/ |
Graph.h | 49 /// Usage Example Graph with weighted edges and vertices: 56 /// for(const auto &v : G.vertices()){ 57 /// // Do something with the vertices in the graph; 67 /// char vb[] = "Vertex B"; // Vertices are referenced by String Refs. 77 /// These objects are used to name edges and vertices in the graph. 81 /// This type is the value_type of all iterators which range over vertices, 82 /// Determined by the Vertices DenseMap 116 VertexMapT Vertices; 269 /// A class for ranging over the vertices in the graph. 285 iterator begin() { return G.Vertices.begin(); 350 VertexView<false> vertices() { return VertexView<false>(*this); } function in class:llvm::xray::Graph 352 VertexView<true> vertices() const { return VertexView<true>(*this); } function in class:llvm::xray::Graph [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/XRay/ |
Graph.h | 49 /// Usage Example Graph with weighted edges and vertices: 56 /// for(const auto &v : G.vertices()){ 57 /// // Do something with the vertices in the graph; 67 /// char vb[] = "Vertex B"; // Vertices are referenced by String Refs. 77 /// These objects are used to name edges and vertices in the graph. 81 /// This type is the value_type of all iterators which range over vertices, 82 /// Determined by the Vertices DenseMap 116 VertexMapT Vertices; 269 /// A class for ranging over the vertices in the graph. 285 iterator begin() { return G.Vertices.begin(); 350 VertexView<false> vertices() { return VertexView<false>(*this); } function in class:llvm::xray::Graph 352 VertexView<true> vertices() const { return VertexView<true>(*this); } function in class:llvm::xray::Graph [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/XRay/ |
Graph.h | 49 /// Usage Example Graph with weighted edges and vertices: 56 /// for(const auto &v : G.vertices()){ 57 /// // Do something with the vertices in the graph; 67 /// char vb[] = "Vertex B"; // Vertices are referenced by String Refs. 77 /// These objects are used to name edges and vertices in the graph. 81 /// This type is the value_type of all iterators which range over vertices, 82 /// Determined by the Vertices DenseMap 116 VertexMapT Vertices; 269 /// A class for ranging over the vertices in the graph. 285 iterator begin() { return G.Vertices.begin(); 350 VertexView<false> vertices() { return VertexView<false>(*this); } function in class:llvm::xray::Graph 352 VertexView<true> vertices() const { return VertexView<true>(*this); } function in class:llvm::xray::Graph [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/XRay/ |
Graph.h | 49 /// Usage Example Graph with weighted edges and vertices: 56 /// for(const auto &v : G.vertices()){ 57 /// // Do something with the vertices in the graph; 67 /// char vb[] = "Vertex B"; // Vertices are referenced by String Refs. 77 /// These objects are used to name edges and vertices in the graph. 81 /// This type is the value_type of all iterators which range over vertices, 82 /// Determined by the Vertices DenseMap 116 VertexMapT Vertices; 269 /// A class for ranging over the vertices in the graph. 285 iterator begin() { return G.Vertices.begin(); 350 VertexView<false> vertices() { return VertexView<false>(*this); } function in class:llvm::xray::Graph 352 VertexView<true> vertices() const { return VertexView<true>(*this); } function in class:llvm::xray::Graph [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiSmokeTests.cpp | 308 void renderReferenceTriangle (const tcu::PixelBufferAccess& dst, const tcu::Vec4 (&vertices)[3]) 319 rr::VertexAttrib(rr::VERTEXATTRIBTYPE_FLOAT, 4, sizeof(tcu::Vec4), 0, vertices[0].getPtr()) 327 rr::PrimitiveList(rr::PRIMITIVETYPE_TRIANGLES, DE_LENGTH_OF_ARRAY(vertices), 0))); 341 const tcu::Vec4 vertices[] = local 353 (VkDeviceSize)sizeof(vertices), // size 867 (VkDeviceSize)sizeof(vertices), // size 871 deMemcpy(vertexBufPtr, &vertices[0], sizeof(vertices)); 922 renderReferenceTriangle(refImage.getAccess(), vertices); 953 const tcu::Vec4 vertices[] = local [all...] |