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
  • validationES.h
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Refactor and inline DrawElements validation. · f5c88e7e
    Jamie Madill authored Dec 08, 2018
    This moves ValidateDrawBase into a common inline function. It also
    moves some checks in ValidateDrawElementsCommon into
    ValidateDrawElementsBase. "Base" is called from DrawElementsIndirect
    while "Common" is only called from non-indirect entry points. But this
    improves conformance because the missing checks in "Base" apply to
    DrawIndirect as well.
    
    In a follow-up patch many checks in "Base" will be cached into a single
    value. Much like what we did for ValidateDrawBase.
    
    Also inlines ValidateDrawElements which just calls through to "Common".
    
    Bug: angleproject:2966
    Change-Id: Ibe0c5db25f403dd52a50dc73373ebb50cedad003
    Reviewed-on: https://chromium-review.googlesource.com/c/1357147
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    f5c88e7e
validationES.h 30.3 KB
EditWeb IDE
×

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