Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • libANGLE
  • Texture.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    ImageIndex: Consolidate layer/cube face. · cc129377
    Jamie Madill authored Apr 12, 2018
    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: 's avatarLuc Ferron <lucferron@chromium.org>
    Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    cc129377
Texture.cpp 47.3 KB
EditWeb IDE
×

Replace Texture.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.