summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe
AgeCommit message (Collapse)Author
2008-01-21gallium: remove unneeded protos, #includes, etcBrian
2008-01-21gallium: include sp_headers.hBrian
2008-01-21gallium: move softpipe_get_tex_surface() prototypeBrian
2008-01-21gallium: add license commentBrian
2008-01-21gallium: move softpipe_get_tex_surface() into sp_texture.cBrian
2008-01-21gallium: remove per-fragment line stipple codeBrian
2008-01-21fix broken point rendering in sp_vbuf_render()Brian
2008-01-21gallium: add a src_index[] array to draw's vertex_info for mapping ↵Brian
post-xform vertex attribs to hw vertex attribs
2008-01-18Unify copy_rect helpers.Michel Dänzer
Some of the copies were buggy.
2008-01-17Back-port miscellaneous fixes from internal branch (mostly portability fixes).José Fonseca
These are changes that are in our internal branch, but somehow were skipped so far. It was done using visual comparison of the branches -- it is likely that changes are being carried on the wrong way
2008-01-17gallium: fix warningKeith Whitwell
2008-01-16Fix broken fog.Brian
Note that fogcoord and front-facing attribs are in the same register, in the X and Y channels, respectively.
2008-01-15Don't include stdint.h or inttypes. Use the uint64 typedef instead of uint64_t.Brian
2008-01-14disable debug printfBrian
2008-01-14Remove pipe->get/put_tile_rgba.Michel Dänzer
pipe_get/put_tile_rgba() now use pipe->get/put_tile internally. Also simplify the <format>_get/put_tile_rgba() helper functions and clean up some inconsitencies in them.
2008-01-14Remove mapping fields from struct pipe_surface.Michel Dänzer
It's now the responsibility of surface users to keep track of their mappings.
2008-01-10comment about vertex data in emit_vertex()Brian
2008-01-10clean-up comments, codeBrian
2008-01-10softpipe: Simplify texture memory layout.Michel Dänzer
2008-01-10softpipe: map only once in softpipe_map_surfacesJerome Glisse
softpipe_map_surfaces get call several time but softpipe_unmap_surfaces get call only once. So to make sure stuff are properly unmap when softpipe_unmap_surfaces get call we map surfaces only one time in softpipe_map_surfaces.
2008-01-04llvm: we need custom rules so had to redo the build a little bitZack Rusin
also don't use sse when llvm is enabled
2008-01-03rename vars, clean-up formattingBrian
2008-01-03replace void * with struct draw_vertex_shader opaque typeBrian
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.