Home
last modified time | relevance | path

Searched refs:dplat (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Drender_backend_gles.cpp1514 if ((dplat.image || dplat.renderBuffer) && (!renderingToDefaultFbo_)) { in InvalidateDepthStencil()
1518 … if ((dplat.format == GL_DEPTH_COMPONENT) || (dplat.format == GL_DEPTH_STENCIL)) { in InvalidateDepthStencil()
1523 if ((dplat.format == GL_STENCIL) || (dplat.format == GL_DEPTH_STENCIL)) { in InvalidateDepthStencil()
1554 if (dplat.image || dplat.renderBuffer) { in InvalidateColor()
2557 if (device_.BoundTexture(textureUnit, dplat.type) != dplat.image) { in BindResources()
2561 device_.BindTexture(textureUnit, dplat.type, dplat.image); in BindResources()
2566 …device_.BindImageTexture(textureUnit, dplat.image, level, false, 0, image.mode, dplat.internalForm… in BindResources()
2607 bindTexture(binding, dplat); in BindResources()
2612 if (dplat.mipLevel != obj.image.mipLevel) { in BindResources()
2615 setMipLevel(dplat.type, dplat.mipLevel); in BindResources()
[all …]
H A Dnode_context_pool_manager_gles.cpp163 …const GpuImagePlatformDataGL& dplat = static_cast<const GpuImagePlatformDataGL&>(image->GetPlatfor… in HasStencil() local
164 return (dplat.format == GL_STENCIL_INDEX) || (dplat.format == GL_DEPTH_STENCIL); in HasStencil()
169 …const GpuImagePlatformDataGL& dplat = static_cast<const GpuImagePlatformDataGL&>(image->GetPlatfor… in HasDepth() local
170 return (dplat.format == GL_DEPTH_COMPONENT) || (dplat.format == GL_DEPTH_STENCIL); in HasDepth()