summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
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
2007-11-08Replace gl_stencil_func_to_sp() and gl_depth_func_to_sp() with ↵Brian
st_compare_func_to_pipe()
2007-11-08Added pipe->get_paramf() to query float limits.Brian
So far max point size, line width, texture anistopy and lod bias.
2007-11-08Rename struct field 'private' to 'priv'.Michel Dänzer
This broke the LLVM build because 'private' is a C++ keyword.
2007-11-07New PIPE_FLUSH_WAIT flag for pipe->flush().Brian
The state tracker doesn't have to directly call winsys->wait_idle() anymore. glFlush and glFinish both go through pipe->flush() now.
2007-11-07Remove context dependencies in winsys layer.Brian
The winsys object is now per-screen and shared by multiple contexts. The regionPool is now part of the i915 winsys layer. The winsys wait_idle() and flush_frontbuffer() funcs will get more attention...
2007-11-07enable GL_ARB/NV_point_sprite togetherBrian
2007-11-07Float->uint conversion for PIPE_FORMAT_U_Z32 resulted in overflow in ↵Brian
depth_value(). Special-case it.
2007-11-07init glsl functions in st_init_driver_functions()Brian
2007-11-07fix typos, re-enable some extensions to get back to GL 2.1 levelBrian
2007-11-07Add winsys->surface_release() to complement winsys->surface_alloc().Brian
pipe_surface now has a pointer to the winsys which create/owns the surface. This allows clean surface deallocation w/out a rendering context.
2007-11-06Improved logic for setting up depth/stencil buffers in st_create_framebuffer()Brian
2007-11-06realloc surface if format changes, remove dead codeBrian
2007-11-06init luminance/intensity_bits to zero in st_get_format_info()Brian
2007-11-06Handle the corner case of 24bit depth buffer with 0bit stencil buffer.José Fonseca
2007-11-06Remove pipe->max_texture_size(), use get_param() instead.Brian
Also, in st_init_limits(), clamp driver's values against Mesa's internal limits.
2007-11-06Supply buffer usage hints to winsys.José Fonseca
Winsys driver needs some hints in order to allocate the appropriate kind of memory for the buffer.
2007-11-06Convert format bitfields to shifts and masks.Michel Dänzer
The memory layout of bitfields depends on the ABI.
2007-11-05Determine GL extensions/limits by making pipe queries.Brian
The state tracker calls pipe->get_param() to determine the GL limits and which OpenGL extensions are supported. This is an initial implementation that'll probably change...
2007-11-05don't include mtypes.h in st_public.hBrian
2007-11-05move st_invalidate_state() prototype to st_context.hBrian
2007-11-05Remove some temporary state tracker context/framebuffer_create functions.Brian
2007-11-05Update xlib driver to use newer state tracker context/framebuffer functions.Brian
XMesaContext has an st_context * which contains a mesa context.
2007-11-05added st_notify_swapbuffers()Brian
2007-11-05added st_get_framebuffer_surface() and ST_SURFACE_x tokensBrian