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
  • Framebuffer.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Fix determining texture mipmap completeness · e8528d89
    Olli Etuaho authored May 16, 2016
    The code didn't previously take base level properly into account
    when determining how many levels to check when checking for texture
    completeness.
    
    The code is refactored so that the "q" value in spec, that is the
    maximum mipmap level for determining completeness, can be queried from
    TextureState. This value is used now for checking completeness.
    
    This requires moving ImageDescs under TextureState. Functions that
    operate on the ImageDesc array are also moved from Texture to
    TextureState. TextureState members are also renamed to start with the
    "m" prefix and made private.
    
    Also handle levels outside the base/max level range consistently in
    eglCreateImageKHR validation. We interpret the spec so that if the
    level used for the EGL image is not a part of the texture levels that
    affect texture completeness, an error is generated.
    
    BUG=angleproject:596
    TEST=angle_end2end_tests
    
    Change-Id: I038ef24aa83e0a6905ca3c0bbada5989eecb00d9
    Reviewed-on: https://chromium-review.googlesource.com/344880Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    e8528d89
Framebuffer.cpp 25.4 KB
EditWeb IDE
×

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