HomeSort by relevance Sort by last modified time
    Searched refs:vertices (Results 51 - 75 of 338) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/skia/src/gpu/ccpr/
GrCCPathParser.cpp 215 GrTessellator::WindingVertex* vertices = nullptr; local
217 SkRect::Make(clippedDevIBounds), &vertices);
220 int tessWinding = vertices[i].fWinding;
221 SkASSERT(tessWinding == vertices[i + 1].fWinding);
222 SkASSERT(tessWinding == vertices[i + 2].fWinding);
227 float ax = vertices[i].fPos.fX - vertices[i + 1].fPos.fX;
228 float ay = vertices[i].fPos.fY - vertices[i + 1].fPos.fY;
229 float bx = vertices[i].fPos.fX - vertices[i + 2].fPos.fX
    [all...]
  /frameworks/base/libs/hwui/
Patch.h 50 std::unique_ptr<TextureVertex[]> vertices; member in class:android::uirenderer::Patch
BakedOpDispatcher.cpp 39 static void storeTexturedRect(TextureVertex* vertices, const Rect& bounds) {
40 vertices[0] = {bounds.left, bounds.top, 0, 0};
41 vertices[1] = {bounds.right, bounds.top, 1, 0};
42 vertices[2] = {bounds.left, bounds.bottom, 0, 1};
43 vertices[3] = {bounds.right, bounds.bottom, 1, 1};
55 TextureVertex vertices[opList.count * 4]; local
58 TextureVertex* rectVerts = &vertices[i * 4];
77 .setMeshTexturedIndexedQuads(vertices, opList.count * 6)
94 // of vertices we need in the new mesh
111 TextureVertex vertices[totalVertices] local
473 const float* vertices = op.vertices; local
    [all...]
AmbientShadow.cpp 18 * Extra vertices for the corner for smoother corner.
19 * Only for outer vertices.
22 // For half circle, we could add EXTRA_VERTEX_PER_PI vertices.
27 // therefore, the maximum number of extra vertices will be twice bigger.
34 * Extra vertices for the Edge for interpolation artifacts.
35 * Same value for both inner and outer vertices.
49 // edge vertices.
68 inline Vector2 getNormalFromVertices(const Vector3* vertices, int current, int next) {
70 Vector2 currentVertex = {vertices[current].x, vertices[current].y}
    [all...]
RecordedOp.h 219 BitmapMeshOp(BASE_PARAMS, Bitmap* bitmap, int meshWidth, int meshHeight, const float* vertices,
225 , vertices(vertices)
230 const float* vertices; member in struct:android::uirenderer::BitmapMeshOp
354 SimpleRectsOp(BASE_PARAMS, Vertex* vertices, size_t vertexCount)
355 : SUPER(SimpleRectsOp), vertices(vertices), vertexCount(vertexCount) {}
356 Vertex* vertices; member in struct:android::uirenderer::SimpleRectsOp
  /external/mesa3d/src/gallium/tests/graw/
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...]
quad-tex.c 22 static struct vertex vertices[] = variable in typeref:struct:vertex
63 sizeof(vertices),
64 vertices);
tex-swizzle.c 22 static struct vertex vertices[] = variable in typeref:struct:vertex
61 sizeof(vertices),
62 vertices);
tri-large.c 25 static struct vertex vertices[3] = variable in typeref:struct:vertex
65 sizeof(vertices),
66 vertices);
tri.c 22 static struct vertex vertices[3] = variable in typeref:struct:vertex
62 sizeof(vertices),
63 vertices);
  /external/skia/src/gpu/ops/
GrAALinearizingConvexPathRenderer.cpp 79 // extract the result vertices and indices from the GrAAConvexTessellator
81 void* vertices,
87 intptr_t verts = reinterpret_cast<intptr_t>(vertices);
208 const GrPipeline* pipeline, int vertexCount, size_t vertexStride, void* vertices,
219 SkDebugf("Could not allocate vertices\n");
222 memcpy(verts, vertices, vertexCount * vertexStride);
262 uint8_t* vertices = (uint8_t*) sk_malloc_throw(maxVertices * vertexStride); variable
277 this->draw(target, gp.get(), pipeline, vertexCount, vertexStride, vertices,
285 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride)
300 sk_free(vertices); variable
    [all...]
