Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • 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
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • OpenGL
  • libEGL
  • Config.cpp
Find file
BlameHistoryPermalink
  • Chris Forbes's avatar
    Fix eglChooseConfig behavior to match CTS expectation · 787e3d5b
    Chris Forbes authored Aug 31, 2018
    When multiple instances of the same attribute are provided, CTS expects
    the last instance to win. Achieve this by:
    	1/ Reducing the attribute list in getConfigs()
    	2/ Adjusting the sort order's consideration of which color
    	components are "required" to allow a later 0 or EGL_DONT_CARE to
    	remove a component from consideration again.
    
    Affects: dEQP-EGL.functional.choose_config.*
    Bug: b/113679786
    
    V2: Fix up the alignment I broke
    V4: Style fix
    
    Change-Id: If9375c9dc5aaadb0ee7b77ecf1e1098c82fa30ca
    Reviewed-on: https://swiftshader-review.googlesource.com/20448Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Tested-by: 's avatarChris Forbes <chrisforbes@google.com>
    787e3d5b
Config.cpp 14.8 KB
EditWeb IDE
×

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