summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
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-13add missing code for PIPE_FORMAT_S8_UNORM renderbufferBrian
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-12Try PIPE_FORMAT_R5G6B5_UNORM for GL_RGB5 request.Brian
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-11Remove internal_format field from struct pipe_texture.Michel Dänzer
It's state tracker specific / not really necessary anyway.
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-11gallium: remove clear values from depth, stencil stateKeith Whitwell
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-11gallium: remove dead pbo zcopy codeKeith Whitwell
2007-12-11Add surface storage allocation function to winsys interface.José Fonseca
2007-12-10XXX comments about some hard-coded values that need to be fixedBrian
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-10don't use get/put_tile_rgba() for accum buffer accessesBrian
2007-12-10Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.Michel Dänzer
intel_winsys works again.
2007-12-10Correct user VBO size.Ben Skeggs
2007-12-10Remove stray references to struct pipe_region.Michel Dänzer
2007-12-09Adapt for winsys interface changes.José Fonseca
2007-12-09gallium: support the full range of possible vertex typesKeith Whitwell
2007-12-09add fence interfaces and buffer create flags to pipe_winsyskeithw
2007-12-07New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl ↵Brian
module.
2007-12-07Move _mesa_init_glsl_driver_functions() into shader_api.cBrian
This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c
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-07include tgsi_dump.hBrian
2007-12-07Replace "duplicate" formatsBrian
2007-12-07Add PIPE_FORMAT_U_B8_G8_R8_A8 in default_rgba_format().Brian
Also, rewrite/simplify default_rgba_format() and default_depth_format().
2007-12-07added ST_SURFACE_DEPTHBrian
2007-12-07move surface pitch calculation so it always gets updatedBrian
2007-12-07fix void pointer arithmetic warningsBrian
2007-12-07Eliminate struct pipe_region.Michel Dänzer
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping.
2007-12-06Remove remnants of 'intel' from active state tracker code.Michel Dänzer
2007-12-06st_mesa_format_to_pipe_format: Handle MESA_FORMAT_ARGB4444.Michel Dänzer
2007-12-06Hide 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-05silence warningBrian
2007-12-05added PIPE_FORMAT_U_B8_G8_R8_A8 case in color_value()Brian
2007-11-29Move dimensions from struct pipe_region to struct pipe_surface.Michel Dänzer
2007-11-24Cleanup PIPE_FORMAT names.Michal Krol
Add a function that builds a display name of a given format token.
2007-11-23gallium: reorg tgsi directories.Michal Krol
2007-11-22The right include was mtypes.h.José Fonseca
2007-11-22Fix build errors.José Fonseca
2007-11-21Replace draw_set_vertex_attributes() with simpler draw_set_vertex_info().Brian
Just pass in the vertex_info object and make a copy of it.
2007-11-20initial support for PIPE_FORMAT_Z24_S8Brian
2007-11-16Reimplement glRasterPos using the private 'draw' module.Brian
2007-11-16adjustments so st_feedback_draw_vbo() can be used for glRasterPosBrian
2007-11-08simplify depth_value(), return proper value for Z16 formatBrian
2007-11-08new init_renderbuffer_bits() helperBrian
2007-11-08move EXT_shadow_funcs assignmentBrian
2007-11-08set sampler state for shadow testBrian