|
From: Daniele C. <dca...@in...> - 2007-09-19 16:35:37
|
Start with a drawcontext create from window and all is ok I want create a bitmap of view so I create pixmap drawcontext (I can create a image with large dimension). My masterDrawContext is the drawcontext obtain with Q3View_GetDrawContext from window view. I make the render into pixmap drawcontext I create a windows bitmap, for this I get drawcontext with Q3View_GetDrawContext obtain from pixmap drawcontext and get pixmap. When I have my windows bitmap I return to drawcontext create from window James W. Walker ha scritto: > On Sep 19, 2007, at 1:30 AM, Daniele Cavallini wrote: > > >> I add the logging statements like you suggest. I obtain: >> Start view with render on video >> /When pass in GLDrawContext_New theDrawContext is 02344c98 / >> Call render in the pixmap drawcontext >> /When pass in gldrawcontext_fbo_new (//ofcourse after call to >> Q3Object_GetPoperty >> (...KQ3DrawContextPropertyAcceleretedOffscreen...))// >> masterDrawContext 02344c98. >> >> /After I recreate a window on screen with a new draw context / >> /For create the bitmap after render I use Q3View_GetDrawContext and >> Q3PixmapDrawContext_GetPixmap maybe my problem here? >> > > I'm not clear on what you're doing. You had a window draw context A > which served as a master draw context for a pixmap context B. Then > you created a new window draw context C... then what? To which view > do you apply Q3View_GetDrawContext, and to which context do you apply > Q3PixmapDrawContext_GetPixmap? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quesa-develop mailing list > Que...@li... > https://lists.sourceforge.net/lists/listinfo/quesa-develop > > |