summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe
AgeCommit message (Collapse)Author
2008-01-01Clean-up, re-org some vertex/fragment shader state code.Brian
2008-01-01move SP_NEW_ #defines into sp_state.hBrian
2008-01-01fix single-sided stencil test bugBrian
2008-01-01fix leak, fix refcount errorBrian
2008-01-01unref const buffers during context destroyBrian
2008-01-01free surface caches in softpipe_destroy()Brian
2008-01-01free tgsi machine stateBrian
2007-12-18setup the frontface register (fog.y, ATM)Brian
2007-12-18fix some semantic info mix-ups in calculate_vertex_layout()Brian
2007-12-17obsoleteBrian
2007-12-17gallium: incorporate alpha state into depth_stencil state object.Keith Whitwell
2007-12-16switch on cpp instead of formatBrian
2007-12-15Use tile functions in new p_tile.[ch]Brian
This removes quite a bit of code duplicated in the drivers.
2007-12-15don't allocate scratch tile in sp_tile_cache_flush_clear() to avoid stack ↵Brian
overflow
2007-12-14Added origin_lower_left field to pipe_rasterizer_stateBrian
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-14Don'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-13remove unused varBrian
2007-12-13965: get fragment shader compiler compilingKeith Whitwell
Don't think that it will run though.
2007-12-13Add 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-12added r5g5b5_put_tile_rgba()Brian
2007-12-12remove #includeBrian
2007-12-12Move 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-12PIPE_SCREEN_SURFACE no longer neededBrian
2007-12-12Re-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-12move some code to avoid deref of NULL ptrBrian
2007-12-11softpipe: 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-11Rework 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-11Redo 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-11Implement kilp and make it workZack Rusin
2007-12-11gallium: remove set_sampler_units interfaceKeith 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-11gallium: remove redundant clear_color state.Keith Whitwell
2007-12-11gallium: 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-11Add surface storage allocation function to winsys interface.José Fonseca
2007-12-10minor clean-ups, commentsBrian
2007-12-10gallium: remove unnecessary guards on qs->nextKeith Whitwell
2007-12-10Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵Brian
surface, etc. Additional types may be added in the future.
2007-12-10disable assertion in sp_tile_cache_set_surface() for nowBrian
2007-12-10Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.Michel Dänzer
intel_winsys works again.
2007-12-09use quadColor local varBrian
2007-12-09Fix looping for multi-color buffer writing.Brian
2007-12-09Adapt for winsys interface changes.José Fonseca
2007-12-09gallium: use SSE by defaultJosé Fonseca
2007-12-09gallium: add draw_stage::destroy().Michal
2007-12-07Try 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-07shorten loops over color bufsBrian
2007-12-07code re-org in softpipe_clear()Brian
2007-12-07clean-upsBrian
2007-12-07Tile clearing optimizations.Brian
Clear using int values rather than floats when possible. Better performance now.
2007-12-07Define 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-07Get rid of "duplicate" formats.Brian
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM