Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2007-12-07 | Define PIPE_FORMAT_ tokens as an enum set, rather than #defines. | Brian | |
This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM. | |||
2007-12-07 | include tgsi_dump.h | Brian | |
2007-12-07 | Replace "duplicate" formats | Brian | |
2007-12-07 | Add PIPE_FORMAT_U_B8_G8_R8_A8 in default_rgba_format(). | Brian | |
Also, rewrite/simplify default_rgba_format() and default_depth_format(). | |||
2007-12-07 | added ST_SURFACE_DEPTH | Brian | |
2007-12-07 | move surface pitch calculation so it always gets updated | Brian | |
2007-12-07 | fix void pointer arithmetic warnings | Brian | |