In terms of the Texture or Image resource, a cube face refers to a layer of a 2D texture. This layer has a special meaning for cube textures, but it is represented as a layer with a layer index. Cube array textures are no different, they just use a different indexing scheme for the array layers. This also cleans up the ImageIndex helper to have a class structure with private data, and cleans up a few cases to use generic Make functions and iterators where they were setting properties of the index directly. This will make it easier to have ImageIndexes address entire levels of a Cube map in the future, and makes the layer count logic in Vulkan cleaner. Bug: angleproject:2318 Change-Id: Iea9842e233f974a9896282ca224cb001f7882bd1 Reviewed-on: https://chromium-review.googlesource.com/987525Reviewed-by:Luc Ferron <lucferron@chromium.org> Reviewed-by:
Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| shaders | Loading commit data... | |
| Blit9.cpp | Loading commit data... | |
| Blit9.h | Loading commit data... | |
| Buffer9.cpp | Loading commit data... | |
| Buffer9.h | Loading commit data... | |
| Context9.cpp | Loading commit data... | |
| Context9.h | Loading commit data... | |
| DebugAnnotator9.cpp | Loading commit data... | |
| DebugAnnotator9.h | Loading commit data... | |
| Fence9.cpp | Loading commit data... | |
| Fence9.h | Loading commit data... | |
| Framebuffer9.cpp | Loading commit data... | |
| Framebuffer9.h | Loading commit data... | |
| Image9.cpp | Loading commit data... | |
| Image9.h | Loading commit data... | |
| IndexBuffer9.cpp | Loading commit data... | |
| IndexBuffer9.h | Loading commit data... | |
| NativeWindow9.cpp | Loading commit data... | |
| NativeWindow9.h | Loading commit data... | |
| Query9.cpp | Loading commit data... | |
| Query9.h | Loading commit data... | |
| RenderTarget9.cpp | Loading commit data... | |
| RenderTarget9.h | Loading commit data... | |
| Renderer9.cpp | Loading commit data... | |
| Renderer9.h | Loading commit data... | |
| ShaderCache.h | Loading commit data... | |
| ShaderExecutable9.cpp | Loading commit data... | |
| ShaderExecutable9.h | Loading commit data... | |
| StateManager9.cpp | Loading commit data... | |
| StateManager9.h | Loading commit data... | |
| SwapChain9.cpp | Loading commit data... | |
| SwapChain9.h | Loading commit data... | |
| TextureStorage9.cpp | Loading commit data... | |
| TextureStorage9.h | Loading commit data... | |
| VertexArray9.h | Loading commit data... | |
| VertexBuffer9.cpp | Loading commit data... | |
| VertexBuffer9.h | Loading commit data... | |
| VertexDeclarationCache.cpp | Loading commit data... | |
| VertexDeclarationCache.h | Loading commit data... | |
| formatutils9.cpp | Loading commit data... | |
| formatutils9.h | Loading commit data... | |
| renderer9_utils.cpp | Loading commit data... | |
| renderer9_utils.h | Loading commit data... | |
| vertexconversion.h | Loading commit data... |