Home
last modified time | relevance | path

Searched refs:vertices (Results 1 – 25 of 59) sorted by relevance

123

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dmesh_util.cpp99 vector<Math::Vec3>& vertices; member
107 vector<Math::Vec3>& vertices = geometry.vertices; in GenerateCubeGeometry() local
147 vector<Math::Vec3>& vertices = geometry.vertices; in GenerateSphereGeometry() local
155 vertices.reserve(maxVertexCount); in GenerateSphereGeometry()
198 vector<Math::Vec3>& vertices = geometry.vertices; in GenerateConeCap() local
237 vector<Math::Vec3>& vertices = geometry.vertices; in GenerateConeGeometry() local
247 vertices.reserve(maxVertexCount); in GenerateConeGeometry()
309 vector<Math::Vec3>& vertices = geometry.vertices; in GenerateTorusGeometry() local
529 vector<Math::Vec3> vertices; in GenerateSphereMesh() local
565 vector<Math::Vec3> vertices; in GenerateConeMesh() local
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/opengl/test_glCompressApi/entry/src/main/cpp/
H A Dtest_glCompressApi.cpp88 GLfloat vertices[] = { in TestGlCompressedTexImage2D() local
93 glVertexAttribPointer(0, INDEX_NUM, GL_FLOAT, GL_FALSE, STRIDE * sizeof(GLfloat), vertices); in TestGlCompressedTexImage2D()
95 …glVertexAttribPointer(1, INDEX_NUM, GL_FLOAT, GL_FALSE, STRIDE * sizeof(GLfloat), vertices + INDEX… in TestGlCompressedTexImage2D()
123 GLfloat vertices[] = { in TestGlCompressedTexSubImage2D() local
128 glVertexAttribPointer(0, INDEX_NUM, GL_FLOAT, GL_FALSE, STRIDE * sizeof(GLfloat), vertices); in TestGlCompressedTexSubImage2D()
130 …glVertexAttribPointer(1, INDEX_NUM, GL_FLOAT, GL_FALSE, STRIDE * sizeof(GLfloat), vertices + INDEX… in TestGlCompressedTexSubImage2D()
155 GLfloat vertices[] = { in TestGlCompressedTexImage3D() local
160 glVertexAttribPointer(0, INDEX_NUM, GL_FLOAT, GL_FALSE, STRIDE * sizeof(GLfloat), vertices); in TestGlCompressedTexImage3D()
162 …glVertexAttribPointer(1, INDEX_NUM, GL_FLOAT, GL_FALSE, STRIDE * sizeof(GLfloat), vertices + INDEX… in TestGlCompressedTexImage3D()
189 GLfloat vertices[] = { in TestGlCompressedTexSubImage3D() local
[all …]
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/utils/locks/
H A Dgraph.h56 std::vector<VertexId> vertices; member
60 return vertices.empty(); in IsEmpty()
121 if (cycle.vertices.empty() || cycle.vertices.size() < 1 ||
122 (cycle.edges.size() != (cycle.vertices.size() - 1))) {
128 for (auto vDataPtr : cycle.vertices) {
151 if (!cycle.vertices.empty()) { in FindFirstCycle()
190 result.vertices.push_back(v_[state.childIdx].data); in DfsBuildCycleInfo()
191 result.vertices.push_back(v_[state.currentIdx].data); in DfsBuildCycleInfo()
197 result.vertices.push_back(v_[s.currentIdx].data); in DfsBuildCycleInfo()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/
H A DSphereGraph.js24 vertices = [];
38 const vertices = [];
62 vertices.push(x, y, z);
70 this.vertices = vertices;
H A DCubeShape.js66 let offset = this.vertices.length / 3;
75 this.vertices.push(x, p1.y, z);
89 let offset = this.vertices.length / 3;
98 this.vertices.push(x, p1.y, z);
112 let offset = this.vertices.length / 3;
121 this.vertices.push(p1.x, y, z);
135 let offset = this.vertices.length / 3;
144 this.vertices.push(p1.x, y, z);
158 let offset = this.vertices.length / 3;
181 let offset = this.vertices.length / 3;
[all …]
H A DPlaneShape.js69 this.vertices = [];
74 let offset = this.vertices.length / 3;
83 this.vertices.push(x, p1.y, z);
100 this.vertexBufferData = new Float32Array(this.vertices);
H A DShape.js88 vertices = [];
167 gl.drawArrays(gl.POINTS, 0, this.vertices.length / 3);
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Dclip_utils.cpp97 UICanvasVertices& vertices = path.GetVertices(); in CloseVertices() local
98 vertices.ClosePolygon(); in CloseVertices()
99 return vertices; in CloseVertices()
107 UICanvasVertices& vertices = CloseVertices(path); in PerformScan() local
108 UICanvasPath canvasPath(vertices); in PerformScan()
H A Ddraw_canvas.cpp61 SetRasterizer(*pathParam->vertices, paint, rasterizer, transform, isStroke); in DoRender()
111 DrawCanvas::SetRasterizer(*pathParam->vertices, paint, rasterizer, transform, isStroke); in DoDrawShadow()
162 void DrawCanvas::SetRasterizer(UICanvasVertices& vertices, in SetRasterizer() argument
168 DepictCurve canvasPath(vertices); in SetRasterizer()
H A Ddraw_canvas.h39 UICanvasVertices* vertices; member
75 static void SetRasterizer(UICanvasVertices& vertices,
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.36/
H A Dchangelogs-arkgraphics2d.md33 | vertexCount | Number of vertices in the vertex array. | The value must be greater than or equal t…
34 | texs | Pointer to the array of texture space coordinates corresponding to the vertices. | The par…
35 | colors | Pointer to the array of colors corresponding to the vertices. | The parameter cannot be …
37 | indices | Pointer to the array of indexes corresponding to the vertices. | The parameter cannot b…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shape/
H A Drosen_render_shape_container.h43 const float* vertices, const int* colors, const SkPaint* paint);
51 const float* vertices, const int* colors, const RSBrush* brush);
H A Drosen_render_shape_container.cpp268 …SkBitmap& bitmap, int column, int row, const float* vertices, const int* colors, const SkPaint* pa… in DrawBitmapMesh() argument
271 …RSBitmap& bitmap, int column, int row, const float* vertices, const int* colors, const RSBrush* br… in DrawBitmapMesh()
282 …if (memcpy_s(builder.positions(), vertCounts * sizeof(SkPoint), vertices, vertCounts * sizeof(SkPo… in DrawBitmapMesh()
/ohos5.0/base/update/packaging_tools/
H A Dgigraph_process.py32 self.vertices = len(self.actions_list)
147 self.marked = [False for _ in range(self.graph.vertices)]
149 self.ontrack = [False for _ in range(self.graph.vertices)]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/
H A Dvertices.cpp25 Vertices::Vertices(std::shared_ptr<VerticesImpl> vertices) noexcept in Vertices() argument
26 : verticesImplPtr_(vertices) {} in Vertices()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/
H A Dshadow_demo.js164 let vertices = new Float32Array([
184 o.vertexBuffer = initArrayBuffer(gl, vertices, 3, gl.FLOAT);
259 let vertices = triangleVertices;
264 o.vertexBuffer = initArrayBuffer(gl, vertices, 3, gl.FLOAT); // vertexBuffer
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample2/
H A Dshadow2_demo.js166 let vertices = new Float32Array([
186 o.vertexBuffer = initArrayBuffer(gl, vertices, 3, gl.FLOAT);
261 let vertices = triangleVertices;
266 o.vertexBuffer = initArrayBuffer(gl, vertices, 3, gl.FLOAT); // vertexBuffer
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/
H A Dopengles.md143 GLfloat vertices[] = {
156 glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
512 GLfloat vertices[] = {
534 glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_vertices.cpp32 SkiaVertices::SkiaVertices(sk_sp<SkVertices> vertices) noexcept : skiaVertices_(vertices) {} in SkiaVertices() argument
H A Dskia_vertices.h30 explicit SkiaVertices(sk_sp<SkVertices> vertices) noexcept;
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/
H A Dmesh_arrays.h23 BASE_NS::vector<BASE_NS::Math::Vec3> vertices; member
/ohos5.0/docs/en/application-dev/webgl/
H A Dwebgl-2d-guidelines.md116 …le, adjustment or calculation) on the vertex coordinates, saves the new vertices in a special vari…
131 …After the vertex shader processes the vertices, the fragment shader is called once by each pixel t…
207 - Before drawing the square, create a buffer to store its vertices.
211 …pass the latter to the **bufferData()** function of **gl** to establish the vertices of the object.
225 // Create an array to hold the vertices of the square.
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/transaction/
H A Drs_marshalling_test.cpp169 std::shared_ptr<Drawing::Vertices> vertices; variable
170 TestNullptrObjectSerialization(vertices);
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/canvas_napi/
H A Djs_canvas.cpp174 float* vertices, uint32_t* colors, Drawing::Canvas* m_canvas) in DrawingPixelMapMesh() argument
185 vertices, vertCounts * sizeof(Drawing::Point)) != 0) { in DrawingPixelMapMesh()
1179 auto vertices = new (std::nothrow) float[verticesSize]; in OnDrawPixelMapMesh() local
1180 if (!vertices) { in OnDrawPixelMapMesh()
1191 delete []vertices; in OnDrawPixelMapMesh()
1195 vertices[i] = vertex; in OnDrawPixelMapMesh()
1206 delete []vertices; in OnDrawPixelMapMesh()
1215 delete []vertices; in OnDrawPixelMapMesh()
1222 delete []vertices; in OnDrawPixelMapMesh()
1231 delete []vertices; in OnDrawPixelMapMesh()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Dcmd_list_helper.cpp79 OpDataHandle CmdListHelper::AddVerticesToCmdList(CmdList& cmdList, const Vertices& vertices) in AddVerticesToCmdList() argument
81 auto data = vertices.Serialize(); in AddVerticesToCmdList()
106 auto vertices = std::make_shared<Vertices>(); in GetVerticesFromCmdList() local
107 if (vertices->Deserialize(verticesData) == false) { in GetVerticesFromCmdList()
111 return vertices; in GetVerticesFromCmdList()

123