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
  • renderer
  • gl
  • FunctionsGL.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Shrink FunctionsGL.cpp. · 60c65556
    Jamie Madill authored May 02, 2017
    Templating here was causing a lot of redundant functions to be
    generated. We can use a bit of macro magic instead of template
    magic to reduce the binary size.
    
    This reduces the size of the compile file by about 25k.
    
    Note that the ASSIGN macro doesn't itself reduce size, but it
    does save a bit of code size and makes the file look consistent.
    
    BUG=angleproject:2022
    
    Change-Id: I3d9a6e1739dcab1fceca3c63d2a4e35c1e847289
    Reviewed-on: https://chromium-review.googlesource.com/493891Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    60c65556
FunctionsGL.cpp 108 KB
EditWeb IDE
×

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