On Fri, Sep 6, 2013 at 2:51 PM, Robert O'Callahan wrote:
> On some non-main thread:
> 1. Wait for vsync event
> 2. Dispatch refresh driver ticks to all windows that don't already have a
> pending refresh driver tick unacknowledged by a layer tree update response
> 3. Wait for N ms, processing any
On Sat, Sep 7, 2013 at 7:02 AM, Jeff Gilbert wrote:
> Could you clarify number 2? It's a little dense.
>
A better way to state it is this: every layer tree update by the main
thread eventually gets a response in the form of a vsync-driven request to
tick the corresponding refresh driver. So, ass
Could you clarify number 2? It's a little dense.
-Jeff
- Original Message -
From: "Robert O'Callahan"
To: "Bas Schouten"
Cc: "Jeff Muizelaar" , "Vladimir Vukicevic"
, dev-platform@lists.mozilla.org, avih...@yahoo.com
Sent: Thursda
I had some off-thread discussion with Bas about lowering latency. We seem
to have agreed on the following plan:
On some non-main thread:
1. Wait for vsync event
2. Dispatch refresh driver ticks to all windows that don't already have a
pending refresh driver tick unacknowledged by a layer tree upda
- Original Message -
> From: "Robert O'Callahan"
> To: "Bas Schouten"
> Cc: "Jeff Muizelaar" ,
> dev-platform@lists.mozilla.org, "Vladimir Vukicevic"
> , avih...@yahoo.com
> Sent: Wednesday, August 14, 2013 9:36:15 PM
On Wed, Aug 14, 2013 at 9:39 PM, Bas Schouten wrote:
> > From: "Robert O'Callahan"
> > That would be good in some ways, but it doesn't handle off-main-thread
> > animation when the main thread's drawing is late (e.g. because the main
> > thread is stuck doing something else). For that we must ha
- Original Message -
> From: "Robert O'Callahan"
> To: "Bas Schouten"
> Cc: "Jeff Muizelaar" ,
> dev-platform@lists.mozilla.org, "Vladimir Vukicevic"
> , avih...@yahoo.com
> Sent: Wednesday, August 14, 2013 1:25:03 AM
>
I'm not sure you can ever achieve 'ideal' results when it comes to the
interaction between requestAnimationFrame and vsync. requestAnimationFrame
is fundamentally flawed for combining low latency with tearing-free
presentation because it conceptually ties updating, rendering and
presentation all in
On Wed, Aug 14, 2013 at 2:30 PM, Jeff Gilbert wrote:
> Bas is also correct about lowering latency by waiting until closer to
> vblank, and continuing to update the data the compositor renders from,
> instead of just trying to finish a frame as soon as possible. The proposal
> reads to me to indic
r Vukicevic"
, dev-platform@lists.mozilla.org, avih...@yahoo.com
Sent: Tuesday, August 13, 2013 6:25:03 PM
Subject: Re: vsync proposal
On Wed, Aug 14, 2013 at 12:13 PM, Bas Schouten wrote:
> Since you want composition to occur whenever drawing has occurred, I don't
> really think
On Wed, Aug 14, 2013 at 12:13 PM, Bas Schouten wrote:
> Since you want composition to occur whenever drawing has occurred, I don't
> really think it should really be what's working on doing any processing for
> the vblank event. The VBlank event should just fire, indiscriminately
> whenever VBlan
- Original Message -
> From: "Robert O'Callahan"
> To: "Jeff Muizelaar"
> Cc: dev-platform@lists.mozilla.org, "Vladimir Vukicevic"
> , avih...@yahoo.com, "Bas Schouten"
>
> Sent: Tuesday, August 13, 2013 10:34:38 PM
> Su
On Wed, Aug 14, 2013 at 2:13 AM, Jeff Muizelaar wrote:
> On 2013-08-12, at 11:05 PM, Robert O'Callahan wrote:
>
> > Tell me what you think.
> > https://wiki.mozilla.org/User:Roc/VsyncProposal
>
> A couple things that are not clear to me from this proposal:
> - when the vsync event is sent?
>
Dep
On 2013-08-12, at 11:05 PM, Robert O'Callahan wrote:
> Tell me what you think.
> https://wiki.mozilla.org/User:Roc/VsyncProposal
A couple things that are not clear to me from this proposal:
- when the vsync event is sent?
- how does it deal with a blocking swapbuffers()?
- what happens in the
tiple platforms scales
well.
--Jet
- Original Message -
From: "Robert O'Callahan"
To: dev-platform@lists.mozilla.org, "Vladimir Vukicevic"
, avih...@yahoo.com, "Bas Schouten"
Sent: Monday, August 12, 2013 8:08:18 PM
Subject: Re: vsync proposal
On Tue, Au
On Tue, Aug 13, 2013 at 3:05 PM, Robert O'Callahan wrote:
> Tell me what you think.
> https://wiki.mozilla.org/User:Roc/VsyncProposal
>
Forgot to mention --- this is the result of brainstorming with Matt Woodrow
and Nick Cameron this morning.
Rob
--
Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoau
Tell me what you think.
https://wiki.mozilla.org/User:Roc/VsyncProposal
Rob
--
Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa
stiheer :p atroa lsyazye,d 'mYaonu,r "sGients uapr,e tfaokreg iy
17 matches
Mail list logo