Image noise: Difference between revisions
Content added Content deleted
(J: removed statements about potential FPS improvements -- testing shows them to be insignificant) |
m (J: fps notes) |
||
Line 193: | Line 193: | ||
P=: 0 : 0 |
P=: 0 : 0 |
||
pc p nosize; |
pc p nosize; |
||
xywh 0 0 160 |
xywh 0 0 160 120;cc c isigraph opengl; |
||
pas 0 0;pcenter; |
pas 0 0;pcenter; |
||
rem form end; |
rem form end; |
||
Line 229: | Line 229: | ||
glClear GL_COLOR_BUFFER_BIT |
glClear GL_COLOR_BUFFER_BIT |
||
glBegin GL_POINTS |
glBegin GL_POINTS |
||
glVertex _1+2* |
glVertex _1+2*16000 2?@$ 0 |
||
glEnd'' |
glEnd'' |
||
show__ogl'' |
show__ogl'' |
||
Line 241: | Line 241: | ||
Average FPS are displayed when the window is closed. |
Average FPS are displayed when the window is closed. |
||
With this revision, on my laptop, I typically get in the range of |
With this revision, on my laptop, I typically get in the range of 58..59 FPS, with a cpu load of about 3% (so I am probably limited by v-sync, and if I tuned my opengl drivers I perhaps could get significantly faster fps?). |
||
=={{header|PureBasic}}== |
=={{header|PureBasic}}== |