Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: make state tracker explictly ask for rendercache flushes | Keith Whitwell | 2007-12-20 | 6 | -8/+9 |
| | |||||
* | gallium: translate ARB fp/vp immediates consistently to tgsi immediates | Keith Whitwell | 2007-12-20 | 1 | -4/+20 |
| | |||||
* | Add some prototype code for converting RET to END for main(). Disabled for now. | Brian | 2007-12-19 | 1 | -3/+17 |
| | |||||
* | Fix problem with initial viewport/scissor size. | Brian | 2007-12-19 | 4 | -56/+70 |
| | | | | | | | | | | | 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(). | ||||
* | convert Mesa OPCODE_END to TGSI_OPCODE_END, not TGSI_OPCOD_RET | Brian | 2007-12-19 | 1 | -1/+1 |
| | |||||
* | special-case PSIZE too | Brian | 2007-12-19 | 1 | -1/+6 |
| | |||||
* | new assertions | Brian | 2007-12-19 | 1 | -0/+3 |
| | |||||
* | actually set the max_index. useful in the driver | Zack Rusin | 2007-12-19 | 1 | -2/+2 |
| | |||||
* | turn off TGSI_DEBUG | Brian | 2007-12-18 | 1 | -1/+1 |
| | |||||
* | fix bug on GL_VERTEX_PROGRAM_TWO_SIDE path | Brian | 2007-12-18 | 1 | -1/+1 |
| | |||||
* | gallium: rationalize vertex_element state packet | Keith Whitwell | 2007-12-18 | 1 | -3/+3 |
| | | | | | | | | 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. | ||||
* | Emit declarations for constants (references to the const buffer) | Brian | 2007-12-17 | 1 | -1/+57 |
| | |||||
* | gallium: incorporate alpha state into depth_stencil state object. | Keith Whitwell | 2007-12-17 | 9 | -179/+62 |
| | |||||
* | Added origin_lower_left field to pipe_rasterizer_state | Brian | 2007-12-14 | 1 | -0/+2 |
| | | | | | | 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. | ||||
* | update_samplers() didn't respect the sampler->texunit mapping. | Brian | 2007-12-14 | 1 | -9/+16 |
| | | | | This fixes the glsl/texdemo1.c program. | ||||
* | emit tgsi declarations for texture samplers | Brian | 2007-12-14 | 1 | -0/+27 |
| | |||||
* | Don't always declare frag shader INPUT[0] as fragment position. | Brian | 2007-12-14 | 3 | -51/+45 |
| | | | | | | | | | | | | 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. | ||||
* | add missing code for PIPE_FORMAT_S8_UNORM renderbuffer | Brian | 2007-12-13 | 1 | -0/+4 |
| | |||||
* | Re-org of st_create_framebuffer() and renderbuffer format selection. | Brian | 2007-12-12 | 6 | -91/+71 |
| | | | | | | | | 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. | ||||
* | Try PIPE_FORMAT_R5G6B5_UNORM for GL_RGB5 request. | Brian | 2007-12-12 | 1 | -0/+2 |
| | |||||
* | softpipe: Support for PIPE_FORMAT_A4R4G4B4_UNORM and PIPE_FORMAT_R5G6B5_UNORM. | Michel Dänzer | 2007-12-11 | 1 | -0/+4 |
| | | | | | The packedpixels test runs with the xlib winsys, though not all cases look correct yet. | ||||
* | Remove internal_format field from struct pipe_texture. | Michel Dänzer | 2007-12-11 | 4 | -17/+10 |
| | | | | It's state tracker specific / not really necessary anyway. | ||||
* | Rework gallium and mesa queries a little. | Keith Whitwell | 2007-12-11 | 1 | -19/+49 |
| | | | | | | Add a 'CheckQuery()' driver callback to mesa to check query completion. Make pipe_query an opaque type. Rework softpipe queries, support overlapping occlusion queries. | ||||
* | gallium: remove clear values from depth, stencil state | Keith Whitwell | 2007-12-11 | 1 | -2/+0 |
| | |||||
* | gallium: remove set_sampler_units interface | Keith Whitwell | 2007-12-11 | 6 | -31/+29 |
| | | | | | The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects. | ||||
* | gallium: remove redundant clear_color state. | Keith Whitwell | 2007-12-11 | 4 | -66/+0 |
| | |||||
* | gallium: Remove feedback interfaces from pipe driver. | Keith Whitwell | 2007-12-11 | 2 | -24/+21 |
| | | | | | Something similar will return when geometry shaders are added, but for now this interface is not required. | ||||
* | gallium: remove dead pbo zcopy code | Keith Whitwell | 2007-12-11 | 1 | -31/+0 |
| | |||||
* | Add surface storage allocation function to winsys interface. | José Fonseca | 2007-12-11 | 1 | -23/+13 |
| | |||||
* | XXX comments about some hard-coded values that need to be fixed | Brian | 2007-12-10 | 2 | -0/+2 |
| | |||||
* | Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵ | Brian | 2007-12-10 | 6 | -73/+71 |
| | | | | | | surface, etc. Additional types may be added in the future. | ||||
* | don't use get/put_tile_rgba() for accum buffer accesses | Brian | 2007-12-10 | 1 | -19/+98 |
| | |||||
* | Fix up some confusion wrt winsys->buffer_create alignment / flags parameters. | Michel Dänzer | 2007-12-10 | 1 | -1/+1 |
| | | | | intel_winsys works again. | ||||
* | Correct user VBO size. | Ben Skeggs | 2007-12-10 | 1 | -3/+8 |
| | |||||
* | Remove stray references to struct pipe_region. | Michel Dänzer | 2007-12-10 | 1 | -1/+0 |
| | |||||
* | Adapt for winsys interface changes. | José Fonseca | 2007-12-09 | 1 | -1/+1 |
| | |||||
* | gallium: support the full range of possible vertex types | Keith Whitwell | 2007-12-09 | 1 | -23/+129 |
| | |||||
* | add fence interfaces and buffer create flags to pipe_winsys | keithw | 2007-12-09 | 3 | -4/+4 |
| | |||||
* | New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl ↵ | Brian | 2007-12-07 | 2 | -10/+4 |
| | | | | module. | ||||
* | Move _mesa_init_glsl_driver_functions() into shader_api.c | Brian | 2007-12-07 | 1 | -1/+1 |
| | | | | | This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c | ||||
* | Define PIPE_FORMAT_ tokens as an enum set, rather than #defines. | Brian | 2007-12-07 | 5 | -25/+23 |
| | | | | | This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM. | ||||
* | include tgsi_dump.h | Brian | 2007-12-07 | 1 | -0/+1 |
| | |||||
* | Replace "duplicate" formats | Brian | 2007-12-07 | 4 | -69/+69 |
| | |||||
* | Add PIPE_FORMAT_U_B8_G8_R8_A8 in default_rgba_format(). | Brian | 2007-12-07 | 1 | -22/+28 |
| | | | | Also, rewrite/simplify default_rgba_format() and default_depth_format(). | ||||
* | added ST_SURFACE_DEPTH | Brian | 2007-12-07 | 2 | -1/+2 |
| | |||||
* | move surface pitch calculation so it always gets updated | Brian | 2007-12-07 | 1 | -2/+3 |
| | |||||
* | fix void pointer arithmetic warnings | Brian | 2007-12-07 | 1 | -7/+14 |
| | |||||
* | Eliminate struct pipe_region. | Michel Dänzer | 2007-12-07 | 9 | -89/+82 |
| | | | | | Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping. | ||||
* | Remove remnants of 'intel' from active state tracker code. | Michel Dänzer | 2007-12-06 | 1 | -5/+2 |
| | |||||
* | st_mesa_format_to_pipe_format: Handle MESA_FORMAT_ARGB4444. | Michel Dänzer | 2007-12-06 | 1 | -0/+2 |
| |