summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple
Commit message (Collapse)AuthorAgeFilesLines
* Include fences in the i915simple winsys interface.José Fonseca2007-11-154-8/+26
|
* Remove TGSI_OPCODE_TXPBrian2007-11-081-4/+0
| | | | Use TGSI_OPCODE_TEX with ExtDivide=TGSI_EXTSWIZZLE_W instead.
* check for divide by W flag when translating TGSI_OPCODE_TEX (fixes projected ↵Brian2007-11-081-1/+7
| | | | textures)
* tweak anisotropic filtering codeBrian2007-11-082-1/+4
|
* enable PIPE_CAP_TEXTURE_SHADOW_MAP (but not quite working yet)Brian2007-11-081-1/+1
|
* remove translate_compare_func(), use i915_translate_compare_func()Brian2007-11-081-19/+1
|
* Fix some issues hit when rendering to a depth-only renderbuffer (shadowtex).Brian2007-11-081-7/+48
| | | | | Added 16bpp case to translate_depth_format(). Added framebuffer_size() to determine framebuffer size.
* 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.
* update flush/fence comments for i915_flush()Brian2007-11-071-3/+3
|
* Remove winsys->wait_idle(), subsumed by pipe->flush().Brian2007-11-072-1/+2
| | | | | | Connect intel_i915_batch_finish() into i915_winsys, just like intel_i915_batch_flush(). Call i915_winsys->batch_finish() in response to pipe->flush(PIPE_FLUSH_WAIT). Now all the batchbuffer/fence code is in one place and a little cleaner.
* New PIPE_FLUSH_WAIT flag for pipe->flush().Brian2007-11-071-1/+5
| | | | | The state tracker doesn't have to directly call winsys->wait_idle() anymore. glFlush and glFinish both go through pipe->flush() now.
* more dead code removalBrian2007-11-071-63/+1
|
* disable/remove dead codeBrian2007-11-071-8/+3
|
* Disable the call to driBOReference() in i915_update_texture()Brian2007-11-071-1/+5
| | | | | It doesn't seem to be needed and disabling it fixes a big memory leak with some programs like xdemos/wincopy.c
* Check the right ammount of free space in vertex buffer.José Fonseca2007-11-071-7/+9
|
* Reset temporary vertices ids.José Fonseca2007-11-071-1/+3
|
* Use a consistent number to identify undefined vertices.José Fonseca2007-11-071-10/+17
|
* Reuse the vertex buffer until the vertex size changes.José Fonseca2007-11-071-35/+39
|
* Track hardware vertex buffer state changes.José Fonseca2007-11-074-23/+72
|
* Fix build error: dereferencing pointer to incomplete typeMichel Dänzer2007-11-061-0/+1
|
* 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.
* Allow custom pipe driver buffer usage flags.José Fonseca2007-11-062-1/+6
|
* Supply buffer usage hints to winsys.José Fonseca2007-11-061-1/+3
| | | | | Winsys driver needs some hints in order to allocate the appropriate kind of memory for the buffer.
* 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-034-13/+15
|
* Do something sensible when failed to reserve space in the batch buffer.José Fonseca2007-11-035-18/+17
|
* Detail i915 winsys interface comments.José Fonseca2007-11-031-18/+40
|
* Render primitives using indirect vertices in a vertex buffer.José Fonseca2007-11-031-35/+39
|
* remove old comment about tnl/vfBrian2007-11-011-4/+0
|
* Reserve the right number of dwords for hardware state, and handle the case ↵José Fonseca2007-11-011-6/+34
| | | | where it fails.
* Hold the vertex buffer handle.José Fonseca2007-10-312-8/+13
|
* Handle TGSI_OPCODE_RET.José Fonseca2007-10-311-0/+4
|
* Allow more verbose error output.José Fonseca2007-10-312-4/+14
|
* Chain vertex buffers into the batch buffer.José Fonseca2007-10-312-24/+52
|
* Make it compile under linux.Michal Krol2007-10-291-0/+1
| | | | | Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
* Remove typedefs from enums.Zack Rusin2007-10-292-2/+2
| | | | | typedefs are rather evil, remove them and use the enum keyword explicitely.
* Reuse hardware vertice representation.José Fonseca2007-10-291-19/+12
|
* Enable the vertex buffer stage according to the I915_VBUF environment var.José Fonseca2007-10-291-1/+6
|
* Get vertex buffer stage in a minimally working state.José Fonseca2007-10-291-27/+133
|
* Reserve the accurate number of dwords in the batch buffer.José Fonseca2007-10-291-5/+3
|
* Start a vertex buffer constuction stage for i915 based on Keith's draft done ↵José Fonseca2007-10-293-0/+321
| | | | on softpipe.
* 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.
* Re-implement GLSL texture sampler variables.Brian2007-10-262-0/+11
| | | | | | | | | | GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
* surface_alloc() is now a winsys function.Brian2007-10-261-40/+149
| | | | | This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
* Move region_alloc() and region_release() to pipe_winsys.Brian2007-10-251-61/+0
| | | | This allows regions to be allocated w/out a rendering context.
* Move the get/put_tile() functions to pipe_context.Brian2007-10-251-7/+10
| | | | The _rgba versions are temporary until the state tracker is updated.
* 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
|
* In region_unmap(), check if region is mapped before decrementing refcount.Brian2007-10-201-4/+7
|