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
  • BufferDataTest.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Buffer11: Allow CopySubData from uninitialized. · 1eda27a6
    Jamie Madill authored Nov 16, 2017
    This fixes a very odd use case where an app would try to copy from an
    uninitialized buffer. I didn't search the spec too closely, but it's
    likely a valid operation that produces undefined buffer contents.
    Previously to this change we would genearte an OOM error.
    
    Also includes an unrelated fix to ensure the latest buffer storage is
    never nullptr when we have any data.
    
    Bug: angleproject:1155
    Change-Id: I4292bd302cc2b84d125a7d3e8d28e4d2b0210e53
    Reviewed-on: https://chromium-review.googlesource.com/774991Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    1eda27a6
BufferDataTest.cpp 15.3 KB
EditWeb IDE
×

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