Home
last modified time | relevance | path

Searched refs:srcOffset (Results 1 - 18 of 18) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/shared_overlay/
H A Dshared_transition_effect.cpp123 auto srcOffset = src->GetPaintRectOffsetToPage(); in CreateTranslateAnimation() local
126 srcOffset.ToString().c_str(), destOffset.ToString().c_str()); in CreateTranslateAnimation()
127 if (NearEqual(destOffset, srcOffset)) { in CreateTranslateAnimation()
130 Offset diff { destOffset.GetX() - srcOffset.GetX(), destOffset.GetY() - srcOffset.GetY() }; in CreateTranslateAnimation()
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/2.0/src/
H A Dscreenregion.cpp348 uint32_t srcOffset = 0; in GetWSBuffer() local
355 bufferAddr + srcOffset, videoParam_->GetVideoWidth()); in GetWSBuffer()
362 srcOffset += alignedWidth; in GetWSBuffer()
366 srcOffset = alignedWidth * alignedHeight_; in GetWSBuffer()
370 bufferAddr + srcOffset, videoParam_->GetVideoWidth()); in GetWSBuffer()
377 srcOffset += alignedWidth; in GetWSBuffer()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_overloads.cpp49 int64_t srcOffset = 0; in GetOffset() local
51 tie(succ, srcOffset) = NVal(env, data).ToInt64(); in GetOffset()
52 if (!succ || srcOffset < 0) { in GetOffset()
184 GLuint srcOffset = 0; in CompressedTexImage2D() local
186 tie(succ, srcOffset) = NVal(env, funcArg[NARG_POS::EIGHTH]).ToUint32(); in CompressedTexImage2D()
199 imgArg, funcArg[NARG_POS::SEVENTH], srcOffset, srcLengthOverride); in CompressedTexImage2D()
255 GLuint srcOffset = 0; in CompressedTexSubImage2D() local
257 tie(succ, srcOffset) = NVal(env, funcArg[NARG_POS::EIGHTH]).ToUint32(); in CompressedTexSubImage2D()
264 imgArg, funcArg[NARG_POS::EIGHTH], srcOffset, srcLengthOverride); in CompressedTexSubImage2D()
392 int64_t srcOffset in TexImage2D() local
469 int64_t srcOffset = GetOffset(env, funcArg[NARG_POS::TENTH], context); TexSubImage2D() local
[all...]
H A Dwebgl2_rendering_context_base.cpp78 int64_t srcOffset = 0; in ClearBufferfv() local
80 tie(succ, srcOffset) = NVal(env, funcArg[NARG_POS::FOURTH]).ToInt64(); in ClearBufferfv()
88 env, buffer, drawbuffer, funcArg[NARG_POS::THIRD], srcOffset, BUFFER_DATA_FLOAT_32); in ClearBufferfv()
109 int64_t srcOffset = 0; in ClearBufferiv() local
111 tie(succ, srcOffset) = NVal(env, funcArg[NARG_POS::FOURTH]).ToInt64(); in ClearBufferiv()
119 env, buffer, drawbuffer, funcArg[NARG_POS::THIRD], srcOffset, BUFFER_DATA_INT_32); in ClearBufferiv()
140 int64_t srcOffset = 0; in ClearBufferuiv() local
142 tie(succ, srcOffset) = NVal(env, funcArg[NARG_POS::FOURTH]).ToInt64(); in ClearBufferuiv()
150 env, buffer, drawbuffer, funcArg[NARG_POS::THIRD], srcOffset, BUFFER_DATA_UINT_32); in ClearBufferuiv()
707 GLuint srcOffset in TexImage3D() local
781 GLuint srcOffset = 0; TexSubImage3D() local
887 uint32_t srcOffset = 0; CompressedTexImage3D() local
909 int64_t srcOffset; CompressedTexImage3D() local
966 uint32_t srcOffset = 0; CompressedTexSubImage3D() local
988 int64_t srcOffset; CompressedTexSubImage3D() local
[all...]
H A Dwebgl_arg.cpp583 const WebGLFormatMap* formatMap, const WebGLReadBufferArg* bufferDataArg, GLuint srcOffset) in DecodeImageData()
585 size_t maxSize = bufferDataArg->GetBufferLength() - srcOffset * formatMap->bytesPrePixel; in DecodeImageData()
592 uint8_t *start = bufferDataArg->GetBuffer() + srcOffset; in DecodeImageData()
621 GLenum WebGLImageSource::GenImageSource(const WebGLImageOption& opt, napi_value pixels, GLuint srcOffset) in GenImageSource() argument
644 srcOffset_ = srcOffset; in GenImageSource()
650 succ = DecodeImageData(formatMap, readBuffer_.get(), srcOffset); in GenImageSource()
883 tie(succ, srcOffset) = NVal(env, funcArg[start]).ToUint32(); in GetUniformExtInfo()
887 LOGD("WebGL UniformMatrixInfo srcOffset = %{public}u", srcOffset); in GetUniformExtInfo()
582 DecodeImageData( const WebGLFormatMap* formatMap, const WebGLReadBufferArg* bufferDataArg, GLuint srcOffset) DecodeImageData() argument
H A Dwebgl_rendering_context_draw.cpp44 napi_env env, const TexImageArg& imgArg, napi_value pixels, GLuint srcOffset) in TexImage2D()
47 LOGD("WebGL texImage2D srcOffset %{public}u", srcOffset); in TexImage2D()
72 { imgArg.format, imgArg.type, imgArg.width, imgArg.height }, pixels, srcOffset); in TexImage2D()
190 napi_env env, const TexSubImage2DArg& info, napi_value pixels, GLuint srcOffset) in TexSubImage2D()
215 { imgArg.format, imgArg.type, imgArg.width, imgArg.height }, pixels, srcOffset); in TexSubImage2D()
414 GLuint srcOffset = static_cast<GLuint>(ext.offset * bufferData.GetBufferDataSize()); in BufferData() local
417 BufferData_(env, target, length, usage, bufferData.GetBuffer() + srcOffset); in BufferData()
559 napi_env env, const TexImageArg& info, napi_value srcData, GLuint srcOffset, GLuint srcLengthOverride) in CompressedTexImage2D()
574 if (srcOffset ! in CompressedTexImage2D()
43 TexImage2D( napi_env env, const TexImageArg& imgArg, napi_value pixels, GLuint srcOffset) TexImage2D() argument
189 TexSubImage2D( napi_env env, const TexSubImage2DArg& info, napi_value pixels, GLuint srcOffset) TexSubImage2D() argument
558 CompressedTexImage2D( napi_env env, const TexImageArg& info, napi_value srcData, GLuint srcOffset, GLuint srcLengthOverride) CompressedTexImage2D() argument
637 CompressedTexSubImage2D( napi_env env, const TexSubImage2DArg& imgArg, napi_value srcData, GLuint srcOffset, GLuint srcLengthOverride) CompressedTexSubImage2D() argument
[all...]
H A Dwebgl2_rendering_context_impl.cpp750 napi_env env, const TexImageArg& imgArg, napi_value dataObj, GLuint srcOffset) in TexImage3D()
763 { imgArg.format, imgArg.type, imgArg.width, imgArg.height, imgArg.depth }, dataObj, srcOffset); in TexImage3D()
866 napi_env env, const TexSubImage3DArg& imgArg, napi_value dataObj, GLuint srcOffset) in TexSubImage3D()
875 { imgArg.format, imgArg.type, imgArg.width, imgArg.height, imgArg.depth }, dataObj, srcOffset); in TexSubImage3D()
960 napi_env env, const TexImageArg& imgArg, napi_value dataObj, GLuint srcOffset, GLuint srcLengthOverride) in CompressedTexImage3D()
982 data = reinterpret_cast<void*>(readData.GetBuffer() + srcOffset); in CompressedTexImage3D()
1013 napi_env env, const TexSubImage3DArg& imgArg, napi_value dataObj, GLuint srcOffset, GLuint srcLengthOverride) in CompressedTexSubImage3D()
1036 data = reinterpret_cast<void*>(readData.GetBuffer() + srcOffset); in CompressedTexSubImage3D()
1047 napi_env env, GLenum buffer, GLint drawBuffer, napi_value value, int64_t srcOffset, BufferDataType type) in ClearBufferV()
1049 LOGD("WebGL2 clearBuffer buffer %{public}u %{public}d srcOffset in ClearBufferV()
749 TexImage3D( napi_env env, const TexImageArg& imgArg, napi_value dataObj, GLuint srcOffset) TexImage3D() argument
865 TexSubImage3D( napi_env env, const TexSubImage3DArg& imgArg, napi_value dataObj, GLuint srcOffset) TexSubImage3D() argument
959 CompressedTexImage3D( napi_env env, const TexImageArg& imgArg, napi_value dataObj, GLuint srcOffset, GLuint srcLengthOverride) CompressedTexImage3D() argument
1012 CompressedTexSubImage3D( napi_env env, const TexSubImage3DArg& imgArg, napi_value dataObj, GLuint srcOffset, GLuint srcLengthOverride) CompressedTexSubImage3D() argument
1046 ClearBufferV( napi_env env, GLenum buffer, GLint drawBuffer, napi_value value, int64_t srcOffset, BufferDataType type) ClearBufferV() argument
[all...]
H A Dwebgl_rendering_context_base_impl.cpp1634 static_cast<size_t>(info->elemCount), static_cast<size_t>(info->srcOffset), in CheckUniformDataInfo()
1637 if (count <= info->srcOffset || count < info->srcLength) { in CheckUniformDataInfo()
1640 count = info->srcLength != 0 ? info->srcLength : count - info->srcOffset; in CheckUniformDataInfo()
1641 srcData = srcData + info->srcOffset; in CheckUniformDataInfo()
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_node_staging.cpp61 srcPtr = baseSrcDataBegin + currBufferCopy.srcOffset; in CopyHostDirectlyToBuffer()
87 const uint8_t* srcPtr = ref.data.data() + ref.bufferCopy.srcOffset; in CopyHostDirectlyToBuffer()
89 std::min(ref.data.size() - size_t(ref.bufferCopy.srcOffset), size_t(ref.bufferCopy.size)); in CopyHostDirectlyToBuffer()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/
H A Dwebgl2_rendering_context_impl.h79 napi_value TexImage3D(napi_env env, const TexImageArg& imgArg, napi_value data, GLuint srcOffset);
82 napi_value TexSubImage3D(napi_env env, const TexSubImage3DArg& imgArg, napi_value data, GLuint srcOffset);
87 napi_env env, const TexImageArg& imgArg, napi_value data, GLuint srcOffset, GLuint srcLengthOverride);
91 napi_env env, const TexSubImage3DArg& imgArg, napi_value data, GLuint srcOffset, GLuint srcLengthOverride);
93 napi_env env, GLenum buffer, GLint drawBuffer, napi_value value, int64_t srcOffset, BufferDataType type);
H A Dwebgl_rendering_context_base_impl.h130 napi_value TexImage2D(napi_env env, const TexImageArg& info, napi_value pixels, GLuint srcOffset);
134 napi_value TexSubImage2D(napi_env env, const TexSubImage2DArg& imgArg, napi_value pixels, GLuint srcOffset);
138 napi_env env, const TexImageArg& arg, napi_value srcData, GLuint srcOffset, GLuint srcLengthOverride);
140 napi_value srcData, GLuint srcOffset, GLuint srcLengthOverride);
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dshared_transition_effect.cpp243 auto srcOffset = src->GetGlobalOffset(); in CreateTranslateAnimation() local
244 if (destOffset != srcOffset) { in CreateTranslateAnimation()
246 Offset(0, 0), destOffset - srcOffset, Curves::FRICTION); in CreateTranslateAnimation()
250 AceType::MakeRefPtr<MotionPathEvaluator>(motionPathOption, Offset(0, 0), destOffset - srcOffset); in CreateTranslateAnimation()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/
H A Dwebgl_arg.h366 GLuint srcOffset; member
368 UniformExtInfo(GLuint dimension) : dimension(dimension), elemCount(dimension), srcOffset(0), srcLength(0) {} in UniformExtInfo()
370 : dimension(dimension), elemCount(real), srcOffset(0), srcLength(0) {} in UniformExtInfo()
605 GLenum GenImageSource(const WebGLImageOption& opt, napi_value pixels, GLuint srcOffset);
637 bool DecodeImageData(const WebGLFormatMap* formatMap, const WebGLReadBufferArg* bufferDataArg, GLuint srcOffset);
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Drender_backend_gles.cpp664 ValidateCopyImage(imageCopy.srcOffset, imageCopy.extent, imageCopy.srcSubresource.mipLevel, srcImageDesc); in ValidateCopyImage()
669 constexpr void ClampOffset(int32_t& srcOffset, int32_t& dstOffset, uint32_t& size) in ClampOffset() argument
671 if (srcOffset < 0) { in ClampOffset()
672 size += srcOffset; in ClampOffset()
673 dstOffset -= srcOffset; in ClampOffset()
674 srcOffset = 0; 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 in ClampOffset()
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dpipeline_state_desc.h915 uint32_t srcOffset { 0 };
943 Offset3D srcOffset; member
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Drender_backend_vk.cpp1569 renderCmd.bufferCopy.srcOffset,
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));
1702 { copy.srcOffset.x, copy.srcOffset.y, copy.srcOffset.z }, // srcOffset
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dmesh_builder.cpp550 copyData.srcOffset += copyData.size; in StageToBuffers()
555 copyData.srcOffset += copyData.size; in StageToBuffers()
561 copyData.srcOffset += copyData.size; in StageToBuffers()
/foundation/graphic/graphic_3d/lume/LumeRender/src/
H A Drender_graph.cpp1311 const BindableBuffer bRes = { nextRc.srcHandle, nextRc.bufferCopy.srcOffset, nextRc.bufferCopy.size };

Completed in 50 milliseconds