summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2007-12-09Adapt for winsys interface changes.José Fonseca
2007-12-07Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian
This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
2007-12-07Get rid of "duplicate" formats.Brian
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
2007-12-07Eliminate struct pipe_region.Michel Dänzer
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping.
2007-12-06Hide texture layout details from the state tracker.Michel Dänzer
pipe->get_tex_surface() has to be used for access to texture image data.
2007-11-29Move dimensions from struct pipe_region to struct pipe_surface.Michel Dänzer
2007-11-22Remove fences from the i915simple winsys interface.José Fonseca
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.
2007-11-17Fix typoJosé Fonseca
2007-11-17Proper fence reference counting.José Fonseca
2007-11-15Include fences in the i915simple winsys interface.José Fonseca
2007-11-08check for fence==NULL in intel_batchbuffer_finish(), fixes glxinfo crash on exitBrian
2007-11-08Rename struct field 'private' to 'priv'.Michel Dänzer
This broke the LLVM build because 'private' is a C++ keyword.
2007-11-07Remove winsys->wait_idle(), subsumed by pipe->flush().Brian
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.
2007-11-07New PIPE_FLUSH_WAIT flag for pipe->flush().Brian
The state tracker doesn't have to directly call winsys->wait_idle() anymore. glFlush and glFinish both go through pipe->flush() now.
2007-11-07Remove context dependencies in winsys layer.Brian
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...
2007-11-07cosmetic fix to driFenceFinish() callBrian
2007-11-07replace magic number 3 with DRM_FENCE_TYPE_EXE | DRM_I915_FENCE_TYPE_RW in ↵Brian
driFenceFinish() call
2007-11-07remove DriverCtx=intel assigment/hackBrian
2007-11-07Pass winsys as a parameter to intel_create_i915simple(), intel_create_softpipe()Brian
2007-11-07var renaming: s/sws/winsys/Brian
2007-11-07Add winsys->surface_release() to complement winsys->surface_alloc().Brian
pipe_surface now has a pointer to the winsys which create/owns the surface. This allows clean surface deallocation w/out a rendering context.
2007-11-06restore dispatch/extension code (without, dynamic entrypoints aren't added)Brian
2007-11-06remove more dependencies on Mesa types/functionsBrian
2007-11-06implement context sharing codeBrian
2007-11-06code clean-upBrian
2007-11-06Remove use of Mesa/GL types/functions (s/GLuint/uint/ etc)Brian
2007-11-06don't include mtypes.hBrian
2007-11-06Remove last of core Mesa dependencies in intel_swapbuffers.cBrian
Use the "dummyContext" pointer (for now) instead of GET_CURRENT_CONTEXT().
2007-11-06Supply buffer usage hints to winsys.José Fonseca
Winsys driver needs some hints in order to allocate the appropriate kind of memory for the buffer.
2007-11-05clean upsBrian
2007-11-05change includes, minor simplification in intelDisplaySurface()Brian
2007-11-05include mtypes.h (temporary)Brian
2007-11-05Remove some temporary state tracker context/framebuffer_create functions.Brian
2007-11-05Update xlib driver to use newer state tracker context/framebuffer functions.Brian
XMesaContext has an st_context * which contains a mesa context.
2007-11-05asst clean-upsBrian
2007-11-05remove some GL types, mesa includesBrian
2007-11-05move intel_context_mesa() into intel_swapbuffers.c (the only place it's used ↵Brian
now)
2007-11-05Move driBatchPoolInit() into new intel_batchpool.h header.Brian
Note that intel_batchpool.[ch] have no intel-specific dependencies at this poi Maybe rename files for re-use in the future.
2007-11-05Move driBatchPoolInit() into new intel_batchpool.h header.Brian
Note that intel_batchpool.[ch] have no intel-specific dependencies at this point. Maybe rename files for re-use in the future.
2007-11-05remove intelScreenPrivate typedef and use cast wrapper function to be like ↵Brian
intel_context and intel_framebuffer
2007-11-05remove driScrnPriv field from intel_screenBrian
2007-11-05commentsBrian
2007-11-05fix typo, formattingBrian
2007-11-05remove unused intelScreen->texPoolBrian
2007-11-05add missing free() in intelDestroyContextBrian
2007-11-05comments, clean-ups, assertionsBrian
2007-11-05rewrite/simplify intelCopySubBuffer()Brian
2007-11-05rewrite/simplify intelSwapBuffers()Brian
2007-11-05replace get_color_surface() with st_get_framebuffer_surface()Brian
2007-11-05better use of intel_context() cast wrappersBrian