hi;

On 25 September 2012 18:39, Patrick Shirkey <pshir...@boosthardware.com> wrote:
>
> On Tue, September 25, 2012 4:50 pm, Tomeu Vizoso wrote:
>> On Tue, Sep 25, 2012 at 4:31 AM, Patrick Shirkey
>> <pshir...@boosthardware.com> wrote:
>>> Hi,
>>>
>>> Is it possible to use clutter to load existing opengl code directly?
>>
>> You can call OpenGL ES2 directly under some circumstances, see
>> examples/cogl-gles2-context.c and examples/cogl-gles2-gears.c in the
>> Cogl sources.

that's really not integrated with Clutter at all.

bug 669788[0] is the tracking bug for an actor that allows using GL
(or Cogl) in a separate context bound to an FBO; if somebody wants to
tackle it I'd gladly review the patch.

> From a promotional perspective I suggest adding those details more
> prominently on the main website as I think it will provide another
> incentive to people who might be sitting on the fence or struggling to get
> an overview of the current state of play for gtk3 and opengl support.

I'm not sure, and given the recent nature of the support for a
separate GLES context, as well as its conditional status depending on
the driver, I'd be very wary about using it as a "selling point" of
Clutter.

Clutter is already a valid tool, and it integrates correctly with GTK+
(or at least as much as GTK+ allows other toolkits to integrate with
itself); I don't want Clutter to be just a nice way to set up a GL
context in a GTK+ window so that you don't have to use GtkGLExt.

> - In addition it would be helpful to include a link to cogl on the "get
> it" page and explain the relationship between the two codebases and also
> why it is important to build with "--enable-introspection" as it is not
> obvious to a new user at the moment.

feel free to open a bug about mentioning Cogl on the website.

the introspection enabling is automatic, and depends on the
environment as it should; Clutter depends on gobject introspection,
though not strictly, exactly like all other libraries in the GNOME
stack, including its dependencies. gobject-introspection is also
listed in the README.

ciao,
 Emmanuele.

[0] https://bugzilla.gnome.org/show_bug.cgi?id=669788

-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi/
_______________________________________________
clutter-app-devel-list mailing list
clutter-app-devel-list@clutter-project.org
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to