Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2008-01-14 | Remove pipe->get/put_tile_rgba. | Michel Dänzer | |
pipe_get/put_tile_rgba() now use pipe->get/put_tile internally. Also simplify the <format>_get/put_tile_rgba() helper functions and clean up some inconsitencies in them. | |||
2008-01-14 | Remove mapping fields from struct pipe_surface. | Michel Dänzer | |
It's now the responsibility of surface users to keep track of their mappings. | |||
2008-01-04 | gallium: Make texture target an enum for better debuggability. | Michel Dänzer | |
Also make enum pipe_format used in a couple more places. | |||
2008-01-01 | unref buffer after drawing, fixes rastpos mem leak | Brian | |
2008-01-01 | unref const buffers during context destroy | Brian | |
2007-12-20 | gallium: make state tracker explictly ask for rendercache flushes | Keith Whitwell | |
2007-12-20 | gallium: translate ARB fp/vp immediates consistently to tgsi immediates | Keith Whitwell | |
2007-12-19 | Add some prototype code for converting RET to END for main(). Disabled for now. | Brian | |
2007-12-19 | Fix problem with initial viewport/scissor size. | Brian | |
If an app never called glViewport, the viewport size was always 0 by 0 pixels. Now pass initial size to st_create_framebuffer() and initialize the viewport and scissor bounds in st_make_current(). This could also be fixed by ensuring the gl_framebuffers passed to _mesa_make_current() were initialized to the right size. But that involves allocating the renderbuffers/pipe_surfaces earlier and that runs into some other issues ATM. Also remove obsolete createRenderbuffers param to st_create_framebuffer(). | |||
2007-12-19 | convert Mesa OPCODE_END to TGSI_OPCODE_END, not TGSI_OPCOD_RET | Brian | |
2007-12-19 | special-case PSIZE too | Brian | |
2007-12-19 | new assertions | Brian | |
2007-12-19 | actually set the max_index. useful in the driver | Zack Rusin | |
2007-12-18 | turn off TGSI_DEBUG | Brian | |
2007-12-18 | fix bug on GL_VERTEX_PROGRAM_TWO_SIDE path | Brian | |
2007-12-18 | gallium: rationalize vertex_element state packet | Keith Whitwell | |
Remove dst_offset (not used) Add nr_components, which could be calculated from format, but would be too much effort. Update i965 driver to cope. | |||
2007-12-17 | Emit declarations for constants (references to the const buffer) | Brian | |
2007-12-17 | gallium: incorporate alpha state into depth_stencil state object. | Keith Whitwell | |
2007-12-14 | Added origin_lower_left field to pipe_rasterizer_state | Brian | |
This controls whether the window origin is considered to be the lower-left or upper-left corner. This effects computation of gl_FragCoord and the application of polygon stipple. | |||
2007-12-14 | update_samplers() didn't respect the sampler->texunit mapping. | Brian | |
This fixes the glsl/texdemo1.c program. | |||
2007-12-14 | emit tgsi declarations for texture samplers | Brian | |
2007-12-14 | Don't always declare frag shader INPUT[0] as fragment position. | Brian | |
We were doing this for the sake of softpipe and the tgsi intergrepter since we always need the fragment position and W-coordinate information in order to compute fragment interpolants. But that's not appropriate for hardware drivers. The tgsi interpreter now get x,y,w information from a separate tgsi_exec_vector variable setup by softpipe. The new pipe_shader_state->input_map[] defines how vert shader outputs map to frag shader inputs. It may go away though, since one can also examine the semantic label on frag shader input[0] to figure things out. | |||
2007-12-13 | add missing code for PIPE_FORMAT_S8_UNORM renderbuffer | Brian | |
2007-12-12 | Re-org of st_create_framebuffer() and renderbuffer format selection. | Brian | |
st_create_framebuffer() now takes pipe_formats for the color, depth, stencil buffers. This avoids a round-about chain of calls to pipe->is_format_supported() for window renderbuffers (their format never changes). Renderbuffer format selection code in st_format.c is simpler now too. | |||
2007-12-12 | Try PIPE_FORMAT_R5G6B5_UNORM for GL_RGB5 request. | Brian | |
2007-12-11 | softpipe: Support for PIPE_FORMAT_A4R4G4B4_UNORM and PIPE_FORMAT_R5G6B5_UNORM. | Michel Dänzer | |
The packedpixels test runs with the xlib winsys, though not all cases look correct yet. | |||
2007-12-11 | Remove internal_format field from struct pipe_texture. | Michel Dänzer | |
It's state tracker specific / not really necessary anyway. | |||
2007-12-11 | Rework gallium and mesa queries a little. | Keith Whitwell | |
Add a 'CheckQuery()' driver callback to mesa to check query completion. Make pipe_query an opaque type. Rework softpipe queries, support overlapping occlusion queries. | |||
2007-12-11 | gallium: remove clear values from depth, stencil state | Keith Whitwell | |
2007-12-11 | gallium: remove set_sampler_units interface | Keith Whitwell | |
The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects. | |||
2007-12-11 | gallium: remove redundant clear_color state. | Keith Whitwell | |
2007-12-11 | gallium: Remove feedback interfaces from pipe driver. | Keith Whitwell | |
Something similar will return when geometry shaders are added, but for now this interface is not required. | |||
2007-12-11 | gallium: remove dead pbo zcopy code | Keith Whitwell | |
2007-12-11 | Add surface storage allocation function to winsys interface. | José Fonseca | |
2007-12-10 | XXX comments about some hard-coded values that need to be fixed | Brian | |
2007-12-10 | Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵ | Brian | |
surface, etc. Additional types may be added in the future. | |||
2007-12-10 | don't use get/put_tile_rgba() for accum buffer accesses | Brian | |
2007-12-10 | Fix up some confusion wrt winsys->buffer_create alignment / flags parameters. | Michel Dänzer | |
intel_winsys works again. | |||
2007-12-10 | Correct user VBO size. | Ben Skeggs | |
2007-12-10 | Remove stray references to struct pipe_region. | Michel Dänzer | |
2007-12-09 | Adapt for winsys interface changes. | José Fonseca | |
2007-12-09 | gallium: support the full range of possible vertex types | Keith Whitwell | |
2007-12-09 | add fence interfaces and buffer create flags to pipe_winsys | keithw | |
2007-12-07 | New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl ↵ | Brian | |
module. | |||
2007-12-07 | Move _mesa_init_glsl_driver_functions() into shader_api.c | Brian | |
This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c |