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
  • angle_format_data.json
Find file
BlameHistoryPermalink
  • Kenneth Russell's avatar
    Fix validation of PVRTC compressed texture sizes. · 3ecaa283
    Kenneth Russell authored May 22, 2020
    The PVRTC format, as pointed out by Le Hoang Quyen and Geoff Lang,
    uses 4x4 or 8x4 blocks, but due to sampling from adjacent blocks,
    requires a minimum size of 2x2 blocks per the OpenGL extension:
    https://www.khronos.org/registry/OpenGL/extensions/IMG/IMG_texture_compression_pvrtc.txt
    . Thanks to Quyen and Geoff for pointing out the intricacies.
    
    Add a helper function to formatutils.cpp which returns the minimum
    number of blocks (width and height) for a given compressed texture
    format, and incorporate this into the compressed texture size
    computation.
    
    This patch makes WebKit on ANGLE pass WebGL's PVRTC compressed texture
    test on iOS hardware.
    
    Bug: angleproject:4652
    No-Presubmit: True
    Change-Id: I1046a091321b7948d712d16686ee0cb8795b8c99
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2213676
    Commit-Queue: Kenneth Russell <kbr@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    3ecaa283
angle_format_data.json 6.07 KB
EditWeb IDE
×

Replace angle_format_data.json

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.