summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple
Commit message (Collapse)AuthorAgeFilesLines
* Add surface storage allocation function to winsys interface.José Fonseca2007-12-111-1/+2
|
* Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵Brian2007-12-101-44/+33
| | | | | | surface, etc. Additional types may be added in the future.
* implement i915_put_tile_rgba() - temporary code thoughBrian2007-12-101-2/+32
|
* Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.Michel Dänzer2007-12-101-3/+1
| | | | intel_winsys works again.
* Adapt for winsys interface changes.José Fonseca2007-12-091-1/+2
|
* gallium: add draw_stage::destroy().Michal2007-12-091-0/+6
|
* add fence interfaces and buffer create flags to pipe_winsyskeithw2007-12-091-1/+1
|
* Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian2007-12-073-5/+6
| | | | | 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-074-25/+25
| | | | For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
* Eliminate struct pipe_region.Michel Dänzer2007-12-077-109/+35
| | | | | 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-069-153/+247
| | | | pipe->get_tex_surface() has to be used for access to texture image data.
* Move dimensions from struct pipe_region to struct pipe_surface.Michel Dänzer2007-11-294-202/+189
|
* gallium: reorg tgsi directories.Michal Krol2007-11-232-3/+3
|
* gallium: back out winsys interface changesMichal Krol2007-11-231-1/+1
|
* Use the new vertex buffer draw stage.José Fonseca2007-11-221-307/+116
|
* Fix build.José Fonseca2007-11-221-1/+1
|
* Fix compatibility issues between gcc and msvc.Michal2007-11-227-280/+363
|
* Make it compile under Win32.Michal2007-11-2214-90/+89
|
* Remove fences from the i915simple winsys interface.José Fonseca2007-11-225-35/+8
| | | | | | | | | 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.
* Replace draw_set_vertex_attributes() with simpler draw_set_vertex_info().Brian2007-11-211-5/+2
| | | | Just pass in the vertex_info object and make a copy of it.
* Proper fence reference counting.José Fonseca2007-11-173-2/+11
|
* 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
|