Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-02-12 | gallium: fix/finish glReadPixels(GL_DEPTH_COMPONENT). | Brian | |
This fixes demos/reflect ('d' key) and tests/zreaddraw.c | |||
2008-02-12 | gallium: clamp min_lod so it's never negative | Brian | |
2008-02-12 | gallium: remove dead code | Brian | |
2008-02-12 | gallium: added null ptr check | Brian | |
2008-02-12 | gallium: rename st_fragment_program's fs field to cso to match st_vertex_program | Brian | |
2008-02-12 | gallium: move gen-mipmap global/static vars into st_context | Brian | |
This fixes potential problems with multi-context programs. | |||
2008-02-12 | gallium: remove unused first_level param from st_texture_create() | Brian | |
2008-02-12 | gallium: clean-up, simplification of mipmapped textures | Brian | |
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-11 | gallium: take pitch/stride into account in mipmap generation | Brian | |
2008-02-11 | gallium: comments about mipmap gen | Brian | |
2008-02-11 | gallium: implement software fallback for mipmap generation | Brian | |
This is used when we can't render to the surface type of the texture (such as luminance/alpha). | |||
2008-02-11 | gallium: strip borders from textures passed to st_TexImage. | Brian | |
Manipulate the unpack params to skip the border. Gallium drivers won't support texture borders. | |||
2008-02-11 | gallium: use _mesa_tex_target_to_face() | Brian | |
2008-02-08 | gallium: include st_cb_drawpixels.h | Brian | |
2008-02-08 | gallium: initial implemenation of auto mipmap generation in state tracker | Brian | |
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 | gallium: added inClipCoords param to st_draw_vertices() to indicate coord ↵ | Brian | |
system of vertices Also, export st_make_passthrough_vertex_shader() from st_cb_drawpixels.c | |||
2008-02-06 | gallium: change pipe->texture_create() to operate like the CSO functions | Brian | |
Now, pass in a template object and return a new object. | |||
2008-02-06 | clean-ups in guess_and_alloc_texture() | Brian | |
2008-02-06 | plug in ctx->Driver.GenerateMipmap function | Brian | |
2008-02-06 | clean-ups | Brian | |
2008-02-06 | added comment | Brian | |
2008-02-06 | comments, clean-ups, consts | Brian | |
2008-02-06 | clean-up | Brian | |
2008-02-06 | gallium: add bitmap/drawpixels texcoord bias support | Brian | |
The state tracker will call pipe->get_paramf(PIPE_CAP_BITMAP_TEXCOORD_BIAS) to get a bias factor for adjusting the texcoords used in bitmap/drawpixels. This allows us to compensate for small differences in rasterization from one device to another. | |||
2008-01-31 | gallium: fix problem in which texcoords and varying vars got mapped to the ↵ | Brian | |
same slot This fixes the glsl/bump.c and glsl/texdemo1.c programs | |||
2008-01-31 | Fix problem in mapping vertex program outputs (found with "spring" game engine) | Brian | |
If the vertex program writes to an output that's not consumed by the fragment program, map the vp output to an unused slot. | |||
2008-01-29 | gallium: don't rely on assert(0) for error handling - may be disabled | Keith Whitwell | |
2008-01-28 | gallium: check if surface has defined status in check_clear_depth_with_quad() | Brian | |
This was part of Keith's patch from Friday. | |||
2008-01-26 | gallium: minor cleanups to pipe interface | Keith Whitwell | |
- Remove put/get tile, just have users call put_tile_raw, etc directly. - Remove surface_data call, just map it locally. | |||
2008-01-26 | gallium: add notify_swapbuffers_complete, use it to set surfaces to ↵ | Keith Whitwell | |
undefined state | |||
2008-01-26 | gallium: specialize glFlush vs other flush semantics | Keith Whitwell | |
2008-01-25 | gallium: replace prim pipeline begin/end() functions with flush() | Brian | |
This is basically half of Keith's draw/flush patch. The stage->point/line/tri() functions are now self-validating, the validator functions are installed by the flush() function. There were excessive calls to validate_pipeline(), however. This was caused by draw_prim_queue_flush() keeping a local 'first' variable that always pointed to the validate functions. Replaced 'first' with 'draw->pipeline.first'. Performance in gears is up just slightly with this patch. | |||
2008-01-25 | gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ code | Keith Whitwell | |
Provide an actual definition of the pipe_buffer struct, containing the parameters used to create the buffer, and its refcount. Shift refcounting buffers out of the winsys interface, similar to surfaces & textures. Rework pipebuffer/ to reflect the fact these changes, and also Michel's reworking of the buffer interface. | |||
2008-01-25 | gallium: Simplify winsys buffer interface. | Michel Dänzer | |
The properties of a buffer represented by struct pipe_buffer_handle are now basically constant over its lifetime. The state tracker gets to deal with any more complex buffer semantics it may need to provide. | |||
2008-01-25 | gallium: added rastpos_destroy() | Brian | |
2008-01-24 | gallium: added rastpos_destroy() | Brian | |
2008-01-23 | gallium: remove support for separate depth/stencil buffers. Always combined ↵ | Brian | |
now. | |||
2008-01-23 | gallium: overhaul usage of vertex_info in draw module. | Brian | |
Remove all dependencies on vertex_info, except for draw_vbuf. Drawing stages now strictly operate on post-transformed vertices and don't know anything about hw vertices. Use vertex program output info for two-side/flat/etc stages. Temporarily disable vbuf module in softpipe driver. | |||
2008-01-23 | gallium: s/INTERP_NONE/INTERP_LINEAR/ to fix assertion with ↵ | Brian | |
progs/samples/select.c | |||
2008-01-23 | gallium: fix computation of raster.point_size_per_vertex flag | Brian | |
2008-01-22 | gallium: use temp reg for storing color to avoid reading 'result.color' | Brian | |
2008-01-21 | gallium: silence warnings | Brian | |
2008-01-17 | Revert "temporarily don't emit TGSI immediates, use the constant buffer" | José Fonseca | |
This reverts commit 310e7ca44b33558a9aa22f43024d1bfb63642128. | |||
2008-01-17 | Back-port miscellaneous fixes from internal branch (mostly portability fixes). | José Fonseca | |
These are changes that are in our internal branch, but somehow were skipped so far. It was done using visual comparison of the branches -- it is likely that changes are being carried on the wrong way | |||
2008-01-17 | temporarily don't emit TGSI immediates, use the constant buffer | Brian | |
This allows a few more programs to run and not crash. Need to get constant buffer uploads working... | |||
2008-01-16 | tweaks to quad drawing, set UsesKill in bitmap shader | Brian | |
2008-01-16 | Fix a two-sided lighting bug (fixes samples/wave.c) | Brian | |
2008-01-15 | include pipe/draw/draw_context.h | Brian | |
2008-01-14 | free stvp->draw_shader | Brian | |
2008-01-14 | Fix problems with vertex shaders and the private draw module. | Brian | |
The CSO returned by pipe->create_vs_state() can't be passed to the private draw module. That was causing glRasterPos to blow up. Add a 'draw_shader' field to st_vertex_program for use with the private draw module. Change st_context->state.vs type from cso_vertex_shader to st_vertex_program. |