Questions tagged [vertical-sync]

9 questions
45
votes
4 answers

how to enable vertical sync in opengl?

How do you enable vertical sync? Is it something simple like glEnable(GL_VSYNC)? (though there's no such thing as GL_VSYNC or anything like it in the options that glEnable accepts). or is there no standard way to do this in opengl?
hasen
  • 161,647
  • 65
  • 194
  • 231
5
votes
2 answers

How to sync page-flips with vertical retrace in a windowed SDL application?

I'm currently writing a game of immense sophistication and cunning, that will fill you with awe and won- oh, OK, it's the 15 puzzle, and I'm just familiarising myself with SDL. I'm running in windowed mode, and using SDL_Flip as the general-case…
user180247
4
votes
3 answers

Two vertical divs within a 100% height div

Sorry for my bad english, hope you will understand my issue. I'm turning my head around a problem that I know I've been solving once before. The issue is that I need two DIVs inside a div where one of the DIVs has a given height and the other one…
Richard
  • 43
  • 1
  • 1
  • 4
4
votes
3 answers

How to enable VSYNC in OpenGL

The WGL_EXT_swap_control extension allows doing this on Windows, but I am unable to find anything even remotely cross-platform doing the same, i.e. syncing my buffer swaps with screen refresh. My application uses GLEW, so something offered by that…
Tronic
  • 10,250
  • 2
  • 41
  • 53
1
vote
4 answers

VB6 Vertical Sync for Emulator

This is maybe an oblique question: I'm writing an emulator in VB6 (silly me). For smooth window refreshing in the emulator itself, I would like to grab the vertical sync of the monitor. Are there any Windows API calls I can use? Or is this an…
Guillermo Phillips
  • 2,176
  • 1
  • 23
  • 40
0
votes
1 answer

How can I perform actions while waiting for vertical sync?

I want to be able to load/download a bunch of resources and notify the user of the file that's currently being loaded, but I can't just draw a frame after each file starts loading because v-sync will wait until it can draw a frame before it…
Jengerer
  • 1,163
  • 11
  • 27
0
votes
1 answer

Needed. JavaScript 3D framework with precise timestamps for frame rate and keyboard events

I am happy with THREE.js, but for my project I should know for each frame was it presented in time (for 60Hz each 16.67 ms) or not. THREE.js statistic is average. I also want to be know which button and when was pressed with high precision. This…
zlon
  • 812
  • 8
  • 24
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
1 answer

Ubuntu Vertical Sync on OpenGL in c++

i've tearing problem in my OpenGL application on Ubuntu, how can i resolve it? (my notebook has an integrated Intel video card)
Luca
  • 1,270
  • 1
  • 18
  • 34