[cairo] Some more glitz questions
oakad at yahoo.com
Sat Oct 16 08:07:01 PDT 2004
I think that my problem is somehow related to
glViewport or something. I'm using Qt's QGLWidget
class for the glitz. When widget gets resize event
(and updates the window size), it calls resizeGL
virtual function, where I do surface_destroy/
surface_create with new size. The problem, however,
that the output remains clipped to the original
It may be true that glitz doesnot coexists well with
Qt's GL classes. That's a pity, because everything
else works perfectly and quite fast.
Do you have some clues on this?
--- David Reveman <c99drn at cs.umu.se> wrote:
> On Thu, 2004-10-14 at 10:13 -0700, Alex Dubov wrote:
> > Greetings.
> > There are nice glitz_gl_begin/glitz_gl_end calls
> > the D. Reveman's/P. Nilsson's paper, but they are
> > present in the recent glitz cvs version. Are they
> > available in some form?
> Not right now but they will reappear someday. The
> old interface was
> really bad for the API and more for testing
> purposes. I need to figure
> out a better solution.
> > Also: I want to resize the glitz surface
> > but I failed to find a way to do so. I tried to
> > destroy/create new surface with different size,
> > its size on screen remains constant. Is there some
> > to resize glitz surfaces?
> Yes, destroy/create new surface with different size
> should work fine.
> However, the actual resize of the window has to be
> done by the window
> system. e.g. using XResizeWindow.
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
More information about the cairo