Home
last modified time | relevance | path

Searched refs:getLevelIndex (Results 1 – 25 of 29) sorted by relevance

12

/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.cpp697 index = gl::ImageIndex::Make3D(index.getLevelIndex(), gl::ImageIndex::kEntireLevel); in initializeContents()
703 GLint levelIndex = index.getLevelIndex(); in initializeContents()
717 ASSERT(index.getLevelIndex() == 0); in initializeContents()
839 ASSERT(index.getLevelIndex() < gl::IMPLEMENTATION_MAX_TEXTURE_LEVELS); in getImage()
843 return mImageArray[index.getLevelIndex()].get(); in getImage()
904 ANGLE_TRY(redefineImage(context, index.getLevelIndex(), internalFormatInfo.sizedInternalFormat, in setImage()
910 ANGLE_TRY(mTexStorage->releaseMultisampledTexStorageForLevel(index.getLevelIndex())); in setImage()
913 isLevelComplete(index.getLevelIndex())) in setImage()
919 gl::Box destArea(0, 0, 0, getWidth(index.getLevelIndex()), getHeight(index.getLevelIndex()), in setImage()
926 mImageArray[index.getLevelIndex()]->markClean(); in setImage()
[all …]
/external/angle/src/libANGLE/
DImageIndexIterator_unittest.cpp37 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST()
43 EXPECT_EQ(current.getLevelIndex(), nextIndex.getLevelIndex()); in TEST()
65 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST()
89 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST()
117 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST()
147 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST()
DTexture.cpp584 const GLint levelIndex = imageIndex.getLevelIndex(); in getImageDesc()
588 return getImageDesc(imageIndex.getTarget(), imageIndex.getLevelIndex()); in getImageDesc()
1248 ANGLE_TRY(handleMipmapGenerationHint(context, index.getLevelIndex())); in copySubImage()
1501 const ImageDesc &desc = mState.getImageDesc(index.getTarget(), index.getLevelIndex()); in generateMipmap()
1692 return getSamples(imageIndex.getTarget(), imageIndex.getLevelIndex()); in getAttachmentSamples()
1718 return getFixedSampleLocations(imageIndex.getTarget(), imageIndex.getLevelIndex()); in getAttachmentFixedSampleLocations()
1828 mState.mImageDescs[GetImageDescIndex(index.getTarget(), index.getLevelIndex())]; in ensureInitialized()
1852 const GLint levelIndex = imageIndex.getLevelIndex(); in initState()
1872 const GLint levelIndex = imageIndex.getLevelIndex(); in setInitState()
1882 mState.setImageDesc(imageIndex.getTarget(), imageIndex.getLevelIndex(), newDesc); in setInitState()
DFramebufferAttachment.cpp197 return mTarget.textureIndex().getLevelIndex(); in mipLevel()
326 imageIndex.getLevelIndex(), ImageIndex::kEntireLevel, size.depth); in initializeContents()
DImageIndex.cpp335 return (mCurrentIndex.getLevelIndex() < mMipRange.high()) in maxLayer()
336 ? mLayerCounts[mCurrentIndex.getLevelIndex()] in maxLayer()
DImageIndex.h30 GLint getLevelIndex() const { return mLevelIndex; } in getLevelIndex() function
DFrameCapture.cpp1390 {resourceID}, index.getLevelIndex())); in CaptureFramebufferAttachment()
1665 *replayState, true, index.getTarget(), index.getLevelIndex(), 0, 0, 0, in CaptureTextureContents()
1673 index.getLevelIndex(), format.internalFormat, in CaptureTextureContents()
1684 *replayState, true, index.getTarget(), index.getLevelIndex(), 0, 0, in CaptureTextureContents()
1691 index.getLevelIndex(), format.internalFormat, in CaptureTextureContents()
1704 index.getLevelIndex(), 0, 0, 0, desc.size.width, in CaptureTextureContents()
1712 CaptureTexImage3D(*replayState, true, index.getTarget(), index.getLevelIndex(), in CaptureTextureContents()
1723 index.getLevelIndex(), 0, 0, desc.size.width, in CaptureTextureContents()
1729 index.getLevelIndex(), format.internalFormat, in CaptureTextureContents()
2019 GLint level = index.getLevelIndex(); in CaptureMidExecutionSetup()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.cpp188 ASSERT(index.getLevelIndex() < getLevelCount()); in getRenderTarget()
190 if (!mRenderTargets[index.getLevelIndex()] && isRenderTarget()) in getRenderTarget()
196 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, index.getLevelIndex(), false, in getRenderTarget()
199 size_t textureMipLevel = mTopLevel + index.getLevelIndex(); in getRenderTarget()
204 mRenderTargets[index.getLevelIndex()] = new TextureRenderTarget9( in getRenderTarget()
210 *outRT = mRenderTargets[index.getLevelIndex()]; in getRenderTarget()
219 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, sourceIndex.getLevelIndex(), false, in generateMipmap()
224 getSurfaceLevel(context, gl::TextureTarget::_2D, destIndex.getLevelIndex(), true, &lower)); in generateMipmap()
313 ASSERT(index.getLevelIndex() == 0); in getRenderTarget()
440 ASSERT(index.getLevelIndex() == 0); in getRenderTarget()
[all …]
DImage9.cpp415 ANGLE_TRY(storage9->getSurfaceLevel(context, index.getTarget(), index.getLevelIndex(), true, in copyToStorage()
/external/angle/src/libANGLE/renderer/gl/
DClearMultiviewGL.cpp129 textureGL->getTextureID(), imageIndex.getLevelIndex(), in attachTextures()
143 textureGL->getTextureID(), imageIndex.getLevelIndex(), in attachTextures()
153 textureGL->getTextureID(), imageIndex.getLevelIndex(), in attachTextures()
163 textureGL->getTextureID(), imageIndex.getLevelIndex(), in attachTextures()
DTextureGL.cpp173 size_t level = static_cast<size_t>(index.getLevelIndex()); in setImage()
307 size_t level = static_cast<size_t>(index.getLevelIndex()); in setSubImage()
528 size_t level = static_cast<size_t>(index.getLevelIndex()); in setCompressedImage()
575 size_t level = static_cast<size_t>(index.getLevelIndex()); in setCompressedSubImage()
619 size_t level = static_cast<size_t>(index.getLevelIndex()); in copyImage()
754 size_t level = static_cast<size_t>(index.getLevelIndex()); in copySubImage()
819 size_t level = static_cast<size_t>(index.getLevelIndex()); in copyTexture()
846 size_t level = static_cast<size_t>(index.getLevelIndex()); in copySubTexture()
1129 size_t level = static_cast<size_t>(index.getLevelIndex()); in setImageExternal()
1618 return getLevelInfo(index.getTarget(), index.getLevelIndex()).nativeInternalFormat; in getNativeInternalFormat()
[all …]
DBlitGL.cpp829 source->getTextureID(), imageIndex.getLevelIndex())); in clearRenderableTexture()
855 imageIndex.getLevelIndex())); in clearRenderableTexture()
887 imageIndex.getLevelIndex(), layer + firstLayer)); in clearRenderableTexture()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.cpp209 UINT mipSlice = static_cast<UINT>(index.getLevelIndex() + mTopLevel); in getSubresourceIndex()
530 const GLint level = index.getLevelIndex(); in updateSubresourceLevel()
599 if (index.getLevelIndex() > 0 && mRenderer->getFeatures().zeroMaxLodWorkaround.enabled) in copySubresourceLevel()
655 markLevelDirty(destIndex.getLevelIndex()); in generateMipmap()
741 markLevelDirty(index.getLevelIndex()); in setData()
753 gl::Box levelBox(0, 0, 0, getLevelWidth(index.getLevelIndex()), in setData()
754 getLevelHeight(index.getLevelIndex()), getLevelDepth(index.getLevelIndex())); in setData()
856 gl::Box wholeArea(0, 0, 0, getLevelWidth(index.getLevelIndex()), in initDropStencilTexture()
857 getLevelHeight(index.getLevelIndex()), 1); in initDropStencilTexture()
889 if (mMSTexInfo && mMSTexInfo->indexSS.getLevelIndex() == static_cast<int>(level)) in releaseMultisampledTexStorageForLevel()
[all …]
DStateManager11.cpp39 unsigned mipLevel = index.getLevelIndex(); in ImageIndexConflictsWithSRV()
50 unsigned mipMin = index.getLevelIndex(); in ImageIndexConflictsWithSRV()
106 unsigned mipLevel = index.getLevelIndex(); in ImageIndexConflictsWithUAV()
/external/angle/src/libANGLE/renderer/metal/
DRenderTargetMtl.h40 size_t getLevelIndex() const { return mLevelIndex; } in getLevelIndex() function
DTextureMtl.mm475 mtl::TextureRef &image = mTexImages[GetImageLayerIndex(index)][index.getLevelIndex()];
795 ASSERT(imageIndex.getLevelIndex() == 0);
901 mtl::TextureRef &image = mTexImages[GetImageLayerIndex(index)][index.getLevelIndex()];
1010 mtl::TextureRef &image = mTexImages[GetImageLayerIndex(index)][index.getLevelIndex()];
1055 mtl::TextureRef &image = mTexImages[GetImageLayerIndex(index)][index.getLevelIndex()];
1130 mtl::TextureRef &image = mTexImages[GetImageLayerIndex(index)][index.getLevelIndex()];
1187 mtl::TextureRef &image = mTexImages[GetImageLayerIndex(index)][index.getLevelIndex()];
1198 blitParams.srcLevel = static_cast<uint32_t>(colorReadRT->getLevelIndex());
1215 mtl::TextureRef &image = mTexImages[GetImageLayerIndex(index)][index.getLevelIndex()];
DFrameBufferMtl.mm672 colorReadRT->getTexture()->height(static_cast<uint32_t>(colorReadRT->getLevelIndex())) -
727 static_cast<uint32_t>(renderTarget->getLevelIndex()),
Dmtl_utils.mm72 texture->replaceRegion(contextMtl, mtlRowRegion, index.getLevelIndex(),
Dmtl_resources.mm404 return size(index.getLevelIndex());
/external/angle/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp244 range.baseMipLevel = depthStencilRT->getLevelIndex(); in clearImpl()
551 blit.srcSubresource.mipLevel = readRenderTarget->getLevelIndex(); in blitWithCommand()
557 blit.dstSubresource.mipLevel = drawRenderTarget->getLevelIndex(); in blitWithCommand()
733 ASSERT(!isResolve || readRenderTarget->getLevelIndex() == 0); in blit()
788 ASSERT(!isResolve || readRenderTarget->getLevelIndex() == 0); in blit()
811 uint32_t levelIndex = readRenderTarget->getLevelIndex(); in blit()
895 resolveRegion.dstSubresource.mipLevel = drawRenderTarget->getLevelIndex(); in resolveColorWithCommand()
1417 uint32_t level = renderTarget->getLevelIndex(); in readPixelsImpl()
DRenderTargetVk.h69 uint32_t getLevelIndex() const { return mLevelIndex; } in getLevelIndex() function
DTextureVk.cpp369 size_t level = static_cast<size_t>(index.getLevelIndex()); in copySubTexture()
442 destFormat, colorReadRT->getLevelIndex(), in copySubImageImpl()
574 uint32_t level = index.getLevelIndex(); in copySubImageImplWithTransfer()
677 uint32_t level = index.getLevelIndex(); in copySubImageImplWithDraw()
862 getNativeImageLevel(inputImageIndex.getLevelIndex()), in getNativeImageIndex()
1056 region.imageSubresource.mipLevel = static_cast<uint32_t>(index.getLevelIndex()); in copyBufferDataToImage()
1363 ASSERT(imageIndex.getLevelIndex() >= 0); in getAttachmentRenderTarget()
1371 ANGLE_TRY(initRenderTargets(contextVk, layerCount, imageIndex.getLevelIndex())); in getAttachmentRenderTarget()
1373 ASSERT(imageIndex.getLevelIndex() < static_cast<int32_t>(mRenderTargets.size())); in getAttachmentRenderTarget()
1374 *rtOut = &mRenderTargets[imageIndex.getLevelIndex()][layerIndex]; in getAttachmentRenderTarget()
DImageVk.cpp70 mImageLevel = mState.imageIndex.getLevelIndex(); in initialize()
Dvk_helpers.cpp2474 GLint mipLevel = index.getLevelIndex(); in getSize()
2616 uint32_t levelIndex = index.getLevelIndex(); in removeStagedUpdates()
2767 copy.imageSubresource.mipLevel = index.getLevelIndex(); in stageSubresourceUpdateImpl()
2908 copy.imageSubresource.mipLevel = imageIndex.getLevelIndex(); in stageSubresourceUpdateAndGetData()
3057 copyToImage.imageSubresource.mipLevel = index.getLevelIndex(); in stageSubresourceUpdateFromFramebuffer()
3078 copyToImage.dstSubresource.mipLevel = index.getLevelIndex(); in stageSubresourceUpdateFromImage()
3118 ASSERT(!isUpdateStaged(index.getLevelIndex(), index.getLayerIndex())); in stageRobustResourceClear()
3732 clear.levelIndex = imageIndex.getLevelIndex(); in SubresourceUpdate()
/external/angle/src/libANGLE/renderer/gl/egl/
DImageEGL.cpp56 attributes.push_back(mState.imageIndex.getLevelIndex()); in initialize()

12