Home
last modified time | relevance | path

Searched refs:ImageIndex (Results 1 – 25 of 92) sorted by relevance

1234

/external/angle/src/libANGLE/
DImageIndex.cpp47 return ImageIndex::kEntireLevel; in TextureTargetToLayer()
74 ASSERT(layerIndex != ImageIndex::kEntireLevel); in TextureTypeToTarget()
83 ImageIndex::ImageIndex() in ImageIndex() function in gl::ImageIndex
87 ImageIndex::ImageIndex(const ImageIndex &other) = default;
89 ImageIndex &ImageIndex::operator=(const ImageIndex &other) = default;
91 bool ImageIndex::hasLayer() const in hasLayer()
96 bool ImageIndex::isLayered() const in isLayered()
111 bool ImageIndex::has3DLayer() const in has3DLayer()
119 bool ImageIndex::usesTex3D() const in usesTex3D()
125 TextureTarget ImageIndex::getTarget() const in getTarget()
[all …]
DImageIndex.h22 class ImageIndex
25 ImageIndex();
26 ImageIndex(const ImageIndex &other);
27 ImageIndex &operator=(const ImageIndex &other);
48 static ImageIndex Make2D(GLint levelIndex);
49 static ImageIndex MakeRectangle(GLint levelIndex);
50 static ImageIndex MakeCubeMapFace(TextureTarget target, GLint levelIndex);
51 static ImageIndex Make2DArray(GLint levelIndex, GLint layerIndex = kEntireLevel);
52 static ImageIndex Make2DArrayRange(GLint levelIndex, GLint layerIndex, GLint layerCount);
53 static ImageIndex Make3D(GLint levelIndex, GLint layerIndex = kEntireLevel);
[all …]
DFramebufferAttachment.h61 const ImageIndex &textureIndex,
74 const ImageIndex &textureIndex,
109 const ImageIndex &getTextureImageIndex() const;
180 Target(GLenum binding, const ImageIndex &imageIndex);
185 const ImageIndex &textureIndex() const { return mTextureIndex; } in textureIndex()
189 ImageIndex mTextureIndex;
208 virtual Extents getAttachmentSize(const ImageIndex &imageIndex) const = 0;
209 virtual Format getAttachmentFormat(GLenum binding, const ImageIndex &imageIndex) const = 0;
210 virtual GLsizei getAttachmentSamples(const ImageIndex &imageIndex) const = 0;
213 const ImageIndex &imageIndex) const = 0;
[all …]
DImageIndexIterator_unittest.cpp32 ImageIndex current = iter.current(); in TEST()
33 ImageIndex nextIndex = iter.next(); in TEST()
61 ImageIndex nextIndex = iter.next(); in TEST()
85 ImageIndex nextIndex = iter.next(); in TEST()
113 ImageIndex nextIndex = iter.next(); in TEST()
137 ImageIndex mipImageIndex = ImageIndex::Make2DArray(mip, ImageIndex::kEntireLevel); in TEST()
143 ImageIndex nextIndex = iter.next(); in TEST()
DImage.h53 const gl::ImageIndex &imageIndex) const override;
94 gl::Extents getAttachmentSize(const gl::ImageIndex &imageIndex) const override;
95 gl::Format getAttachmentFormat(GLenum binding, const gl::ImageIndex &imageIndex) const override;
96 GLsizei getAttachmentSamples(const gl::ImageIndex &imageIndex) const override;
99 const gl::ImageIndex &imageIndex) const override;
107 gl::InitState initState(const gl::ImageIndex &imageIndex) const override;
108 void setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) override;
130 gl::ImageIndex imageIndex;
DFramebufferAttachment.cpp33 FramebufferAttachment::Target::Target(GLenum binding, const ImageIndex &imageIndex) in Target()
62 const ImageIndex &textureIndex, in FramebufferAttachment()
113 const ImageIndex &textureIndex, in attach()
206 const gl::ImageIndex &index = mTarget.textureIndex(); in layer()
295 const ImageIndex &imageIndex, in getAttachmentRenderTarget()
304 const ImageIndex &imageIndex) in initializeContents()
315 ImageIndex fullMipIndex = ImageIndex::MakeFromType( in initializeContents()
316 imageIndex.getType(), imageIndex.getLevelIndex(), ImageIndex::kEntireLevel, size.depth); in initializeContents()
DImage.cpp26 gl::ImageIndex GetImageIndex(EGLenum eglTarget, const egl::AttributeMap &attribs) in GetImageIndex()
30 return gl::ImageIndex(); in GetImageIndex()
39 return gl::ImageIndex::Make3D(mip, layer); in GetImageIndex()
44 return gl::ImageIndex::MakeFromTarget(target, mip, 1); in GetImageIndex()
127 const gl::ImageIndex &imageIndex) const in isRenderable()
173 gl::Extents ExternalImageSibling::getAttachmentSize(const gl::ImageIndex &imageIndex) const in getAttachmentSize()
179 const gl::ImageIndex &imageIndex) const in getAttachmentFormat()
184 GLsizei ExternalImageSibling::getAttachmentSamples(const gl::ImageIndex &imageIndex) const in getAttachmentSamples()
191 const gl::ImageIndex &imageIndex) const in isRenderable()
216 gl::InitState ExternalImageSibling::initState(const gl::ImageIndex &imageIndex) const in initState()
[all …]
DRenderbuffer.h139 Extents getAttachmentSize(const ImageIndex &imageIndex) const override;
140 Format getAttachmentFormat(GLenum binding, const ImageIndex &imageIndex) const override;
141 GLsizei getAttachmentSamples(const ImageIndex &imageIndex) const override;
144 const ImageIndex &imageIndex) const override;
150 InitState initState(const ImageIndex &imageIndex) const override;
151 void setInitState(const ImageIndex &imageIndex, InitState initState) override;
DTexture.cpp675 const ImageDesc &TextureState::getImageDesc(const ImageIndex &imageIndex) const in getImageDesc()
1195 ImageIndex index = ImageIndex::MakeFromTarget(target, level, size.depth); in setImage()
1222 ImageIndex index = ImageIndex::MakeFromTarget(target, level, area.depth); in setSubImage()
1250 ImageIndex index = ImageIndex::MakeFromTarget(target, level, size.depth); in setCompressedImage()
1275 ImageIndex index = ImageIndex::MakeFromTarget(target, level, area.depth); in setCompressedSubImage()
1299 ImageIndex index = ImageIndex::MakeFromTarget(target, level, 1); in copyImage()
1362 const ImageIndex &index, in copySubImage()
1468 ImageIndex index = ImageIndex::MakeFromTarget(target, level, ImageIndex::kEntireLevel); in copyTexture()
1503 ImageIndex index = ImageIndex::MakeFromTarget(target, level, sourceBox.depth); in copySubTexture()
1577 ImageIndex index = ImageIndex::MakeFromTarget(target, level, size.depth); in setImageExternal()
[all …]
DSurface.h143 gl::Extents getAttachmentSize(const gl::ImageIndex &imageIndex) const override;
144 gl::Format getAttachmentFormat(GLenum binding, const gl::ImageIndex &imageIndex) const override;
145 GLsizei getAttachmentSamples(const gl::ImageIndex &imageIndex) const override;
148 const gl::ImageIndex &imageIndex) const override;
163 gl::InitState initState(const gl::ImageIndex &imageIndex) const override;
164 void setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) override;
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.h45 virtual ImageD3D *getImage(const gl::ImageIndex &index) const = 0;
49 const gl::ImageIndex &index,
82 const gl::ImageIndex &index,
91 virtual gl::ImageIndex getImageIndex(GLint mip, GLint layer) const = 0;
92 virtual bool isValidIndex(const gl::ImageIndex &index) const = 0;
105 const gl::ImageIndex &imageIndex,
116 const gl::ImageIndex &imageIndex) override;
125 const gl::ImageIndex &index,
132 const gl::ImageIndex &index,
141 const gl::ImageIndex &index,
[all …]
DTextureD3D.cpp110 const gl::ImageIndex &index, in getImageAndSyncFromStorage()
228 const gl::ImageIndex &index, in setImageImpl()
272 const gl::ImageIndex &index, in subImage()
304 const gl::ImageIndex &index, in setCompressedImageImpl()
336 const gl::ImageIndex &index, in subImageCompressed()
501 gl::ImageIndex srcIndex = getImageIndex(mBaseLevel, layer); in generateMipmapUsingImages()
529 gl::ImageIndex sourceIndex = getImageIndex(mip - 1, layer); in generateMipmapUsingImages()
530 gl::ImageIndex destIndex = getImageIndex(mip, layer); in generateMipmapUsingImages()
610 bool TextureD3D::canCreateRenderTargetForImage(const gl::ImageIndex &index) const in canCreateRenderTargetForImage()
626 const gl::ImageIndex &index, in commitRegion()
[all …]
DTextureStorage.h21 class ImageIndex; variable
55 const gl::ImageIndex &index,
59 const gl::ImageIndex &index,
63 const gl::ImageIndex &sourceIndex,
64 const gl::ImageIndex &destIndex) = 0;
69 const gl::ImageIndex &index,
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.h25 class ImageIndex; variable
45 const gl::ImageIndex &indexSS,
46 const gl::ImageIndex &indexMS);
53 gl::ImageIndex indexSS;
57 gl::ImageIndex indexMS;
92 const gl::ImageIndex &index,
98 const gl::ImageIndex &index,
108 const gl::ImageIndex &sourceIndex,
109 const gl::ImageIndex &destIndex) override;
112 const gl::ImageIndex &index,
[all …]
/external/angle/src/libANGLE/renderer/metal/
DTextureMtl.h41 const gl::ImageIndex &index,
50 const gl::ImageIndex &index,
59 const gl::ImageIndex &index,
66 const gl::ImageIndex &index,
74 const gl::ImageIndex &index,
79 const gl::ImageIndex &index,
85 const gl::ImageIndex &index,
94 const gl::ImageIndex &index,
140 const gl::ImageIndex &imageIndex,
156 const gl::ImageIndex &imageIndex) override;
[all …]
DRenderBufferMtl.mm116 gl::ImageIndex index;
120 index = gl::ImageIndex::Make2DMultisample();
124 index = gl::ImageIndex::Make2D(0);
133 mtl::ImageNativeIndex(gl::ImageIndex::Make2DMultisample(), 0)));
139 gl::ImageIndex index;
142 index = gl::ImageIndex::Make2DMultisample();
146 index = gl::ImageIndex::Make2D(0);
154 mtl::ImageNativeIndex(gl::ImageIndex::Make2DMultisample(), 0)));
201 const gl::ImageIndex &imageIndex,
211 const gl::ImageIndex &imageIndex)
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.h50 const gl::ImageIndex &index,
93 const gl::ImageIndex &index,
97 const gl::ImageIndex &index,
103 const gl::ImageIndex &sourceIndex,
104 const gl::ImageIndex &destIndex) override;
127 const gl::ImageIndex &index,
131 const gl::ImageIndex &index,
137 const gl::ImageIndex &sourceIndex,
138 const gl::ImageIndex &destIndex) override;
164 const gl::ImageIndex &index,
[all …]
DTextureStorage9.cpp96 const gl::ImageIndex &index, in setData()
188 const gl::ImageIndex &index, in findRenderTarget()
200 const gl::ImageIndex &index, in getRenderTarget()
231 const gl::ImageIndex &sourceIndex, in generateMipmap()
232 const gl::ImageIndex &destIndex) in generateMipmap()
326 const gl::ImageIndex &index, in findRenderTarget()
337 const gl::ImageIndex &index, in getRenderTarget()
362 const gl::ImageIndex &, in generateMipmap() argument
363 const gl::ImageIndex &) in generateMipmap()
465 const gl::ImageIndex &index, in findRenderTarget()
[all …]
/external/angle/src/libANGLE/renderer/
DTextureImpl_mock.h26 const gl::ImageIndex &,
36 const gl::ImageIndex &,
45 const gl::ImageIndex &,
53 const gl::ImageIndex &,
61 const gl::ImageIndex &,
67 const gl::ImageIndex &,
73 const gl::ImageIndex &,
83 const gl::ImageIndex &,
120 const gl::ImageIndex &,
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()
DTextureImpl.h53 const gl::ImageIndex &index,
62 const gl::ImageIndex &index,
71 const gl::ImageIndex &index,
78 const gl::ImageIndex &index,
86 const gl::ImageIndex &index,
91 const gl::ImageIndex &index,
97 const gl::ImageIndex &index,
106 const gl::ImageIndex &index,
191 const gl::ImageIndex &index,
/external/angle/src/libANGLE/renderer/vulkan/
DTextureVk.h41 const gl::ImageIndex &index,
50 const gl::ImageIndex &index,
59 const gl::ImageIndex &index,
66 const gl::ImageIndex &index,
74 const gl::ImageIndex &index,
79 const gl::ImageIndex &index,
85 const gl::ImageIndex &index,
94 const gl::ImageIndex &index,
170 const gl::ImageIndex &imageIndex,
186 const gl::ImageIndex &imageIndex) override;
[all …]
/external/angle/src/libANGLE/renderer/null/
DTextureNULL.h25 const gl::ImageIndex &index,
34 const gl::ImageIndex &index,
43 const gl::ImageIndex &index,
50 const gl::ImageIndex &index,
58 const gl::ImageIndex &index,
63 const gl::ImageIndex &index,
69 const gl::ImageIndex &index,
78 const gl::ImageIndex &index,
162 const gl::ImageIndex &imageIndex) override;
DTextureNULL.cpp22 const gl::ImageIndex &index, in setImage()
37 const gl::ImageIndex &index, in setSubImage()
49 const gl::ImageIndex &index, in setCompressedImage()
60 const gl::ImageIndex &index, in setCompressedSubImage()
71 const gl::ImageIndex &index, in copyImage()
80 const gl::ImageIndex &index, in copySubImage()
89 const gl::ImageIndex &index, in copyTexture()
102 const gl::ImageIndex &index, in copySubTexture()
229 const gl::ImageIndex &imageIndex) in initializeContents()
/external/angle/src/libANGLE/renderer/gl/
DTextureGL.h71 const gl::ImageIndex &index,
80 const gl::ImageIndex &index,
89 const gl::ImageIndex &index,
96 const gl::ImageIndex &index,
104 const gl::ImageIndex &index,
109 const gl::ImageIndex &index,
115 const gl::ImageIndex &index,
124 const gl::ImageIndex &index,
168 const gl::ImageIndex &index,
203 const gl::ImageIndex &imageIndex) override;
[all …]

1234