/external/angle/src/libANGLE/ |
D | FramebufferAttachment.cpp | 62 const ImageIndex &textureIndex, in FramebufferAttachment() argument 66 attach(context, type, binding, textureIndex, resource, kDefaultNumViews, kDefaultBaseViewIndex, in FramebufferAttachment() 112 const ImageIndex &textureIndex, in attach() argument 126 mTarget = Target(binding, textureIndex); in attach() 190 const auto &index = mTarget.textureIndex(); in cubeMapFace() 197 return mTarget.textureIndex().getLevelIndex(); in mipLevel() 204 const gl::ImageIndex &index = mTarget.textureIndex(); in layer() 210 return mTarget.textureIndex().isLayered(); in isLayered() 267 return mResource ? mResource->initState(mTarget.textureIndex()) : InitState::Initialized; in initState() 273 ANGLE_TRY(mResource->initializeContents(context, mTarget.textureIndex())); in initializeContents() [all …]
|
D | FramebufferAttachment.h | 66 const ImageIndex &textureIndex, 78 const ImageIndex &textureIndex, 181 const ImageIndex &textureIndex() const { return mTextureIndex; } in textureIndex() function 234 return mTarget.textureIndex(); in getTextureImageIndex() 240 return mResource->getAttachmentSize(mTarget.textureIndex()); in getSize() 246 return mResource->getAttachmentFormat(mTarget.binding(), mTarget.textureIndex()); in getFormat() 258 return mResource->getAttachmentSamples(mTarget.textureIndex()); in getResourceSamples() 267 return mResource->getAttachmentRenderTarget(context, mTarget.binding(), mTarget.textureIndex(), in getRenderTargetImpl() 274 return mResource->isRenderable(context, mTarget.binding(), mTarget.textureIndex()); in isRenderable()
|
D | State.cpp | 265 for (size_t textureIndex = 0; textureIndex < mTextures.size(); ++textureIndex) in clear() local 267 reset(contextID, textureIndex); in clear() 284 ANGLE_INLINE void ActiveTexturesCache::reset(ContextID contextID, size_t textureIndex) in reset() argument 286 if (mTextures[textureIndex]) in reset() 288 mTextures[textureIndex]->onUnbindAsSamplerTexture(contextID); in reset() 289 mTextures[textureIndex] = nullptr; in reset() 294 size_t textureIndex, in set() argument 298 if (mTextures[textureIndex]) in set() 300 mTextures[textureIndex]->onUnbindAsSamplerTexture(contextID); in set() 305 mTextures[textureIndex] = texture; in set() [all …]
|
D | Framebuffer.cpp | 1725 const ImageIndex &textureIndex, in setAttachment() argument 1728 setAttachment(context, type, binding, textureIndex, resource, in setAttachment() 1737 const ImageIndex &textureIndex, in setAttachmentMultisample() argument 1741 setAttachment(context, type, binding, textureIndex, resource, in setAttachmentMultisample() 1749 const ImageIndex &textureIndex, in setAttachment() argument 1759 setAttachmentImpl(context, type, binding, textureIndex, resource, numViews, baseViewIndex, in setAttachment() 1768 mState.mWebGLDepthStencilAttachment.attach(context, type, binding, textureIndex, in setAttachment() 1774 mState.mWebGLDepthAttachment.attach(context, type, binding, textureIndex, resource, in setAttachment() 1779 mState.mWebGLStencilAttachment.attach(context, type, binding, textureIndex, resource, in setAttachment() 1783 setAttachmentImpl(context, type, binding, textureIndex, resource, numViews, in setAttachment() [all …]
|
D | Framebuffer.h | 211 const ImageIndex &textureIndex, 216 const ImageIndex &textureIndex, 222 const ImageIndex &textureIndex, 427 const ImageIndex &textureIndex, 441 const ImageIndex &textureIndex, 453 const ImageIndex &textureIndex,
|
D | State.h | 73 Texture *operator[](size_t textureIndex) const { return mTextures[textureIndex]; } 76 void set(ContextID contextID, size_t textureIndex, Texture *texture); 77 void reset(ContextID contextID, size_t textureIndex); 784 void updateActiveTexture(const Context *context, size_t textureIndex, Texture *texture); 786 size_t textureIndex,
|
/external/angle/src/tests/perf_tests/ |
D | VulkanBarriersPerf.cpp | 68 void createTexture(uint32_t textureIndex, uint32_t sizeIndex, bool compressed); 69 void createFramebuffer(uint32_t fboIndex, uint32_t textureIndex, uint32_t sizeIndex); 163 void VulkanBarriersPerfBenchmark::createTexture(uint32_t textureIndex, in createTexture() argument 172 glBindTexture(GL_TEXTURE_2D, mTextures[textureIndex]); in createTexture() 182 uint32_t textureIndex, in createFramebuffer() argument 185 createTexture(textureIndex, sizeIndex, false); in createFramebuffer() 189 mTextures[textureIndex], 0); in createFramebuffer()
|
/external/skqp/src/image/ |
D | SkImage_GpuBase.cpp | 293 for (int textureIndex = 0; textureIndex < numTextures; ++textureIndex) { in MakeTempTextureProxies() local 294 yuvaTexturesCopy[textureIndex] = yuvaTextures[textureIndex]; in MakeTempTextureProxies() 295 GrBackendFormat backendFormat = yuvaTexturesCopy[textureIndex].getBackendFormat(); in MakeTempTextureProxies() 299 yuvaTexturesCopy[textureIndex].fConfig = in MakeTempTextureProxies() 301 if (yuvaTexturesCopy[textureIndex].fConfig == kUnknown_GrPixelConfig) { in MakeTempTextureProxies() 304 SkASSERT(yuvaTexturesCopy[textureIndex].isValid()); in MakeTempTextureProxies() 306 tempTextureProxies[textureIndex] = proxyProvider->wrapBackendTexture( in MakeTempTextureProxies() 307 yuvaTexturesCopy[textureIndex], imageOrigin, kBorrow_GrWrapOwnership, in MakeTempTextureProxies() 309 if (!tempTextureProxies[textureIndex]) { in MakeTempTextureProxies() 314 GrPixelConfig config = yuvaTexturesCopy[textureIndex].fConfig; in MakeTempTextureProxies() [all …]
|
/external/skia/src/image/ |
D | SkImage_GpuBase.cpp | 276 for (int textureIndex = 0; textureIndex < numTextures; ++textureIndex) { in MakeTempTextureProxies() local 277 GrBackendFormat backendFormat = yuvaTextures[textureIndex].getBackendFormat(); in MakeTempTextureProxies() 283 backendFormat, yuvaIndices[3].fIndex == textureIndex); in MakeTempTextureProxies() 288 SkASSERT(yuvaTextures[textureIndex].isValid()); in MakeTempTextureProxies() 290 auto proxy = proxyProvider->wrapBackendTexture(yuvaTextures[textureIndex], grColorType, in MakeTempTextureProxies() 297 tempViews[textureIndex] = GrSurfaceProxyView(std::move(proxy), imageOrigin, swizzle); in MakeTempTextureProxies() 302 if (yuvaIndices[yuvaIndex].fIndex == textureIndex) { in MakeTempTextureProxies()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureShadowTests.cpp | 202 int textureIndex; member 209 : textureIndex(-1) in FilterCase() 215 : textureIndex (tex_) in FilterCase() 322 …const pipeline::TestTexture2D& texture = m_renderer.get2DTexture(m_cases[m_caseNdx].textureIndex… in iterate() 347 m_renderer.renderQuad(rendered, curCase.textureIndex, &texCoord[0], sampleParams); in iterate() 407 int textureIndex; member 413 : textureIndex (-1) in FilterCase() 419 : textureIndex (tex_) in FilterCase() 534 const pipeline::TestTextureCube& texture = m_renderer.getCubeTexture(curCase.textureIndex); in iterate() 563 m_renderer.renderQuad(result, curCase.textureIndex, &texCoord[0], sampleParams); in iterate() [all …]
|
D | vktTextureTestUtil.cpp | 873 const pipeline::TestTexture2D& TextureRenderer::get2DTexture (int textureIndex) const in get2DTexture() 875 DE_ASSERT(m_textureBindings.size() > (size_t)textureIndex); in get2DTexture() 876 DE_ASSERT(m_textureBindings[textureIndex]->getType() == TextureBinding::TYPE_2D); in get2DTexture() 878 …return dynamic_cast<const pipeline::TestTexture2D&>(m_textureBindings[textureIndex]->getTestTextur… in get2DTexture() 881 const pipeline::TestTextureCube& TextureRenderer::getCubeTexture (int textureIndex) const in getCubeTexture() 883 DE_ASSERT(m_textureBindings.size() > (size_t)textureIndex); in getCubeTexture() 884 DE_ASSERT(m_textureBindings[textureIndex]->getType() == TextureBinding::TYPE_CUBE_MAP); in getCubeTexture() 886 …return dynamic_cast<const pipeline::TestTextureCube&>(m_textureBindings[textureIndex]->getTestText… in getCubeTexture() 889 const pipeline::TestTexture2DArray& TextureRenderer::get2DArrayTexture (int textureIndex) const in get2DArrayTexture() 891 DE_ASSERT(m_textureBindings.size() > (size_t)textureIndex); in get2DArrayTexture() [all …]
|
D | vktTextureTestUtil.hpp | 195 const pipeline::TestTexture2D& get2DTexture (int textureIndex) const; 200 const pipeline::TestTextureCube& getCubeTexture (int textureIndex) const; 205 const pipeline::TestTexture2DArray& get2DArrayTexture (int textureIndex) const; 210 const pipeline::TestTexture3D& get3DTexture (int textureIndex) const; 214 TextureBinding* getTextureBinding (int textureIndex) const;
|
D | vktTextureFilteringTests.cpp | 85 int textureIndex; member 91 : textureIndex(-1) in FilterCase() 96 : textureIndex (tex_) in FilterCase() 217 const pipeline::TestTexture2D& texture = m_renderer.get2DTexture(m_cases[m_caseNdx].textureIndex); in iterate() 243 m_renderer.renderQuad(rendered, curCase.textureIndex, &texCoord[0], refParams); in iterate() 307 int textureIndex; member 312 : textureIndex(-1) in FilterCase() 317 : textureIndex (tex_) in FilterCase() 455 …t pipeline::TestTextureCube& texture = m_renderer.getCubeTexture(m_cases[m_caseNdx].textureIndex); in iterate() 489 m_renderer.renderQuad(rendered, curCase.textureIndex, &texCoord[0], refParams); in iterate() [all …]
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | ProgramExecutableVk.cpp | 441 for (uint32_t textureIndex = 0; textureIndex < samplerBindings.size(); ++textureIndex) in addTextureDescriptorSetDesc() local 443 const gl::SamplerBinding &samplerBinding = samplerBindings[textureIndex]; in addTextureDescriptorSetDesc() 445 uint32_t uniformIndex = programState.getUniformIndexFromSamplerIndex(textureIndex); in addTextureDescriptorSetDesc() 1271 for (uint32_t textureIndex = 0; textureIndex < programState->getSamplerBindings().size(); in updateTexturesDescriptorSet() local 1272 ++textureIndex) in updateTexturesDescriptorSet() 1275 programState->getSamplerBindings()[textureIndex]; in updateTexturesDescriptorSet() 1279 uint32_t uniformIndex = programState->getUniformIndexFromSamplerIndex(textureIndex); in updateTexturesDescriptorSet()
|
/external/angle/src/tests/gl_tests/ |
D | TextureTest.cpp | 3842 for (GLint textureIndex = 0; textureIndex < vertexTextureCount; ++textureIndex) in compileProgramWithTextureCounts() local 3844 vertexShaderStr << "uniform sampler2D " << vertexPrefix << textureIndex << ";\n"; in compileProgramWithTextureCounts() 3852 for (GLint textureIndex = 0; textureIndex < vertexActiveTextureCount; ++textureIndex) in compileProgramWithTextureCounts() local 3854 vertexShaderStr << " color += texture2D(" << vertexPrefix << textureIndex in compileProgramWithTextureCounts() 3864 for (GLint textureIndex = 0; textureIndex < fragmentTextureCount; ++textureIndex) in compileProgramWithTextureCounts() local 3866 fragmentShaderStr << "uniform sampler2D " << fragPrefix << textureIndex << ";\n"; in compileProgramWithTextureCounts() 3872 for (GLint textureIndex = 0; textureIndex < fragmentActiveTextureCount; ++textureIndex) in compileProgramWithTextureCounts() local 3874 fragmentShaderStr << " gl_FragColor += texture2D(" << fragPrefix << textureIndex in compileProgramWithTextureCounts() 4131 for (size_t textureIndex = 0; textureIndex < 3; textureIndex++) in testSetUp() local 4133 glBindTexture(GL_TEXTURE_2D, mTextures[textureIndex]); in testSetUp()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | ProgramMtl.mm | 881 for (uint32_t textureIndex = 0; textureIndex < mState.getSamplerBindings().size(); 882 ++textureIndex) 884 const gl::SamplerBinding &samplerBinding = mState.getSamplerBindings()[textureIndex]; 893 auto destBindingPoint = textureIndex + arrayElement;
|
/external/skqp/experimental/nima/ |
D | NimaActor.cpp | 202 if (!vertexCount || fActorImage->textureIndex() < 0) { in updateVertices()
|