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
  • Texture.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Avoid copy of PixelUnpackState in Texture::setImage. · f826e1a3
    Geoff Lang authored Sep 02, 2015
    The ternary operator determines that the common type is the value type, causing
    a copy of PixelUnpackState.  If PixelUnpackState::pixelBuffer is non-null then
    there is an assertion failure in the destructor on any call to Texture::setImage.
    
    See:http://stackoverflow.com/a/30088030
    
    BUG=angleproject:1149
    
    Change-Id: I9654e65956339d6b6966ad65a98cf37ad4e00452
    Reviewed-on: https://chromium-review.googlesource.com/297084Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
    f826e1a3
Texture.cpp 21.1 KB
EditWeb IDE
×

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