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
  • State.cpp
Find file
BlameHistoryPermalink
  • Lubosz Sarnecki's avatar
    FrameCapture: Capture GLES1 specific states. · 4901ac64
    Lubosz Sarnecki authored May 06, 2021
    Implement capturing GLES1 specific state by checking the difference to
    the default state using getEnableFeature.
    
    When getEnableFeature is called from a context version higher than 1 and
    a GLES1 state is requested, an assertion is hit. Therefore the context
    version needs to be determined before calling getEnableFeature.
    
    Use the available isTextureTargetEnabled function to determine
    GL_TEXTURE_2D and GL_TEXTURE_CUBE_MAP states in getEnableFeature.
    
    Return false in isTextureTargetEnabled when mTextUnitEnables is empty,
    so the vector is not accessed when not initialized, which was the case
    for a default state.
    
    Bug: angleproject:5893
    Change-Id: I66ee41c3bf7a8e1f04a8a4ce0461fddc16f9a013
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2877237Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
    4901ac64
State.cpp 117 KB
EditWeb IDE
×

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