[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Cairo and Opengl
From:       "Susmith M R (RBEI/ECF1)" <Susmith.MR () in ! bosch ! com>
Date:       2009-12-19 10:23:59
Message-ID: 4CA939AE7204EA41A497B457A05601C504ED8C3063 () SGPMBX02 ! APAC ! bosch ! com
[Download RAW message or body]

Hai all,
  Anybody tried using the same surface for rendering opengl and cairo. In t=
he new release of cairo(cairo-1.9.4.tar.gz) I saw the implemetation of cair=
o_gl_surface_create.
Is it possible to render opengl and cairo together to this surface.
My problem is,
 I have one application which is using cairo for rendering. I have five dif=
ferent layers ,one main surface and all others are image surfaces. I am doi=
ng merging operation at certain point of time. This is working fine. Now I =
want to give one surface to an opengl application and let it render on to t=
hat. After this I need to merge these things.
Is it possible in cairo.
I know this is bad in a way that I am trying to bring 3d to 2d world. But a=
nybody have some idea about this?
Best Regards,
 susi



[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 \
2px solid; } --></style> </head>
<body>
<font face="Arial, sans-serif" size="3">
<div><font color="#0000FF">&nbsp;</font></div>
<div><font size="2">Hai all,</font></div>
<div><font size="2">&nbsp; Anybody tried using the same surface for rendering opengl \
and cairo. In the new release of cairo(cairo-1.9.4.tar.gz) I saw the implemetation of \
cairo_gl_surface_create.</font></div> <div><font size="2">Is it possible to render \
opengl and cairo together to this surface.</font></div> <div><font size="2">My \
problem is,</font></div> <div><font size="2"> I have one application which is using \
cairo for rendering. I have five different layers ,one main surface and all others \
are image surfaces. I am doing merging operation at certain point of time. This is \
working fine. Now I want to give one surface to an opengl application and let it \
render on to that. After this I need to merge these things.</font></div> <div><font \
size="2">Is it possible in cairo. </font></div> <div><font size="2">I know this is \
bad in a way that I am trying to bring 3d to 2d world. But anybody have some idea \
about this?</font></div> <div><font size="2">Best Regards,</font></div>
<div><font size="2"> <font color="#0000FF">susi</font></font></div>
<div><font size="2">&nbsp;</font></div>
<div><font size="2">&nbsp;</font></div>
</font>
</body>
</html>



_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
--===============0959816976==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic