/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_node_staging.cpp | 57 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 D | screenregion.cpp | 349 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 D | render_backend_gles.cpp | 665 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 D | pipeline_state_desc.h | 917 uint32_t dstOffset { 0 }; 947 Offset3D dstOffset; member
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_rendering_context_overloads.cpp | 316 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 D | webgl_rendering_context_draw.cpp | 335 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 D | webgl2_rendering_context_impl.cpp | 1387 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 D | render_backend_vk.cpp | 1570 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 D | webgl_rendering_context_base_impl.h | 148 napi_value ReadPixels(napi_env env, const PixelsArg& arg, napi_value buffer, GLuint dstOffset);
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/ |
H A D | render_graph.cpp | 1320 const BindableBuffer bRes = { nextRc.dstHandle, nextRc.bufferCopy.dstOffset, nextRc.bufferCopy.size };
|