Questions tagged [doublebuffered]

A computer-graphics technique for updating a dynamic image that greatly reduces the visual artifacts, especially flicker, caused by the screen pixels being changed. The new image is drawn in a "hidden" buffer while the user still sees the old image, stored in a "visible" buffer (hence "double-buffering"). When the new image is fully drawn, the visible and the hidden buffers are switched very quickly and the hidden buffer content becomes visible.

181 questions
0
votes
1 answer

what is the fastest way to draw pixel in win32

I'm writting a simple software renderer, load 3d model, process vertex, rasterization, texture, lighting, all that things, all done. I used SDL(not using OpenGL mode) to draw pixel on its SDL_Surface, and call SDL_Flip, so one frame appears. for…
amanjiang
  • 1,213
  • 14
  • 33
0
votes
2 answers

PowerBuilder Classic 12.5 - Double buffering, Vertical Sync

Since i have lots of controls(buttons,dropdowns, gridviews) on a single form, the drawing seems to lag when fetching data from db, or i notice some screen tearing/lag when the control gets data from database and are drawn. Now i have done some…
Mana
  • 1,925
  • 6
  • 39
  • 55
0
votes
2 answers

Java Applet game double buffering broke with switch statement

I'm just starting out trying to make games and I did a HelloWorld Applet, then tested my idea for scrolling on it, and eventually it started turning into a "helicopter" style game. Now everything worked fine until I decided to put a bunch of switch…
0
votes
4 answers

Threadsafe double buffered cache (not for graphics) in Java?

I was recently looking for a way to implement a doubly buffered thread-safe cache for regular objects. The need arose because we had some cached data structures that were being hit numerous times for each request and needed to be reloaded from…
Michiel Trimpe
  • 329
  • 2
  • 7
0
votes
2 answers

How can I make an image move smoothly ?

I have a PictureBox image in a form which is moving with the mouse movement on the panel. It's moving as I want it, however it's flickering all the time (like refreshes) and I learnt that it's a problem with forms. I tried the following lines of…
Bernice
  • 2,552
  • 11
  • 42
  • 74
0
votes
1 answer

Double buffering in BlackBerry?

Do we need to do double buffering in BlackBerry while rendering our paint code or does BlackBerry handle that? If we need to do that ourselves, how do we do that?
Prabhu R
  • 13,836
  • 21
  • 78
  • 112
0
votes
2 answers

Re-size components after window resizes

I am writing an Applet game, in which I would like the Applet to re-size to fill the browser window. I understand that this is possible to do with HTML, and for now am just assuming that I have an applet which will occasionally have size changes…
Porthos3
  • 381
  • 5
  • 19
0
votes
1 answer

double buffer customer drawn list box

I have a custom draw method so I can make items in a list box different colours. The problem is that I redraw the listbox every 500ms to check if the values have changed. This makes the listbox flicker and I am not sure how to double buffer the…
user1696698
  • 219
  • 3
  • 12
0
votes
0 answers

VB.NET Usercontrol Buffered Graphics

I wanted to create a basic usercontrol that has a buffered graphics. But something is not right, it stops at the line Using gr As Graphics = Graphics.FromImage(m_Buffer) I even managed to crash VS2010. That is why I suspect that I introduced…
tmighty
  • 10,734
  • 21
  • 104
  • 218
0
votes
1 answer

OpenGL double buffering while over 60 fps

How does an OpenGL application with double buffering achieve more than 60 fps (dislay refresh limit)? Does it depend on driver implementation, namely whether it uses double or tripple buffering? Consider next application main loop: while (1) { …
nshy
  • 1,074
  • 8
  • 13
0
votes
1 answer

Java Double Buffering -- access backimage

I'm trying to create a java game that will perform image effects (blurring, deforming, etc. on a BufferedImage) in real-time in conjunction with a BufferStrategy. To do this, I'd like to be able to access the actual backimage (and perform effects on…
0
votes
1 answer

WM_EX_COMPOSITED without double-buffering

I am trying to implement double-buffering in a Win32 application, so I need the controls of a window to be painted from the backmost-control to the frontmost. As I understand it, WM_EX_COMPOSITED does this, but it also does double-buffering itself1.…
Seth Carnegie
  • 73,875
  • 22
  • 181
  • 249
-1
votes
2 answers

Easy way to plot X and Y in an array in C#

Hello I am making a double buffer in C# and I need to find out a formula to plot the X and Y coordinates in my array. Currently I am using a loop to plot my X and Y but it takes along time to do it. (NOTE I CANNOT USE A MULTI DIMENSIONAL ARRAY!!!)
Grunt
  • 173
  • 2
  • 2
  • 11
-1
votes
4 answers

double buffered in c#

Possible Duplicates: How do I double buffer a Panel in C#? c# panel for drawing graphics and scrolling I draw a bitmap on a panel, i use zooming on the same panel. While zooming the panel is continuously flickering. Why do not panel have the…
y_zyx
  • 582
  • 4
  • 10
  • 28
-1
votes
1 answer

SFML & OpenGL 3.3: double buffering without GLUT

I want to write cross-platform 3D app (maybe game, who knows) with SFML and OpenGL 3.3 with the main purpose to learn C++. SFML provides cool event model, handles textures, texts, inputs etc. I've done simple demo with cube (still in old…
Arman Hayots
  • 2,459
  • 6
  • 29
  • 53
1 2 3
12
13