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
  • ImageTest.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    D3D11: Fix reads and writes to EGL image textures with mip offsets. · 48d040e8
    Geoff Lang authored Jan 18, 2019
    RenderTarget11 knows how to render to a specific mip of a texture but if
    TextureStorage11 attempts to read or write to the backing resource directly
    it does not select the correct subresource index.  This manifested in calls
    to glTexSubImage going to the wrong mip of the resource.
    
    Fix TextureStorage11::getSubresourceIndex to look up the correct subresource
    in TextureStorage11_EGLImage.
    
    Add a test to cover this case in ImageTest.MipLevels.
    
    BUG=angleproject:2668
    
    Change-Id: Id9270ab3bf9f37c7c671639bb8b7ce9578daaed6
    Reviewed-on: https://chromium-review.googlesource.com/c/1422058Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    48d040e8
ImageTest.cpp 70.7 KB
EditWeb IDE
×

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