Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


hard problem concerning rendering into backbuffer

This topic is 5302 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i''m currently on a game engine which allows doing windowing (like you are used to from windumb). for this purpose i use two kinds of windows: a render window which uses opengl (it''s exchangable, can be dx too, but for linux i need ogl in first place) and works fine and conventional windows where you can draw simple stuff like lines, rectangles and blit bitmaps into it (to allow nifty onscreen windows and stuff). the problem: i can''t render using xlib functions (like XDrawLine) into the backbuffer to draw this window. i always end up in the visible frontbuffer which leads to flickering like hell (sure, it''s over-swapped each frame). anybody knows how i can use common Xlib functions to draw into the backbuffer? i know in DX you can do this but how about OGL and linux? Roland Plüss (The Dragon) =- Turn Imagination Into Reality -=

Share this post

Link to post
Share on other sites
no ideas?

or can i use those GLPixMaps for rendering using Xlib functions?
like i said... only primitive drawing, text output and bitmap drawing i need in there, not the big thing.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!