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

Issue 2207253002: Unbind video texture from mailbox after copying to WebGL. (Closed)

Created:
4 years, 4 months ago by jbauman
Modified:
4 years, 4 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, Justin Novosad, Rik, f(malita), piman+watch_chromium.org, blink-reviews, chromium-apps-reviews_chromium.org, danakj+watch_chromium.org, ajuma+watch_chromium.org, Stephen Chennney, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Unbind video texture from mailbox after copying to WebGL. Every time a video is copied to WebGL a new mailbox was associated with the texture. Since the texture is cached indefinitely the mapping between textures and mailboxes was growing forever. We can use glProduceTextureDirectCHROMIUM to unbind textures and mailboxes in this case. BUG=634012 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/c5fb6dd04f15201c85d37695b647c0a08d8ee053 Cr-Commit-Position: refs/heads/master@{#410204}

Patch Set 1 #

Total comments: 1

Patch Set 2 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -6 lines) Patch
M gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt View 3 chunks +5 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 4 chunks +13 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/mailbox_manager_sync.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
jbauman
4 years, 4 months ago (2016-08-04 21:15:23 UTC) #7
Ken Russell (switch to Gerrit)
LGTM I wish there were a way to write a test for this to prevent ...
4 years, 4 months ago (2016-08-05 00:56:52 UTC) #8
piman
lgtm
4 years, 4 months ago (2016-08-05 16:25:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2207253002/20001
4 years, 4 months ago (2016-08-05 20:50:40 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/117307)
4 years, 4 months ago (2016-08-05 22:08:06 UTC) #14
Ken Russell (switch to Gerrit)
On 2016/08/05 22:08:06, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 4 months ago (2016-08-05 22:26:47 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2207253002/20001
4 years, 4 months ago (2016-08-05 22:27:26 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-05 23:03:01 UTC) #18
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 23:05:06 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c5fb6dd04f15201c85d37695b647c0a08d8ee053
Cr-Commit-Position: refs/heads/master@{#410204}

Powered by Google App Engine
This is Rietveld 408576698