Brian Paul
79e74cda73
progs/demos: report pixel rate in million pixels / sec
15 anni fa
Brian Paul
263f4322e7
progs/demos: fix glut initialization calls
Remove glutInitWindowPosition() calls to play nicer with window managers.
Move glutInitWindowSize() calls before glutInit() so the the default window
size can be overridden by the -geometry cmd line option.
15 anni fa
Keith Whitwell
eb5d96968f
demos/readpix: add option to draw triangle instead of drawpix
16 anni fa
Brian Paul
1ad12874b3
allocate larger TempImage, use COMBO var to choose test format/type
19 anni fa
Brian Paul
713635adef
fix comment and #if test
20 anni fa
Brian Paul
8818eae253
To better exercise pixel packing, replace regular glReadPixels with four
ReadPixels that get the image piece by piece.
20 anni fa
Brian Paul
2d84ed83c4
include readtex.h
20 anni fa
Brian Paul
0fe7f406be
include readtex.h instead of readtex.c (Marcello Magallon)
20 anni fa
Brian Paul
4fe34f340c
(GLint*) casts in glGetIntegerv calls
21 anni fa
Ian Romanick
33899b7c35
Add support for OES_read_format. As soon as glext.h is updated with the
enums for this extension, the changes to gl.h can be removed.
21 anni fa
Ian Romanick
9ac51f57ef
Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
22 anni fa
Brian Paul
f02a5f6cc5
Pedantic compiler fixes (Sven Panne)
23 anni fa
Alan Hourihane
a5cdf99951
remove test code
23 anni fa
Alan Hourihane
056b35874b
glutSwapBuffers implicitly does a glFinish when swapping back to the front
buffer. We now issue a glFinish when not issuing SwapBuffers to ensure
the pipeline is complete.
(Problem found with Chromium).
23 anni fa
Brian Paul
fdd631a941
removed CVS $Log comments
23 anni fa
Brian Paul
1100b4daa3
use gray background, memset TempImage to white to help with debugging
25 anni fa
Brian Paul
d3d72804b0
tweaks to allow different read formats/types
25 anni fa
Brian Paul
4f6d60e9cf
added benchmarking
25 anni fa
Brian Paul
eca1bc983d
test glDraw/Read/CopyPixels()
25 anni fa