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
  • d3d
  • d3d11
  • Image11.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Fix Image11::copyFromFramebuffer for emulated texture formats. · d33a806f
    Geoff Lang authored Jun 21, 2016
    Simply using the ReadPixels code paths to unpack the framebuffer into a texture
    was insufficient for handling cases like LUMA or RGB textures that are emulated
    with RGBA textures in D3D11.  Instead, read the framebuffer's data into a
    buffer and then use the loading functions which are aware of the emulated
    formats to write the data to the destionation.
    
    Fix LUMA format structure's logic for reading colors.  They aren't supposed
    to do any averaging logic.
    
    BUG=angleproject:1095
    BUG=483282
    
    Change-Id: Iad91d193d4c824573d9e9cafd28cf456d2de8be5
    Reviewed-on: https://chromium-review.googlesource.com/354482Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    d33a806f
Image11.cpp 24.2 KB
EditWeb IDE
×

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