All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-qt5] What is the proper way to enable OpenGL ES v2 without using .bbappend
@ 2015-01-13 21:48 Petr Nechaev
  2015-01-13 22:57 ` Jonathan Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Nechaev @ 2015-01-13 21:48 UTC (permalink / raw)
  To: openembedded-devel

Hi All,

 what is the proper way to tell meta-qt5 to build with OpenGL ES v2 support
without using a .bbappend file like this:
----------------------
# switch to GLES 2 support
PACKAGECONFIG_GL = "${@base_contains('DISTRO_FEATURES', 'opengl', 'gles2',
'', d)}"
----------------------

I encountered several boards with have only GLES support, no desktop OpenGL.

AFAIK there is no "opengles" distro feature (in DISTRO_FEATURES)
standardized yet.
Googling resulted in
http://lists.openembedded.org/pipermail/openembedded-core/2013-October/085508.html

https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg45278.html

Should we define something opengles-2, opengles-3 etc for DISTRO_FEATURES?

---
Thanks,
Petr


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [meta-qt5] What is the proper way to enable OpenGL ES v2 without using .bbappend
  2015-01-13 21:48 [meta-qt5] What is the proper way to enable OpenGL ES v2 without using .bbappend Petr Nechaev
@ 2015-01-13 22:57 ` Jonathan Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Liu @ 2015-01-13 22:57 UTC (permalink / raw)
  To: openembedded-devel

Hi Petr,

On 14/01/2015 8:48 AM, Petr Nechaev wrote:
>   what is the proper way to tell meta-qt5 to build with OpenGL ES v2 support
> without using a .bbappend file like this:
> ----------------------
> # switch to GLES 2 support
> PACKAGECONFIG_GL = "${@base_contains('DISTRO_FEATURES', 'opengl', 'gles2',
> '', d)}"
> ----------------------
You can specify it in distro config, machine config or local.conf:
PACKAGECONFIG_GL_pn-qtbase = "${@base_contains('DISTRO_FEATURES', 
'opengl', 'gles2', '', d)}"

I am not sure what is the proper or standard way though.

Regards,
Jonathan


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-13 22:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-13 21:48 [meta-qt5] What is the proper way to enable OpenGL ES v2 without using .bbappend Petr Nechaev
2015-01-13 22:57 ` Jonathan Liu

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.