Home
last modified time | relevance | path

Searched refs:maxByteSize (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/
H A Drender_data_store_post_process.cpp79 if ((offset + ALIGNMENT_OF_VEC4) <= maxByteSize) { in AppendValues()
85 if ((offset + ALIGNMENT_OF_VEC4) <= maxByteSize) { in AppendValues()
91 if ((offset + ALIGNMENT_OF_VEC4) <= maxByteSize) { in AppendValues()
97 if ((offset + ALIGNMENT_OF_VEC3) <= maxByteSize) { in AppendValues()
103 if ((offset + ALIGNMENT_OF_VEC3) <= maxByteSize) { in AppendValues()
109 if ((offset + ALIGNMENT_OF_VEC3) <= maxByteSize) { in AppendValues()
115 if ((offset + ALIGNMENT_OF_VEC2) <= maxByteSize) { in AppendValues()
121 if ((offset + ALIGNMENT_OF_VEC2) <= maxByteSize) { in AppendValues()
127 if ((offset + ALIGNMENT_OF_VEC2) <= maxByteSize) { in AppendValues()
133 if ((offset + ALIGNMENT_OF_FLOAT) <= maxByteSize) { in AppendValues()
[all …]
H A Drender_data_store_pod.cpp106 const uint32_t maxByteSize = std::min(byteSize, static_cast<uint32_t>(srcData.size())); in Set() local
109 if (!CloneData(dst, dataStore_.size() - index, srcData.data(), maxByteSize)) { in Set()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/datastore/
H A Drender_data_store_default_material.cpp305 const auto maxByteSize = Math::min(static_cast<uint32_t>(customData.size_bytes()), in AddMaterialData() local
308 mcpo.byteSize = maxByteSize; in AddMaterialData()
309 materialCustomPropertyData_.resize(offset + maxByteSize); in AddMaterialData()
310 …CloneData(materialCustomPropertyData_.data() + offset, maxByteSize, customData.data(), maxByteSize in AddMaterialData()
384 … const auto maxByteSize = Math::min(static_cast<uint32_t>(customPropertyData.size_bytes()), in AddInstanceMaterialData() local
388 mcpo.byteSize = maxByteSize; in AddInstanceMaterialData()
389 materialCustomPropertyData_.resize(offset + maxByteSize); in AddInstanceMaterialData()
390 …eData(materialCustomPropertyData_.data() + offset, maxByteSize, customPropertyData.data(), maxByte… in AddInstanceMaterialData()
/ohos5.0/commonlibrary/ets_utils/platform/ohos/
H A Dutil_helper.cpp68 size_t maxByteSize = static_cast<size_t>(ucnv_getMaxCharSize(converter)); in UnicodeConversion() local
70 size_t limit = maxByteSize * inputSize; in UnicodeConversion()
156 int maxByteSize = static_cast<int>(ucnv_getMaxCharSize(converter)); in GetMaxByteSize() local
158 return maxByteSize; in GetMaxByteSize()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_pipeline_binder.cpp361 const size_t maxByteSize = Math::min(pushData_.size_in_bytes(), data.size_bytes()); in SetPushConstantData() local
362 CloneData(pushData_.data(), pushData_.size_in_bytes(), data.data(), maxByteSize); in SetPushConstantData()