A computer-graphics technique for updating a dynamic image that greatly reduces the visual artifacts, especially flicker, caused by the screen pixel 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 [double-buffering]
163 questions
1
vote
0 answers
ListView + OwnerData/OwnerDraw/VCL styles heavy flickering
How can I avoid flickering on a custom drawn/data ListView? DoubleBuffering is already set but does not make any difference. Scrolling with the mouse wheel generates very noticeable flickering specially on the top and bottom of the LV, and using the…

hikari
- 3,393
- 1
- 33
- 72
1
vote
0 answers
DataGridView CellToolTipTextNeeded Only Works Intermittently
I'm working in C# in Visual Studio. I have a DataGridView with a large amount of data (i.e 100+ columns, 1000+ rows). I've set the DataGridView to be double buffered and the user interaction and scrolling are working well. My DataGridView is…

Mike Paisner
- 171
- 1
- 7
1
vote
1 answer
is there any way to implement double buffering in flutter?
I have implemented an image streaming player with tcp socket in flutter.
c++ server from which flutter socket gets image data sends images.
size of images is about 200KB ~ 1MB.
In Flutter, I'm trying to maintain 4 frames per sec.
Both of sockets in…

Jaehyung Kim
- 283
- 3
- 13
1
vote
1 answer
Canvas double buffered graphics not working
I tried to make double buffered graphics for my canvas but it always disappears right after rendering, and sometimes it doesn't even render, Here is the code:
package initilizer;
import java.awt.AWTException;
import java.awt.Canvas;
import…

rokoblox
- 84
- 9
1
vote
1 answer
Double Buffering a DataGridview causing Selected cell become Black
Imports System
Imports System.Reflection
Imports System.Runtime.CompilerServices
Imports System.Windows.Forms
Module DGV_Extensions
Public Sub DoubleBuffered(aDGV As DataGridView, Optional setting As Boolean = True)
…

Art76
- 33
- 6
1
vote
1 answer
WinForms Flickering after Maximizing - Double Buffering
I have a "Master" form with navigation buttons on the left side, and a panel on the right that I use as a holder for child forms. It's pretty simple but the code for this is below.
public void showForm(Form form)
{
// Disposed Prior Form & Load…

Ryan Johnson
- 75
- 11
1
vote
1 answer
SDL2 - Combine front and back buffer?
I am rendering images with flickering objects (usually 30Hz) using double buffering. For screenshots, I would like to blend together the current and the previous buffer, without having to store the previous buffer permanently.
How would I access…

thrust26
- 11
- 2
1
vote
2 answers
C++ win32 project double buffering
I have a win32 application and i want to draw a line by dragging the mouse. I use double buffering as well but the problem is it draws multiple lines in the path of the mouse. Here is my drawing code:
hdc = BeginPaint(hWnd, &ps);
hdcBack =…

Paul
- 13
- 3
1
vote
1 answer
Use Writefile function to put string in inactive screen buffer in C
I am a highschool student in Korea and I am interested in making window console game in C.
For making game, I want to use technique called Double buffering to make smooth game play screen.
For doing that, I make plan.
First, make two console screen…

이현희
- 13
- 3
1
vote
0 answers
How do I implement double buffering in PS2SDK?
I started working in PS2SDK that is nothing more than an SDK for PlayStation 2. I created a simple application based on a cube example, that draws 20x20 cubes. and then a flickering problem appeared. I read that it can be solved by double buffering…

Kacper Gutowski
- 41
- 4
1
vote
1 answer
Java Applet - How to add double-buffering to JButton
I am currently using the Applet class to create a simple game. Because there is a flickering effect, I've added double-buffering for Graphics components by creating an off-screen buffer like so:
public class AppletTest extends Applet implements…

MattGotJava
- 185
- 3
- 14
1
vote
1 answer
Double Buffering giving black window
I am having an application which shows the data (stock market) in an user control made by me. In my application, there may be more than one user control on single screen to analyse multiple stocks.
Given that functionality, user can move from 1…

Arpit Gupta
- 1,209
- 1
- 22
- 39
1
vote
0 answers
Double buffering during Resize when Control is docked to Form?
I have a custom Control derived class for which I want to disable any automatic double buffering completely because I want to handle double buffering manually with a BufferedGraphics object. Drawing is done in OnPaint, Invalidate is called in…

oliver
- 2,771
- 15
- 32
1
vote
0 answers
How can I control Android's double buffering behavior?
I am writing a small animation where an area should start on the left hand side of the screen, and widen to cover the entire screen, and bounce back. I want the speed to vary, but I am finding that when the speed is high, there are many "ghost"…

Daniel Gray
- 1,697
- 1
- 21
- 41
1
vote
1 answer
Java Buffer Strategy: compiler doesn't like it
I am attempting to use double buffering with a canvas, something I've never done before. I took advantage of the tutorials online, and set up the following code to instantiate a canvas and set up the buffering for it. I coded the complete process…

John R Doner
- 2,242
- 8
- 30
- 36