gpu: Use decoder state restoration for scoped_binders
This commit adds decoder state restoration for Scoped
{ActiveTexture,UseProgram,VertexAttribArray,BufferBinder}.
BUG=None
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/2762833003
Cr-Commit-Position: refs/heads/master@{#460746}
Committed: https://chromium.googlesource.com/chromium/src/+/afded6c6f693337fcf57c6de5fb20cdb6a5f8a82
Description was changed from ========== gpu: Use decoder state restoration for scoped_binders This commit adds ...
3 years, 9 months ago
(2017-03-21 06:32:13 UTC)
#1
Description was changed from
==========
gpu: Use decoder state restoration for scoped_binders
This commit adds decoder state restoration for Scoped
{ActiveTexture,UseProgram,VertexAttribArray,BufferBinder}.
BUG=None
==========
to
==========
gpu: Use decoder state restoration for scoped_binders
This commit adds decoder state restoration for Scoped
{ActiveTexture,UseProgram,VertexAttribArray,BufferBinder}.
BUG=None
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
==========
Chandan
Description was changed from ========== gpu: Use decoder state restoration for scoped_binders This commit adds ...
3 years, 9 months ago
(2017-03-21 06:35:57 UTC)
#2
Description was changed from
==========
gpu: Use decoder state restoration for scoped_binders
This commit adds decoder state restoration for Scoped
{ActiveTexture,UseProgram,VertexAttribArray,BufferBinder}.
BUG=None
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
==========
to
==========
gpu: Use decoder state restoration for scoped_binders
This commit adds decoder state restoration for Scoped
{ActiveTexture,UseProgram,VertexAttribArray,BufferBinder}.
BUG=None
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
==========
https://codereview.chromium.org/2762833003/diff/1/gpu/command_buffer/service/context_state.cc File gpu/command_buffer/service/context_state.cc (right): https://codereview.chromium.org/2762833003/diff/1/gpu/command_buffer/service/context_state.cc#newcode462 gpu/command_buffer/service/context_state.cc:462: RestoreVertexAttribArray(attrib_index); This needs to pass in |attrib_manager|. RestoreVertexAttribArrays can ...
3 years, 9 months ago
(2017-03-22 21:28:26 UTC)
#7
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/413627)
3 years, 9 months ago
(2017-03-23 21:29:43 UTC)
#13
On 2017/03/23 21:41:45, Ken Russell wrote: > On 2017/03/23 21:29:43, commit-bot: I haz the power ...
3 years, 9 months ago
(2017-03-24 09:18:56 UTC)
#15
On 2017/03/23 21:41:45, Ken Russell wrote:
> On 2017/03/23 21:29:43, commit-bot: I haz the power wrote:
> > Try jobs failed on following builders:
> > mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED,
> >
>
http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
>
> Looks like a real failure caused by this patch.
As per build logs, all the 4 tests are failing due to failure of
VTDecompressionSessionCreate(--) function with below error:
[43792:771:0323/134948.867568:30371248834014:WARNING:vt_video_decode_accelerator_mac.cc(169)]
Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain
Code=-8973 "The operation couldn?t be completed. (OSStatus error -8973.)"
(codecOpenErr) (-8973)
This failure is only on MAC OS.
I do not have much idea on this. Also, I am wondering how this failure is
related to this CL.
If anybody can throw some light on this failure, please?
Ken Russell (switch to Gerrit)
On 2017/03/24 09:18:56, Chandan wrote: > On 2017/03/23 21:41:45, Ken Russell wrote: > > On ...
3 years, 9 months ago
(2017-03-24 18:23:51 UTC)
#16
On 2017/03/24 09:18:56, Chandan wrote:
> On 2017/03/23 21:41:45, Ken Russell wrote:
> > On 2017/03/23 21:29:43, commit-bot: I haz the power wrote:
> > > Try jobs failed on following builders:
> > > mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED,
> > >
> >
>
http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
> >
> > Looks like a real failure caused by this patch.
>
> As per build logs, all the 4 tests are failing due to failure of
> VTDecompressionSessionCreate(--) function with below error:
>
[43792:771:0323/134948.867568:30371248834014:WARNING:vt_video_decode_accelerator_mac.cc(169)]
> Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain
> Code=-8973 "The operation couldn?t be completed. (OSStatus error -8973.)"
> (codecOpenErr) (-8973)
> This failure is only on MAC OS.
>
> I do not have much idea on this. Also, I am wondering how this failure is
> related to this CL.
> If anybody can throw some light on this failure, please?
Please try building on macOS and running with and without your patch. Debugging
it in that manner will probably shed some light. Thanks.
Note that your patch failed multiple try jobs on mac_chromium_rel_ng in the same
way and was the only patch failing in that manner, so I think it's unlikely that
your patch hit a bug that was on top-of-tree at the time.
Chandan
On 2017/03/24 18:23:51, Ken Russell wrote: > On 2017/03/24 09:18:56, Chandan wrote: > > On ...
3 years, 9 months ago
(2017-03-24 19:47:12 UTC)
#17
On 2017/03/24 18:23:51, Ken Russell wrote:
> On 2017/03/24 09:18:56, Chandan wrote:
> > On 2017/03/23 21:41:45, Ken Russell wrote:
> > > On 2017/03/23 21:29:43, commit-bot: I haz the power wrote:
> > > > Try jobs failed on following builders:
> > > > mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED,
> > > >
> > >
> >
>
http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
> > >
> > > Looks like a real failure caused by this patch.
> >
> > As per build logs, all the 4 tests are failing due to failure of
> > VTDecompressionSessionCreate(--) function with below error:
> >
>
[43792:771:0323/134948.867568:30371248834014:WARNING:vt_video_decode_accelerator_mac.cc(169)]
> > Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain
> > Code=-8973 "The operation couldn?t be completed. (OSStatus error -8973.)"
> > (codecOpenErr) (-8973)
> > This failure is only on MAC OS.
> >
> > I do not have much idea on this. Also, I am wondering how this failure is
> > related to this CL.
> > If anybody can throw some light on this failure, please?
>
> Please try building on macOS and running with and without your patch.
Debugging
> it in that manner will probably shed some light. Thanks.
>
> Note that your patch failed multiple try jobs on mac_chromium_rel_ng in the
same
> way and was the only patch failing in that manner, so I think it's unlikely
that
> your patch hit a bug that was on top-of-tree at the time.
I would have definitely done that, but unfortunately I do not have a macOS setup
with me. :( We generally work on a Linux machine. Thanks.
Chandan
On 2017/03/24 18:23:51, Ken Russell wrote: > On 2017/03/24 09:18:56, Chandan wrote: > > On ...
3 years, 9 months ago
(2017-03-24 19:51:05 UTC)
#18
On 2017/03/24 18:23:51, Ken Russell wrote:
> On 2017/03/24 09:18:56, Chandan wrote:
> > On 2017/03/23 21:41:45, Ken Russell wrote:
> > > On 2017/03/23 21:29:43, commit-bot: I haz the power wrote:
> > > > Try jobs failed on following builders:
> > > > mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED,
> > > >
> > >
> >
>
http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
> > >
> > > Looks like a real failure caused by this patch.
> >
> > As per build logs, all the 4 tests are failing due to failure of
> > VTDecompressionSessionCreate(--) function with below error:
> >
>
[43792:771:0323/134948.867568:30371248834014:WARNING:vt_video_decode_accelerator_mac.cc(169)]
> > Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain
> > Code=-8973 "The operation couldn?t be completed. (OSStatus error -8973.)"
> > (codecOpenErr) (-8973)
> > This failure is only on MAC OS.
> >
> > I do not have much idea on this. Also, I am wondering how this failure is
> > related to this CL.
> > If anybody can throw some light on this failure, please?
>
> Please try building on macOS and running with and without your patch.
Debugging
> it in that manner will probably shed some light. Thanks.
>
> Note that your patch failed multiple try jobs on mac_chromium_rel_ng in the
same
> way and was the only patch failing in that manner, so I think it's unlikely
that
> your patch hit a bug that was on top-of-tree at the time.
I would have definitely done that, but unfortunately I do not have a macOS setup
with me. :( We generally work on a Linux machine. Thanks.
Ken Russell (switch to Gerrit)
On 2017/03/24 19:51:05, Chandan wrote: > On 2017/03/24 18:23:51, Ken Russell wrote: > > On ...
3 years, 9 months ago
(2017-03-24 21:12:51 UTC)
#19
On 2017/03/24 19:51:05, Chandan wrote:
> On 2017/03/24 18:23:51, Ken Russell wrote:
> > On 2017/03/24 09:18:56, Chandan wrote:
> > > On 2017/03/23 21:41:45, Ken Russell wrote:
> > > > On 2017/03/23 21:29:43, commit-bot: I haz the power wrote:
> > > > > Try jobs failed on following builders:
> > > > > mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED,
> > > > >
> > > >
> > >
> >
>
http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
> > > >
> > > > Looks like a real failure caused by this patch.
> > >
> > > As per build logs, all the 4 tests are failing due to failure of
> > > VTDecompressionSessionCreate(--) function with below error:
> > >
> >
>
[43792:771:0323/134948.867568:30371248834014:WARNING:vt_video_decode_accelerator_mac.cc(169)]
> > > Failed to create VTDecompressionSession: Error
Domain=NSOSStatusErrorDomain
> > > Code=-8973 "The operation couldn?t be completed. (OSStatus error -8973.)"
> > > (codecOpenErr) (-8973)
> > > This failure is only on MAC OS.
> > >
> > > I do not have much idea on this. Also, I am wondering how this failure is
> > > related to this CL.
> > > If anybody can throw some light on this failure, please?
> >
> > Please try building on macOS and running with and without your patch.
> Debugging
> > it in that manner will probably shed some light. Thanks.
> >
> > Note that your patch failed multiple try jobs on mac_chromium_rel_ng in the
> same
> > way and was the only patch failing in that manner, so I think it's unlikely
> that
> > your patch hit a bug that was on top-of-tree at the time.
> I would have definitely done that, but unfortunately I do not have a macOS
setup
> with me. :( We generally work on a Linux machine. Thanks.
In that case, you can send tryjobs to mac_chromium_rel_ng containing more
logging to figure out what's going wrong, but until you debug the test failure
this CL won't be able to land.
Chandan
The CQ bit was checked by c.padhi@samsung.com
3 years, 8 months ago
(2017-03-30 12:48:26 UTC)
#20
CQ is committing da patch. Bot data: {"patchset_id": 160001, "attempt_start_ts": 1490878106502160, "parent_rev": "29783ad5a5cbc0569d4a5578c82feca23223a621", "commit_rev": "3ba509a88e31b9127720da700c13539a33ec7ef3"}
3 years, 8 months ago
(2017-03-30 13:54:47 UTC)
#23
CQ is committing da patch.
Bot data: {"patchset_id": 160001, "attempt_start_ts": 1490878106502160,
"parent_rev": "29783ad5a5cbc0569d4a5578c82feca23223a621", "commit_rev":
"3ba509a88e31b9127720da700c13539a33ec7ef3"}
commit-bot: I haz the power
CQ is committing da patch. Bot data: {"patchset_id": 160001, "attempt_start_ts": 1490878106502160, "parent_rev": "d9a86ecf88f14c23e6526824822a230b23dafb1c", "commit_rev": "afded6c6f693337fcf57c6de5fb20cdb6a5f8a82"}
3 years, 8 months ago
(2017-03-30 14:00:24 UTC)
#24
CQ is committing da patch.
Bot data: {"patchset_id": 160001, "attempt_start_ts": 1490878106502160,
"parent_rev": "d9a86ecf88f14c23e6526824822a230b23dafb1c", "commit_rev":
"afded6c6f693337fcf57c6de5fb20cdb6a5f8a82"}
commit-bot: I haz the power
Description was changed from ========== gpu: Use decoder state restoration for scoped_binders This commit adds ...
3 years, 8 months ago
(2017-03-30 14:01:12 UTC)
#25
Message was sent while issue was closed.
Description was changed from
==========
gpu: Use decoder state restoration for scoped_binders
This commit adds decoder state restoration for Scoped
{ActiveTexture,UseProgram,VertexAttribArray,BufferBinder}.
BUG=None
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
==========
to
==========
gpu: Use decoder state restoration for scoped_binders
This commit adds decoder state restoration for Scoped
{ActiveTexture,UseProgram,VertexAttribArray,BufferBinder}.
BUG=None
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/2762833003
Cr-Commit-Position: refs/heads/master@{#460746}
Committed:
https://chromium.googlesource.com/chromium/src/+/afded6c6f693337fcf57c6de5fb2...
==========
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/afded6c6f693337fcf57c6de5fb20cdb6a5f8a82
3 years, 8 months ago
(2017-03-30 14:01:13 UTC)
#26
On 2017/03/30 18:31:43, piman wrote: > It's generally recommended to get a new review if ...
3 years, 8 months ago
(2017-03-30 19:21:06 UTC)
#28
Message was sent while issue was closed.
On 2017/03/30 18:31:43, piman wrote:
> It's generally recommended to get a new review if you change the patch in
> non-trivial ways after the LGTM. I'm not sure I agree with that new logic
>
Sure. I wasn't aware of this. I will take care of it the next time.
Chandan
https://codereview.chromium.org/2762833003/diff/160001/gpu/command_buffer/service/context_state.cc File gpu/command_buffer/service/context_state.cc (right): https://codereview.chromium.org/2762833003/diff/160001/gpu/command_buffer/service/context_state.cc#newcode320 gpu/command_buffer/service/context_state.cc:320: if (BufferTargetIsSupported(target)) On 2017/03/30 18:31:43, piman wrote: > Why ...
3 years, 8 months ago
(2017-03-30 19:22:39 UTC)
#29
Message was sent while issue was closed.
https://codereview.chromium.org/2762833003/diff/160001/gpu/command_buffer/ser...
File gpu/command_buffer/service/context_state.cc (right):
https://codereview.chromium.org/2762833003/diff/160001/gpu/command_buffer/ser...
gpu/command_buffer/service/context_state.cc:320: if
(BufferTargetIsSupported(target))
On 2017/03/30 18:31:43, piman wrote:
> Why this logic? Other targets *are* supported at the context level. It would
be
> extremely surprising for users to use a ScopedBufferBinder to not work based
on
> the target
I added this logic to keep it consistent with !state_restorer_ case in
ScopedBufferBinder ctor.
So, target will be passed on to glBindBuffer without any check?
Issue 2762833003: gpu: Use decoder state restoration for scoped_binders
(Closed)
Created 3 years, 9 months ago by Chandan
Modified 3 years, 8 months ago
Reviewers: Daniele Castagna, a.suchit2, Uzair, jbauman, piman, Ken Russell (switch to Gerrit)
Base URL:
Comments: 6