Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added origin_lower_left field to pipe_rasterizer_state | Brian | 2007-12-14 | 2 | -7/+23 |
| | | | | | | 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. | ||||
* | Don't always declare frag shader INPUT[0] as fragment position. | Brian | 2007-12-14 | 6 | -161/+267 |
| | | | | | | | | | | | | 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. | ||||
* | remove unused var | Brian | 2007-12-13 | 1 | -2/+0 |
| | |||||
* | 965: get fragment shader compiler compiling | Keith Whitwell | 2007-12-13 | 1 | -4/+0 |
| | | | | Don't think that it will run though. | ||||
* | Add QuadX,Y fields to tgsi_exec_machine to pass quad's position to tgsi ↵ | Brian | 2007-12-13 | 1 | -1/+10 |
| | | | | | | | | interpreter. The tgsi linear/perspective attribute code now uses these values rather than input[0]. Need to update SSE path to take quad x,y as function params. Then, we can remove additional code. | ||||
* | added r5g5b5_put_tile_rgba() | Brian | 2007-12-12 | 1 | -2/+33 |
| | |||||
* | remove #include | Brian | 2007-12-12 | 1 | -1/+1 |
| | |||||
* | Move float/rgba tile get/put functions into new file. | Brian | 2007-12-12 | 4 | -666/+777 |
| | | | | | | This should be moved into a gallium util lib (location tbd) so it can also be used by the state tracker. Then, remove the pipe->get/put_tile_rgba() functions. | ||||
* | PIPE_SCREEN_SURFACE no longer needed | Brian | 2007-12-12 | 1 | -3/+1 |
| | |||||
* | Re-org of st_create_framebuffer() and renderbuffer format selection. | Brian | 2007-12-12 | 1 | -0/+5 |
| | | | | | | | | 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. | ||||
* | move some code to avoid deref of NULL ptr | Brian | 2007-12-12 | 1 | -3/+3 |
| | |||||
* | softpipe: Support for PIPE_FORMAT_A4R4G4B4_UNORM and PIPE_FORMAT_R5G6B5_UNORM. | Michel Dänzer | 2007-12-11 | 1 | -0/+59 |
| | | | | | The packedpixels test runs with the xlib winsys, though not all cases look correct yet. | ||||
* | Rework gallium and mesa queries a little. | Keith Whitwell | 2007-12-11 | 6 | -43/+162 |
| | | | | | | Add a 'CheckQuery()' driver callback to mesa to check query completion. Make pipe_query an opaque type. Rework softpipe queries, support overlapping occlusion queries. | ||||
* | Redo the way we pass arguments to the llvm. | Zack Rusin | 2007-12-11 | 1 | -3/+2 |
| | | | | | simply pass aligned arrays, they should cast to vectors without any problems. also remove unnecessary memset | ||||
* | Implement kilp and make it work | Zack Rusin | 2007-12-11 | 1 | -1/+1 |
| | |||||
* | gallium: remove set_sampler_units interface | Keith Whitwell | 2007-12-11 | 5 | -23/+6 |
| | | | | | 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 | -13/+0 |
| | |||||
* | gallium: Remove feedback interfaces from pipe driver. | Keith Whitwell | 2007-12-11 | 6 | -109/+0 |
| | | | | | Something similar will return when geometry shaders are added, but for now this interface is not required. | ||||
* | Add surface storage allocation function to winsys interface. | José Fonseca | 2007-12-11 | 1 | -2/+2 |
| | |||||
* | minor clean-ups, comments | Brian | 2007-12-10 | 1 | -16/+19 |
| | |||||
* | gallium: remove unnecessary guards on qs->next | Keith Whitwell | 2007-12-10 | 12 | -30/+14 |
| | |||||
* | Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵ | Brian | 2007-12-10 | 2 | -13/+27 |
| | | | | | | surface, etc. Additional types may be added in the future. | ||||
* | disable assertion in sp_tile_cache_set_surface() for now | Brian | 2007-12-10 | 1 | -1/+1 |
| | |||||
* | Fix up some confusion wrt winsys->buffer_create alignment / flags parameters. | Michel Dänzer | 2007-12-10 | 1 | -4/+1 |
| | | | | intel_winsys works again. | ||||
* | use quadColor local var | Brian | 2007-12-09 | 5 | -108/+114 |
| | |||||
* | Fix looping for multi-color buffer writing. | Brian | 2007-12-09 | 6 | -9/+11 |
| | |||||
* | Adapt for winsys interface changes. | José Fonseca | 2007-12-09 | 1 | -1/+3 |
| | |||||
* | gallium: use SSE by default | José Fonseca | 2007-12-09 | 1 | -1/+1 |
| | |||||
* | gallium: add draw_stage::destroy(). | Michal | 2007-12-09 | 2 | -0/+18 |
| | |||||
* | Try to reduce the frequency of calls to pipe->get_tex_surface() | Brian | 2007-12-07 | 1 | -9/+32 |
| | | | | Save the surface info in the tile cache and re-use whenever possible. | ||||
* | shorten loops over color bufs | Brian | 2007-12-07 | 3 | -3/+3 |
| | |||||
* | code re-org in softpipe_clear() | Brian | 2007-12-07 | 1 | -4/+13 |
| | |||||
* | clean-ups | Brian | 2007-12-07 | 1 | -14/+6 |
| | |||||
* | Tile clearing optimizations. | Brian | 2007-12-07 | 3 | -151/+147 |
| | | | | Clear using int values rather than floats when possible. Better performance now. | ||||
* | Define PIPE_FORMAT_ tokens as an enum set, rather than #defines. | Brian | 2007-12-07 | 3 | -3/+5 |
| | | | | | This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM. | ||||
* | Get rid of "duplicate" formats. | Brian | 2007-12-07 | 5 | -56/+56 |
| | | | | For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM | ||||
* | Enable the tile clear "optimization" | Brian | 2007-12-07 | 1 | -1/+1 |
| | | | | | | Not really faster yet because we're using the float-valued put/get_tile() functions so we're doing quite a bit of float/int conversion. That can be fixed though... | ||||
* | Make sp_tile_cache_flush_clear() static. | Brian | 2007-12-07 | 2 | -36/+48 |
| | | | | Also, misc clean-ups, comments. | ||||
* | Convert the clearValue back to floats for sp_tile_cache_clear() | Brian | 2007-12-07 | 1 | -4/+32 |
| | | | | It might be nice if sp->clear() took the color/value as floats... | ||||
* | Some tile cache improvements, clean-ups. | Brian | 2007-12-07 | 4 | -148/+206 |
| | | | | | Code for optimized clears (per-tile flag indicating clear status) in place but not enabled yet. | ||||
* | don't dereference pt after realloc - fixes valgrind error | Brian | 2007-12-07 | 1 | -1/+1 |
| | |||||
* | add some whitespace | Brian | 2007-12-07 | 1 | -0/+6 |
| | |||||
* | Move struct softpipe_texture definition into sp_texture.h | Brian | 2007-12-07 | 6 | -32/+45 |
| | | | | Also, added softpipe_texture() cast wrapper. | ||||
* | minor code movement | Brian | 2007-12-07 | 1 | -3/+2 |
| | |||||
* | Eliminate struct pipe_region. | Michel Dänzer | 2007-12-07 | 12 | -244/+105 |
| | | | | | Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping. | ||||
* | Hide texture layout details from the state tracker. | Michel Dänzer | 2007-12-06 | 15 | -130/+229 |
| | | | | pipe->get_tex_surface() has to be used for access to texture image data. | ||||
* | added tile funcs for B8G8R8A8 format | Brian | 2007-12-05 | 1 | -0/+70 |
| | |||||
* | Move dimensions from struct pipe_region to struct pipe_surface. | Michel Dänzer | 2007-11-29 | 3 | -233/+213 |
| | |||||
* | gallium: remove sp_headers.h references. | Michal Krol | 2007-11-23 | 2 | -2/+0 |
| | |||||
* | gallium: reorg tgsi directories. | Michal Krol | 2007-11-23 | 5 | -8/+7 |
| |