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
  • scripts
  • run_code_generation.py
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Statically allocate built-in function symbols · 140152e7
    Olli Etuaho authored Feb 08, 2018
    A script gen_builtin_symbols.py now generates code for initializing
    built-in function symbols. The TFunction objects are initialized at
    C++ compile time.
    
    The source file used for the functions is in a format that's similar
    to how functions are given out in the GLSL spec, so it is easy to
    maintain.
    
    The function symbols are still inserted to the symbol table levels
    same as before. Getting rid of inserting the symbols at runtime is
    intended to be done as follow-up.
    
    This speeds up angle_unittests on Linux in release mode by a bit less
    than half, and in debug mode by more than half.
    
    BUG=angleproject:2267
    TEST=angle_unittests
    
    Change-Id: I11c9de98c74d28e7e8cdf024516e2f6ee30ca33e
    Reviewed-on: https://chromium-review.googlesource.com/924155
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    140152e7
run_code_generation.py 6.69 KB
EditWeb IDE
×

Replace run_code_generation.py

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.