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
  • common
  • mathutil.h
Find file
BlameHistoryPermalink
  • Markus Tavenrath's avatar
    Apply several small micro-optimizations to ValidateDrawElementsCommon · cc37cbf2
    Markus Tavenrath authored Dec 30, 2018
    * Remove indirection when getting CotextState from Context
    * Reduce number of branches from 2 to 1 when checking for an InvalidEnum in FromGLEnum<DrawElementsType>
    * Provide IndexRange constructor which doesn't initialize the member variables
    * Reduce number of branches to 1 when checking for BasicDrawStateErrors for the fast path
    * Remove a few branches and reduce math cost during the buffer range check in ValidateDrawElementsCommon
    
    Bug: angleproject:2966
    
    Change-Id: Ibdbed8a59ad9d7abce76622e9f507498e67ab997
    Reviewed-on: https://chromium-review.googlesource.com/c/1392805
    Commit-Queue: Markus Tavenrath <matavenrath@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    cc37cbf2
mathutil.h 36.3 KB
EditWeb IDE
×

Replace mathutil.h

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.