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.
Questions tagged [doublebuffered]
181 questions
1
vote
1 answer
WinForms flickers when loading on Windows 8.1
I have been experiencing some flickering effects when my Windows Forms are initially loaded on Windows 8.1.
At first I tried some solutions involving enabling DoubleBuffered, but that did not seem to fix the problem. I later came across the solution…

tjsmith
- 729
- 7
- 21
1
vote
1 answer
X11 application cant draw w/ double buffering
I have a small application written in C running on Linux, that creates a simple X window, with a double buffer, writes some pixels and then flushes.
I notice that if I don't add a delay the picture flushed does not appear, what am I making wrong…

HenriqueMS
- 3,864
- 2
- 30
- 39
1
vote
3 answers
DoubleBuffering in Java
I'm having some trouble implementing DoubleBuffer into my program. Before you faint from the wall of text, you should know that a lot of it is there just in case you need to know. The actual place where I think I'm having problems is in one…

exodrifter
- 658
- 1
- 12
- 23
1
vote
1 answer
label backgrond flicking on a WinForms user control has background image enabled
I am working on a windows form project and having some problem with UserControl Double Buffering.
I created a usercontrol and has a background image, then on top of it I have few radio buttons and labels. Radio buttons and labels are all having…

user294720
- 63
- 6
1
vote
3 answers
How to avoid ghost drawing after clearing SurfaceView canvas
Hi I am working on plotting a real time graph of incoming signals using SurfaceView.
The sampling rate is 128Hz and the target graph refresh rate is 50Zh.
Things run pretty smoothly, the points are drawn real-time properly.
I plot the data in…

Jean-Pierre Semery
- 371
- 4
- 16
1
vote
0 answers
What's the most reliable effect to cause screen tearing or stuttering?
I'm trying to investigate the various strategies to reduce or eliminate screen tearing, such as the various vsync implementations, manual frame rate timing, double-buffering, etc. I plan to create a tutorial or paper explaining my…
user457586
1
vote
2 answers
C# Double Buffered not painting
I simulate map navigation and draw generated part of the map on a panel. Since image is flickering I have to use double buffering.
Here's my Panel code:
public class MapPanel : System.Windows.Forms.Panel
{
public MapPanel()
{
…

Yeldar Kurmangaliyev
- 33,467
- 12
- 59
- 101
1
vote
2 answers
How do I Improve my canvas animation speed?
Basically I have some code which generates an imagedata and puts it in the canvas.
However, when I scale up the window, the rendering is slowed considerably.
Is there anyway to optimize this to run smoothly in fullscreen? (naive I know)
What is the…

Vlad Otrocol
- 2,952
- 7
- 33
- 55
1
vote
1 answer
Panel is flickering when switching from one winform to another
I render my image on the panel.
using Microsoft.DirectX.Direct3D;
Device device;
this.device = new Device(0, DeviceType.Hardware, this.panel2,
CreateFlags.HardwareVertexProcessing, presentationParameters);
As a result, the panel…

jhyap
- 3,779
- 6
- 27
- 47
1
vote
2 answers
Swap buffer synchronization
I have four windows on a single display system where each is with its own context and its own drawable (saving that two of them are children to one others). I wish to synchronize the process of swapping the buffer of these windows that it be…

null
- 63
- 6
1
vote
0 answers
Taking advantage of Swing double-buffering
I am writing a program that involves overriding a JPanel to do some graphics work. Basically this JPanel is displaying a field of hexagons and the user can interact with individual cells. This field is composed potentially of hundreds or thousands…

scott_fakename
- 10,219
- 2
- 15
- 20
1
vote
0 answers
How to implement triple buffer
I'm trying to implement the triple buffering described here http://developer.apple.com/library/ios/#documentation/3ddrawing/conceptual/opengles_programmingguide/OpenGLESApplicationDesign/OpenGLESApplicationDesign.html. The intend is to gain higher…

user2493559
- 11
- 3
1
vote
1 answer
JPanel tearing even though I double buffer?
EDIT: This is an SSCCE to demonstrate my problem.
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Point;
import java.awt.event.ActionEvent;
import…

Iain
- 41
- 9
1
vote
1 answer
how to stop flickering in C# windowsforms form Application?
I have main Panel and Auto Scroll=true, and all controls are placed on main panel. Functionality works fine but when I click on any control or scroll down or up so it start flickering for a second each time I click or Scroll,
I also set
…

Saeed Khan
- 537
- 2
- 12
- 27
1
vote
2 answers
vb.net hiding Columns in DataGridView is very slow
trying to hide 44 columns of a DataGridView take 44 seconds on Windows 7 machine. How can I speed this up? I used the following code:
'Turn on DataGridView.DoubleBuffered
Dim myType As Type = GetType(DataGridView)
myType.InvokeMember( _
…

Topher
- 21
- 1
- 1
- 7