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
  • ContextImpl.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Add gl::ErrorSet and angle::Result. · 6b873dd7
    Jamie Madill authored Jul 12, 2018
    gl::ErrorSet can handle errors and is accessible from ContextImpl.
    It allows the implementation to mutate the error set without using
    the gl::Context directly.
    
    angle::Result is the faster POD return value class. It should generate
    optimal code. It can also be used seamlessly with the ANGLE_TRY macro.
    
    Also introduces an internal enum as a workaround for generating and
    consuming errors in the back-end. When the internal enum is used as
    an error return value the error is not consumed in the front-end. This
    is a temporary workaround only.
    
    Bug: angleproject:2491
    Bug: angleproject:2713
    Change-Id: I6cbdaadd075ccbdf241844cbcbc4ed5c3be40a8b
    Reviewed-on: https://chromium-review.googlesource.com/1133200
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarFrank Henigman <fjhenigman@chromium.org>
    6b873dd7
ContextImpl.cpp 4.01 KB
EditWeb IDE
×

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