Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • 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
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • OpenGL
  • common
  • Image.hpp
Find file
BlameHistoryPermalink
  • Sean Risser's avatar
    Fix how we calculate potential overflows with PBOs · 520ed228
    Sean Risser authored Oct 10, 2019
    We were previously checking if we could read to the end of the last
    row in a pixel buffer object without overrunning the buffer. Instead
    we need to check if we could read to the last byte defined by the
    parameters and state without overrunning the buffer.
    
    Also added a unittest to ensure that we don't reject valid PBO
    operations, and do reject invalid PBO operations.
    
    Bug: 140881221
    Change-Id: I9b8879f1be30ec4fe6d60fe43f8ff4078f215868
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/37228
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarSean Risser <srisser@google.com>
    Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    520ed228
Image.hpp 10.5 KB
EditWeb IDE
×

Replace Image.hpp

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.