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
  • renderer
  • gl
  • TextureGL.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Always use sized internal formats for textures in TextureGL. · 14389ccf
    Geoff Lang authored Jul 23, 2015
    On desktop GL, using an internal format of GL_RGBA produces GL_RGBA8
    textures even if format is set to GL_FLOAT.  Use sized internal formats
    whenever possible to ensure that the internal format of the texture is
    the expected format.
    
    Work around issues with Intel and AMD drivers that always round up when
    writing to a 1-bit alpha framebuffer format.
    
    Fixes:
     * conformance/extensions/oes-texture-float-with-image-data.htm
     * conformance/extensions/oes-texture-float-with-image.html
     * conformance/extensions/oes-texture-float.html
     * conformance/extensions/oes-texture-half-float-linear.html
     * conformance/extensions/oes-texture-half-float-with-image-data.html
     * conformance/extensions/oes-texture-half-float-with-image.html
     * conformance/extensions/oes-texture-half-float.html
    
    Reland of https://chromium-review.googlesource.com/#/c/288350/
    
    BUG=angleproject:884
    
    Change-Id: Ia2f9251d12dd3bbc7b6918d46e61623d0abedfac
    Reviewed-on: https://chromium-review.googlesource.com/288584Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
    14389ccf
TextureGL.cpp 18.7 KB
EditWeb IDE
×

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