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
  • libGLESv2.gypi
Find file
BlameHistoryPermalink
  • Dian Xiang's avatar
    Changed GetTextureFormatInfo to use static switch · 0450dfcc
    Dian Xiang authored Sep 17, 2015
    BUG=angleproject:1160
    
    The find of the map table in GetTextureFormatInfo is showing up as a
    hotspot in draw call perf benchmark. Switching the map into a static
    switch should make it more efficient.
    
    Other tables that only GetTextureFormatInfo uses is also converted into
    static switching instead of maps for performance. Other tables include
    swizzle_format_table and load_functions_table which are both only used by
    GetTextureFormatInfo to generate the TextureFormat for a given
    internalFormat and d3d device caps.
    
    The static switches for each table is generated using a python script
    named gen_*.py. The data for each table is stored in JSON files. This
    makes it more flexible for additions and deletions.
    
    Change-Id: I0f40fcc2a215c85661863ea225891071cb2f2c71
    Reviewed-on: https://chromium-review.googlesource.com/301770Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    Tryjob-Request: Dian Xiang <dianx@google.com>
    Tested-by: 's avatarDian Xiang <dianx@google.com>
    Tryjob-Request: Jamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
    0450dfcc
libGLESv2.gypi 36.1 KB
EditWeb IDE
×

Replace libGLESv2.gypi

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.