<div class="gmail_quote"><br><div><div></div><div class="h5"><br><div class="gmail_quote">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><br>
> Hi,<br>
><br>
> I am using cairo-gl from<br>
> <a href="http://cgit.freedesktop.org/%7Eanholt/cairo/tree/?h=gl" target="_blank">http://cgit.freedesktop.org/~anholt/cairo/tree/?h=gl</a>,<br>
><br>
> and i tried to run cairo-perf, but while calling glGenFramebuffersEXT<br>
> (all gl extensions functions),<br>
><br>
> It gives following error message and continues<br>
><br>
> Mesa 7.0.3-rc2 implementation error: User called no-op dispatch<br>
> function (an unsupported extension function?)<br>
> Please report at <a href="http://bugzilla.freedesktop.org" target="_blank">bugzilla.freedesktop.org</a><br>
<br>
</div></div>Sorry about that! It's one of the things I noted before that needs to<br>
be fixed before it sees serious use -- the cairo-gl backend currently<br>
doesn't check for OpenGL extensions it uses. My plan is to use GLEW, a<br>
nice[1] library that hides the pain of OpenGL extension handling.<br>
<br>
So, you need EXT_framebuffer_object and ARB_texture_non_power_of_two to<br>
use cairo-gl currently. If you're using the Intel graphics driver,<br>
you'll get EXT_framebuffer_object once you update your kernel, 2D<br>
driver, and Mesa to something recent (I'd recommend 2.6.29.2, 2.7.0, and<br>
7.4 respectively), and it'll be coming to Radeon with the KMS<br>
development by Dave Airlie and Jerome Glisse.<br>
<br>
The ARB_texture_non_power_of_two requirement could be relaxed with some<br>
minor work, and would let cairo-gl work on pre-915 hardware.<br>
<br>
[1] OK, GLEW is almost nice, except that it lacks a pkgconfig file. So<br>
it's ugly to build against, but the C API you get in the end is what you<br>
always wished using OpenGL was like. And I'll forgive just about<br>
anything to get that.<br>
<font color="#888888"><br>
--<br>
Eric Anholt<br>
<a href="mailto:eric@anholt.net" target="_blank">eric@anholt.net</a> <a href="mailto:eric.anholt@intel.com" target="_blank">eric.anholt@intel.com</a><br>
<br>
<br>
</font></blockquote></div><br>
</div></div></div>Thanks for replying,<br>Now, it is working properly,<br><br>i ran cairo-perf and found that cairo-gl is slower than cairo-xrender/xlib or cairo-glitz backend.<br><br>but i read from following link that cairo-gl backend is faster than cairo-xrender.<br>
<br><a href="http://lists.cairographics.org/archives/cairo/2009-March/016709.html" target="_blank">http://lists.cairographics.org/archives/cairo/2009-March/016709.html</a><br><br>i am confused, please reply.<br><br>Yogesh G.