Home
last modified time | relevance | path

Searched refs:imageIndex (Results 1 - 25 of 119) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DClearMultiviewGL.cpp122 const auto &imageIndex = attachment->getTextureImageIndex(); in attachTextures() local
123 ASSERT(imageIndex.getType() == gl::TextureType::_2DArray); in attachTextures()
129 textureGL->getTextureID(), imageIndex.getLevelIndex(), in attachTextures()
138 const auto &imageIndex = depthStencilAttachment->getTextureImageIndex(); in attachTextures() local
139 ASSERT(imageIndex.getType() == gl::TextureType::_2DArray); in attachTextures()
143 textureGL->getTextureID(), imageIndex.getLevelIndex(), in attachTextures()
148 const auto &imageIndex = depthAttachment->getTextureImageIndex(); in attachTextures() local
149 ASSERT(imageIndex.getType() == gl::TextureType::_2DArray); in attachTextures()
153 textureGL->getTextureID(), imageIndex.getLevelIndex(), in attachTextures()
158 const auto &imageIndex in attachTextures() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DFramebufferAttachment.h177 Target(GLenum binding, const ImageIndex &imageIndex);
213 virtual Extents getAttachmentSize(const ImageIndex &imageIndex) const = 0;
214 virtual Format getAttachmentFormat(GLenum binding, const ImageIndex &imageIndex) const = 0;
215 virtual GLsizei getAttachmentSamples(const ImageIndex &imageIndex) const = 0;
218 const ImageIndex &imageIndex) const = 0;
227 virtual InitState initState(const ImageIndex &imageIndex) const = 0;
228 virtual void setInitState(const ImageIndex &imageIndex, InitState initState) = 0;
232 const ImageIndex &imageIndex,
236 angle::Result initializeContents(const Context *context, const ImageIndex &imageIndex);
H A DFramebufferAttachment.cpp33 FramebufferAttachment::Target::Target(GLenum binding, const ImageIndex &imageIndex) in Target() argument
34 : mBinding(binding), mTextureIndex(imageIndex) in Target()
318 const ImageIndex &imageIndex, in getAttachmentRenderTarget()
322 return getAttachmentImpl()->getAttachmentRenderTarget(context, binding, imageIndex, samples, in getAttachmentRenderTarget()
327 const ImageIndex &imageIndex) in initializeContents()
333 if (imageIndex.usesTex3D() && imageIndex.hasLayer()) in initializeContents()
336 const gl::Extents &size = getAttachmentSize(imageIndex); in initializeContents()
339 imageIndex.getType(), imageIndex in initializeContents()
315 getAttachmentRenderTarget( const Context *context, GLenum binding, const ImageIndex &imageIndex, GLsizei samples, rx::FramebufferAttachmentRenderTarget **rtOut) const getAttachmentRenderTarget() argument
326 initializeContents(const Context *context, const ImageIndex &imageIndex) initializeContents() argument
[all...]
H A DImage.cpp130 const gl::ImageIndex &imageIndex) const in isRenderable()
181 gl::Extents ExternalImageSibling::getAttachmentSize(const gl::ImageIndex &imageIndex) const in getAttachmentSize()
187 const gl::ImageIndex &imageIndex) const in getAttachmentFormat()
192 GLsizei ExternalImageSibling::getAttachmentSamples(const gl::ImageIndex &imageIndex) const in getAttachmentSamples()
199 const gl::ImageIndex &imageIndex) const in isRenderable()
229 gl::InitState ExternalImageSibling::initState(const gl::ImageIndex &imageIndex) const in initState()
234 void ExternalImageSibling::setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) in setInitState() argument
256 imageIndex(GetImageIndex(target, attribs)), in ImageState()
348 (sibling->initState(mState.imageIndex) == gl::InitState::MayNeedInit); in orphanSibling()
423 return mState.imageIndex in isLayered()
[all...]
H A DImage.h53 const gl::ImageIndex &imageIndex) const override;
96 gl::Extents getAttachmentSize(const gl::ImageIndex &imageIndex) const override;
97 gl::Format getAttachmentFormat(GLenum binding, const gl::ImageIndex &imageIndex) const override;
98 GLsizei getAttachmentSamples(const gl::ImageIndex &imageIndex) const override;
101 const gl::ImageIndex &imageIndex) const override;
110 gl::InitState initState(const gl::ImageIndex &imageIndex) const override;
111 void setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) override;
133 gl::ImageIndex imageIndex; member
H A DRenderbuffer.h141 Extents getAttachmentSize(const ImageIndex &imageIndex) const override;
142 Format getAttachmentFormat(GLenum binding, const ImageIndex &imageIndex) const override;
143 GLsizei getAttachmentSamples(const ImageIndex &imageIndex) const override;
146 const ImageIndex &imageIndex) const override;
152 InitState initState(const ImageIndex &imageIndex) const override;
153 void setInitState(const ImageIndex &imageIndex, InitState initState) override;
H A DTexture.cpp677 const ImageDesc &TextureState::getImageDesc(const ImageIndex &imageIndex) const
679 if (imageIndex.isEntireLevelCubeMap())
682 const GLint levelIndex = imageIndex.getLevelIndex();
686 return getImageDesc(imageIndex.getTarget(), imageIndex.getLevelIndex());
1891 Extents Texture::getAttachmentSize(const ImageIndex &imageIndex) const in getAttachmentSize()
1896 if (imageIndex.isEntireLevelCubeMap()) in getAttachmentSize()
1907 return mState.getImageDesc(imageIndex).size; in getAttachmentSize()
1910 Format Texture::getAttachmentFormat(GLenum /*binding*/, const ImageIndex &imageIndex) const in getAttachmentFormat()
1915 if (imageIndex in getAttachmentFormat()
2193 setInitState(const ImageIndex &imageIndex, InitState initState) setInitState() argument
2226 doesSubImageNeedInit(const Context *context, const ImageIndex &imageIndex, const Box &area) const doesSubImageNeedInit() argument
2246 ensureSubImageInitialized(const Context *context, const ImageIndex &imageIndex, const Box &area) ensureSubImageInitialized() argument
[all...]
H A DSurface.h160 gl::Extents getAttachmentSize(const gl::ImageIndex &imageIndex) const override;
161 gl::Format getAttachmentFormat(GLenum binding, const gl::ImageIndex &imageIndex) const override;
162 GLsizei getAttachmentSamples(const gl::ImageIndex &imageIndex) const override;
165 const gl::ImageIndex &imageIndex) const override;
176 gl::InitState initState(const gl::ImageIndex &imageIndex) const override;
177 void setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) override;
H A DTexture.h140 const ImageDesc &getImageDesc(const ImageIndex &imageIndex) const;
540 Extents getAttachmentSize(const ImageIndex &imageIndex) const override;
541 Format getAttachmentFormat(GLenum binding, const ImageIndex &imageIndex) const override;
542 GLsizei getAttachmentSamples(const ImageIndex &imageIndex) const override;
545 const ImageIndex &imageIndex) const override;
547 bool getAttachmentFixedSampleLocations(const ImageIndex &imageIndex) const;
565 InitState initState(const ImageIndex &imageIndex) const override;
567 void setInitState(const ImageIndex &imageIndex, InitState initState) override;
655 const ImageIndex &imageIndex,
658 const ImageIndex &imageIndex,
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A DFramebufferAttachmentObjectImpl.h34 const gl::ImageIndex &imageIndex,
39 const gl::ImageIndex &imageIndex);
45 const gl::ImageIndex &imageIndex, in getAttachmentRenderTarget()
55 const gl::ImageIndex &imageIndex) in initializeContents()
42 getAttachmentRenderTarget( const gl::Context *context, GLenum binding, const gl::ImageIndex &imageIndex, GLsizei samples, FramebufferAttachmentRenderTarget **rtOut) getAttachmentRenderTarget() argument
53 initializeContents( const gl::Context *context, const gl::ImageIndex &imageIndex) initializeContents() argument
/third_party/skia/bench/
H A DBulkRectBench.cpp97 int imageIndex = kImageMode == ImageMode::kShared ? 0 : i; in drawImagesBatch() local
98 batch[i].fImage = fImages[imageIndex]; in drawImagesBatch()
99 batch[i].fSrcRect = SkRect::MakeIWH(fImages[imageIndex]->width(), in drawImagesBatch()
100 fImages[imageIndex]->height()); in drawImagesBatch()
121 int imageIndex = kImageMode == ImageMode::kShared ? 0 : i; in drawImagesRef() local
122 SkRect srcRect = SkRect::MakeIWH(fImages[imageIndex]->width(), in drawImagesRef()
123 fImages[imageIndex]->height()); in drawImagesRef()
124 canvas->drawImageRect(fImages[imageIndex].get(), srcRect, fRects[i], in drawImagesRef()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
H A DvktVideoFrameBuffer.cpp73 deUint32 imageIndex,
233 deUint32 imageIndex,
246 pDpbPictureResource->baseArrayLayer = imageIndex;
259 bool validImage = m_perFrameDecodeResources[imageIndex].GetImageSetNewLayout(
268 result = m_perFrameDecodeResources[imageIndex].CreateImage(
272 imageIndex,
279 validImage = m_perFrameDecodeResources[imageIndex].GetImageSetNewLayout(
762 deUint32 imageIndex,
792 deUint32 baseArrayLayer = imageArrayParent ? imageIndex : 0;
811 VkImageSubresourceRange subresourceRange = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, imageIndex,
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
H A DImageEGL.cpp56 attributes.push_back(mState.imageIndex.getLevelIndex()); in initialize()
58 if (mState.imageIndex.has3DLayer()) in initialize()
61 attributes.push_back(mState.imageIndex.getLayerIndex()); in initialize()
66 mNativeInternalFormat = textureGL->getNativeInternalFormat(mState.imageIndex); in initialize()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DSwapchain.cpp73 void Swapchain::acquireNextImage(vk::Semaphore presentCompleteSemaphore, uint32_t &imageIndex) in acquireNextImage() argument
76 imageIndex = result.value; in acquireNextImage()
79 void Swapchain::queuePresent(vk::Queue queue, uint32_t imageIndex, vk::Semaphore waitSemaphore) in queuePresent() argument
86 presentInfo.pImageIndices = &imageIndex; in queuePresent()
H A DSwapchain.hpp29 void acquireNextImage(vk::Semaphore presentCompleteSemaphore, uint32_t &imageIndex);
30 void queuePresent(vk::Queue queue, uint32_t imageIndex, vk::Semaphore waitSemaphore);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DImageVk.cpp79 mImageTextureType = mState.imageIndex.getType(); in initialize()
80 mImageLevel = gl::LevelIndex(mState.imageIndex.getLevelIndex()); in initialize()
81 mImageLayer = mState.imageIndex.hasLayer() ? mState.imageIndex.getLayerIndex() : 0; in initialize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A DTextureMtl.h141 const gl::ImageIndex &imageIndex,
157 const gl::ImageIndex &imageIndex) override;
194 mtl::MipmapNativeLevel getNativeLevel(const gl::ImageIndex &imageIndex) const;
195 mtl::TextureRef &getImage(const gl::ImageIndex &imageIndex);
196 ImageDefinitionMtl &getImageDefinition(const gl::ImageIndex &imageIndex);
197 RenderTargetMtl &getRenderTarget(const gl::ImageIndex &imageIndex);
198 bool isIndexWithinMinMaxLevels(const gl::ImageIndex &imageIndex) const;
199 mtl::TextureRef &getImplicitMSTexture(const gl::ImageIndex &imageIndex);
H A DSurfaceMtl.h77 const gl::ImageIndex &imageIndex) override;
87 const gl::ImageIndex &imageIndex,
144 const gl::ImageIndex &imageIndex) override;
152 const gl::ImageIndex &imageIndex,
206 const gl::ImageIndex &imageIndex,
H A DRenderBufferMtl.h42 const gl::ImageIndex &imageIndex,
47 const gl::ImageIndex &imageIndex) override;
/third_party/skia/third_party/externals/swiftshader/src/WSI/
H A DVkSwapchainKHR.hpp48 PresentImage const &getImage(uint32_t imageIndex) { return images[imageIndex]; } in getImage() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
H A DvktWsiIncrementalPresentTests.cpp940 deUint32 imageIndex; in render() local
943 VK_CHECK(m_vkd.acquireNextImageKHR(*m_device, *m_swapchain, foreverNs, currentAcquireSemaphore, (vk::VkFence)0, &imageIndex)); in render()
947 imageNextFrame = m_imageNextFrames[imageIndex]; in render()
948 m_commandBuffers[m_frameNdx % m_commandBuffers.size()] = createCommandBuffer(m_vkd, *m_device, *m_commandPool, *m_pipelineLayout, *m_renderPass, m_framebuffers[imageIndex], *m_pipeline, m_swapchainImages[imageIndex], m_isFirst[imageIndex], imageNextFrame, m_frameNdx, width, height).disown(); in render()
949 m_imageNextFrames[imageIndex] = m_frameNdx + 1; in render()
950 m_isFirst[imageIndex] = false; in render()
997 &imageIndex, in render()
1015 &imageIndex, in render()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
H A DvktWsiIncrementalPresentTests.cpp940 deUint32 imageIndex; in render() local
943 VK_CHECK(m_vkd.acquireNextImageKHR(*m_device, *m_swapchain, foreverNs, currentAcquireSemaphore, (vk::VkFence)0, &imageIndex)); in render()
947 imageNextFrame = m_imageNextFrames[imageIndex]; in render()
948 m_commandBuffers[m_frameNdx % m_commandBuffers.size()] = createCommandBuffer(m_vkd, *m_device, *m_commandPool, *m_pipelineLayout, *m_renderPass, m_framebuffers[imageIndex], *m_pipeline, m_swapchainImages[imageIndex], m_isFirst[imageIndex], imageNextFrame, m_frameNdx, width, height).disown(); in render()
949 m_imageNextFrames[imageIndex] = m_frameNdx + 1; in render()
950 m_isFirst[imageIndex] = false; in render()
997 &imageIndex, in render()
1015 &imageIndex, in render()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DRenderbufferD3D.h47 const gl::ImageIndex &imageIndex,
52 const gl::ImageIndex &imageIndex) override;
H A DProgramD3D.cpp833 unsigned int imageIndex, in getImageMapping()
838 ASSERT(imageIndex < static_cast<unsigned int>(caps.maxImageUnits)); in getImageMapping()
842 if (readonly && imageIndex < mReadonlyImagesCS.size() && in getImageMapping()
843 mReadonlyImagesCS[imageIndex].active) in getImageMapping()
845 logicalImageUnit = mReadonlyImagesCS[imageIndex].logicalImageUnit; in getImageMapping()
847 else if (imageIndex < mImagesCS.size() && mImagesCS[imageIndex].active) in getImageMapping()
849 logicalImageUnit = mImagesCS[imageIndex].logicalImageUnit; in getImageMapping()
1002 for (size_t imageIndex = 0; imageIndex < csImageCoun
832 getImageMapping(gl::ShaderType type, unsigned int imageIndex, bool readonly, const gl::Caps &caps) const getImageMapping() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DExternalImageSiblingImpl11.h40 const gl::ImageIndex &imageIndex,
44 const gl::ImageIndex &imageIndex) override;

Completed in 19 milliseconds

12345