/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_vertices_test.cpp | 50 int indexCount = 6; variable 51 skiaBuilder.Init(VertexMode::TRIANGLES_VERTEXMODE, vertCounts, indexCount, 1); 56 indexCount, skiaBuilder.Indices()); 61 indexCount, skiaBuilder.Indices()); 75 int indexCount = 6; variable 76 skiaBuilder.Init(VertexMode::TRIANGLES_VERTEXMODE, vertCounts, indexCount, 1);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/ |
H A D | vertices.cpp | 30 int indexCount, const uint16_t indices[]) in MakeCopy() argument 36 indexCount, indices); in MakeCopy() 58 Vertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, uint32_t flags) in Builder() argument 61 builderImplPtr_->Init(mode, vertexCount, indexCount, flags); in Builder()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_vertices.cpp | 41 int indexCount, const uint16_t indices[]) in MakeCopy() argument 74 indexCount, indices); in MakeCopy() 143 void SkiaVertices::SkiaBuilder::Init(VertexMode mode, int vertexCount, int indexCount, uint32_t fla… in Init() argument 146 vertexCount, indexCount, flags); in Init()
|
H A D | skia_vertices.h | 40 int indexCount, const uint16_t indices[]) override; 62 void Init(VertexMode mode, int vertexCount, int indexCount, uint32_t flags) override;
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.36/ |
H A D | changelogs-arkgraphics2d.md | 12 2. vertexCount, indexCount入参校验需要优化,避免出现使用该接口无任何绘制内容且无错误码提示的情况。 35 | indexCount | 索引的数量 | 必须大于等于0 | 等于0或必须大于等于3 |
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | vertices_impl.h | 38 int indexCount, const uint16_t indices[]) = 0; 51 virtual void Init(VertexMode mode, int vertexCount, int indexCount, uint32_t flags) = 0;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | vertices.h | 57 int indexCount, const uint16_t indices[]); 87 Builder(VertexMode mode, int vertexCount, int indexCount, uint32_t flags);
|
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/ |
H A D | peak_finder.cpp | 406 int32_t indexCount = 0; in DetectValley() local 407 valleyPoint.values[indexCount] = envelope[valleyPos]; in DetectValley() 408 valleyPoint.pos[indexCount] = valleyPos; in DetectValley() 409 ++indexCount; in DetectValley() 415 valleyPoint.values[indexCount] = envelope[valleyPos]; in DetectValley() 416 valleyPoint.pos[indexCount] = valleyPos; in DetectValley() 417 ++indexCount; in DetectValley() 420 valleyPoint.values[indexCount] = envelope[valleyPos]; in DetectValley() 421 valleyPoint.pos[indexCount] = valleyPos; in DetectValley()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/vertices_fuzzer/ |
H A D | vertices_fuzzer.cpp | 91 int indexCount = GetObject<int>() % ARRAY_MAX_SIZE; in VerticesFuzzTest001() local 95 …er builder = Vertices::Builder(static_cast<VertexMode>(mode % MATH_THREE), vertexCount, indexCount, in VerticesFuzzTest001()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkcanvas_fuzzer/ |
H A D | canvas_fuzzer.cpp | 354 uint32_t indexCount = GetObject<uint32_t>() % MAX_ARRAY_MAX; in CanvasFuzzTest003() local 355 uint16_t* indices = new uint16_t[indexCount]; in CanvasFuzzTest003() 356 for (size_t i = 0; i < indexCount; i++) { in CanvasFuzzTest003() 360 vertexCount, pts, texs, colors, indexCount, indices, in CanvasFuzzTest003() 363 vertexCount, pts, texs, nullptr, indexCount, indices, in CanvasFuzzTest003() 366 vertexCount, pts, texs, colors, indexCount, indices, in CanvasFuzzTest003()
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.36/ |
H A D | changelogs-arkgraphics2d.md | 12 2. The verification of the input parameters **vertexCount** and **indexCount** of the **OH_Drawing_… 36 | indexCount | Number of indices. | The value must be greater than or equal to 0. | The value must …
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_builder.cpp | 466 constexpr GpuBufferDesc GetIndexBufferDesc(size_t indexCount, BufferUsageFlags additionalFlags) in GetIndexBufferDesc() argument 478 indexBufferDesc.byteSize = sizeof(T) * static_cast<uint32_t>(indexCount); in GetIndexBufferDesc() 507 uint32_t indexCount, size_t jointDataSize, size_t targetDataSize, in CreateGpuBuffers() argument 1068 …bufferSizes.indexBuffer = submesh.indexBufferOffset + (submesh.info.indexCount * sizeof(uint16_t)); in CalculateSizes() 1210 indexData_.resize(offset + output.stride * submesh.info.indexCount); in SetIndexData() 1211 output.buffer = { indexData_.data() + offset, output.stride * submesh.info.indexCount }; in SetIndexData() 1212 Fill(output, indices, submesh.info.indexCount); in SetIndexData() 1214 submesh.indexSize = output.stride * submesh.info.indexCount; in SetIndexData() 1220 … output.buffer = { buffer + submesh.indexBufferOffset, output.stride * submesh.info.indexCount }; in SetIndexData() 1221 Fill(output, indices, submesh.info.indexCount); in SetIndexData() [all …]
|
H A D | mesh_util.cpp | 505 submesh.indexCount = 6u; in GeneratePlaneMesh() 541 submesh.indexCount = static_cast<uint32_t>(indices.size()); in GenerateSphereMesh() 574 submesh.indexCount = static_cast<uint32_t>(indices.size()); in GenerateConeMesh() 613 submesh.indexCount = static_cast<uint32_t>(indices.size()); in GenerateTorusMesh() 649 submesh.indexCount = static_cast<uint32_t>(countof(CUBE_INDICES)); in GenerateCubeMesh()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/ |
H A D | mesh_component.h | 124 uint32_t indexCount { 0 };
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_canvas.cpp | 291 const uint32_t* colors, int32_t indexCount, const uint16_t* indices, OH_Drawing_BlendMode mode) in OH_Drawing_CanvasDrawVertices() argument 294 if (positions == nullptr || vertexCount < 3 || (indexCount < 3 && indexCount != 0)) { in OH_Drawing_CanvasDrawVertices() 339 texsPoint, colors, indices ? indexCount : 0, indices); in OH_Drawing_CanvasDrawVertices()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/util/ |
H A D | intf_mesh_builder.h | 48 uint32_t indexCount { 0 }; in CORE3D_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | intf_shader_pipeline_binder.h | 59 uint32_t indexCount { 0U }; in RENDER_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | mesh_component_manager.cpp | 69 DECL_PROPERTY2(MeshComponent::Submesh, indexCount, "Index Count", 0)
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | rosen_render_shape_container.cpp | 276 const int indexCount = column * row * size; in DrawBitmapMesh() local 281 SkVertices::Builder builder(SkVertices::kTriangles_VertexMode, vertCounts, indexCount, flags); in DrawBitmapMesh()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/ |
H A D | drawing_canvas.h | 767 const uint32_t* colors, int32_t indexCount, const uint16_t* indices, OH_Drawing_BlendMode mode);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/ |
H A D | intf_render_command_list.h | 64 …virtual void DrawIndexed(const uint32_t indexCount, const uint32_t instanceCount, const uint32_t f…
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_command_list.h | 173 uint32_t indexCount { 0 }; 498 …void DrawIndexed(const uint32_t indexCount, const uint32_t instanceCount, const uint32_t firstInde…
|
H A D | render_command_list.cpp | 539 data->indexCount = 0; in Draw() 548 void RenderCommandList::DrawIndexed(const uint32_t indexCount, const uint32_t instanceCount, const … in DrawIndexed() argument 558 if (indexCount > 0 && stateData_.renderPassHasBegun) { // prevent zero draws in DrawIndexed() 569 data->indexCount = indexCount; in DrawIndexed()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/ |
H A D | canvas_test.cpp | 310 int32_t indexCount = sizeof(indices) / sizeof(indices[0]); in OnTestPerformance() local 314 texs, colors, indexCount, indices, OH_Drawing_BlendMode::BLEND_MODE_SRC); in OnTestPerformance()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/recording/ |
H A D | cmd_list_helper_test.cpp | 201 int indexCount = 0; variable 205 vertexCount, indexCount, static_cast<uint32_t>(flags));
|