Skip to main content

Questions tagged [double-buffering]

In computer graphics - instead of writing graphics information to a part of memory that is immediately render to the screen, the application writes a complete 3d scene to a part of memory called the back buffer. Once all information is in place in the back buffer it is "presented" to the part of memory that gets rendered to the screen. This memory is called the front buffer. By doing this problems like tearing and flickering is more or less avoided.

0 votes
1 answer
48 views

What will happen if I intend to display the hidden surface after clearing the window, draw the game objects, and then display the window again? Am I watching the drawing process of the objects? Is ...
Đạt Phạm's user avatar
0 votes
1 answer
983 views

How does the HTML5 canvas know that all the drawing operations are complete and it's time to swap the buffer ? Program can have multiple draw calls at different places so how will it know when is the ...
anonymous's user avatar
  • 524
0 votes
1 answer
3k views

I'm currently fiddling with SDL2 and OpenGL to get an understanding on how they work and, moreover, how shaders are done and work. Right now, I'm following this tutorial, using SDL instead of glfw; ...
fedexist's user avatar
1 vote
1 answer
411 views

I am seeing this in most of the game codes I read and tutorial videos I watch. When using double buffering in rendering, they use a smaller sized off-screen buffer, then just scale it up when drawing ...
userx01's user avatar
  • 346
0 votes
1 answer
560 views

I am creating an application using Direct3D 9. I want to implement triple buffering with vsync. I can successfully create a graphics device object with 2 back buffers. How do I know which buffer to ...
P. Avery's user avatar
  • 575
3 votes
0 answers
98 views

I'm learning about game programming. So far, my sources lead me to believe that multiple buffering is the best technique for redrawing in OpenGL. Are there other redrawing techniques? What are their ...
Noob Saibot's user avatar
0 votes
1 answer
3k views

I'm trying to make a little breakout game with Java and Swing. The only issue so far is that drawing on the JPanel causes lots of flickering! The relevant code: <...
hbsrud's user avatar
  • 117
1 vote
2 answers
3k views

When my program starts, almost nothing is on screen, just couple of lights and spheres. My FPS is at ~50. The Speed measurements looks like this: ...
Lasse's user avatar
  • 3,239

15 30 50 per page