1. 03 Nov, 2015 1 commit
  2. 02 Nov, 2015 5 commits
  3. 30 Oct, 2015 7 commits
  4. 29 Oct, 2015 6 commits
  5. 28 Oct, 2015 4 commits
  6. 27 Oct, 2015 6 commits
  7. 26 Oct, 2015 10 commits
  8. 23 Oct, 2015 1 commit
    • Changed GetTextureFormatInfo to use static switch · 0450dfcc
      Dian Xiang authored
      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>