summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2008-01-04gallium: Make texture target an enum for better debuggability.Michel Dänzer
Also make enum pipe_format used in a couple more places.
2008-01-01unref buffer after drawing, fixes rastpos mem leakBrian
2008-01-01unref const buffers during context destroyBrian
2007-12-20gallium: make state tracker explictly ask for rendercache flushesKeith Whitwell
2007-12-20gallium: translate ARB fp/vp immediates consistently to tgsi immediatesKeith Whitwell
2007-12-19Add some prototype code for converting RET to END for main(). Disabled for now.Brian
2007-12-19Fix problem with initial viewport/scissor size.Brian
If an app never called glViewport, the viewport size was always 0 by 0 pixels. Now pass initial size to st_create_framebuffer() and initialize the viewport and scissor bounds in st_make_current(). This could also be fixed by ensuring the gl_framebuffers passed to _mesa_make_current() were initialized to the right size. But that involves allocating the renderbuffers/pipe_surfaces earlier and that runs into some other issues ATM. Also remove obsolete createRenderbuffers param to st_create_framebuffer().
2007-12-19convert Mesa OPCODE_END to TGSI_OPCODE_END, not TGSI_OPCOD_RETBrian
2007-12-19special-case PSIZE tooBrian
2007-12-19new assertionsBrian
2007-12-19actually set the max_index. useful in the driverZack Rusin
2007-12-18turn off TGSI_DEBUGBrian
2007-12-18fix bug on GL_VERTEX_PROGRAM_TWO_SIDE pathBrian
2007-12-18gallium: rationalize vertex_element state packetKeith Whitwell
Remove dst_offset (not used) Add nr_components, which could be calculated from format, but would be too much effort. Update i965 driver to cope.
2007-12-17Emit declarations for constants (references to the const buffer)Brian
2007-12-17gallium: incorporate alpha state into depth_stencil state object.Keith Whitwell
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-14update_samplers() didn't respect the sampler->texunit mapping.Brian
This fixes the glsl/texdemo1.c program.
2007-12-14emit tgsi declarations for texture samplersBrian
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