Commit Graph

15141 Commits

Author SHA1 Message Date
Keith Whitwell b5c8b3fba6 translate: mark functions as PIPE_CDECL 2008-05-23 09:16:55 +01:00
Keith Whitwell 9343779a8c gallium: define PIPE_CDECL calling convention, which really is cdecl everywhere 2008-05-23 09:16:55 +01:00
Keith Whitwell d3e64caef6 rtasm: export debug reg print function 2008-05-23 09:16:55 +01:00
Keith Whitwell 8618e6aa16 translate: remove spurious comment 2008-05-23 09:16:55 +01:00
Keith Whitwell 9232f0c023 rtasm: remove unused struct member 2008-05-23 09:16:55 +01:00
Keith Whitwell 7c99d7fe60 draw: create specialized vs varients incorporating fetch & emit 2008-05-23 09:16:55 +01:00
Keith Whitwell 2f0d1396e4 draw: move some state into a new 'vs' area 2008-05-23 09:16:55 +01:00
Keith Whitwell b23706454b draw: get rid of fetch-shade-emit frontend hack
The code is now living in it's intended place as a pt middle end.
2008-05-23 09:16:54 +01:00
Keith Whitwell 8b25b5256f draw: remove disabled non-sse swizzle code 2008-05-23 09:16:54 +01:00
Zack Rusin 6f25d6d48d disable egl by default 2008-05-22 22:13:38 -04:00
José Fonseca 781676c7cc pipebuffer: More robust face null pointers.
It is really the caller responsibility not to call pipebuffer with null
buffers, etc. But don't let the crash happen here, and still asserting
early.
2008-05-22 21:54:41 +09:00
José Fonseca bd4eec0561 pipebuffer: Don't retry allocating in slab suballocator.
In pipebuffer, fencing is done at on a level above sub-allocation, so no
matter how many times slab allocator retries no buffer will be freed. The
pipebuffer fencing implemention already retries allocating.
2008-05-22 20:33:17 +09:00
Michel Dänzer 019fc3aa04 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-21 17:15:07 +01: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 bf7519b0a4 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-20 15:30:23 -06:00
Brian Paul 26f874e967 gallium: fix vertex shader mem leak (glRasterPos) 2008-05-20 15:20:29 -06:00
Brian Paul 8f792a0707 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-20 15:12:50 -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 cf1ae676ec Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-20 14:38:45 -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 71eb108831 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-20 13:50:10 -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 479174c398 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-20 13:39:27 -06:00
Brian Paul a3f9ae4fea mesa: call glutDestroyWindow() 2008-05-20 13:38:59 -06:00
Brian Paul 5c431c2222 gallium: clean-up glDraw/CopyPixels shaders when destroying context 2008-05-20 13:38:45 -06:00
Brian Paul 0a95f203fa Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-20 11:34:36 -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 de03e8e960 gallium: remove dead code 2008-05-19 16:07:10 -06:00
Brian Paul 65075da8c3 fix tempReg test in _mesa_combine_programs() 2008-05-19 16:07:10 -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 d00c8a52f3 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-19 12:48:06 -06:00
Brian Paul 21e614eabc gallium: fix some texture object leaks 2008-05-19 12:40:49 -06:00
Zack Rusin 09900df429 Merge commit 'origin/gallium-0.1' into gallium-vertex-linear 2008-05-19 12:10:42 -04:00
Brian Paul a846b156b8 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-19 09:36:10 -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
José Fonseca aafe3ddee2 i915simple: Fix win9x build. 2008-05-19 15:18:40 +09:00
José Fonseca 5ca4f9e97c gallium: Additional formats for bump mapping. 2008-05-19 15:01:17 +09:00