summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* implement context sharing codeBrian2007-11-061-6/+10
|
* code clean-upBrian2007-11-061-27/+12
|
* Remove use of Mesa/GL types/functions (s/GLuint/uint/ etc)Brian2007-11-062-41/+39
|
* don't include mtypes.hBrian2007-11-061-1/+28
|
* Remove last of core Mesa dependencies in intel_swapbuffers.cBrian2007-11-063-44/+17
| | | | Use the "dummyContext" pointer (for now) instead of GET_CURRENT_CONTEXT().
* Supply buffer usage hints to winsys.José Fonseca2007-11-062-4/+7
| | | | | Winsys driver needs some hints in order to allocate the appropriate kind of memory for the buffer.
* clean upsBrian2007-11-051-4/+6
|
* change includes, minor simplification in intelDisplaySurface()Brian2007-11-051-2/+2
|
* include mtypes.h (temporary)Brian2007-11-051-0/+1
|
* Remove some temporary state tracker context/framebuffer_create functions.Brian2007-11-051-2/+2
|
* Update xlib driver to use newer state tracker context/framebuffer functions.Brian2007-11-051-1/+1
| | | | XMesaContext has an st_context * which contains a mesa context.
* asst clean-upsBrian2007-11-055-18/+9
|
* remove some GL types, mesa includesBrian2007-11-055-9/+9
|
* move intel_context_mesa() into intel_swapbuffers.c (the only place it's used ↵Brian2007-11-052-8/+9
| | | | now)
* Move driBatchPoolInit() into new intel_batchpool.h header.Brian2007-11-053-5/+8
| | | | | Note that intel_batchpool.[ch] have no intel-specific dependencies at this poi Maybe rename files for re-use in the future.
* Move driBatchPoolInit() into new intel_batchpool.h header.Brian2007-11-051-0/+37
| | | | | Note that intel_batchpool.[ch] have no intel-specific dependencies at this point. Maybe rename files for re-use in the future.
* remove intelScreenPrivate typedef and use cast wrapper function to be like ↵Brian2007-11-056-13/+22
| | | | intel_context and intel_framebuffer
* remove driScrnPriv field from intel_screenBrian2007-11-053-6/+4
|
* commentsBrian2007-11-052-3/+3
|
* fix typo, formattingBrian2007-11-051-2/+2
|
* remove unused intelScreen->texPoolBrian2007-11-052-3/+0
|
* add missing free() in intelDestroyContextBrian2007-11-051-1/+2
|
* comments, clean-ups, assertionsBrian2007-11-051-6/+12
|
* rewrite/simplify intelCopySubBuffer()Brian2007-11-051-24/+18
|
* rewrite/simplify intelSwapBuffers()Brian2007-11-051-16/+9
|
* replace get_color_surface() with st_get_framebuffer_surface()Brian2007-11-052-17/+3
|
* better use of intel_context() cast wrappersBrian2007-11-053-11/+15
|