All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Nelson <eric.nelson@boundarydevices.com>
To: Carlos Rafael Giani <dv@pseudoterminal.org>,
	 Prabhu S <prabhusundar@gmail.com>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: Any hope of vblank-synchronized rendering (from vivante) on i.MX6 soon?
Date: Tue, 23 Sep 2014 11:46:01 -0700	[thread overview]
Message-ID: <5421BFE9.2010200@boundarydevices.com> (raw)
In-Reply-To: <5421B365.9010409@pseudoterminal.org>

Hi Carlos,

On 09/23/2014 10:52 AM, Carlos Rafael Giani wrote:
>
> I wonder why it is single buffered. is it because of the memory
> consumption for a second buffer? The buffers could be flipped,
> eliminating any need for blits, so the memory bandwidth should not be an
> issue.
>

There is a memory bandwidth implication.

Assuming frame buffers A and B in a double-buffered system,
rendering will occur into B while A is displayed, then the
two will be swapped, such that B is displayed and A is the
new rendering output.

In order for apps to only update parts of their windows, any
"dirty" blocks need to be copied from B to A in the process
of the flip.

> On 2014-09-23 18:48, Prabhu S wrote:
>> i.MX6 X11 EGL is single buffered and there is no support for VSYNC.
>> The tearing with X11 is a known issue. We did investigate to fix this,
>> but the solution becomes too hacky and cannot be used in production
>> systems.
>>
>> We are adding VSYNC support in Wayland. eglSwapInterval will be
>> supported for FBDEV and Wayland backends in the upcoming release(in
>> january). So Ozone-wayland can take advantage of this.
>>

?? This is already supported in Wayland, though it is controlled
by an environment variable.

You can see it in action by watching /sys/class/graphics/fb0/pan.

Regards,


Eric


  reply	other threads:[~2014-09-23 18:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23  4:31 Any hope of vblank-synchronized rendering (from vivante) on i.MX6 soon? Gerard Bucas
2014-09-23 11:45 ` Daiane Angolini
2014-09-23 13:04   ` Gerard Bucas
2014-09-23 13:09     ` Daiane Angolini
2014-09-23 14:00     ` Carlos Rafael Giani
2014-09-23 14:29       ` Eric Nelson
2014-09-23 14:31       ` Gerard Bucas
2014-09-23 14:50         ` Daiane Angolini
2014-09-23 14:55           ` Carlos Rafael Giani
2014-09-23 14:57             ` Any hope of vblank-synchronized rendering (from vivante) on i.MX6 soon? [Resending to avoid HTML problems] Carlos Rafael Giani
2014-09-23 16:48             ` Any hope of vblank-synchronized rendering (from vivante) on i.MX6 soon? Prabhu S
     [not found]               ` <9623C504-372D-4750-9A84-7A8ADF7679A3@tames.com>
2014-09-23 17:51                 ` Carlos Rafael Giani
2014-09-23 17:52               ` Carlos Rafael Giani
2014-09-23 18:46                 ` Eric Nelson [this message]
2014-09-23 18:50                   ` Prabhu S
2014-09-23 19:35                     ` Eric Nelson
2014-09-23 20:09                   ` Carlos Rafael Giani
2014-09-24 15:36                     ` Daiane Angolini
2014-09-25 10:03                       ` Carlos Rafael Giani
  -- strict thread matches above, loose matches on Subject: below --
2014-10-02 16:21 Mike Folcik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5421BFE9.2010200@boundarydevices.com \
    --to=eric.nelson@boundarydevices.com \
    --cc=dv@pseudoterminal.org \
    --cc=meta-freescale@yoctoproject.org \
    --cc=prabhusundar@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.