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
  • generate_entry_points.py
Find file
BlameHistoryPermalink
  • John Plate's avatar
    CL: Move object cast from entry points to stubs and front end · a7ae63e4
    John Plate authored May 14, 2021
    Move the OpenCl object cast from the generated entry points to the
    stubs and front end, to make it possible to properly use static_cast.
    This removes the limitation that the front end objects have to be
    standard layout (and makes it possible to use virtual functions),
    which is consistent with other front end objects.
    
    Move the back end initialization from the stubs to the entry point
    functions, which fixes a bug where the back ends were not initialized
    during validation.
    
    Move more code from the stubs to the front end, to keep the stubs
    light.
    
    Remove unused function `default_return_value` from
    `generate_entry_points.py`.
    
    Bug: angleproject:5904
    Change-Id: Id999ad6c537888017bf3252c6f6e088b7d4c7984
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2897245
    Commit-Queue: John Plate <jplate@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
    a7ae63e4
generate_entry_points.py 108 KB
EditWeb IDE
×

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