Commit graph

92185 commits

Author SHA1 Message Date
Brian
fb3ca7ee2d tweak incr/decrements amounts for keyboard options 2008-02-12 15:00:14 -07:00
Brian
76295f0c31 press 0,1,2,etc keys for specific bias values 2008-02-12 15:00:14 -07:00
Brian
1d62a057bc gallium: remove unused first_level param from st_texture_create() 2008-02-12 14:55:51 -07:00
Brian
4da1cdf78f gallium: clean-up, simplification of mipmapped textures
Remove pipe_texture->first_level (always implicitly zero).  This means there's
never any unused mipmap levels at the top.
In the state tracker, we no longer re-layout mipmapped textures if the
MinLod/MaxLod texture parameters change.  It's up to the driver to obey the
pipe_sampler->min/max_lod clamps.
2008-02-12 14:53:25 -07:00
Dan Nicholson
929b6d2ebf glapi: Correct prerequisites for gl_and_glX_API.xml
The indirect_dispatch.h and indirect_table.c source files use
gl_and_glX_API.xml in their generation rather than glX_API.xml, but it
wasn't listed in their prerequisites. In turn, gl_and_glX_API.xml uses
glX_API.xml, but this is already listed in $(COMMON_GLX).
2008-02-12 06:43:23 -08:00
Dan Nicholson
fc67d47708 glapi: Use make automatic variables to clean up the commands
Make use of the make automatic variables $@ (the target) and $< (first
prerequisite) to clean up the commands for the glapi generation. This
improves readability and guards against typos since words are repeated
less frequently.
2008-02-12 06:43:23 -08:00
Dan Nicholson
817af9bec2 glapi: Use variable for indent and flags
Put the path to indent and the flags to call it with in configs/default
rather than in the Makefile. This makes it easier to change the values
globally.
2008-02-12 06:43:23 -08:00
Ben Skeggs
532828b1d3 nouveau: ddx versioning changed 2008-02-12 17:28:31 +11:00
Ben Skeggs
5ba3dbe2cc nv40: fix inline u08/u16 indices 2008-02-12 15:13:37 +11:00
Brian
b61b1a295b gallium: take pitch/stride into account in mipmap generation 2008-02-11 10:59:40 -07:00
Brian
3d0fd8a6cf gallium: comments about mipmap gen 2008-02-11 09:50:21 -07:00
Brian
c22d9152e3 code refactoring, new next_mipmap_level_size() function 2008-02-11 09:46:50 -07:00
Brian
e4026167d7 gallium: implement software fallback for mipmap generation
This is used when we can't render to the surface type of the texture (such
as luminance/alpha).
2008-02-11 09:46:50 -07:00
Brian
212b27d33f gallium: strip borders from textures passed to st_TexImage.
Manipulate the unpack params to skip the border.  Gallium drivers won't support
texture borders.
2008-02-11 09:46:50 -07:00
Brian
cfe9e66f2b gallium: use _mesa_tex_target_to_face() 2008-02-11 09:46:50 -07:00
Brian
b52ce6341f added _mesa_tex_target_to_face() 2008-02-11 09:46:49 -07:00
Brian
789f2f15e8 gallium: update comment about buffer map flags 2008-02-11 09:46:49 -07:00
Brian
2e4077db16 gallium: fix fragment/vertex typo 2008-02-11 09:46:49 -07:00
Brian
3bae27fcc5 refactor code, export _mesa_generate_mipmap_level() 2008-02-11 09:46:49 -07:00
Brian
42eac65da4 move _mesa_format_to_type_and_comps() to texformat.c 2008-02-11 09:46:49 -07:00
Brian
9ddb7d794b reorder cases in do_row() 2008-02-11 09:46:49 -07:00
Brian
30dff589a4 re-indent do_row() 2008-02-11 09:46:49 -07:00
Brian
ed6e72e855 checkpoint- consolidation in do_row() 2008-02-11 09:46:49 -07:00
Brian
aa9d9d9c40 checkpoint- remove dependencies on gl_texture_format to make code re-usable by state tracker 2008-02-11 09:46:49 -07:00
Zack Rusin
084e6c92e0 remove seperate llvm vs entry points
they're not necessary anymore. we use the same paths
as sse and tgsi code
2008-02-11 10:47:28 -05:00
Zack Rusin
e761161d01 start genering soa type code in llvm paths 2008-02-11 09:43:59 -05:00
Zack Rusin
1712a5380a disable llvm for fragment shaders for now 2008-02-10 23:07:18 -05:00
Zack Rusin
137edf7533 rewrite the way cpu engine is handled 2008-02-10 23:07:18 -05:00
Zack Rusin
7d69090e27 rewrite the way we handle ir in llvm code
introduce intermediate step gallivm_ir before compiling it
down to the final llvm ir.
2008-02-10 23:07:18 -05:00
Zack Rusin
f625c6d1d0 add a stub of a lowering pass 2008-02-10 23:07:17 -05:00
Ben Skeggs
af344660d7 nouveau: memory leak 2008-02-10 15:19:18 +11:00
Ben Skeggs
0ac4e8cd49 nv40: prep for multiple pipe contexts on a single hw channel 2008-02-10 15:16:50 +11:00
Ben Skeggs
8973ca12a5 nouveau: interface updates 2008-02-09 16:33:32 +11:00
Ben Skeggs
fb2760c5a6 Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1 2008-02-09 16:15:14 +11:00
Ben Skeggs
ae905056d4 nv40: delay all state emit until before draw 2008-02-09 14:08:54 +11:00
Brian
479b5e9b5d gallium: include st_cb_drawpixels.h 2008-02-08 15:13:49 -07:00
Brian
9f9c3b752a fix comment typos 2008-02-08 15:13:49 -07:00
Brian
62abcb9aac gallium: initial implemenation of auto mipmap generation in state tracker
Use hardware rendering to compute/render mipmap levels.
The fallback path (which will be used for non-renderable texture formats)
isn't working yet.
2008-02-08 15:13:49 -07:00
Brian
0b64ee6960 gallium: added inClipCoords param to st_draw_vertices() to indicate coord system of vertices
Also, export st_make_passthrough_vertex_shader() from st_cb_drawpixels.c
2008-02-08 15:13:48 -07:00
Brian
864abce57d gallium: added draw_flush() call in softpipe_bind_sampler_state() 2008-02-08 15:13:48 -07:00
Brian
c3395f4473 Remove unused texunit parameter to ctx->Driver.GenerateMipmap() 2008-02-08 15:13:48 -07:00
Jerome Glisse
21e9396e65 intel_winsys: remove leftover code 2008-02-08 18:47:25 +01:00
Jerome Glisse
2b6a31bfda failover: several fixes to failover pipe module 2008-02-08 18:25:49 +01:00
Claudio Ciccani
2c9fdaf729 [directfb] Added RGB444 and RGB555.
Also added color expansion for RGB16, ARGB1555 and ARGB4444.
2008-02-08 12:36:45 +01:00
Claudio Ciccani
c231f8ff35 [glut-directfb] Fixed displaying of single buffered window. 2008-02-08 12:35:08 +01:00
Claudio Ciccani
5edede94bb [glut-directfb] When converting microseconds to milliseconds, round to the next integer. 2008-02-08 12:03:53 +01:00
Eric Anholt
70908a793b [965] Flush icache on new batch, not just new context.
This is required since our buffer manager may now move our
instruction-containing buffers at any batchbuffer emit.
2008-02-07 13:14:59 -08:00
Andy Skinner
5c0c883104 added -altopts to allow overriding all other opts 2008-02-07 13:21:14 -07:00
Michel Dänzer
909c703bfb tgsi: Fall back to interpreter instead of assert(0) on unimplemented SSE code. 2008-02-07 19:45:24 +00:00
Michel Dänzer
28ecb986d9 pipebuffer: Fix reversed assertion. 2008-02-07 19:43:34 +00:00