/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineImageTests.cpp | 207 const std::vector<Vertex4Tex4> vertices = createTestQuadMosaic(m_imageViewType); local 240 return new ImageSamplingInstance(context, renderSize, m_imageViewType, m_imageFormat, m_imageSize, m_arraySize, componentMapping, subresourceRange, samplerParams, 0.0f, vertices, m_samplingType, m_imageCount, m_allocationKind);
|
vktPipelineImageViewTests.cpp | 198 const std::vector<Vertex4Tex4> vertices = createTestQuadMosaic(m_imageViewType); local 222 return new ImageSamplingInstance(context, renderSize, m_imageViewType, m_imageFormat, imageSize, arraySize, m_componentMapping, m_subresourceRange, samplerParams, m_samplerLod, vertices);
|
vktPipelineSamplerTests.cpp | 250 const std::vector<Vertex4Tex4> vertices = createVertices(); local 268 samplerParams, m_samplerLod,vertices); 285 std::vector<Vertex4Tex4> vertices = createTestQuadMosaic(m_imageViewType); local 289 for (unsigned int i = 0; i < vertices.size(); ++i) { 290 vertices[i].texCoord += tcu::Vec4(0.002f, 0.002f, 0.002f, 0.0f); 292 return vertices; 512 std::vector<Vertex4Tex4> vertices = SamplerTest::createVertices(); local 517 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNdx++) 518 vertices[vertexNdx].texCoord.x() = (vertices[vertexNdx].texCoord.x() - 0.5f) * 4.0f [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationGeometryPassthroughTests.cpp | 148 << "layout(vertices = 4) out;\n" 290 << "layout(vertices = " << numVerticesPerPrimitive(m_primitiveType, false) << ") out;\n" 404 std::vector<tcu::Vec4> vertices; member in struct:vkt::tessellation::__anon16771::PassthroughTestInstance::Params 442 const VkDeviceSize vertexDataSizeBytes = sizeInBytes(m_params.vertices); 448 deMemcpy(alloc.getHostPtr(), &m_params.vertices[0], static_cast<std::size_t>(vertexDataSizeBytes)); 568 vk.cmdDraw(*cmdBuffer, static_cast<deUint32>(m_params.vertices.size()), 1u, 0u, 0u); 635 params.vertices.push_back(tcu::Vec4( -0.9f, -0.9f, 0.0f, 1.0f )); 636 params.vertices.push_back(tcu::Vec4( -0.9f, 0.9f, 0.0f, 1.0f )); 637 params.vertices.push_back(tcu::Vec4( 0.9f, -0.9f, 0.0f, 1.0f )); 638 params.vertices.push_back(tcu::Vec4( 0.9f, 0.9f, 0.0f, 1.0f )) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
vktYCbCrImageQueryTests.cpp | 579 vector<Vec4> vertices; local 581 vertices.push_back(Vec4(-1.0f, -1.0f, 0.0f, 1.0f)); 582 vertices.push_back(Vec4(+1.0f, -1.0f, 0.0f, 1.0f)); 583 vertices.push_back(Vec4(-1.0f, +1.0f, 0.0f, 1.0f)); 585 vertices.push_back(Vec4(+1.0f, -1.0f, 0.0f, 1.0f)); 586 vertices.push_back(Vec4(-1.0f, +1.0f, 0.0f, 1.0f)); 587 vertices.push_back(Vec4(+1.0f, +1.0f, 0.0f, 1.0f)); 589 return vertices; 607 const vector<Vec4> vertices (LocalUtil::getVertices()); 609 const DrawCallData drawCallData(vertices); [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
gs-test.c | 65 static struct vertex vertices[] = variable in typeref:struct:vertex 247 sizeof(vertices), 248 vertices);
|
/external/mesa3d/src/intel/blorp/ |
blorp_genX_exec.h | 180 const float vertices[] = { local 186 void *data = blorp_alloc_vertex_buffer(batch, sizeof(vertices), addr); 187 memcpy(data, vertices, sizeof(vertices)); 188 *size = sizeof(vertices); 298 * vertices. The vertices reside in screen space with DirectX 337 * their values will be the same between vertices. [all...] |
/external/skia/src/gpu/ops/ |
GrAAFillRectOp.cpp | 251 void* vertices = variable 254 if (!vertices || !indexBuffer) { 255 SkDebugf("Could not allocate vertices\n"); 263 reinterpret_cast<intptr_t>(vertices) + i * kVertsPerAAFillRect * vertexStride;
|
GrAAStrokeRectOp.cpp | 88 // to draw the outside of the octagon. Because there are 8 vertices on the outer 217 void generateAAStrokeRectGeometry(void* vertices, 272 void* vertices = local 275 if (!vertices || !indexBuffer) { 276 SkDebugf("Could not allocate vertices\n"); 282 this->generateAAStrokeRectGeometry(vertices, 424 void AAStrokeRectOp::generateAAStrokeRectGeometry(void* vertices, 436 intptr_t verts = reinterpret_cast<intptr_t>(vertices) + offset; 438 // We create vertices for four nested rectangles. There are two ramps from 0 to full
|
GrMSAAPathRenderer.cpp | 55 Vertex* vertices; member in struct:MSAALineVertices 70 Vertex* vertices; member in struct:MSAAQuadVertices 92 int prevIdx = (uint16_t) (lines.nextVertex - lines.vertices - 1); 105 uint16_t offset = (uint16_t) (quads.nextVertex - quads.vertices) - 3; 346 lines.vertices = (MSAALineVertices::Vertex*) target->makeVertexSpace(lineVertexStride, 350 if (!lines.vertices) { 351 SkDebugf("Could not allocate vertices\n"); 354 lines.nextVertex = lines.vertices; 355 SkDEBUGCODE(lines.verticesEnd = lines.vertices + fMaxLineVertices;) 360 quads.vertices = (MSAAQuadVertices::Vertex*) quadVertexPtr.get() [all...] |
/external/skia/tests/ |
OnFlushCallbackTest.cpp | 115 void* vertices = target->makeVertexSpace(vertexStride, 4, &vertexBuffer, &firstVertex); variable 116 if (!vertices) { 117 SkDebugf("Vertices could not be allocated for GrAtlasedOp.\n"); 130 SkPoint* position = (SkPoint*) vertices; 134 GrColor* color = (GrColor*)((intptr_t)vertices + kColorOffset); 142 SkPoint* coords = (SkPoint*)((intptr_t) vertices + kLocalOffset);
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
vktFragmentOperationsScissorTests.cpp | 377 std::vector<VertexData> vertices; local 393 vertices.push_back(makeVertex(x, y, primitiveColor)); 402 vertices.push_back(makeVertex(x, y, primitiveColor)); 403 vertices.push_back(makeVertex(x + size, y + size, primitiveColor)); 412 vertices.push_back(makeVertex(x, y, primitiveColor)); 413 vertices.push_back(makeVertex(x + size/2.0f, y + size, primitiveColor)); 414 vertices.push_back(makeVertex(x + size, y, primitiveColor)); 419 vertices.push_back(makeVertex(x0, y0, primitiveColor)); 420 vertices.push_back(makeVertex(x0 + rx, y0 + ry, primitiveColor)); 424 vertices.push_back(makeVertex(x0, y0, primitiveColor)) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fShaderHelperInvocationTests.cpp | 169 vector<Vec2> vertices; local 172 genVertices(primType, numPrimitives, rnd, &vertices); 174 vertexArrays.push_back(glu::va::Float("a_position", 2, (int)vertices.size(), 0, (const float*)&vertices[0])); 197 glu::PrimitiveList(getGluPrimitiveType(primType), (int)vertices.size()));
|
/external/skia/src/core/ |
SkDevice.cpp | 131 auto vertices = SkPatchUtils::MakeVertices(cubics, colors, texCoords, lod.width(), lod.height(), local 133 if (vertices) { 134 this->drawVertices(vertices.get(), bmode, paint);
|
SkLiteDL.cpp | 449 : vertices(sk_ref_sp(const_cast<SkVertices*>(v))), mode(m), paint(p) {} 450 sk_sp<SkVertices> vertices; member in struct:__anon30901::final 454 c->drawVertices(vertices, mode, paint); 661 void SkLiteDL::drawVertices(const SkVertices* vertices, SkBlendMode mode, const SkPaint& paint) { 662 this->push<DrawVertices>(0, vertices, mode, paint);
|
SkPicturePlayback.cpp | 702 const SkVertices* vertices = fPictureData->getVertices(reader); local 707 if (paint && vertices) { 708 canvas->drawVertices(vertices, bmode, *paint);
|
/external/skia/src/utils/ |
SkShadowUtils.cpp | 239 sk_sp<SkVertices> vertices = factory.makeVertices(path, matrix, translate); local 240 if (!vertices) { 251 fEntries[i].fVertices = vertices; 253 fSize += vertices->approximateSize(); 254 return vertices; 274 * A record of shadow vertices stored in SkResourceCache of CachedTessellations for a particular 309 * vertices and a translation vector. If the CachedTessellations does not contain a suitable 318 // If this is valid after Find is called then we found the vertices and they should be drawn 323 // If this is valid after Find then the caller should add the vertices to the tessellation set 332 * the FindContext are used to determine if the vertices are reusable. If so the vertices an 407 sk_sp<SkVertices> vertices; local 538 sk_sp<SkVertices> vertices = SkShadowTessellator::MakeAmbient(path, viewMatrix, local 570 sk_sp<SkVertices> vertices = SkShadowTessellator::MakeSpot(path, viewMatrix, local [all...] |
/external/vulkan-validation-layers/demos/smoke/ |
Meshes.cpp | 97 void build(const std::vector<std::array<float, 6>> &vertices, const std::vector<std::array<int, 3>> &faces) 99 positions_.reserve(vertices.size()); 100 normals_.reserve(vertices.size()); 101 for (const auto &v : vertices) { 167 const std::vector<std::array<float, 6>> vertices = { local 185 mesh.build(vertices, faces); 206 // vertices are from three golden rectangles 507 // indices follow vertices
|
/frameworks/base/libs/hwui/ |
RecordedOp.h | 225 const float* vertices, const int* colors) 230 , vertices(vertices) 235 const float* vertices; member in struct:android::uirenderer::BitmapMeshOp 376 SimpleRectsOp(BASE_PARAMS, Vertex* vertices, size_t vertexCount) 378 , vertices(vertices) 380 Vertex* vertices; member in struct:android::uirenderer::SimpleRectsOp
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
SunCertPathBuilder.java | 265 List<Vertex> vertices = addVertices(certs, adjList); local 268 + "certs.size=" + vertices.size()); 278 vertices: 279 for (Vertex vertex : vertices) { 439 continue vertices; local
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
PlanetsRenderer.java | 95 * x (numSlices x 1) much of vertices 399 FloatBuffer vertices = mSpheres[i].getVertices(); local 400 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, vertices.limit() 401 * Sphere.FLOAT_SIZE, vertices, GLES20.GL_STATIC_DRAW);
|
/external/ImageMagick/coders/ |
svg.c | 178 *vertices, 774 if (svg_info->vertices != (char *) NULL) 775 svg_info->vertices=DestroyString(svg_info->vertices); 176 *vertices, member in struct:_SVGInfo [all...] |
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
demo.c | 134 static GLOBJECT * newGLObject(long vertices, int vertexComponents, 141 result->count = vertices; 143 result->vertexArraySize = vertices * vertexComponents * sizeof(GLfloat); 148 result->colorArraySize = vertices * 4 * sizeof(GLubyte); 160 result->normalArraySize = vertices * 3 * sizeof(GLfloat); 343 const long vertices = triangleCount * 3; local 349 result = newGLObject(vertices, 3, 1, 1); 474 // Set number of vertices in object to the actual amount created. 489 const long vertices = triangleCount * 3; local 494 result = newGLObject(vertices, 2, 1, 0) [all...] |
/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 599 std::vector<Vec4> vertices; local 655 std::vector<Vec4> vertices; local 1002 std::vector<Vec4> vertices; local 1109 std::vector<Vec4> vertices; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktBasicDrawTests.cpp | 103 std::vector<PositionColorVertex> vertices; member in struct:vkt::Draw::__anon16545::DrawParamsBase 281 void generateRefImage (const tcu::PixelBufferAccess& access, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4>& colors) const; 398 const vk::VkDeviceSize dataSize = m_data.vertices.size() * sizeof(PositionColorVertex); 403 deMemcpy(ptr, &(m_data.vertices[0]), static_cast<size_t>(dataSize)); 484 void DrawTestInstanceBase::generateRefImage (const tcu::PixelBufferAccess& access, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4>& colors) const 496 rr::VertexAttrib(rr::VERTEXATTRIBTYPE_FLOAT, 4, sizeof(tcu::Vec4), 0, &vertices[0]), 505 rr::PrimitiveList(mapVkPrimitiveTopology(m_data.topology), (deUint32)vertices.size(), 0))); 631 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))); 636 m_data.vertices[vertexIdx] = PositionColorVertex( 677 std::vector<tcu::Vec4> vertices; local 805 std::vector<tcu::Vec4> vertices; local 948 std::vector<tcu::Vec4> vertices; local 1142 std::vector<tcu::Vec4> vertices; local [all...] |