Thread overview
Re: [OT] For Andrej Mitrovic, Cairo OpenGL and Windows...
Nov 24, 2011
Andrej Mitrovic
Nov 24, 2011
Andrej Mitrovic
Nov 24, 2011
Andrej Mitrovic
Nov 25, 2011
Paolo Invernizzi
Nov 26, 2011
Andrej Mitrovic
November 24, 2011
Yes, but as far as I recall the DLL I've ended up building had some memory corruption issues. Either that or I screwed up some import lib. I made some basic samples, I've just uploaded them here:

https://github.com/AndrejMitrovic/DCairoOpenGL

Note that there's now an object-oriented D wrapper called CairoD. It doesn't have OpenGL capabilities yet, largely because the Cairo DLL distributed on the GTK website wasn't compiled with OpenGL support (and I couldn't get a DLL that wasn't corrupting memory, IIRC).
November 24, 2011
Oh wait, I've just remembered I've had a branch in CairoD (the OOP wrapper) that *did* use GL, so I likely have samples for that as well. I'll take a look..
November 24, 2011
OK, it's actually the same samples as the ones using the C API, except they've been modified to use the OOP CairoD based on a branch that added OpenGL support.

In short, the link I gave you is the one you want.

On 11/24/11, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
> Oh wait, I've just remembered I've had a branch in CairoD (the OOP wrapper) that *did* use GL, so I likely have samples for that as well. I'll take a look..
>
November 25, 2011
Thank you very much, Andrej

Paolo

On Nov 24, 2011, at 11:44 PM, Andrej Mitrovic wrote:

> OK, it's actually the same samples as the ones using the C API, except they've been modified to use the OOP CairoD based on a branch that added OpenGL support.
> 
> In short, the link I gave you is the one you want.
> 
> On 11/24/11, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
>> Oh wait, I've just remembered I've had a branch in CairoD (the OOP wrapper) that *did* use GL, so I likely have samples for that as well. I'll take a look..
>> 

November 26, 2011
No problem.

Are you going to distribute the DLL from somewhere? Btw, is this a private company work or is it a public effort? I'm just wondering what "We" means when you say "We are currently in the process of building..".