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

Issue 2938543005: media: Add GLES2DecoderHelper (Closed)

Created:
3 years, 6 months ago by sandersd (OOO until July 31)
Modified:
3 years, 5 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, piman+watch_chromium.org, feature-media-reviews_chromium.org, Geoff Lang
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Add GLES2DecoderHelper This class wraps a gpu::gles2::GLES2Decoder* to provide utility functions for VDAs. BUG=522298 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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 Review-Url: https://codereview.chromium.org/2938543005 Cr-Commit-Position: refs/heads/master@{#485091} Committed: https://chromium.googlesource.com/chromium/src/+/0ea82f3864289d9103d288edc822f264e62ca9a4

Patch Set 1 #

Total comments: 6

Patch Set 2 : Mark SyncTokens as verified. #

Patch Set 3 : Nits. #

Total comments: 2

Patch Set 4 : Use GLES2Decoder directly. #

Patch Set 5 : decoder -> decoder_ #

Total comments: 4

Patch Set 6 : Remove unneeded #includes. #

Total comments: 9

Patch Set 7 : DCHECK that the context is current. #

Patch Set 8 : Don't check for guaranteed non-nulls. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -0 lines) Patch
M media/gpu/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A media/gpu/gles2_decoder_helper.h View 1 2 3 4 5 6 7 1 chunk +59 lines, -0 lines 0 comments Download
A media/gpu/gles2_decoder_helper.cc View 1 2 3 4 5 6 7 1 chunk +124 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (15 generated)
sandersd (OOO until July 31)
3 years, 6 months ago (2017-06-13 23:26:49 UTC) #3
Pawel Osciak
Is this intended to be used by all VDAs? Thanks!
3 years, 6 months ago (2017-06-13 23:36:35 UTC) #8
sandersd (OOO until July 31)
On 2017/06/13 23:36:35, Pawel Osciak wrote: > Is this intended to be used by all ...
3 years, 6 months ago (2017-06-13 23:53:02 UTC) #9
watk
https://codereview.chromium.org/2938543005/diff/40001/media/gpu/command_buffer_helper.cc File media/gpu/command_buffer_helper.cc (right): https://codereview.chromium.org/2938543005/diff/40001/media/gpu/command_buffer_helper.cc#newcode133 media/gpu/command_buffer_helper.cc:133: stub_->stream_id(), stub_->command_buffer_id(), 0); Are you intending this TODO to ...
3 years, 6 months ago (2017-06-14 00:01:38 UTC) #10
sandersd (OOO until July 31)
https://codereview.chromium.org/2938543005/diff/40001/media/gpu/command_buffer_helper.cc File media/gpu/command_buffer_helper.cc (right): https://codereview.chromium.org/2938543005/diff/40001/media/gpu/command_buffer_helper.cc#newcode133 media/gpu/command_buffer_helper.cc:133: stub_->stream_id(), stub_->command_buffer_id(), 0); On 2017/06/14 00:01:38, watk wrote: > ...
3 years, 6 months ago (2017-06-14 00:03:02 UTC) #11
sandersd (OOO until July 31)
https://codereview.chromium.org/2938543005/diff/40001/media/gpu/command_buffer_helper.cc File media/gpu/command_buffer_helper.cc (right): https://codereview.chromium.org/2938543005/diff/40001/media/gpu/command_buffer_helper.cc#newcode162 media/gpu/command_buffer_helper.cc:162: gpu::GpuCommandBufferStub* stub_ = nullptr; On 2017/06/14 00:01:38, watk wrote: ...
3 years, 6 months ago (2017-06-16 22:31:38 UTC) #12
watk
lgtm lgtm
3 years, 6 months ago (2017-06-20 21:57:28 UTC) #13
sandersd (OOO until July 31)
sunnyps@: Please review command buffer usage.
3 years, 6 months ago (2017-06-20 22:25:23 UTC) #15
sunnyps
I'm a bit worried about creating TextureRefs outside of TextureManager and without client-side ids because ...
3 years, 6 months ago (2017-06-23 00:57:59 UTC) #16
sunnyps
+ericrk for ServiceDiscardableManager questions
3 years, 6 months ago (2017-06-23 00:58:30 UTC) #18
sandersd (OOO until July 31)
> I'm a bit worried about creating TextureRefs outside of TextureManager and > without client-side ...
3 years, 5 months ago (2017-06-26 21:00:28 UTC) #19
ericrk
On 2017/06/26 21:00:28, sandersd wrote: > > I'm a bit worried about creating TextureRefs outside ...
3 years, 5 months ago (2017-06-26 21:12:47 UTC) #20
sunnyps
On 2017/06/26 21:00:28, sandersd wrote: > > I'm a bit worried about creating TextureRefs outside ...
3 years, 5 months ago (2017-06-27 00:02:12 UTC) #21
sandersd (OOO until July 31)
> I don't think we wait for the compositor sync token in the renderer today. ...
3 years, 5 months ago (2017-06-27 00:15:21 UTC) #22
sandersd (OOO until July 31)
Now that SyncTokens are not being generated, I have changed the implementation to use a ...
3 years, 5 months ago (2017-06-28 22:28:34 UTC) #25
watk
lgtm https://codereview.chromium.org/2938543005/diff/140001/media/gpu/gles2_decoder_helper.cc File media/gpu/gles2_decoder_helper.cc (right): https://codereview.chromium.org/2938543005/diff/140001/media/gpu/gles2_decoder_helper.cc#newcode11 media/gpu/gles2_decoder_helper.cc:11: #include "gpu/command_buffer/common/sync_token.h" potentially unneeded now https://codereview.chromium.org/2938543005/diff/140001/media/gpu/gles2_decoder_helper.cc#newcode15 media/gpu/gles2_decoder_helper.cc:15: #include ...
3 years, 5 months ago (2017-06-29 18:39:08 UTC) #26
sandersd (OOO until July 31)
https://codereview.chromium.org/2938543005/diff/140001/media/gpu/gles2_decoder_helper.cc File media/gpu/gles2_decoder_helper.cc (right): https://codereview.chromium.org/2938543005/diff/140001/media/gpu/gles2_decoder_helper.cc#newcode11 media/gpu/gles2_decoder_helper.cc:11: #include "gpu/command_buffer/common/sync_token.h" On 2017/06/29 18:39:07, watk wrote: > potentially ...
3 years, 5 months ago (2017-06-29 23:13:00 UTC) #27
sunnyps
lgtm % nit I'll defer to piman@ for high level design, in particular, if this ...
3 years, 5 months ago (2017-06-30 01:01:07 UTC) #29
sandersd (OOO until July 31)
On 2017/06/30 01:01:07, sunnyps wrote: > lgtm % nit > > I'll defer to piman@ ...
3 years, 5 months ago (2017-07-06 21:26:23 UTC) #30
sandersd (OOO until July 31)
https://codereview.chromium.org/2938543005/diff/160001/media/gpu/gles2_decoder_helper.cc File media/gpu/gles2_decoder_helper.cc (right): https://codereview.chromium.org/2938543005/diff/160001/media/gpu/gles2_decoder_helper.cc#newcode33 media/gpu/gles2_decoder_helper.cc:33: DCHECK_CALLED_ON_VALID_THREAD(thread_checker_); On 2017/06/30 01:01:07, sunnyps wrote: > nit: dcheck ...
3 years, 5 months ago (2017-07-06 22:09:07 UTC) #31
piman
This LGTM for now. There's a few nits (some things can't be null), which can ...
3 years, 5 months ago (2017-07-06 22:30:51 UTC) #32
sandersd (OOO until July 31)
https://codereview.chromium.org/2938543005/diff/160001/media/gpu/gles2_decoder_helper.cc File media/gpu/gles2_decoder_helper.cc (right): https://codereview.chromium.org/2938543005/diff/160001/media/gpu/gles2_decoder_helper.cc#newcode38 media/gpu/gles2_decoder_helper.cc:38: if (!texture_manager) On 2017/07/06 22:30:50, piman wrote: > So, ...
3 years, 5 months ago (2017-07-06 22:47:11 UTC) #33
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/2938543005/200001
3 years, 5 months ago (2017-07-07 21:17:24 UTC) #36
commit-bot: I haz the power
3 years, 5 months ago (2017-07-07 23:18:24 UTC) #39
Message was sent while issue was closed.
Committed patchset #8 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/0ea82f3864289d9103d288edc822...

Powered by Google App Engine
This is Rietveld 408576698