Ben Skeggs
263de4b814
nv40: attempt at obeying sampler min_lod/max_lod/lod_bias
17 years ago
Ben Skeggs
6be095ae15
nv40: remove use of pt->first_level
17 years ago
Ben Skeggs
b397a2bb20
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
17 years ago
Brian
e20e89e482
gallium: initial code for wide/AA line drawing
17 years ago
Brian
9af687c530
gallium: fix/finish glReadPixels(GL_DEPTH_COMPONENT).
This fixes demos/reflect ('d' key) and tests/zreaddraw.c
17 years ago
Brian
48e223a0db
gallium: clamp min_lod so it's never negative
17 years ago
Brian
be54b492d9
Fix broken test.
As-is, if the texture was too large for the target, an assertion would fail.
Now check proxy texture first and if it works, then test non-proxy target.
17 years ago
Brian
508b73289d
gallium: remove dead code
17 years ago
Brian
a34b43b3f4
gallium: added null ptr check
17 years ago
Brian
9677336845
gallium: rename st_fragment_program's fs field to cso to match st_vertex_program
17 years ago
Brian
6d53b8f423
gallium: move gen-mipmap global/static vars into st_context
This fixes potential problems with multi-context programs.
17 years ago
Brian
cf94941122
Set Min/MaxLod with glTexParameterf, not glTexParameteri
17 years ago
Brian
4697cee78b
press 0,1,2,etc keys for specific bias values
17 years ago
Brian
74c32ee6aa
tweak incr/decrements amounts for keyboard options
17 years ago
Brian
1d62a057bc
gallium: remove unused first_level param from st_texture_create()
17 years ago
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.
17 years ago
Ben Skeggs
5ba3dbe2cc
nv40: fix inline u08/u16 indices
17 years ago
Brian
b61b1a295b
gallium: take pitch/stride into account in mipmap generation
17 years ago
Brian
3d0fd8a6cf
gallium: comments about mipmap gen
17 years ago
Brian
c22d9152e3
code refactoring, new next_mipmap_level_size() function
17 years ago
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).
17 years ago
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.
17 years ago
Brian
cfe9e66f2b
gallium: use _mesa_tex_target_to_face()
17 years ago
Brian
b52ce6341f
added _mesa_tex_target_to_face()
17 years ago
Brian
789f2f15e8
gallium: update comment about buffer map flags
17 years ago
Brian
2e4077db16
gallium: fix fragment/vertex typo
17 years ago
Brian
3bae27fcc5
refactor code, export _mesa_generate_mipmap_level()
17 years ago
Brian
42eac65da4
move _mesa_format_to_type_and_comps() to texformat.c
17 years ago
Brian
9ddb7d794b
reorder cases in do_row()
17 years ago
Brian
30dff589a4
re-indent do_row()
17 years ago
Brian
ed6e72e855
checkpoint- consolidation in do_row()
17 years ago
Brian
aa9d9d9c40
checkpoint- remove dependencies on gl_texture_format to make code re-usable by state tracker
17 years ago
Zack Rusin
084e6c92e0
remove seperate llvm vs entry points
they're not necessary anymore. we use the same paths
as sse and tgsi code
17 years ago
Zack Rusin
e761161d01
start genering soa type code in llvm paths
17 years ago
Zack Rusin
1712a5380a
disable llvm for fragment shaders for now
17 years ago
Zack Rusin
137edf7533
rewrite the way cpu engine is handled
17 years ago
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.
17 years ago
Zack Rusin
f625c6d1d0
add a stub of a lowering pass
17 years ago
Ben Skeggs
af344660d7
nouveau: memory leak
17 years ago
Ben Skeggs
0ac4e8cd49
nv40: prep for multiple pipe contexts on a single hw channel
17 years ago
Ben Skeggs
8973ca12a5
nouveau: interface updates
17 years ago
Ben Skeggs
fb2760c5a6
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
17 years ago
Ben Skeggs
ae905056d4
nv40: delay all state emit until before draw
17 years ago
Brian
479b5e9b5d
gallium: include st_cb_drawpixels.h
17 years ago
Brian
9f9c3b752a
fix comment typos
17 years ago
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.
17 years ago
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
17 years ago
Brian
864abce57d
gallium: added draw_flush() call in softpipe_bind_sampler_state()
17 years ago
Brian
c3395f4473
Remove unused texunit parameter to ctx->Driver.GenerateMipmap()
17 years ago
Jerome Glisse
21e9396e65
intel_winsys: remove leftover code
17 years ago