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
  • formatutils.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Re-land "D3D11: Fix readback of BGRA-backed formats." · ec0b580d
    Jamie Madill authored Jul 04, 2016
    For some BGRA-backed formats (RGBA4, R5G6B5, RGB5A1), our ReadPixels
    implementation wasn't aware the BGRA format didn't exactly match the
    RGBA format. For these it would do the 'fast path' memcpy method, when
    it should stop and do the slow pixel-by-pixel packing method.
    
    Fixes conformance2/reading/read-pixels-from-fbo-test.html.
    
    Reland: fix empty format info that was causing us to only see the
    first pixel in the FBO in a ReadPixels call. Also fix bugs in the
    unorm 16-bit format readback code, and add ASSERTs to catch bugs in
    subsequent new formats.
    
    BUG=angleproject:1407
    BUG=chromium:616176
    
    Change-Id: I9fd55b9e1dd6a306eb4db195d775c02a1eb1f93f
    Reviewed-on: https://chromium-review.googlesource.com/357132Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    ec0b580d
formatutils.cpp 94.4 KB
EditWeb IDE
×

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