Dry run: Try jobs failed on following builders: linux_optional_gpu_tests_rel on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_optional_gpu_tests_rel/builds/6132) mac_optional_gpu_tests_rel on ...
3 years, 10 months ago
(2017-02-16 18:00:48 UTC)
#7
Dry run: Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/16673)
3 years, 10 months ago
(2017-02-16 20:40:36 UTC)
#11
https://codereview.chromium.org/2699713005/diff/20001/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp File third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp (right): https://codereview.chromium.org/2699713005/diff/20001/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp#newcode169 third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp:169: finalizeFrame(); On 2017/02/21 18:06:21, Justin Novosad wrote: > On ...
3 years, 10 months ago
(2017-02-21 19:23:10 UTC)
#17
https://codereview.chromium.org/2699713005/diff/20001/third_party/WebKit/Sour...
File third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
(right):
https://codereview.chromium.org/2699713005/diff/20001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp:169:
finalizeFrame();
On 2017/02/21 18:06:21, Justin Novosad wrote:
> On 2017/02/18 00:08:01, Ken Russell wrote:
> > Why is this being added here instead of inside
> HTMLCanvasElement::finalizeFrame?
> > It seems oddly placed.
>
> Because not all rendering contexts have an HTMLCanvasElement. They may have
an
> OffscreenCanvas.
Ah right. Thanks.
lgtm with nits. https://codereview.chromium.org/2699713005/diff/20001/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp File third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp (right): https://codereview.chromium.org/2699713005/diff/20001/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp#newcode169 third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp:169: finalizeFrame(); On 2017/02/21 18:06:21, Justin Novosad ...
3 years, 10 months ago
(2017-02-21 19:56:56 UTC)
#19
lgtm with nits.
https://codereview.chromium.org/2699713005/diff/20001/third_party/WebKit/Sour...
File third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
(right):
https://codereview.chromium.org/2699713005/diff/20001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp:169:
finalizeFrame();
On 2017/02/21 18:06:21, Justin Novosad wrote:
> On 2017/02/18 00:08:01, Ken Russell wrote:
> > Why is this being added here instead of inside
> HTMLCanvasElement::finalizeFrame?
> > It seems oddly placed.
>
> Because not all rendering contexts have an HTMLCanvasElement. They may have
an
> OffscreenCanvas.
What would be the scenarios when finalizeFrame() is called for OffscreenCanvas?
Do you think it's ready to add an extra test for OffscreenCanvas in this CL or
there needs to be more refactoring
in the code (probably follow-up CLs) that handles those scenarios?
https://codereview.chromium.org/2699713005/diff/40001/third_party/WebKit/Sour...
File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
(right):
https://codereview.chromium.org/2699713005/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:1401:
m_markedCanvasDirty = true;
Just a bit curious: does this m_markedCanvasDirty have overlapping usage as with
m_animationFrameInProgress?
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 10 months ago
(2017-02-21 20:02:20 UTC)
#20
3 years, 10 months ago
(2017-02-21 20:02:21 UTC)
#21
Dry run: This issue passed the CQ dry run.
Justin Novosad
On 2017/02/21 19:56:56, xlai (Olivia) wrote: > lgtm with nits. > > https://codereview.chromium.org/2699713005/diff/20001/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp > File ...
3 years, 10 months ago
(2017-02-21 21:46:39 UTC)
#22
On 2017/02/21 19:56:56, xlai (Olivia) wrote:
> lgtm with nits.
>
>
https://codereview.chromium.org/2699713005/diff/20001/third_party/WebKit/Sour...
> File third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
> (right):
>
>
https://codereview.chromium.org/2699713005/diff/20001/third_party/WebKit/Sour...
> third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp:169:
> finalizeFrame();
> On 2017/02/21 18:06:21, Justin Novosad wrote:
> > On 2017/02/18 00:08:01, Ken Russell wrote:
> > > Why is this being added here instead of inside
> > HTMLCanvasElement::finalizeFrame?
> > > It seems oddly placed.
> >
> > Because not all rendering contexts have an HTMLCanvasElement. They may have
> an
> > OffscreenCanvas.
>
> What would be the scenarios when finalizeFrame() is called for
OffscreenCanvas?
> Do you think it's ready to add an extra test for OffscreenCanvas in this CL or
> there needs to be more refactoring
> in the code (probably follow-up CLs) that handles those scenarios?
For now, not much, but we're starting to add performance heuristics that count
frames, like this one: https://codereview.chromium.org/2687073003/
>
>
https://codereview.chromium.org/2699713005/diff/40001/third_party/WebKit/Sour...
> File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
> (right):
>
>
https://codereview.chromium.org/2699713005/diff/40001/third_party/WebKit/Sour...
> third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:1401:
> m_markedCanvasDirty = true;
> Just a bit curious: does this m_markedCanvasDirty have overlapping usage as
with
> m_animationFrameInProgress?
Not exactly. In patch set 1, I did not realize this which is what caused all the
test failures. m_markedCanvasDirty is related to the snapshot that lives in the
canvas element (m_copiedImage), while m_animationFrameInProgress tracks commits.
Justin Novosad
The CQ bit was checked by junov@chromium.org
3 years, 10 months ago
(2017-02-21 21:46:47 UTC)
#23
Issue 2699713005: Fix missing finalizeFrame barriers in WebGL animations
(Closed)
Created 3 years, 10 months ago by Justin Novosad
Modified 3 years, 10 months ago
Reviewers: xlai, Ken Russell (switch to Gerrit), xlai (Olivia)
Base URL:
Comments: 8