Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-12-16 | switch on cpp instead of format | Brian | |
2007-12-15 | Use tile functions in new p_tile.[ch] | Brian | |
This removes quite a bit of code duplicated in the drivers. | |||
2007-12-15 | don't allocate scratch tile in sp_tile_cache_flush_clear() to avoid stack ↵ | Brian | |
overflow | |||
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 | 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 | remove unused var | Brian | |
2007-12-13 | 965: get fragment shader compiler compiling | Keith Whitwell | |
Don't think that it will run though. | |||
2007-12-13 | Add QuadX,Y fields to tgsi_exec_machine to pass quad's position to tgsi ↵ | Brian | |
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. | |||
2007-12-12 | added r5g5b5_put_tile_rgba() | Brian | |
2007-12-12 | remove #include | Brian | |
2007-12-12 | Move float/rgba tile get/put functions into new file. | Brian | |
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. | |||
2007-12-12 | PIPE_SCREEN_SURFACE no longer needed | 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 | move some code to avoid deref of NULL ptr | 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 | 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 | Redo the way we pass arguments to the llvm. | Zack Rusin | |
simply pass aligned arrays, they should cast to vectors without any problems. also remove unnecessary memset | |||
2007-12-11 | Implement kilp and make it work | Zack Rusin | |
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 | Add surface storage allocation function to winsys interface. | José Fonseca | |
2007-12-10 | minor clean-ups, comments | Brian | |
2007-12-10 | gallium: remove unnecessary guards on qs->next | Keith Whitwell | |
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 | disable assertion in sp_tile_cache_set_surface() for now | Brian | |
2007-12-10 | Fix up some confusion wrt winsys->buffer_create alignment / flags parameters. | Michel Dänzer | |
intel_winsys works again. | |||
2007-12-09 | use quadColor local var | Brian | |
2007-12-09 | Fix looping for multi-color buffer writing. | Brian | |
2007-12-09 | Adapt for winsys interface changes. | José Fonseca | |
2007-12-09 | gallium: use SSE by default | José Fonseca | |
2007-12-09 | gallium: add draw_stage::destroy(). | Michal | |
2007-12-07 | Try to reduce the frequency of calls to pipe->get_tex_surface() | Brian | |
Save the surface info in the tile cache and re-use whenever possible. | |||
2007-12-07 | shorten loops over color bufs | Brian | |
2007-12-07 | code re-org in softpipe_clear() | Brian | |
2007-12-07 | clean-ups | Brian | |
2007-12-07 | Tile clearing optimizations. | Brian | |
Clear using int values rather than floats when possible. Better performance now. | |||
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 | Get rid of "duplicate" formats. | Brian | |
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM | |||
2007-12-07 | Enable the tile clear "optimization" | Brian | |
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... | |||
2007-12-07 | Make sp_tile_cache_flush_clear() static. | Brian | |
Also, misc clean-ups, comments. | |||
2007-12-07 | Convert the clearValue back to floats for sp_tile_cache_clear() | Brian | |
It might be nice if sp->clear() took the color/value as floats... | |||
2007-12-07 | Some tile cache improvements, clean-ups. | Brian | |
Code for optimized clears (per-tile flag indicating clear status) in place but not enabled yet. | |||
2007-12-07 | don't dereference pt after realloc - fixes valgrind error | Brian | |
2007-12-07 | add some whitespace | Brian | |
2007-12-07 | Move struct softpipe_texture definition into sp_texture.h | Brian | |
Also, added softpipe_texture() cast wrapper. | |||
2007-12-07 | minor code movement | Brian | |
2007-12-07 | Eliminate struct pipe_region. | Michel Dänzer | |
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping. | |||
2007-12-06 | Hide texture layout details from the state tracker. | Michel Dänzer | |
pipe->get_tex_surface() has to be used for access to texture image data. | |||
2007-12-05 | added tile funcs for B8G8R8A8 format | Brian | |