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
  • tests
  • angle_tests
  • FramebufferFormatsTest.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Report zero bit sizes for channels that shouldn't exist. · b6a673a0
    Geoff Lang authored Jun 05, 2014
    If the actual format has more channels than the internal format of a
    framebuffer, bits counts greater than zero will be returned for channels
    that should not exist.  While it is not against the spec to return more
    bits than exist in the format, it can be confusing for users or break
    tests.  get*Bits will now only return greater than zero bit counts when
    the format should have the given channel.
    
    Since this is the only location that we return information about the
    "real" internal format we're using, it's safe to only make the
    modifications here.
    
    BUG=angle:653
    
    Change-Id: I43ef4c6290c8c70737d579d7e9a2dd30d653330b
    Reviewed-on: https://chromium-review.googlesource.com/202594Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
    b6a673a0
FramebufferFormatsTest.cpp 2.42 KB
EditWeb IDE
×

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