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
  • tests
  • gl_tests
  • D3D11FormatTablesTest.cpp
Find file
BlameHistoryPermalink
  • Dian Xiang's avatar
    Refactoring TextureFormat and its helper functions to individual classes · db3dd083
    Dian Xiang authored Sep 16, 2015
    BUG=angleproject:1160
    
    This is the first step to BUG=angleproject:1160, optimizing
    GetTextureFormatInfo to use static switching rather than building maps and
    using the find function. Also reordered the includes in alphabetical,
    src files first format
    
    The next step is to modify the GetTextureFormatInfo not to build a map but
    to use static switching. The step after that is to use a JSON generator to
    generate the switching, hence refactoring TextureFormat to be in its own
    class so we only need to generate what's necesary. The helper functions
    such as swizzle texture format can also be done using the same approach.
    Hence, they're also refactored into their own files.
    
    Change-Id: I753f437ca0df69ee5584d254fe0d2ea8b09a857e
    Reviewed-on: https://chromium-review.googlesource.com/300288Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Tryjob-Request: Jamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarDian Xiang <dianx@google.com>
    db3dd083
D3D11FormatTablesTest.cpp 4.77 KB
EditWeb IDE
×

Replace D3D11FormatTablesTest.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.