Keith Whitwell
f16da8d509
trivial: draw non-interleaved arrays
2009-03-12 17:21:50 +00:00
Brian Paul
6aa6ae8cff
demos: fix error string, comment
2009-03-12 09:31:59 -06:00
Brian Paul
4626e57e17
demos: fix typo
2009-03-12 09:19:28 -06:00
Keith Whitwell
1e074dcb7b
demos: use glGenerateMipmapEXT entrypoint in cubemap.c
...
glGenerateMipmap() is part of ARB_framebuffer_object, which many mesa
drivers don't advertise. Add check for EXT_framebuffer_object.
2009-03-12 14:30:49 +00:00
Roland Scheidegger
45b8e76b5c
mesa test prog for ATI_envmap_bumpmap
2009-03-12 15:07:22 +01:00
Jakob Bornecrantz
b7d841b59e
progs/glsl: Ignore
2009-03-12 14:05:50 +01:00
Alan Hourihane
b6c7db8deb
xdemos: On termination with esc close the contexts correctly.
2009-03-11 13:35:27 +00:00
Keith Whitwell
a58065d4e2
progs/tests: compile with SCons and glew
...
Also get mingw cross-compilation of these tests working
2009-03-10 13:11:23 +00:00
Keith Whitwell
225de01f83
trivial: add a logic op test
2009-03-10 12:06:27 +00:00
Keith Whitwell
646f518e78
vpglsl: add simple mov.glsl
2009-03-10 12:06:27 +00:00
Keith Whitwell
ce0ac9006a
vpglsl: build with scons and glew
2009-03-09 18:51:14 +00:00
Brian Paul
0e28e1a72f
demos: in progs/demos/cubemap.c press c/f to cycle through clamp/filter modes
...
Also generate a mipmap for the default checker images.
2009-03-09 11:49:57 -06:00
Keith Whitwell
48b1fe12b1
trivial: add tri-stipple to SConscript
2009-03-09 15:20:12 +00:00
Keith Whitwell
fb8a9875f6
fp: enable a second texture unit and add a kil test for it
2009-03-09 14:08:52 +00:00
Keith Whitwell
185ff38895
fp: add some more texture, position and kill tests
2009-03-06 21:15:19 +00:00
Keith Whitwell
2dd9a0197c
fp: new kill + position test
2009-03-06 21:00:18 +00:00
Keith Whitwell
52a68b9078
fp: dont reference fragment.position.zw
2009-03-06 21:00:18 +00:00
Keith Whitwell
b258320dbd
engine: also print fps data to stdout
...
Useful for figuring out how much of a perf impact the glBitmap fps
display has on a given driver.
2009-03-06 21:00:18 +00:00
Brian Paul
b5d3c17427
tests: add new mapbufrange.c test to test GL_ARB_map_buffer_range
...
This only tests the most basic functionality for now.
2009-03-04 21:03:29 -07:00
Keith Whitwell
59311fb06c
clear-repeat: print fps, use 300x300 window size
2009-03-04 21:37:23 +00:00
Keith Whitwell
39a1a24b3f
demos/engine: respect display list mode when drawing pistons
2009-03-03 15:40:14 +00:00
Brian Paul
fe35378769
demos: add progs/glsl/shadow_sampler.c to test GLSL shadow2D(), etc.
...
Heh, I wrote this program a long time ago but just discovered today that
it wasn't in git.
2009-02-28 11:09:13 -07:00
Brian Paul
07f96a6d8e
demos: fix renderbuffer leak in progs/tests/fbotexture.c
...
And re-org some code for testing purposes.
2009-02-27 15:57:46 -07:00
Brian Paul
b6e2dd6e06
tests: new mapvbo.c test
...
Test that glDrawArrays() isn't effected by a glMapBuffer()/modify/glUnmapBuffer()
immediately afterward.
2009-02-27 11:46:38 -07:00
Brian Paul
c710077807
demos: add a fourth test case to VBO test for position/color in different VBOs
2009-02-26 18:48:35 -07:00
Jakob Bornecrantz
bd2f921d78
trivial: Add tri-viewport
2009-02-21 12:02:19 +01:00
Jakob Bornecrantz
b3bd315e57
trivial: Fix indentation in tri
2009-02-21 12:02:18 +01:00
Keith Whitwell
e6479c6250
demos: add some fflushes for windows
2009-02-24 12:14:50 +00:00
Jakob Bornecrantz
4e37f10806
trival: Make the last of progs show the name
2009-02-19 22:50:18 +01:00
Jakob Bornecrantz
ec2e4e1fed
trivial: Add quadstrip-clip
2009-02-14 09:42:28 +01:00
Jakob Bornecrantz
96c773c77b
progs: Make fp-tri use glew and add scons target
2009-02-14 07:04:01 +01:00
Keith Whitwell
defd52f6c7
progs/trivial: Label program windows with actual program name
...
Each of these programs previously called itself "First Tri" which was a
little confusing. Could have left one as "First Tri", but the trouble
then is that people would still clone that file & we'd end up with
another thousand first tri apps...
2009-02-18 18:22:23 +00:00
Jakob Bornecrantz
b6779056a1
trivial: Make tri-fog a bit more interesting to look at
2009-02-13 23:03:57 +01:00
Jakob Bornecrantz
b57031624e
trivial: Add a tri-unfilled-fog test
2009-02-13 21:18:41 +01:00
Jakob Bornecrantz
54e20828e6
demos: Add polygon mode point to isosurf
2009-02-13 17:53:49 +01:00
Alan Hourihane
cfae542d1f
demos: fix glxpixmap and call glXWaitGL before calling XCopyArea.
2009-02-16 11:56:21 +00:00
José Fonseca
7ef8e4e181
progs: Prevent clash with min macro.
2009-02-12 13:54:55 +00:00
Brian Paul
b6ad7c8c4a
demos: minor updates for shader_api.c test
...
Mesa's glGetUniformLocation() does support array indexes.
Minor code reformatting.
It would be great if this program were converted into a glean test...
2009-02-11 09:17:22 -07:00
Brian Paul
5f75013822
demos: better error message for overlay.c, see bug 20055
2009-02-11 07:53:56 -07:00
Brian Paul
5340b6dff7
Merge commit 'origin/gallium-master-merge'
...
This is the big merge of the gallium-0.2 branch into master.
gallium-master-merge was just the staging area for it.
Both gallium-0.2 and gallium-master-merge are considered closed now.
Conflicts:
progs/demos/Makefile
src/mesa/main/state.c
src/mesa/main/texenvprogram.c
2009-02-10 16:44:02 -07:00
Brian Paul
ee4c921b65
Merge commit 'origin/gallium-0.2' into gallium-master-merge
2009-02-10 16:34:51 -07:00
José Fonseca
52233f27bb
progs: Build samples dir with scons and glew.
2009-02-10 20:28:08 +00:00
José Fonseca
8b9aa730c6
progs: Build rebook with scons too.
2009-02-10 20:18:52 +00:00
Brian
028780a809
demos: remove OSMESA stuff from Makefile
2009-02-09 19:40:10 -07:00
Brian Paul
e97681c7f5
mesa: merge gallium-0.2 into gallium-master-merge
...
Merge commit 'origin/gallium-0.2' into gallium-master-merge
Conflicts:
Makefile
docs/relnotes-7.4.html
docs/relnotes.html
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/main/imports.c
src/mesa/main/mtypes.h
src/mesa/main/texcompress.c
src/mesa/main/texenvprogram.c
src/mesa/main/version.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_draw.c
2009-02-09 09:22:22 -07:00
Brian Paul
c06c74c0b8
demos: remove unused function
2009-02-04 16:33:25 -07:00
Brian Paul
906c60d0b7
demos: silence uninitialized var warning
2009-02-04 16:33:25 -07:00
Brian Paul
dd22f6f795
demos: modify bufferobj.c to exercise interleaved vertex arrays
...
Also, put colors before vertex positions, and place the data at a 40-byte
offset from the start of the buffer.
2009-02-03 15:17:26 -07:00
Brian Paul
8e8b25c26a
demos: update multitex.c GLSL demo to use vertex arrays or glVertex-mode
...
Press 'a' to toggle drawing mode.
2009-02-02 16:51:45 -07:00
Brian Paul
4c5f390328
util: added more functions to extfuncs.h
2009-02-02 16:51:45 -07:00