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
1
vote
1 answer

Paint method flickering

consider the following paint function (abbreviated): public void paint(object sender, PaintEventArgs e) { base.OnPaint(e); Graphics g = e.Graphics; BufferedGraphicsContext context = BufferedGraphicsManager.Current; BufferedGraphics…
Max Beikirch
  • 2,053
  • 5
  • 25
  • 36
1
vote
1 answer

Creating a custom graph in Winforms

I am trying to make a simple graph for my application which shows real-time data for every 100 ms. So I thought I could draw the graph line using the DrawCurve method and started with the following code: class BufferedPanel : Panel { public…
sarath
  • 498
  • 2
  • 12
  • 19
1
vote
1 answer

Render Large Canvases in UserControl

I've been having trouble trying to implement this for a couple of days now. I've searched extensively on similar questions in regards to what I'm trying to do but I haven't come across a question that helps my issues directly. Basically I'm…
Austin Brunkhorst
  • 20,704
  • 6
  • 47
  • 61
1
vote
1 answer

SDL Double buffering on HW_SURFACE

I dont understand why my SDL app wont set the DOUBLE_BUF as i'm asking; Here is a short code, this, executed without arguments open a fullscreen window, 1024*768, in 32 BPP mode. #include #include #include #include…
Math
  • 666
  • 8
  • 26
1
vote
0 answers

Java Canvas Zooming in Flickering

I'm working on a project that requires me to be able to zoom in and out on a Canvas. I'm using the method: setSize(new Dimension(WIDTH * scale, HEIGHT * scale)); and from there just modifying the scale variable. This works, except most of the time…
Treesin
  • 73
  • 1
  • 7
1
vote
2 answers

How do I prevent pictureBox images from trailing while I move it?

Hello stackoverflow community. I already tried looking for a similar question but I only found questions about flickering, which isn't the same as the problem I am having. I need help preventing the PictureBoxes from trailing whenever I move them…
kev
  • 101
  • 1
  • 10
1
vote
1 answer

Double Buffering not Working OpenGL

I wanted to make it double buffer, but it is still flickering. It is basically a modified version of the OpenNI UserTracker sample, which runs well on my computer, but I don't think I've deleted or significantly changed any of the important OpenGL…
user1469474
  • 23
  • 1
  • 7
1
vote
0 answers

100% CPU-Load when double-buffering is activated with WS_EX_COMPOSITED

To stop my application from flickering, I tried to activate DoubleBuffering for all of my controls and subcontrols. To achieve this, I added the follwoing codesnippet in my mainform: protected override CreateParams CreateParams { get …
basti
  • 2,649
  • 3
  • 31
  • 46
0
votes
1 answer

Optimize drawing to buffer C#

Im trying to make a photoshop like application for my college project in c# So far I,ve created a custom panel called canvas and overloaded the paint method to draw the canvasBuffer. The project is called paint sharp. I have an Class PaintSharpFile…
Jeffrey Chen
  • 237
  • 1
  • 4
  • 17
0
votes
1 answer

Double buffering control causes grey to appear

I have a class that accepts a Control and draws generated images to it. In my application code I'm using a Panel control for this - which seems to work well, except that I get a lot of flickering on the control as the image is redrawn. I think the…
Thomi
  • 11,647
  • 13
  • 72
  • 110
0
votes
1 answer

Stop ToolStripStatusLabel from flickering due to amount of data from datatable

I've got a ToolStripStatusLabel with data loading in live, there is so much information coming through that it becomes unreadable. Is there any double buffer function for this? I have tried the following: public static void…
user11095926
0
votes
1 answer

double buffer design I/O synchronization

If I have an application that that produces data slowly but consumes it quickly, would it be a good candidate for a double buffer implementation? The basic idea would be to have the producer fill the back buffer while the consumer processes the…
eat_a_lemon
  • 3,158
  • 11
  • 34
  • 50
0
votes
1 answer

C# DoubleBuffered = white screen

I'm trying to make a simple animated program, which do things whenever i click the button. Whenever that happens though i experience flickering, because the program is drawing a "huge" (1000x700px) bitmap. I want to get rid of that flickering. I…
NastyKhan
  • 11
  • 2
0
votes
1 answer

How can I eliminate wxListCtrl flicker while scrolling?

I'm using wxListCtrl within a wxWidgets application, and can't seem to eliminate the flickering that occurs while scrolling through a large list of items quickly (e.g. holding the 'page down' key.) The list control is created as a virtual/report…
kurtm
  • 1
  • 2
0
votes
0 answers

DataGridView Scroll show columns over others

I have a datagridview, and when i use scrollbar the columns shown over the others, like this image: i have tried DoubleBuffered like that: 1- i created a module named "DoubleBuffer.vb" 2- i add that code in it: Imports System Imports…