summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_context.c
AgeCommit message (Collapse)Author
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-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
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-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-11-22Make it compile under Win32.Michal
2007-11-22Remove fences from the i915simple winsys interface.José Fonseca
Fences will be part of the pipe winsys interface, so remove this to avoid merge conflicts later on. This reverts commit ca7f68a7cf25a51f382bba8c42d8c6ab7db57b5d. This reverts commit dec60d33b2570cf2bdce72a00a1539ee93133f91. This reverts commit 90dd0cb822f2fe14258c786e5c37da69472b7d17.
2007-11-17Proper fence reference counting.José Fonseca
2007-11-08tweak anisotropic filtering codeBrian
2007-11-08enable PIPE_CAP_TEXTURE_SHADOW_MAP (but not quite working yet)Brian
2007-11-08remove unneeded #includeBrian
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-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-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-03Allow batch buffer debugging without calling i915_winsys->batch_start so often.José Fonseca
2007-10-29Enable the vertex buffer stage according to the I915_VBUF environment var.José Fonseca
2007-10-28Replace supported_formats with is_format_supported interface.Michal Krol
The old supported_formats interface returned a list of formats supported by a pipe/winsys implementation. This was reasonable when gallium had a fixed list of predefined format. Now things has changed and the definition of PIPE_FORMAT is more flexible. The new shiny is_format_supported interface gets PIPE_FORMAT as an argument and returns a boolean whether this particular format is supported.
2007-10-24Revert "Undo indexOffset change (I think, git???)"Brian
This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
2007-10-24Undo indexOffset change (I think, git???)Brian
2007-10-15formattingBrian
2007-10-15feedback/rasterpos fix-upsBrian
2007-10-01use i915_miptree_layout when using an i915Brian
2007-10-01fix a few vert/frag program items to get i915 driver going againBrian
2007-09-21Silence a few warnings.Zack Rusin
2007-09-19Checkpoint: replacement of TGSI_ATTRIB_x tokens with input/output semantics.Brian
TGSI_ATTRIB_x tokens still present and used in a few places. Expanded set of TGSI_SEMANTIC_x tokens for describing the meaning of inputs/outputs. These tokens are in a crude state ATM. Lots of #if 0 / disabled code to be removed yet, etc... Softpipe and i915 drivers should be in working condition but not heavily tested.
2007-09-18Finishing up rename of the setup state to the rasterizer state.Zack Rusin
2007-09-11Implement query object interface.Brian
This replaces the temporary occlusion counter functions we had before. Added new ctx->Driver.WaitQuery() function which should block until the result is ready. Sketch out some code for vertex transformation feedback counters.
2007-08-22Rework of shader constant buffers.Brian
They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
2007-08-21First pass at a fallback concept for pipe devices.Keith Whitwell
Creates a new pipe driver that feeds commands to either a hardware or software pipe depending on fallback state. Untested concept checkpoint. At this point it compiles.
2007-08-20Use new draw_arrays() code.Brian
The i915 driver now uses the software-based vertex shader interpreter and draws everything through pipe->draw_arrays().
2007-08-20Checkpoint: remove more of the old draw_vb() code.Brian
2007-08-20Start to remove the temporary draw_vb() and draw_vertices() code.Brian
new st_draw_vertices() utility used by glClear and glDrawPixels
2007-08-13Start breaking the #include dependencies between pipe drivers and mesa.Keith Whitwell
Pipe drivers shouldn't really know much about mesa and certainly shouldn't be #including files from src/mesa/main and the like. I've also (in i915simple especially) moved over from GL types to more conventional int/unsigned usage. This probably isn't really the ultimate desired set of types to use - possibly C99 would be better. It may even be that a subset of the GL types is preferable.
2007-08-10Move string functions to state_tracker, add queries to pipe, winsys.Keith Whitwell
2007-08-10added pipe->max_texture_size() query, use it in st_drawpixels()Brian
2007-08-10Lift common winsys functions into pipe's new p_winsys.Keith Whitwell
2007-08-10Add printf handlers, pass pci id and move texlayout code to driver.Keith Whitwell
2007-08-10Pass pci_id to i915_create()Keith Whitwell
2007-08-09Add more i915 state packets.Keith Whitwell
These correspond to the dynamic indirect state, though they are currently just pushed straight to the batch buffer.
2007-08-09*numFormats = 3Brian
2007-08-09Add flush/finish functionality to pipe.Keith Whitwell
Not sure if finish() is the right interface yet.
2007-08-08The i915simple driver now runs well enough to lock up hardware.Keith Whitwell
2007-08-08Call init_state_funcsKeith Whitwell
2007-08-08Checkpoint of a super-simplified i915 driver in the pipe model.Keith Whitwell
Doesn't yet compile, but when it does, it will only draw gouraud tris and even those will be as simple as possible. Needs some 'winsys' support also before that can happen.