GrRegionOp.cpp 28 static void tesselate_region(intptr_t vertices,
34 intptr_t verts = vertices;
130 void* vertices = variable
133 if (!vertices || !indexBuffer) {
134 SkDebugf("Could not allocate vertices\n");
138 intptr_t verts = reinterpret_cast<intptr_t>(vertices);
  /external/skqp/src/gpu/ops/
GrAALinearizingConvexPathRenderer.cpp 79 // extract the result vertices and indices from the GrAAConvexTessellator
81 void* vertices,
87 intptr_t verts = reinterpret_cast<intptr_t>(vertices);
208 const GrPipeline* pipeline, int vertexCount, size_t vertexStride, void* vertices,
219 SkDebugf("Could not allocate vertices\n");
222 memcpy(verts, vertices, vertexCount * vertexStride);
262 uint8_t* vertices = (uint8_t*) sk_malloc_throw(maxVertices * vertexStride); variable
278 this->draw(target, gp.get(), pipeline, vertexCount, vertexStride, vertices,
286 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride)
301 sk_free(vertices); variable
    [all...]
GrRegionOp.cpp 28 static void tesselate_region(intptr_t vertices,
34 intptr_t verts = vertices;
130 void* vertices = variable
133 if (!vertices || !indexBuffer) {
134 SkDebugf("Could not allocate vertices\n");
138 intptr_t verts = reinterpret_cast<intptr_t>(vertices);
  /cts/tests/openglperf2/
cob_exporter.py 6 # android. While open gl allows the use of an index buffer for vertices, the same cannot be done
7 # for texture coordinates, which is why this script duplicates the vertices and normals. This
9 # The format is number of vertices + list of vertices (3 coord, 3 normal, 2 texcoord)
47 for vertex_index, vertex_itself in enumerate(mesh.data.faces[uv_index].vertices):
49 vertex = mesh.data.vertices[vertex_itself]
  /external/skia/src/core/
SkThreadedBMPDevice.cpp 208 void SkThreadedBMPDevice::drawVertices(const SkVertices* vertices, SkBlendMode bmode,
212 TileDraw(ds, tileBounds).drawVertices(vertices->mode(), vertices->vertexCount(),
213 vertices->positions(), vertices->texCoords(),
214 vertices->colors(), bmode, vertices->indices(),
215 vertices->indexCount(), paint);
  /external/skqp/src/core/
SkThreadedBMPDevice.cpp 193 void SkThreadedBMPDevice::drawVertices(const SkVertices* vertices, SkBlendMode bmode,
197 TileDraw(ds, tileBounds).drawVertices(vertices->mode(), vertices->vertexCount(),
198 vertices->positions(), vertices->texCoords(),
199 vertices->colors(), bmode, vertices->indices(),
200 vertices->indexCount(), paint);
  /external/mesa3d/src/gallium/auxiliary/hud/
hud_context.c 94 /* vertices for text and background drawing are accumulated here and then
97 float *vertices; member in struct:hud_context::vertex_queue
161 float *vertices = hud->bg.vertices + hud->bg.num_vertices*2; local
166 vertices[num++] = (float) x1;
167 vertices[num++] = (float) y1;
169 vertices[num++] = (float) x1;
170 vertices[num++] = (float) y2;
172 vertices[num++] = (float) x2;
173 vertices[num++] = (float) y2
187 float *vertices = hud->text.vertices + hud->text.num_vertices*4; local
    [all...]
  /cts/tests/openglperf2/jni/graphics/
GLUtils.cpp 101 float* vertices = new float[numVertices * 3]; local
105 // Vertices
107 vertices[vIndex + 0] = readFloat(buffer + index);
109 vertices[vIndex + 1] = readFloat(buffer + index);
111 vertices[vIndex + 2] = readFloat(buffer + index);
127 return new Mesh(vertices, normals, texCoords, numVertices);
  /external/skia/src/utils/
SkShadowUtils.cpp 241 sk_sp<SkVertices> vertices = factory.makeVertices(path, matrix, translate); local
242 if (!vertices) {
253 fEntries[i].fVertices = vertices;
255 fSize += vertices->approximateSize();
256 return vertices;
276 * A record of shadow vertices stored in SkResourceCache of CachedTessellations for a particular
311 * vertices and a translation vector. If the CachedTessellations does not contain a suitable
320 // If this is valid after Find is called then we found the vertices and they should be drawn
325 // If this is valid after Find then the caller should add the vertices to the tessellation set
334 * the FindContext are used to determine if the vertices are reusable. If so the vertices an
409 sk_sp<SkVertices> vertices; local
574 sk_sp<SkVertices> vertices = SkShadowTessellator::MakeAmbient(path, viewMatrix, local
654 sk_sp<SkVertices> vertices = SkShadowTessellator::MakeSpot(path, viewMatrix, local
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/draw/
vktBasicDrawTests.cpp 103 std::vector<PositionColorVertex> vertices; member in struct:vkt::Draw::__anon17670::DrawParamsBase
281 void generateRefImage (const tcu::PixelBufferAccess& access, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4>& colors) const;
410 const vk::VkDeviceSize dataSize = m_data.vertices.size() * sizeof(PositionColorVertex);
415 deMemcpy(ptr, &(m_data.vertices[0]), static_cast<size_t>(dataSize));
496 void DrawTestInstanceBase::generateRefImage (const tcu::PixelBufferAccess& access, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4>& colors) const
508 rr::VertexAttrib(rr::VERTEXATTRIBTYPE_FLOAT, 4, sizeof(tcu::Vec4), 0, &vertices[0]),
517 rr::PrimitiveList(mapVkPrimitiveTopology(m_data.topology), (deUint32)vertices.size(), 0)));
643 m_data.vertices = std::vector<PositionColorVertex>(vectorSize, PositionColorVertex(tcu::Vec4(0.0, 0.0, 0.0, 0.0), tcu::Vec4(0.0, 0.0, 0.0, 0.0)));
648 m_data.vertices[vertexIdx] = PositionColorVertex(
689 std::vector<tcu::Vec4> vertices; local
817 std::vector<tcu::Vec4> vertices; local
960 std::vector<tcu::Vec4> vertices; local
1154 std::vector<tcu::Vec4> vertices; local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/os/
RotationVectorDemo.java 163 final float vertices[] = { local
186 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4);
189 mVertexBuffer.put(vertices);
  /external/libxcam/xcore/interface/
stitcher.h 229 VertexMap &vertices, PointMap &texture_points, IndexVector &indeices,
233 VertexMap &vertices, PointMap &texture_points, IndexVector &indeices,
237 VertexMap &vertices, PointMap &texture_points, IndexVector &indeices,
  /external/mesa3d/src/gallium/drivers/ilo/
ilo_blitter_rectlist.c 47 /* a rectangle has 3 vertices in a RECTLIST */
110 * "(RECTLIST) A list of independent rectangles, where only 3 vertices
115 blitter->vertices[0][0] = (float) (x + width);
116 blitter->vertices[0][1] = (float) (y + height);
117 blitter->vertices[1][0] = (float) x;
118 blitter->vertices[1][1] = (float) (y + height);
119 blitter->vertices[2][0] = (float) x;
120 blitter->vertices[2][1] = (float) y;
  /external/tensorflow/tensorflow/examples/android/jni/object_tracking/
sprite.h 63 const float vertices[] = { 0.0f, 0.0f, 0.0f, local
85 glVertexPointer(3, GL_FLOAT, 0, vertices);

Completed in 671 milliseconds

1 23 4 5 6 7 8 91011>>