/external/mesa3d/src/gallium/tests/graw/ |
fs-frontface.c | 23 static struct vertex vertices[] = variable in typeref:struct:vertex 68 #define NUM_VERTS (sizeof(vertices) / sizeof(vertices[0])) 96 sizeof(vertices), 97 vertices);
|
fs-write-z.c | 27 static struct vertex vertices[] = variable in typeref:struct:vertex 72 #define NUM_VERTS (sizeof(vertices) / sizeof(vertices[0])) 100 sizeof(vertices), 101 vertices);
|
/frameworks/av/cmds/screenrecord/ |
TextRenderer.cpp | 194 float vertices[len * quadCoords]; 218 vertices[off + 0] = vertLeft; 219 vertices[off + 1] = vertBottom; 220 vertices[off + 2] = vertRight; 221 vertices[off + 3] = vertBottom; 222 vertices[off + 4] = vertLeft; 223 vertices[off + 5] = vertTop; 224 vertices[off + 6] = vertLeft; 225 vertices[off + 7] = vertTop; 226 vertices[off + 8] = vertRight [all...] |
Program.h | 62 const float* vertices, const float* texes, size_t count) const; 72 const float* vertices, const float* texes, bool invert) const;
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineInputAssemblyTests.cpp | 300 std::vector<Vertex4RGBA> vertices; local 351 vertices.push_back(vertex); 367 vertices.push_back(vertex); 384 vertices.push_back(vertex); 388 vertices.push_back(vertex); 399 vertices.push_back(vertex); 416 vertices.push_back(vertex); 435 vertices.push_back(vertex); 447 vertices.push_back(vertex); 467 vertices.push_back(vertex) 655 std::vector<Vertex4RGBA> vertices; local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/ |
Cube.java | 33 int vertices[] = { local 72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); 75 mVertexBuffer.put(vertices);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Cube.java | 33 int vertices[] = { local 72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); 75 mVertexBuffer.put(vertices);
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
Cube.java | 33 int vertices[] = { local 72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); 75 mVertexBuffer.put(vertices);
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/ |
Cube.java | 33 int vertices[] = { local 72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); 75 mVertexBuffer.put(vertices);
|
/external/autotest/client/deps/glbench/src/ |
varyingsandddxytest.cc | 169 GLfloat *vertices = NULL; local 171 CreateLattice(&vertices, &vertex_buffer_size, 1.f / c, 1.f / c, c, c); 173 vertex_buffer_size, vertices); 217 delete[] vertices;
|
utils.h | 36 void CreateLattice(GLfloat **vertices, GLsizeiptr *size,
|
/external/deqp/framework/referencerenderer/ |
rrPrimitivePacket.hpp | 45 const VertexPacket* vertices[6]; member in struct:rr::PrimitivePacket 51 * Geometry emitter handles outputting of new vertices from geometry shader
|
rrRenderer.cpp | 271 TriangleVertex vertices[3]; member in struct:rr::__anon18228::cliputil::SubTriangle 436 void clipTriangleToPlane (std::vector<TriangleVertex>& clippedEdges, const TriangleVertex* vertices, const ClipVolumePlane& plane) 438 const bool v0Clipped = !plane.pointInClipVolume(vertices[0].position); 439 const bool v1Clipped = !plane.pointInClipVolume(vertices[1].position); 440 const bool v2Clipped = !plane.pointInClipVolume(vertices[2].position); 446 clippedEdges.insert(clippedEdges.begin(), vertices, vertices + 3); 451 if (v0Clipped) clipTriangleOneVertex(clippedEdges, plane, vertices[0], vertices[1], vertices[2]) 905 std::set<VertexPacket*, std::less<void*> > vertices; local [all...] |
/external/skia/src/gpu/ops/ |
GrTextureOp.cpp | 35 * the same value across all vertices of a quad and uses flat interpolation when available). This is 293 static void AssignPositionsAndTexCoords(Vertex* vertices, const GrQuad& quad, 295 vertices[0].fPosition = quad.point(0); 296 vertices[0].fTextureCoords = {texRect.fLeft, texRect.fTop}; 297 vertices[1].fPosition = quad.point(1); 298 vertices[1].fTextureCoords = {texRect.fLeft, texRect.fBottom}; 299 vertices[2].fPosition = quad.point(2); 300 vertices[2].fTextureCoords = {texRect.fRight, texRect.fTop}; 301 vertices[3].fPosition = quad.point(3); 302 vertices[3].fTextureCoords = {texRect.fRight, texRect.fBottom} 584 auto vertices = static_cast<TextureGeometryProcessor::AAVertex*>(vdata); variable 592 auto vertices = static_cast<TextureGeometryProcessor::Vertex*>(vdata); variable 611 auto vertices = static_cast<TextureGeometryProcessor::AAMultiTextureVertex*>(vdata); variable 623 auto vertices = static_cast<TextureGeometryProcessor::MultiTextureVertex*>(vdata); 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() 413 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(kIgnoredMode, vertexCount, positions.begin(), local [all...] |
/external/skqp/src/gpu/ops/ |
GrTextureOp.cpp | 35 * the same value across all vertices of a quad and uses flat interpolation when available). This is 298 static void AssignPositionsAndTexCoords(Vertex* vertices, const GrQuad& quad, 300 vertices[0].fPosition = quad.point(0); 301 vertices[0].fTextureCoords = {texRect.fLeft, texRect.fTop}; 302 vertices[1].fPosition = quad.point(1); 303 vertices[1].fTextureCoords = {texRect.fLeft, texRect.fBottom}; 304 vertices[2].fPosition = quad.point(2); 305 vertices[2].fTextureCoords = {texRect.fRight, texRect.fTop}; 306 vertices[3].fPosition = quad.point(3); 307 vertices[3].fTextureCoords = {texRect.fRight, texRect.fBottom} 589 auto vertices = static_cast<TextureGeometryProcessor::AAVertex*>(vdata); variable 597 auto vertices = static_cast<TextureGeometryProcessor::Vertex*>(vdata); variable 616 auto vertices = static_cast<TextureGeometryProcessor::AAMultiTextureVertex*>(vdata); variable 628 auto vertices = static_cast<TextureGeometryProcessor::MultiTextureVertex*>(vdata); 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() 413 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(kIgnoredMode, vertexCount, positions.begin(), local [all...] |
/frameworks/base/libs/hwui/ |
PathTessellator.cpp | 83 * from each vertex in a perimeter is calculated, the resultant lines connecting the offset vertices 204 * Fills a vertexBuffer with non-alpha vertices, zig-zagging at each perimeter point to create a 207 * Uses an additional 2 vertices at the end to wrap around, closing the tri-strip 208 * (for a total of perimeter.size() * 2 + 2 vertices) 262 * Fills a vertexBuffer with non-alpha vertices similar to getStrokeVerticesFromPerimeter, except: 264 * 1 - Doesn't need to wrap around, since the input vertices are unclosed 266 * 2 - can zig-zag across 'extra' vertices at either end, to create round caps 269 const std::vector<Vertex>& vertices, 272 const int allocSize = (vertices.size() + extra) * 2; 275 const int lastIndex = vertices.size() - 1 [all...] |
GlopBuilder.cpp | 78 mOutGlop->mesh.vertices = {vbo, VertexAttribFlags::TextureCoord, 90 mOutGlop->mesh.vertices = {mRenderState.meshState().getUnitQuadVBO(), 102 // can't use unit quad VBO, so build UV vertices manually 110 mOutGlop->mesh.vertices = {mRenderState.meshState().getUnitQuadVBO(), 131 mOutGlop->mesh.vertices = {0, 146 mOutGlop->mesh.vertices = { 157 mOutGlop->mesh.vertices = {0, 173 mOutGlop->mesh.vertices = {0, 193 mOutGlop->mesh.vertices = {0, 210 mOutGlop->mesh.vertices = {mCaches.patchCache.getMeshBuffer() 657 const Glop::Mesh::Vertices& vertices = glop.mesh.vertices; local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
ObjImporter.java | 84 ArrayList<Float> vertices = new ArrayList<Float>(); local 101 vertices.add(Float.parseFloat(parts.nextToken())); 102 vertices.add(Float.parseFloat(parts.nextToken())); 103 vertices.add(Float.parseFloat(parts.nextToken())); 128 if (idx < 0) idx = (vertices.size() / 3) + idx; 185 aVertices[vertexIndex] = vertices.get(faceIndex); 186 aVertices[vertexIndex + 1] = vertices.get(faceIndex + 1); 187 aVertices[vertexIndex + 2] = vertices.get(faceIndex + 2);
|
/frameworks/base/libs/hwui/renderstate/ |
MeshState.h | 76 // Vertices 82 void bindPositionVertexPointer(const GLvoid* vertices, GLsizei stride = kTextureVertexStride); 88 void bindTexCoordsVertexPointer(const GLvoid* vertices, GLsizei stride = kTextureVertexStride);
|
/external/skqp/src/utils/ |
SkShadowUtils.cpp | 240 sk_sp<SkVertices> vertices = factory.makeVertices(path, matrix, translate); local 241 if (!vertices) { 252 fEntries[i].fVertices = vertices; 254 fSize += vertices->approximateSize(); 255 return vertices; 275 * A record of shadow vertices stored in SkResourceCache of CachedTessellations for a particular 310 * vertices and a translation vector. If the CachedTessellations does not contain a suitable 319 // If this is valid after Find is called then we found the vertices and they should be drawn 324 // If this is valid after Find then the caller should add the vertices to the tessellation set 333 * the FindContext are used to determine if the vertices are reusable. If so the vertices an 408 sk_sp<SkVertices> vertices; local 561 sk_sp<SkVertices> vertices = SkShadowTessellator::MakeAmbient(path, viewMatrix, local 590 sk_sp<SkVertices> vertices = SkShadowTessellator::MakeSpot(path, viewMatrix, local [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_vbuf.c | 66 /** Vertices in hardware format */ 67 unsigned *vertices; member in struct:vbuf_stage 126 * Recall that the vertices are constructed by the 'draw' module and 135 /* Hmm - vertices are emitted one at a time - better make sure 199 * Set the prim type for subsequent vertices. 223 /* Translate from pipeline vertices to hw vertices. 279 assert(vbuf->vertices == NULL); 330 if(vbuf->vertices) { 343 /* Reset temporary vertices ids * [all...] |
/external/skia/src/gpu/ |
GrPathUtils.h | 65 * path renderer will have a small fixed number of vertices that it 68 * N is the number of vertices. 71 * vertices is a pointer to the first vertex. 74 void apply(const void* vertices) const { 75 intptr_t xyPtr = reinterpret_cast<intptr_t>(vertices); 76 intptr_t uvPtr = reinterpret_cast<intptr_t>(vertices) + UV_OFFSET;
|
/external/skqp/src/gpu/ |
GrPathUtils.h | 65 * path renderer will have a small fixed number of vertices that it 68 * N is the number of vertices. 71 * vertices is a pointer to the first vertex. 74 void apply(const void* vertices) const { 75 intptr_t xyPtr = reinterpret_cast<intptr_t>(vertices); 76 intptr_t uvPtr = reinterpret_cast<intptr_t>(vertices) + UV_OFFSET;
|