aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_context.c
Commit message (Collapse)AuthorAgeFilesLines
* Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian2007-12-071-2/+3
| | | | | This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
* Get rid of "duplicate" formats.Brian2007-12-071-12/+12
| | | | For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
* Eliminate struct pipe_region.Michel Dänzer2007-12-071-1/+0
| | | | | Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping.
* Hide texture layout details from the state tracker.Michel Dänzer2007-12-061-6/+3
| | | | pipe->get_tex_surface() has to be used for access to texture image data.
* Make it compile under Win32.Michal2007-11-221-2/+2
|
* Remove fences from the i915simple winsys interface.José Fonseca2007-11-221-2/+0
| | | | | | | | | 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.
* Proper fence reference counting.José Fonseca2007-11-171-0/+2
|
* tweak anisotropic filtering codeBrian2007-11-081-1/+1
|
* enable PIPE_CAP_TEXTURE_SHADOW_MAP (but not quite working yet)Brian2007-11-081-1/+1
|
* remove unneeded #includeBrian2007-11-081-1/+0
|
* Added pipe->get_paramf() to query float limits.Brian2007-11-081-0/+27
| | | | So far max point size, line width, texture anistopy and lod bias.
* Remove pipe->max_texture_size(), use get_param() instead.Brian2007-11-061-31/+6
| | | | Also, in st_init_limits(), clamp driver's values against Mesa's internal limits.
* Determine GL extensions/limits by making pipe queries.Brian2007-11-051-0/+20
| | | | | | 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...
* Allow batch buffer debugging without calling i915_winsys->batch_start so often.José Fonseca2007-11-031-1/+1
|
* Enable the vertex buffer stage according to the I915_VBUF environment var.José Fonseca2007-10-291-1/+6
|
* Replace supported_formats with is_format_supported interface.Michal Krol2007-10-281-12/+12
| | | | | | | | | | | 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.
* Revert "Undo indexOffset change (I think, git???)"Brian2007-10-241-4/+3
| | | | This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
* Undo indexOffset change (I think, git???)Brian2007-10-241-3/+4
|
* formattingBrian2007-10-151-6/+6
|
* feedback/rasterpos fix-upsBrian2007-10-151-0/+23
|
* use i915_miptree_layout when using an i915Brian2007-10-011-1/+1
|
* fix a few vert/frag program items to get i915 driver going againBrian2007-10-011-2/+0
|
* Silence a few warnings.Zack Rusin2007-09-211-1/+1
|
* Checkpoint: replacement of TGSI_ATTRIB_x tokens with input/output semantics.Brian2007-09-191-0/+14
| | | | | | | | 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.
* Finishing up rename of the setup state to the rasterizer state.Zack Rusin2007-09-181-1/+1
|
* Implement query object interface.Brian2007-09-111-2/+19
| | | | | | 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.
* Rework of shader constant buffers.Brian2007-08-221-0/+3
| | | | | They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
* First pass at a fallback concept for pipe devices.Keith Whitwell2007-08-211-4/+6
| | | | | | | 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.
* Use new draw_arrays() code.Brian2007-08-201-3/+55
| | | | | The i915 driver now uses the software-based vertex shader interpreter and draws everything through pipe->draw_arrays().
* Checkpoint: remove more of the old draw_vb() code.Brian2007-08-201-23/+5
|
* Start to remove the temporary draw_vb() and draw_vertices() code.Brian2007-08-201-1/+4
| | | | new st_draw_vertices() utility used by glClear and glDrawPixels
* Start breaking the #include dependencies between pipe drivers and mesa.Keith Whitwell2007-08-131-13/+14
| | | | | | | | | | 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.
* Move string functions to state_tracker, add queries to pipe, winsys.Keith Whitwell2007-08-101-11/+4
|
* added pipe->max_texture_size() query, use it in st_drawpixels()Brian2007-08-101-0/+30
|
* Lift common winsys functions into pipe's new p_winsys.Keith Whitwell2007-08-101-6/+11
|
* Add printf handlers, pass pci id and move texlayout code to driver.Keith Whitwell2007-08-101-0/+7
|
* Pass pci_id to i915_create()Keith Whitwell2007-08-101-4/+38
|
* Add more i915 state packets.Keith Whitwell2007-08-091-1/+3
| | | | | These correspond to the dynamic indirect state, though they are currently just pushed straight to the batch buffer.
* *numFormats = 3Brian2007-08-091-1/+1
|
* Add flush/finish functionality to pipe.Keith Whitwell2007-08-091-0/+7
| | | | Not sure if finish() is the right interface yet.
* The i915simple driver now runs well enough to lock up hardware.Keith Whitwell2007-08-081-2/+2
|
* Call init_state_funcsKeith Whitwell2007-08-081-0/+1
|
* Checkpoint of a super-simplified i915 driver in the pipe model.Keith Whitwell2007-08-081-0/+180
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.