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

Issue 954073002: Compile shader upon deletion if attached. (Closed)

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

Description

Compile shader upon deletion if attached. R=kbr@chromium.org, vmiura@chromium.org BUG=459778 TEST=chromote locally with enableVideoDecodeRenderer Committed: https://crrev.com/c6a36cdd86305aa691641fcfd6ded5a571510834 Cr-Commit-Position: refs/heads/master@{#317985}

Patch Set 1 #

Patch Set 2 : Added unit test #

Total comments: 3

Patch Set 3 : Fixed shader deletion, updated unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -16 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M gpu/command_buffer/service/shader_manager.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/shader_manager.cc View 1 2 4 chunks +9 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/shader_manager_unittest.cc View 1 2 4 chunks +20 lines, -5 lines 0 comments Download
M gpu/command_buffer/tests/gl_program_unittest.cc View 1 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
David Yen
5 years, 10 months ago (2015-02-25 00:43:50 UTC) #1
vmiura
This looks fine. Let's include a gl_test that fails without the fix in the same ...
5 years, 10 months ago (2015-02-25 00:53:17 UTC) #2
David Yen
On 2015/02/25 00:53:17, vmiura wrote: > This looks fine. Let's include a gl_test that fails ...
5 years, 10 months ago (2015-02-25 01:07:20 UTC) #3
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/954073002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/954073002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5137 gpu/command_buffer/service/gles2_cmd_decoder.cc:5137: glDeleteShader(shader->service_id()); This won't work. The service_id will have been ...
5 years, 10 months ago (2015-02-25 01:10:03 UTC) #4
Zhenyao Mo
https://codereview.chromium.org/954073002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/954073002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5137 gpu/command_buffer/service/gles2_cmd_decoder.cc:5137: glDeleteShader(shader->service_id()); You could probably change MarkAsDeleted() to just Delete(), ...
5 years, 10 months ago (2015-02-25 01:15:37 UTC) #6
David Yen
https://codereview.chromium.org/954073002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/954073002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5137 gpu/command_buffer/service/gles2_cmd_decoder.cc:5137: glDeleteShader(shader->service_id()); On 2015/02/25 01:15:37, Zhenyao Mo wrote: > You ...
5 years, 10 months ago (2015-02-25 02:15:00 UTC) #7
Zhenyao Mo
LGTM
5 years, 10 months ago (2015-02-25 03:57:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/954073002/40001
5 years, 10 months ago (2015-02-25 04:35:48 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-25 05:24:42 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 05:25:33 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c6a36cdd86305aa691641fcfd6ded5a571510834
Cr-Commit-Position: refs/heads/master@{#317985}

Powered by Google App Engine
This is Rietveld 408576698