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
  • Context.h
Find file
BlameHistoryPermalink
  • Tobin Ehlis's avatar
    Skip noop draws in the frontend · d7890bca
    Tobin Ehlis authored Jun 29, 2018
    If a draw does not have enough vertices for its primitive count to
    produce a primitive then skip it. If an instanced draw has 0 instances
    or not have enough vertices for its primitive count to
    produce a primitive then skip it.
    This means a Point with 0 vertices, a Line w/ 0-1 vertices, or a tri
    with 0-2 primitives.
    
    Updated some redundant code in the D3D11 backend. Draws below the
    minDrawCount will no longer be passed to the backend so updated the
    associated state in StateManager11 to only track the case where all
    primitives should be culled due to GL state settings.
    
    BUG=angleproject:2568
    TEST=functional_transform_feedback_basic_types_interleaved_lines_lowp_int
    
    Change-Id: I9faa767c12004fcdec923ec70a8ee5615d789813
    Reviewed-on: https://chromium-review.googlesource.com/1120849
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    d7890bca
Context.h 73.9 KB
EditWeb IDE
×

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