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
  • tests
  • gl_tests
  • TextureTest.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Add initializer function to more texture formats · 6ee394a1
    Olli Etuaho authored Feb 18, 2016
    All GL RGB formats that ANGLE stores as RGBA formats under the covers
    need to have their alpha channel set to 1. See GLES 3.0.4 table 3.24
    for the relevant spec. In some cases, this is handled by the
    dataInitializerFunction associated with the format. Previously, some
    texture formats had the function set correctly, but not all.
    
    Associating formats with the datainitializerFormat is now a
    responsibility of the gen_texture_format_table.py script. The new
    automation there makes sure that all GL RGB formats emulated with
    RGBA formats get a data initializer function.
    
    Tests are added in end2end_tests for most of the RGB formats.
    
    BUG=angleproject:1318
    TEST=angle_end2end_tests
    
    Change-Id: Iad860357f33d87c625445ea6c58a53af47e0b547
    Reviewed-on: https://chromium-review.googlesource.com/328253Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    6ee394a1
TextureTest.cpp 76.1 KB
EditWeb IDE
×

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