summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Regenerated API dispatch filesBrian Paul2008-05-181-36/+12
| | | | Follow on to cherry-pick from master
* Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian2008-04-041-9/+3
|
* Finish up ATI_separate_stencilBrian2008-04-041-0/+22
| | | | | | Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
* gallium: Eliminate p_winsys::printfJosé Fonseca2008-03-311-10/+0
| | | | Not convenient and almost not used at all. Better replacements in p_debug.h
* Convert crlf->lf line endings.José Fonseca2008-02-2819-7025/+7025
| | | | Windows/DOS users should enable core.autocrlf from now on.
* mesa: Add copyright headers.José Fonseca2008-02-272-23/+45
|
* Remove files of unsupported build systems.José Fonseca2008-02-253-130/+0
|
* Update scons build for new code layout.José Fonseca2008-02-181-48/+0
|
* Code reorganization: update build.José Fonseca2008-02-155-9/+9
| | | | | | | | | Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
* Code reorganization: move files into their places.José Fonseca2008-02-1522-5149/+0
| | | | This is in a separate commit to ensure renames are properly preserved.
* intel_winsys: Call st_notify_swapbuffers_complete() after buffer swap.Michel Dänzer2008-02-141-0/+1
|
* intel_winsys: remove leftover codeJerome Glisse2008-02-081-5/+0
|
* Added ctx->Driver.GenerateMipmap() driver hookBrian2008-02-061-0/+2
|
* gallium: Add SCons as alternative build system for Gallium.José Fonseca2008-01-312-0/+89
|
* gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ codeKeith Whitwell2008-01-254-49/+53
| | | | | | | | | | | Provide an actual definition of the pipe_buffer struct, containing the parameters used to create the buffer, and its refcount. Shift refcounting buffers out of the winsys interface, similar to surfaces & textures. Rework pipebuffer/ to reflect the fact these changes, and also Michel's reworking of the buffer interface.
* gallium: Simplify winsys buffer interface.Michel Dänzer2008-01-251-45/+37
| | | | | | The properties of a buffer represented by struct pipe_buffer_handle are now basically constant over its lifetime. The state tracker gets to deal with any more complex buffer semantics it may need to provide.
* gallium: Pass PIPE_BUFFER_USAGE_PIXEL to buffer_data.José Fonseca2008-01-171-1/+1
|
* Fix problem with initial viewport/scissor size.Brian2007-12-191-1/+3
| | | | | | | | | | | If an app never called glViewport, the viewport size was always 0 by 0 pixels. Now pass initial size to st_create_framebuffer() and initialize the viewport and scissor bounds in st_make_current(). This could also be fixed by ensuring the gl_framebuffers passed to _mesa_make_current() were initialized to the right size. But that involves allocating the renderbuffers/pipe_surfaces earlier and that runs into some other issues ATM. Also remove obsolete createRenderbuffers param to st_create_framebuffer().
* Re-org of st_create_framebuffer() and renderbuffer format selection.Brian2007-12-121-1/+24
| | | | | | | | st_create_framebuffer() now takes pipe_formats for the color, depth, stencil buffers. This avoids a round-about chain of calls to pipe->is_format_supported() for window renderbuffers (their format never changes). Renderbuffer format selection code in st_format.c is simpler now too.
* update format param typeBrian2007-12-121-2/+4
|
* i915tex: remove. it's deprecated and causes merge problemsZack Rusin2007-12-1275-26184/+0
| | | | | | | we did some small changes in the beginning of the gallium3d lifecycle in i915tex which is not in master anymore and just causes problems when doing merges. getting rid of the headache by just nuking it here
* Rework gallium and mesa queries a little.Keith Whitwell2007-12-111-0/+1
| | | | | | Add a 'CheckQuery()' driver callback to mesa to check query completion. Make pipe_query an opaque type. Rework softpipe queries, support overlapping occlusion queries.
* Add surface storage allocation function to winsys interface.José Fonseca2007-12-111-23/+49
|
* Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵Brian2007-12-101-1/+1
| | | | | | surface, etc. Additional types may be added in the future.
* Link fewer common objects into Gallium winsys layers.Michel Dänzer2007-12-102-6/+8
| | | | | These are useless or even harmful due to referencing symbols no longer available in the Gallium build.
* Remove stray references to struct pipe_region.Michel Dänzer2007-12-101-1/+0
|
* Adapt for winsys interface changes.José Fonseca2007-12-092-18/+27
|
* Move _mesa_init_glsl_driver_functions() into shader_api.cBrian2007-12-072-41/+0
| | | | | This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c
* Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian2007-12-071-1/+1
| | | | | 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-3/+3
| | | | For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
* Eliminate struct pipe_region.Michel Dänzer2007-12-072-51/+7
| | | | | 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-2/+2
| | | | 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-292-17/+19
|
* Remove fences from the i915simple winsys interface.José Fonseca2007-11-224-70/+23
| | | | | | | | | 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.
* Fix typoJosé Fonseca2007-11-171-1/+1
|
* Proper fence reference counting.José Fonseca2007-11-171-15/+15
|
* Include fences in the i915simple winsys interface.José Fonseca2007-11-154-23/+70
|
* check for fence==NULL in intel_batchbuffer_finish(), fixes glxinfo crash on exitBrian2007-11-081-5/+7
|
* Rename struct field 'private' to 'priv'.Michel Dänzer2007-11-081-1/+1
| | | | This broke the LLVM build because 'private' is a C++ keyword.
* Remove winsys->wait_idle(), subsumed by pipe->flush().Brian2007-11-072-15/+8
| | | | | | 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-2/+2
| | | | | The state tracker doesn't have to directly call winsys->wait_idle() anymore. glFlush and glFinish both go through pipe->flush() now.
* Remove context dependencies in winsys layer.Brian2007-11-075-41/+42
| | | | | | 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...
* cosmetic fix to driFenceFinish() callBrian2007-11-071-1/+1
|
* replace magic number 3 with DRM_FENCE_TYPE_EXE | DRM_I915_FENCE_TYPE_RW in ↵Brian2007-11-071-2/+5
| | | | driFenceFinish() call
* remove DriverCtx=intel assigment/hackBrian2007-11-071-2/+0
|
* Pass winsys as a parameter to intel_create_i915simple(), intel_create_softpipe()Brian2007-11-074-12/+22
|
* var renaming: s/sws/winsys/Brian2007-11-071-21/+20
|
* Add winsys->surface_release() to complement winsys->surface_alloc().Brian2007-11-071-0/+17
| | | | | pipe_surface now has a pointer to the winsys which create/owns the surface. This allows clean surface deallocation w/out a rendering context.
* restore dispatch/extension code (without, dynamic entrypoints aren't added)Brian2007-11-061-0/+58
|
* remove more dependencies on Mesa types/functionsBrian2007-11-062-22/+23
|