Commit graph

14525 commits

Author SHA1 Message Date
Jakob Bornecrantz
5bf6ffb0b2 i915: Improved vertex buffer performance 2008-05-23 16:30:00 +02:00
Jakob Bornecrantz
845db16dbe i915: Fix for edgeflags 2008-05-23 16:26:20 +02:00
Jakob Bornecrantz
a3dbd412df Merge branch 'gallium-i915-current' into gallium-0.1 2008-05-23 16:26:14 +02:00
Jakob Bornecrantz
a22462f6ef egl: Don't build EGL programs either 2008-05-23 16:25:51 +02:00
Jakob Bornecrantz
2064826bda egl: Stoped compiling EGL completely 2008-05-23 16:18:42 +02:00
Jakob Bornecrantz
d607a02da9 i915: Made EGL report the actual modes on the screen/output pair 2008-05-23 11:24:33 +02:00
Thomas Hellstrom
01cc1eebe9 i915: Make batchbuffers larger. 2008-05-23 11:14:12 +02:00
Thomas Hellstrom
45fd9ec462 i915: Use the malloc pool for constant buffers since they don't go to the GPU directly. 2008-05-23 11:02:14 +02:00
Jakob Bornecrantz
9395fb6e8d mesa: Added linux-egl target, that only builds the i915simple driver and egl drivers 2008-05-23 11:02:14 +02:00
Jakob Bornecrantz
3972961e62 mesa: On second thought lets not build the driver 2008-05-23 11:02:14 +02:00
Zack Rusin
6f25d6d48d disable egl by default 2008-05-22 22:13:38 -04:00
Brian
e8d5be9c76 fix assorted bugs, works now
(cherry picked from commit 55d4f32fc2)
2008-05-21 17:13:26 +01:00
Brian
13a2be4446 mesa: fix #include path for glapioffsets.h (fixes x86 build) 2008-05-21 06:59:49 -06:00
Zack Rusin
f869ddf297 add new binaries to ignore to make 'git status' cleaner 2008-05-20 19:18:22 -04:00
Dan Nicholson
0a4867bd4c Ignore more generated files in progs/
Many of the directories in progs/ were missing .gitignore files or
were tracking generated files. This patch is basically the process of
running `make' in each directory and then finding the untracked files
with `git-ls-files -o --exclude-per-directory=.gitignore'. The existing
files were also sorted.
2008-05-20 19:04:57 -04:00
Zack Rusin
cd87aeae00 add a simple but nice example of convolution filters in glsl
shows basics of image processing with glsl
2008-05-20 18:49:51 -04:00
Brian Paul
26f874e967 gallium: fix vertex shader mem leak (glRasterPos) 2008-05-20 15:20:29 -06:00
Brian Paul
7899ecdd65 gallium: replace assignment with pipe_texture_reference() 2008-05-20 15:12:26 -06:00
Brian Paul
ac09b0e0eb gallium: fix shader mem leak 2008-05-20 15:11:53 -06:00
Brian Paul
417719c0a6 mesa: call glutDestroyWindow() 2008-05-20 15:11:33 -06:00
Brian Paul
69fd676240 gallium: move vertex/fragment program unbinding 2008-05-20 14:38:22 -06:00
Brian Paul
13c7491406 gallium: fix default case in st_new_program() 2008-05-20 14:38:00 -06:00
Brian Paul
4b4ac9ed34 gallium: fix mem leaks 2008-05-20 13:49:18 -06:00
Brian Paul
d7cf6b2978 mesa: call glutDestroyWindow() 2008-05-20 13:49:18 -06:00
Brian Paul
90ce8467a8 gallium: clean-up glDraw/CopyPixels shaders when destroying context 2008-05-20 13:49:18 -06:00
Brian Paul
34149ec89d copy StateFlags in _mesa_clone_parameter_list()
cherry-picked from master (b539b61321)
2008-05-20 11:31:20 -06:00
Brian Paul
c95c4efa54 fix incorrect sampler numbering/indexing.
All samplers indexes were zero.

cherry-picked from master (b6fb0940c2)
2008-05-20 11:29:58 -06:00
Brian Paul
655374bda7 gallium: remove dead code 2008-05-19 16:05:41 -06:00
Brian Paul
8493f0849f fix tempReg test in _mesa_combine_programs() 2008-05-19 16:04:46 -06:00
Brian Paul
21e614eabc gallium: fix some texture object leaks 2008-05-19 12:40:49 -06:00
Brian Paul
59007a811d if x86_get_func() returns NULL, handle it properly instead of aborting 2008-05-19 09:34:28 -06:00
Brian Paul
38fb20b224 fix program delete/refcount bug
cherry-picked from gallium-tex-surfaces
2008-05-19 09:04:02 -06:00
Brian Paul
62f96ddbbc Fix program refcounting assertion failure during context tear-down
When purging the program hash table, the refcount _should_ be one since
the program is referenced by the hash table.  Need to explicitly set to
zero before calling delete().

Also, purge high-level shader hash tables before low-level program hash tabl

cherry-picked from master
2008-05-19 08:59:41 -06:00
Brian Paul
a0bfeb0c3c print vertex.attrib[n] (from master) 2008-05-18 15:46:58 -06:00
Brian Paul
1036ec94e5 Fix some bugs in material, depth range state
picked from master
2008-05-18 15:32:58 -06:00
Brian Paul
1bb30b02dd Regenerated API dispatch files
Follow on to cherry-pick from master
2008-05-18 15:23:03 -06:00
Brian Paul
f9e1ef2a5b alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)
these should be the same functions (as per spec).

cherry-picked from master (86a4810b09)
2008-05-18 15:21:28 -06:00
Zack Rusin
0bf82c0111 cosmetic changes 2008-05-17 13:58:45 -04:00
Zack Rusin
a7449d4d84 fix rsq 2008-05-17 13:58:44 -04:00
Zack Rusin
02e45b2dad fix abs and start on rsq 2008-05-17 13:58:44 -04:00
Zack Rusin
1d1cf8edf6 do the lit (some artifacts present) 2008-05-17 13:58:44 -04:00
Zack Rusin
ea1a607292 implement min/max and abstract ops on vectors 2008-05-17 13:58:44 -04:00
Zack Rusin
59766ac273 llvm: implement sub and abs 2008-05-17 13:58:44 -04:00
Zack Rusin
735752e8dc fix injections of functions from builtins into shaders 2008-05-17 13:58:44 -04:00
Zack Rusin
aeae57693b move the swizzling code to gallivm in preperation for code-generating it
also some minor cleanups
2008-05-17 13:58:44 -04:00
Brian Paul
9671f7ae47 gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()
The caller can then free the token array immediately.
2008-05-17 10:30:21 -06:00
Brian Paul
718a2d8c7a gallium: remove deprecated format names 2008-05-17 08:47:56 -06:00
Brian Paul
1de0af303a s/PIPE_FORMAT_U_S8/PIPE_FORMAT_S8_UNORM/ 2008-05-17 08:46:43 -06:00
Brian Paul
87afc9bcad gallium: release textures during context tear-down (fix mem leak) 2008-05-16 16:04:30 -06:00
Brian Paul
f8dce51083 gallium: ref counting clean-ups 2008-05-16 16:04:04 -06:00