/ohos5.0/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/ |
H A D | render_frame_buffer.cpp | 27 CHECK_AND_RETURN_LOG(ctx != nullptr && cache != nullptr && texture_ != nullptr, in RenderFrameBuffer() 31 texture_ = cache->RequestTexture(ctx, width, height, interFmt); in RenderFrameBuffer() 32 fboId_ = GLUtils::CreateFramebuffer(texture_->GetName()); in RenderFrameBuffer() 45 if ((width != (int)texture_->Width()) || (height != (int)texture_->Height())) { in Resize() 46 GLenum fmt = texture_->Format(); in Resize() 47 texture_.reset(); in Resize() 48 texture_ = cache_->RequestTexture(context_, width, height, fmt); in Resize() 50 …glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture_->GetName(), 0… in Resize() 58 return texture_; in Texture() 73 return texture_->Width(); in Width() [all …]
|
H A D | render_frame_buffer.h | 44 RenderTexturePtr texture_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | xcomponent_element.cpp | 66 if (texture_) { in SetNewComponent() 69 xcomponent->SetTexture(texture_); in SetNewComponent() 216 if (!texture_) { in CreatePlatformResource() 219 texture_->Create( in CreatePlatformResource() 243 texture_->SetRefreshListener(onTextureRefresh); in CreatePlatformResource() 334 if (texture_ && xcomponent_) { in ConfigSurface() 396 if (texture_) { in ReleasePlatformResource() 401 texture_->Release(); in ReleasePlatformResource() 403 texture_.Reset(); in ReleasePlatformResource() 461 if (texture_) { in OnXComponentSizeInit() [all …]
|
H A D | xcomponent_component.h | 205 return texture_; in GetTexture() 210 texture_ = texture; in SetTexture() 267 RefPtr<NativeTexture> texture_; variable
|
H A D | xcomponent_element.h | 94 RefPtr<NativeTexture> texture_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/camera/ |
H A D | camera_element.cpp | 79 if (texture_) { in ReleasePlatformResource() 97 texture_->Release(); in ReleasePlatformResource() 98 texture_.Reset(); in ReleasePlatformResource() 101 texture_->Release(); in ReleasePlatformResource() 215 if (!texture_) { in OnTextureSize() 397 if (texture_) { in UpdateCamera() 398 cameraComponent->SetTextureId(texture_->GetId()); in UpdateCamera() 454 camera->SetTextureId(texture_->GetId()); in OnPreViewSizeChange() 532 camera->SetTextureId(texture_->GetId()); in OnPrepared() 681 if (texture_) { in InitListener() [all …]
|
H A D | camera_element.h | 98 RefPtr<Texture> texture_; variable
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/ |
H A D | webgl_texture.h | 54 texture_ = texture; in SetTexture() 59 return texture_; in GetTexture() 68 explicit WebGLTexture() : texture_(0) {}; in WebGLTexture() 70 WebGLTexture(napi_env env, napi_value exports) : NExporter(env, exports), texture_(0) {}; in WebGLTexture() 118 uint32_t texture_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | video_element.cpp | 226 texture_ = videoComponent->GetTexture().Upgrade(); in InitStatus() 227 if (player_ && texture_) { in InitStatus() 633 if (texture_) { in OnTextureSize() 813 if (texture_) { in SetNewComponent() 1035 texture_->SetRefreshListener(onTextureRefresh); in InitListener() 1109 if (texture_) { in ReleasePlatformResource() 1130 texture_->Release(); in ReleasePlatformResource() 1132 texture_.Reset(); in ReleasePlatformResource() 1136 texture_->Release(); in ReleasePlatformResource() 1225 video->SetTextureId(texture_->GetId()); in OnPrepared() [all …]
|
H A D | video_component.h | 312 texture_ = texture; in SetTexture() 317 return texture_; in GetTexture() 378 WeakPtr<Texture> texture_; variable
|
H A D | video_element.h | 87 RefPtr<Texture> texture_; variable
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/sdl/video_sink/ |
H A D | sdl_video_sink_plugin.cpp | 236 texture_ = std::shared_ptr<SDL_Texture>(texture, [](SDL_Texture* ptr) { in CreateSdlDispTexture() 261 texture_ = nullptr; in Reset() 405 ret = SDL_UpdateTexture(texture_.get(), nullptr, data[0], lineSize[0]); in VideoImageDisaplay() 410 SDL_RenderCopy(renderer_.get(), texture_.get(), nullptr, &textureRect_); in VideoImageDisaplay() 435 ret = SDL_UpdateTexture(texture_.get(), nullptr, data[0], lineSize[0]); in UpdateNVTexture() 464 …ret = SDL_UpdateYUVTexture(texture_.get(), NULL, data[0], lineSize[0], data[1], lineSize[1], data[… in UpdateYUVTexture()
|
H A D | sdl_video_sink_plugin.h | 81 std::shared_ptr<SDL_Texture> texture_ {nullptr};
|