<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">> I compiled the 1.12.2 Cairo version under win32 using your advices and
> enabling the GL surfaces and the WGL functions.
> The build was apparently successfully but in my OpenGL program I was not
> able to display the Cairo surfaces, could you please show me your
> working example code.
>
> Thank you in advance,
>
> Roberto Delfiore
I refer to the following mail by Brent Fulgham Mon Jun 25 13:26:08 PDT 2012:
> Last night I was able to get an OpenGL-based Cairo test application to
> build and run under Windows using the 1.12.2 source base.
>
> Attached is the diff to accomplish this. I found that the default
> function pointer declarations did not work with the Windows GL
> implementation because of differences in calling conventions. I'm not
> sure if the approach I took to add the declarations is the right one,
> and was hoping someone could review the change and let me know.
>
> To actually build the software, you need the "OpenGL Registry"
> versions of wglext.h and glext.h, which do not ship with Windows.
>
> As I write this, I realize that I forgot to update the Makefile to
> include the GL and WGL source files; I will follow up with this
> missing piece, once I hear back on the other changes.
>
> Thanks,
>
> -Brent
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: wgl_updates.patch
> Type: application/octet-stream
> Size: 9346 bytes
> Desc: not available
> URL: <<a href="http://lists.cairographics.org/archives/cairo/attachments/20120625/659b1ce4/attachment.obj">http://lists.cairographics.org/archives/cairo/attachments/20120625/659b1ce4/attachment.obj</a>>
<pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "></pre>Roberto Delfiore</pre>
</body>
</html>