Home
last modified time | relevance | path

Searched refs:hasLayer (Results 1 – 18 of 18) sorted by relevance

/external/angle/src/libANGLE/
DImageIndexIterator_unittest.cpp38 EXPECT_FALSE(nextIndex.hasLayer()); in TEST()
66 EXPECT_TRUE(nextIndex.hasLayer()); in TEST()
91 EXPECT_TRUE(nextIndex.hasLayer()); in TEST()
119 EXPECT_TRUE(nextIndex.hasLayer()); in TEST()
149 EXPECT_TRUE(nextIndex.hasLayer()); in TEST()
DImageIndex.cpp91 bool ImageIndex::hasLayer() const in hasLayer() function in gl::ImageIndex
115 ASSERT(!hasLayer() || ((mType != TextureType::CubeMap) == usesTex3D())); in has3DLayer()
116 return (hasLayer() && mType != TextureType::CubeMap); in has3DLayer()
249 ASSERT(mType != TextureType::_2D && !hasLayer()); in getLayerIterator()
343 ASSERT(mCurrentIndex.hasLayer()); in maxLayer()
361 if (mCurrentIndex.hasLayer() && mCurrentIndex.getLayerIndex() < maxLayer() - 1) in next()
DImageIndex.h34 bool hasLayer() const;
DFramebufferAttachment.cpp335 if (imageIndex.usesTex3D() && imageIndex.hasLayer()) in initializeContents()
DFramebuffer.cpp2328 return !imageIndex.hasLayer() || copyTextureLayer == ImageIndex::kEntireLevel || in formsCopyingFeedbackLoopWith()
/external/angle/src/libANGLE/renderer/vulkan/
DImageVk.cpp168 return mState.imageIndex.hasLayer() ? mState.imageIndex.getLayerIndex() : 0; in getImageLayer()
DTextureVk.cpp227 *layerIndex = index.hasLayer() ? index.getLayerIndex() : 0; in GetRenderTargetLayerCountAndIndex()
241 ASSERT(!index.hasLayer() || in GetRenderTargetLayerCountAndIndex()
1031 offsetImageIndex.hasLayer() ? offsetImageIndex.getLayerIndex() : dstOffset.z; in copySubTextureImpl()
1104 uint32_t baseLayer = index.hasLayer() ? index.getLayerIndex() : dstOffset.z; in copySubImageImplWithTransfer()
1296 uint32_t baseLayer = index.hasLayer() ? index.getLayerIndex() : dstOffset.z; in copySubImageImplWithDraw()
1581 ASSERT(!inputImageIndex.hasLayer() && inputImageIndex.getLevelIndex() == 0); in getNativeImageIndex()
1741 uint32_t layerIndex = index.hasLayer() ? index.getLayerIndex() : 0; in redefineLevel()
Dvk_helpers.cpp7441 copy.imageSubresource.baseArrayLayer = index.hasLayer() ? index.getLayerIndex() : 0; in stageSubresourceUpdateImpl()
7903 copy.imageSubresource.baseArrayLayer = imageIndex.hasLayer() ? imageIndex.getLayerIndex() : 0; in stageSubresourceUpdateAndGetData()
8013 copyToImage.imageSubresource.baseArrayLayer = index.hasLayer() ? index.getLayerIndex() : 0; in stageSubresourceUpdateFromFramebuffer()
8052 ASSERT(destOffset.z == (index.hasLayer() ? index.getLayerIndex() : 0)); in stageSubresourceUpdateFromImage()
8056 copyToImage.dstSubresource.baseArrayLayer = index.hasLayer() ? index.getLayerIndex() : 0; in stageSubresourceUpdateFromImage()
8147 copyRegion.imageSubresource.baseArrayLayer = index.hasLayer() ? index.getLayerIndex() : 0; in stageResourceClearWithFormat()
9794 imageIndex.hasLayer() ? imageIndex.getLayerIndex() : 0, in SubresourceUpdate()
9795 imageIndex.hasLayer() ? imageIndex.getLayerCount() : VK_REMAINING_ARRAY_LAYERS) in SubresourceUpdate()
9823 data.clear.layerIndex = imageIndex.hasLayer() ? imageIndex.getLayerIndex() : 0; in SubresourceUpdate()
9825 imageIndex.hasLayer() ? imageIndex.getLayerCount() : VK_REMAINING_ARRAY_LAYERS; in SubresourceUpdate()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_common.h447 bool hasLayer() const { return mNativeIndex.hasLayer(); } in ANGLE_GL_OBJECTS_X()
Dmtl_utils.mm247 if (!index.hasLayer())
582 uint32_t layer = index.hasLayer() ? index.getLayerIndex() : 0;
DTextureMtl.mm998 imageIndex.getType() == gl::TextureType::_2DMultisample || imageIndex.hasLayer());
2268 ASSERT(index.hasLayer());
2272 ASSERT(index.hasLayer());
Dmtl_resources.mm812 if (index.hasLayer())
DContextMtl.mm1941 rpDesc.colorAttachments[0].sliceOrDepth = index.hasLayer() ? index.getLayerIndex() : 0;
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.cpp212 UINT arraySlice = static_cast<UINT>(index.hasLayer() ? index.getLayerIndex() : 0); in getSubresourceIndex()
1324 ASSERT(!index.hasLayer()); in findRenderTarget()
1358 ASSERT(!index.hasLayer()); in getRenderTarget()
1984 ASSERT(!index.hasLayer()); in getRenderTarget()
3122 if (!index.hasLayer()) in findRenderTarget()
3156 if (!index.hasLayer()) in getRenderTarget()
3516 ASSERT(index.hasLayer()); in findRenderTarget()
3562 ASSERT(index.hasLayer()); in getRenderTarget()
3843 ASSERT(!index.hasLayer()); in findRenderTarget()
3858 ASSERT(!index.hasLayer()); in getRenderTarget()
[all …]
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.cpp649 ASSERT(index.getType() != gl::TextureType::_2DMultisampleArray || index.hasLayer()); in canCreateRenderTargetForImage()
806 else if (index.getType() == gl::TextureType::_2DArray && !index.hasLayer()) in initializeContents()
820 else if (index.getType() == gl::TextureType::_2DMultisampleArray && !index.hasLayer()) in initializeContents()
954 ASSERT(!index.hasLayer()); in getImage()
1486 ASSERT(!index.hasLayer()); in getRenderTarget()
2511 ASSERT(!index.hasLayer()); in getImage()
2920 if (index.hasLayer()) in getRenderTarget()
3197 ASSERT(index.hasLayer()); in getImage()
3955 return (!index.hasLayer() || (index.getLayerIndex() >= 0 && in isValidIndex()
4230 ASSERT(!index.hasLayer()); in getRenderTarget()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.cpp341 ASSERT(!index.hasLayer()); in getRenderTarget()
/external/angle/src/libANGLE/renderer/gl/
DBlitGL.cpp954 if (mFunctions->framebufferTexture && !imageIndex.hasLayer()) in clearRenderableTexture()
980 if (imageIndex.hasLayer()) in clearRenderableTexture()
/external/angle/src/libANGLE/capture/
Dserialize.cpp1268 if (imageIter.current().hasLayer()) in SerializeTextureData()