Home
last modified time | relevance | path

Searched refs:dstOffset (Results 1 - 10 of 10) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_node_staging.cpp57 uint8_t* dstData = baseDstDataBegin + currBufferCopy.dstOffset; in CopyHostDirectlyToBuffer()
84 const size_t dstOffset = ref.bufferCopy.dstOffset; in CopyHostDirectlyToBuffer() local
85 data += dstOffset; in CopyHostDirectlyToBuffer()
91 PLUGIN_ASSERT((size_t(bufferDesc.byteSize) - dstOffset) >= copySize); in CopyHostDirectlyToBuffer()
92 if (!CloneData(data, bufferDesc.byteSize - dstOffset, srcPtr, copySize)) { in CopyHostDirectlyToBuffer()
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/2.0/src/
H A Dscreenregion.cpp349 uint32_t dstOffset = 0; in GetWSBuffer() local
354 int32_t ret = memcpy_s(wsBufAddr + dstOffset, chromaOffset - dstOffset, in GetWSBuffer()
361 dstOffset += videoParam_->GetVideoWidth(); in GetWSBuffer()
365 dstOffset = chromaOffset; in GetWSBuffer()
369 int32_t ret = memcpy_s(wsBufAddr + dstOffset, wsBufSize - dstOffset, in GetWSBuffer()
376 dstOffset += videoParam_->GetVideoWidth(); in GetWSBuffer()
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Drender_backend_gles.cpp665 ValidateCopyImage(imageCopy.dstOffset, imageCopy.extent, imageCopy.dstSubresource.mipLevel, dstImageDesc); in ValidateCopyImage()
669 constexpr void ClampOffset(int32_t& srcOffset, int32_t& dstOffset, uint32_t& size) in ClampOffset() argument
673 dstOffset -= srcOffset; in ClampOffset()
678 constexpr void ClampOffset(Offset3D& srcOffset, Offset3D& dstOffset, Size3D& size) in ClampOffset() argument
680 ClampOffset(srcOffset.x, dstOffset.x, size.width); in ClampOffset()
681 ClampOffset(srcOffset.y, dstOffset.y, size.height); in ClampOffset()
682 ClampOffset(srcOffset.z, dstOffset.z, size.depth); in ClampOffset()
1728 static_cast<GLintptr>(renderCmd.bufferCopy.dstOffset), static_cast<GLsizeiptr>(renderCmd.bufferCopy.size)); in RenderCommandCopyBuffer()
1797 uintptr_t dstOffset = bc.bufferOffset + bPlat.currentByteOffset; in ImageToBufferCopy() local
1800 static_cast<GLsizei>(bPlat.alignedByteSize), reinterpret_cast<void*>(dstOffset)); in ImageToBufferCopy()
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dpipeline_state_desc.h917 uint32_t dstOffset { 0 };
947 Offset3D dstOffset; member
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_overloads.cpp316 GLuint dstOffset = 0; in ReadPixels() local
318 tie(succ, dstOffset) = NVal(env, funcArg[NARG_POS::EIGHTH]).ToUint32(); in ReadPixels()
323 return context->GetWebGLRenderingContextImpl().ReadPixels(env, arg, funcArg[NARG_POS::SEVENTH], dstOffset); in ReadPixels()
H A Dwebgl_rendering_context_draw.cpp335 napi_env env, const PixelsArg& arg, napi_value buffer, GLuint dstOffset) in ReadPixels()
352 static_cast<void*>(bufferData.GetBuffer() + dstOffset)); in ReadPixels()
354 LOGD("WebGL readPixels pixels %{public}u result %{public}u", dstOffset, GetError_()); in ReadPixels()
334 ReadPixels( napi_env env, const PixelsArg& arg, napi_value buffer, GLuint dstOffset) ReadPixels() argument
H A Dwebgl2_rendering_context_impl.cpp1387 GLuint dstOffset = static_cast<GLuint>(ext.offset * bufferData.GetBufferDataSize()); in GetBufferSubData() local
1388 LOGD("WebGL2 getBufferSubData dstSize %{public}u dstOffset %{public}p", in GetBufferSubData()
1393 memcpy_s(bufferData.GetBuffer() + dstOffset, bufferData.GetBufferLength(), mapBuffer, dstSize) != 0) { in GetBufferSubData()
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Drender_backend_vk.cpp1570 renderCmd.bufferCopy.dstOffset,
1695 ext.width = Math::min(ext.width, Math::min(srcDesc.width - copy.srcOffset.x, dstDesc.width - copy.dstOffset.x));
1697 Math::min(ext.height, Math::min(srcDesc.height - copy.srcOffset.y, dstDesc.height - copy.dstOffset.y));
1698 ext.depth = Math::min(ext.depth, Math::min(srcDesc.depth - copy.srcOffset.z, dstDesc.depth - copy.dstOffset.z));
1704 { copy.dstOffset.x, copy.dstOffset.y, copy.dstOffset.z }, // dstOffset
2802 currentFrameByteOffset, // dstOffset
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/
H A Dwebgl_rendering_context_base_impl.h148 napi_value ReadPixels(napi_env env, const PixelsArg& arg, napi_value buffer, GLuint dstOffset);
/foundation/graphic/graphic_3d/lume/LumeRender/src/
H A Drender_graph.cpp1320 const BindableBuffer bRes = { nextRc.dstHandle, nextRc.bufferCopy.dstOffset, nextRc.bufferCopy.size };

Completed in 22 milliseconds