Home
last modified time | relevance | path

Searched refs:maxBlocks_ (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/
H A Dgeometry_path_storage.h55 maxBlocks_ = vertexBlockStorage.maxBlocks_;
90 GeometryArrayAllocator<float*>::Deallocate(croodBlocks_, maxBlocks_ * TWO_TIMES); in FreeAll()
92 maxBlocks_ = 0; in FreeAll()
185 if (nb >= maxBlocks_) { in AllocateBlock()
191 uint8_t** new_cmds = (uint8_t**)(new_coords + maxBlocks_ + BLOCK_SCALE_POOL); in AllocateBlock()
197 if (memcpy_s(new_coords, maxBlocks_ * sizeof(float*), in AllocateBlock()
198 croodBlocks_, maxBlocks_ * sizeof(float*)) != EOK) { in AllocateBlock()
200 if (memcpy_s(new_cmds, maxBlocks_ * sizeof(float*), in AllocateBlock()
201 cmdBlocks_, maxBlocks_ * sizeof(uint8_t*)) != EOK) { in AllocateBlock()
207 maxBlocks_ += BLOCK_SCALE_POOL; in AllocateBlock()
[all …]
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/
H A Drasterizer_cells_antialias.cpp29 GeometryArrayAllocator<CellBuildAntiAlias*>::Deallocate(cells_, maxBlocks_); in ~RasterizerCellsAntiAlias()
43 maxBlocks_(0), in RasterizerCellsAntiAlias()
410 if (numBlocks_ >= maxBlocks_) { in AllocateBlock()
412 GeometryArrayAllocator<CellBuildAntiAlias*>::Allocate(maxBlocks_ + in AllocateBlock()
418 if (memcpy_s(newCells, maxBlocks_ * sizeof(CellBuildAntiAlias*), in AllocateBlock()
419 cells_, maxBlocks_ * sizeof(CellBuildAntiAlias*)) != EOK) { in AllocateBlock()
423 GeometryArrayAllocator<CellBuildAntiAlias*>::Deallocate(cells_, maxBlocks_); in AllocateBlock()
426 maxBlocks_ += CELL_BLOCK_POOL; in AllocateBlock()
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/rasterizer/
H A Drasterizer_cells_antialias.h224 uint32_t maxBlocks_; variable