Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Issue 1845963003: Make sure we call glBufferData on the same data we store internally. (Closed)

Created:
4 years, 8 months ago by David Yen
Modified:
4 years, 8 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make sure we call glBufferData on the same data we store internally. The BufferManager now shadows the glBufferData data before we pass it to GL so that a user cannot modify the data while we are processing it. R=kbr@chromium.org, vmiura@chromium.org BUG=599081 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/f936e84eb05867b3c3311da561e05332a97362a3 Cr-Commit-Position: refs/heads/master@{#384688}

Patch Set 1 #

Patch Set 2 : "Fixed comment." #

Total comments: 6

Patch Set 3 : shadow->use_shadow, Format, vector Clear+Insert/Resize #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -64 lines) Patch
M gpu/command_buffer/service/buffer_manager.h View 1 2 5 chunks +26 lines, -14 lines 0 comments Download
M gpu/command_buffer/service/buffer_manager.cc View 1 2 9 chunks +63 lines, -50 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
David Yen
4 years, 8 months ago (2016-03-31 22:13:17 UTC) #1
Ken Russell (switch to Gerrit)
Thank you for taking this. This LGTM but I am not an owner. CC'ing piman ...
4 years, 8 months ago (2016-03-31 23:28:05 UTC) #4
piman
Only one comment really, but the logic of the CL looks ok. https://codereview.chromium.org/1845963003/diff/20001/gpu/command_buffer/service/buffer_manager.cc File gpu/command_buffer/service/buffer_manager.cc ...
4 years, 8 months ago (2016-04-01 00:09:46 UTC) #5
David Yen
https://codereview.chromium.org/1845963003/diff/20001/gpu/command_buffer/service/buffer_manager.cc File gpu/command_buffer/service/buffer_manager.cc (right): https://codereview.chromium.org/1845963003/diff/20001/gpu/command_buffer/service/buffer_manager.cc#newcode143 gpu/command_buffer/service/buffer_manager.cc:143: shadow_.resize(size); On 2016/04/01 00:09:46, piman wrote: > Why the ...
4 years, 8 months ago (2016-04-01 17:00:53 UTC) #6
piman
lgtm
4 years, 8 months ago (2016-04-01 19:40:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845963003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845963003/40001
4 years, 8 months ago (2016-04-01 19:44:41 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-01 20:57:30 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 20:58:33 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f936e84eb05867b3c3311da561e05332a97362a3
Cr-Commit-Position: refs/heads/master@{#384688}

Powered by Google App Engine
This is Rietveld 408576698