/third_party/skia/src/gpu/ |
D | GrOpFlushState.cpp | 228 void GrOpFlushState::drawMesh(const GrSimpleMesh& mesh) { in drawMesh() argument 229 SkASSERT(mesh.fIsInitialized); in drawMesh() 230 if (!mesh.fIndexBuffer) { in drawMesh() 231 this->bindBuffers(nullptr, nullptr, mesh.fVertexBuffer); in drawMesh() 232 this->draw(mesh.fVertexCount, mesh.fBaseVertex); in drawMesh() 234 this->bindBuffers(mesh.fIndexBuffer, nullptr, mesh.fVertexBuffer, mesh.fPrimitiveRestart); in drawMesh() 235 if (0 == mesh.fPatternRepeatCount) { in drawMesh() 236 this->drawIndexed(mesh.fIndexCount, mesh.fBaseIndex, mesh.fMinIndexValue, in drawMesh() 237 mesh.fMaxIndexValue, mesh.fBaseVertex); in drawMesh() 239 this->drawIndexPattern(mesh.fIndexCount, mesh.fPatternRepeatCount, in drawMesh() [all …]
|
/third_party/flutter/skia/tests/ |
D | GrMeshTest.cpp | 59 void drawMesh(const GrMesh& mesh); 153 GrMesh mesh(GrPrimitiveType::kTriangles); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 154 mesh.setNonIndexedNonInstanced(kBoxCountX * 6); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 155 mesh.setVertexData(vbuff, y * kBoxCountX * 6); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 156 helper->drawMesh(mesh); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 173 GrMesh mesh(GrPrimitiveType::kTriangles); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 174 mesh.setIndexed(ibuff, repetitionCount * 6, baseRepetition * 6, baseRepetition * 4, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 176 mesh.setVertexData(vbuff, (i - baseRepetition) * 4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 177 helper->drawMesh(mesh); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 193 GrMesh mesh(GrPrimitiveType::kTriangles); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local [all …]
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrDrawVerticesOp.cpp | 151 Mesh& mesh = fMeshes.push_back(); in DrawVerticesOp() local 152 mesh.fColor = color; in DrawVerticesOp() 153 mesh.fViewMatrix = viewMatrix; in DrawVerticesOp() 154 mesh.fVertices = std::move(vertices); in DrawVerticesOp() 155 mesh.fIgnoreTexCoords = false; in DrawVerticesOp() 156 mesh.fIgnoreColors = false; in DrawVerticesOp() 158 if (mesh.fVertices->hasBones() && bones) { in DrawVerticesOp() 160 mesh.fVertices = mesh.fVertices->applyBones(bones, boneCount); in DrawVerticesOp() 166 if (mesh.hasPerVertexColors()) { in DrawVerticesOp() 169 if (mesh.hasExplicitLocalCoords()) { in DrawVerticesOp() [all …]
|
/third_party/openGLES/extensions/NV/ |
D | NV_mesh_shader.txt | 60 new programmable shader types -- the task and mesh shader -- to generate 62 primitive assembly and rasterization logic. When the task and mesh 182 Figure 3.2 shows a block diagram of the alternate mesh processing pipeline 186 Work on the mesh pipeline is initiated by the application drawing a 187 set of mesh tasks via an API command. If an optional task shader is 191 present, triggers the execution of a mesh shader work group that produces 192 an output mesh with a variable-sized number of primitives assembled from 193 vertices in the output mesh. The primitives from these output meshes are 239 tessellation evaluation shaders, geometry shaders, mesh shaders, task 248 A single program object cannot mix mesh and task shader stages [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/ |
D | SGIX_quad_mesh.txt | 25 This extension adds two primitive types, the quadrilateral mesh and the 26 line mesh. 44 applications are unlikely to have quad-mesh datasets larger than this 45 size. I wanted to avoid forcing applications to carve up their quad mesh 47 make the decision about optimal mesh width. 50 implementation that just wants to draw the quad mesh as a bunch of 59 the quad mesh into smaller pieces on the host (or ge). to do that, you 88 Given n input vertices to the quad mesh, the last n mod <breadth> vertices 93 within a quad mesh are drawn is intentionally left completely undefined. 98 Given n input vertices to the line mesh, the last n mod <breadth> vertices [all …]
|
/third_party/openGLES/extensions/SGIX/ |
D | SGIX_quad_mesh.txt | 25 This extension adds two primitive types, the quadrilateral mesh and the 26 line mesh. 44 applications are unlikely to have quad-mesh datasets larger than this 45 size. I wanted to avoid forcing applications to carve up their quad mesh 47 make the decision about optimal mesh width. 50 implementation that just wants to draw the quad mesh as a bunch of 59 the quad mesh into smaller pieces on the host (or ge). to do that, you 88 Given n input vertices to the quad mesh, the last n mod <breadth> vertices 93 within a quad mesh are drawn is intentionally left completely undefined. 98 Given n input vertices to the line mesh, the last n mod <breadth> vertices [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
D | vktMeshShaderBuiltinTests.cpp | 525 std::ostringstream mesh; in initPrograms() local 526 mesh in initPrograms() 554 programCollection.glslSources.add("mesh") << glu::MeshSource(mesh.str()); in initPrograms() 680 std::ostringstream mesh; in initPrograms() local 681 mesh in initPrograms() 712 programCollection.glslSources.add("mesh") << glu::MeshSource(mesh.str()); in initPrograms() 804 std::ostringstream mesh; in initPrograms() local 805 mesh in initPrograms() 836 programCollection.glslSources.add("mesh") << glu::MeshSource(mesh.str()); in initPrograms() 944 std::ostringstream mesh; in initPrograms() local [all …]
|
D | vktMeshShaderMiscTests.cpp | 481 std::ostringstream mesh; in initPrograms() local 482 mesh in initPrograms() 574 programCollection.glslSources.add("mesh") << glu::MeshSource(mesh.str()); in initPrograms() 616 std::ostringstream mesh; in initPrograms() local 617 mesh in initPrograms() 636 programCollection.glslSources.add("mesh") << glu::MeshSource(mesh.str()); in initPrograms() 683 std::ostringstream mesh; in initPrograms() local 684 mesh in initPrograms() 704 programCollection.glslSources.add("mesh") << glu::MeshSource(mesh.str()); in initPrograms() 756 std::ostringstream mesh; in initPrograms() local [all …]
|
D | vktMeshShaderSmokeTests.cpp | 169 std::ostringstream mesh; in initPrograms() local 170 mesh in initPrograms() 205 dst.glslSources.add("mesh") << glu::MeshSource(mesh.str()); in initPrograms() 239 std::ostringstream mesh; in initPrograms() local 240 mesh in initPrograms() 285 dst.glslSources.add("mesh") << glu::MeshSource(mesh.str()); in initPrograms() 308 std::ostringstream mesh; in initPrograms() local 309 mesh in initPrograms() 340 dst.glslSources.add("mesh") << glu::MeshSource(mesh.str()); in initPrograms()
|
D | CMakeLists.txt | 30 add_library(deqp-vk-mesh-shader STATIC ${DEQP_VK_MESH_SHADER_SRCS}) 31 target_link_libraries(deqp-vk-mesh-shader ${DEQP_VK_MESH_SHADER_LIBS})
|
/third_party/openGLES/extensions/SUN/ |
D | SUN_mesh_array.txt | 34 This extension defines a new mesh primitive. 37 For example if a quad mesh is 4 vertices wide the, vertices in the first 50 No. small meshes are not that common. A mesh is like a series of 73 constructs a mesh primitive using the elements first through first+count-1 74 of each enabled array. The mode specifies if it is a quad mesh or triangle 75 mesh. The only token values accepted by mode are QUAD_MESH_SUN and 77 of the mesh. The elements must be arranged in row major order within the
|
/third_party/skia/third_party/externals/opengl-registry/extensions/SUN/ |
D | SUN_mesh_array.txt | 34 This extension defines a new mesh primitive. 37 For example if a quad mesh is 4 vertices wide the, vertices in the first 50 No. small meshes are not that common. A mesh is like a series of 73 constructs a mesh primitive using the elements first through first+count-1 74 of each enabled array. The mode specifies if it is a quad mesh or triangle 75 mesh. The only token values accepted by mode are QUAD_MESH_SUN and 77 of the mesh. The elements must be arranged in row major order within the
|
/third_party/skia/src/gpu/geometry/ |
D | GrAATriangulator.h | 36 void apply(VertexList* mesh, const Comparator&, EventList* events, const GrAATriangulator*); 68 Poly* tessellate(const VertexList& mesh, const Comparator&) const override; 75 void connectPartners(VertexList* mesh, const Comparator&) const; 76 void removeNonBoundaryEdges(const VertexList& mesh) const; 78 bool collapseOverlapRegions(VertexList* mesh, const Comparator&, EventComparator comp) const;
|
D | GrTriangulator.cpp | 968 void GrTriangulator::mergeVertices(Vertex* src, Vertex* dst, VertexList* mesh, in mergeVertices() argument 982 mesh->remove(src); in mergeVertices() 986 Vertex* GrTriangulator::makeSortedVertex(const SkPoint& p, uint8_t alpha, VertexList* mesh, in makeSortedVertex() argument 992 Vertex* nextV = prevV ? prevV->fNext : mesh->fHead; in makeSortedVertex() 1006 v->fID = mesh->fHead->fID - 1.0f; in makeSortedVertex() 1008 v->fID = mesh->fTail->fID + 1.0f; in makeSortedVertex() 1013 mesh->insert(v, prevV, nextV); in makeSortedVertex() 1057 Vertex** current, VertexList* mesh, in checkForIntersection() argument 1089 v = this->makeSortedVertex(p, alpha, mesh, top, c); in checkForIntersection() 1140 bool GrTriangulator::mergeCoincidentVertices(VertexList* mesh, const Comparator& c) const { in mergeCoincidentVertices() argument [all …]
|
D | GrTriangulator.h | 67 void contoursToMesh(VertexList* contours, int contourCnt, VertexList* mesh, 81 SimplifyResult simplify(VertexList* mesh, const Comparator&) const; 154 void mergeVertices(Vertex* src, Vertex* dst, VertexList* mesh, const Comparator&) const; 162 Vertex* makeSortedVertex(const SkPoint&, uint8_t alpha, VertexList* mesh, Vertex* reference, 166 VertexList* mesh, const Comparator&) const; 168 bool mergeCoincidentVertices(VertexList* mesh, const Comparator&) const; 169 void buildEdges(VertexList* contours, int contourCnt, VertexList* mesh,
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrSampleMaskProcessor.cpp | 100 GrMesh& mesh = out->emplace_back(GrPrimitiveType::kTriangles); in appendMesh() local 101 mesh.setNonIndexedNonInstanced(instanceCount * 3); in appendMesh() 102 mesh.setVertexData(std::move(instanceBuffer), baseInstance * 3); in appendMesh() 108 GrMesh& mesh = out->emplace_back(GrPrimitiveType::kTriangleStrip); in appendMesh() local 109 mesh.setInstanced(std::move(instanceBuffer), instanceCount, baseInstance, 4); in appendMesh()
|
D | GrCCPathProcessor.cpp | 136 GrMesh mesh(primitiveType); in drawPaths() local 139 mesh.setIndexedInstanced(resources.refIndexBuffer(), numIndicesPerInstance, in drawPaths() 142 mesh.setVertexData(resources.refVertexBuffer()); in drawPaths() 144 flushState->rtCommandBuffer()->draw(*this, pipeline, fixedDynamicState, nullptr, &mesh, 1, in drawPaths()
|
D | GrStencilAtlasOp.cpp | 127 GrMesh mesh(GrPrimitiveType::kTriangleStrip); in onExecute() local 128 mesh.setInstanced( in onExecute() 133 StencilResolveProcessor(), resolvePipeline, &scissorRectState, nullptr, &mesh, 1, in onExecute()
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglfilterglass.c | 276 gfloat mesh[] = { in gst_gl_filter_glass_draw_background_gradient() local 298 gl->VertexPointer (3, GL_FLOAT, 7 * sizeof (gfloat), mesh); in gst_gl_filter_glass_draw_background_gradient() 299 gl->ColorPointer (4, GL_FLOAT, 7 * sizeof (gfloat), &mesh[3]); in gst_gl_filter_glass_draw_background_gradient() 320 gfloat mesh[] = { in gst_gl_filter_glass_draw_video_plane() local 347 gl->VertexPointer (3, GL_FLOAT, 9 * sizeof (gfloat), mesh); in gst_gl_filter_glass_draw_video_plane() 348 gl->TexCoordPointer (2, GL_FLOAT, 9 * sizeof (gfloat), &mesh[3]); in gst_gl_filter_glass_draw_video_plane() 349 gl->ColorPointer (4, GL_FLOAT, 9 * sizeof (gfloat), &mesh[5]); in gst_gl_filter_glass_draw_video_plane()
|
D | gstglbumper.c | 422 MeshData mesh[] = { in gst_gl_bumper_callback() local 519 &mesh[0].va0); in gst_gl_bumper_callback() 520 gl->VertexPointer (3, GL_FLOAT, sizeof (MeshData), &mesh[0].x); in gst_gl_bumper_callback() 521 gl->NormalPointer (GL_FLOAT, sizeof (MeshData), &mesh[0].nx); in gst_gl_bumper_callback() 522 gl->TexCoordPointer (2, GL_FLOAT, sizeof (MeshData), &mesh[0].s0); in gst_gl_bumper_callback() 526 gl->TexCoordPointer (2, GL_FLOAT, sizeof (MeshData), &mesh[0].s1); in gst_gl_bumper_callback()
|
/third_party/glslang/Test/baseResults/ |
D | spv.meshShaderPerView_Errors.mesh.out | 1 spv.meshShaderPerView_Errors.mesh 3 ERROR: 0:20: '[]' : mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized 6 ERROR: 0:26: '[]' : mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized
|
/third_party/skia/src/gpu/ops/ |
D | DrawVerticesOp.cpp | 324 Mesh& mesh = fMeshes.push_back(); in DrawVerticesOpImpl() local 325 mesh.fColor = color; in DrawVerticesOpImpl() 326 mesh.fViewMatrix = matrixProvider.localToDevice(); in DrawVerticesOpImpl() 327 mesh.fVertices = std::move(vertices); in DrawVerticesOpImpl() 328 mesh.fIgnoreColors = false; in DrawVerticesOpImpl() 337 this->setTransformedBounds(mesh.fVertices->bounds(), in DrawVerticesOpImpl() 338 mesh.fViewMatrix, in DrawVerticesOpImpl() 431 for (const auto& mesh : fMeshes) { in onPrepareDraws() local 432 SkVerticesPriv info(mesh.fVertices->priv()); in onPrepareDraws() 449 GrColor meshColor = mesh.fColor.toBytes_RGBA(); in onPrepareDraws() [all …]
|
/third_party/flutter/skia/gm/ |
D | fwidth_squircle.cpp | 174 GrMesh mesh(GrPrimitiveType::kTriangleStrip); in onExecute() local 175 mesh.setNonIndexedNonInstanced(4); in onExecute() 176 mesh.setVertexData(std::move(vertexBuffer)); in onExecute() 178 nullptr, nullptr, &mesh, 1, SkRect::MakeIWH(100, 100)); in onExecute()
|
D | clockwise.cpp | 164 GrMesh mesh(GrPrimitiveType::kTriangleStrip); in onExecute() local 165 mesh.setNonIndexedNonInstanced(4); in onExecute() 166 mesh.setVertexData(std::move(vertexBuffer)); in onExecute() 168 nullptr, nullptr, &mesh, 1, SkRect::MakeIWH(100, 100)); in onExecute()
|
/third_party/flutter/skia/src/gpu/ |
D | GrTessellator.cpp | 496 void apply(VertexList* mesh, Comparator& c, EventList* events, SkArenaAlloc& alloc); 1172 void merge_vertices(Vertex* src, Vertex* dst, VertexList* mesh, Comparator& c, in merge_vertices() argument 1186 mesh->remove(src); in merge_vertices() 1190 Vertex* create_sorted_vertex(const SkPoint& p, uint8_t alpha, VertexList* mesh, in create_sorted_vertex() argument 1196 Vertex* nextV = prevV ? prevV->fNext : mesh->fHead; in create_sorted_vertex() 1210 v->fID = mesh->fHead->fID - 1.0f; in create_sorted_vertex() 1212 v->fID = mesh->fTail->fID + 1.0f; in create_sorted_vertex() 1217 mesh->insert(v, prevV, nextV); in create_sorted_vertex() 1261 VertexList* mesh, Comparator& c, SkArenaAlloc& alloc) { in check_for_intersection() argument 1291 v = create_sorted_vertex(p, alpha, mesh, top, c, alloc); in check_for_intersection() [all …]
|