Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-12 | Merge branch 'dri2' | Kristian Høgsberg | |
Conflicts: src/mesa/drivers/dri/i915/intel_screen.c | |||
2007-10-12 | Merge branch 'master' into i915-superioctl | Dave Airlie | |
2007-10-12 | i915: only enable TTM path if drm minor is > 11 for superioctl | Dave Airlie | |
2007-10-12 | dri: remove ttm common code since superioctl is device specific | Dave Airlie | |
2007-10-12 | i915: fixup reloc header defines | Dave Airlie | |
2007-10-11 | Example of cooperative rendering into one window by two processes | Brian | |
2007-10-11 | New glxsnoop demo to display another window's z/stencil/back buffer. | Brian | |
2007-10-11 | Drop no longer implemented MESA allocate extension from i915. | Kristian Høgsberg | |
2007-10-11 | remove unneeded cast | Brian | |
2007-10-11 | Add a version field to __DRIextension. | Kristian Høgsberg | |
2007-10-11 | Move new texOffset extension to the new extension mechanism. | Kristian Høgsberg | |
2007-10-11 | Convert a left-over private void * to __DRIcontext *. | Kristian Høgsberg | |
2007-10-11 | Move enabling of DRI extensions into glxextensions.c | Kristian Høgsberg | |
2007-10-11 | Remove now unused getProcAddress from DRIinterfaceMethods. | Kristian Høgsberg | |
2007-10-11 | Add a DRI_ReadDrawable marker extension to signal read drawable capability. | Kristian Høgsberg | |
2007-10-11 | Move media stream counter entry points to new extension. | Kristian Høgsberg | |
2007-10-11 | Move GLX_MESA_swap_frame_usage DRI entry points to the new mechanism. | Kristian Høgsberg | |
2007-10-11 | Move GLX_MESA_allocate_memory related functions to new extension mechanism. | Kristian Høgsberg | |
2007-10-10 | Move swap_interval to new extension mechanism. | Kristian Høgsberg | |
2007-10-10 | Move the copySubBuffer extension over to the new mechanism. | Kristian Høgsberg | |
2007-10-10 | Implement new screen extension API. | Kristian Høgsberg | |
This new API lets the loader examine DRI level extensions provided by the driver in a forward compatible manner. Much of the churn in the DRI interface is adding support for new extensions or removing old, unused extensions. This new extension mechanism lets the loader query the extensions provided by the driver and implement the extensions it knows about. Deprecating extensions is done by not exporting that extension in the list, which doesn't require keeping old function pointers around to preserve ABI. | |||
2007-10-10 | Stop passing in unused fbconfigs to createNewScreen. | Kristian Høgsberg | |
2007-10-10 | Pull createNewScreen entry point into dri_util.c. | Kristian Høgsberg | |
This pulls the top level createNewScreen entry point out of the drivers and rewrites __driUtilCreateNewScreen in dri_util.c to be the new entry point. The change moves more logic into the common/ layer and changes the createNewScreen entry point to only be defined in one place. | |||
2007-10-10 | Replace open-coded major, minor, and patch version fields with __DRIversionRec. | Kristian Høgsberg | |
2007-10-10 | Convert all DRI entrypoints to take pointers to __DRI* types. | Kristian Høgsberg | |
The entrypoints take a mix of __DRIscreen * and void * (screen private) arguments (similarly for contexts and drawables). This patch does away with passing the private void pointer and always only passes the fully typed __DRIscreen pointer and always as the first argument. This makes the interface more consistent and increases type safety, and catches a bug where we would pass a screen private to DRIdrawable::getSBC. | |||
2007-10-10 | Remove screenConfigs from __DRIscreen. | Kristian Høgsberg | |
The screenConfigs field of __DRIscreen points back to the containing __GLXscreenConfigs struct. This is a serious abstraction violation; it assumes that the loader is libGL and that there *is* a __GLXscreenConfigs type in the loader. Using the containerOf macro, we can get from the __DRIscreen pointer to the containing __GLXscreenConfigs struct, at a place in the stack where the above is a valid assumption. Besides, the __DRI* structs shouldn't hold state other than the private pointer. | |||
2007-10-10 | Drop mostly unused __DRIid typedef. | Kristian Høgsberg | |
2007-10-10 | Avoid deadlock in GarbageCollectDRIDrawables. | Kristian Høgsberg | |
__glXinitialize() can't be called with the GLX lock held. Just pass in the __GLXscreenConfigs pointer so we don't have to look it up in __GLXdisplayPrivate. | |||
2007-10-10 | Drop createContext and destroyContext from DRIinterfaceMethods. | Kristian Høgsberg | |
As for createDrawable and destroyDrawable, these functions immediately upon entry to driCreateNewContext and immediately before exit from driDestroyContext. Instead of passing function pointers back and forth just obtain the drm_context_t prior to calling DRIscreen::createNewContext and pass it as a parameter. This change also lets us keep the DRI context XID in the libGL loader only. | |||
2007-10-10 | Drop createDrawable and destroyDrawable fron DRIinterfaceMethods. | Kristian Høgsberg | |
All the DRI driver did was call the createDrawable callback immediately upon entry to DRIscreen::createNewDrawable to get the drm_drawable_t. We can just call that before calling into the DRI driver and pass the returned drm_drawable_t as an argument to the DRI entry point. Likewise for destroyDrawable. Also, DRIdrawablePrivate::draw isn't used anywhere, and since the driver no longer needs the XID of the drawable we can now drop that. | |||
2007-10-10 | Key drm_i915_flip_t typedef off of the ioctl #define instead. | Kristian Høgsberg | |
2007-10-10 | Drop __DRInativeDisplay and pass in __DRIscreen pointers instead. | Kristian Høgsberg | |
Many DRI entry points took a __DRInativeDisplay pointer and a screen index as arguments. The only use for the native display pointer was to pass it back to the loader when looking up the __DRIscreen for the given screen index. Instead, let's just pass in the __DRIscreen pointer directly, which let's drop the __DRInativeDisplay type and the getScreen function. The assumption is now that the loader will be able to retrieve context from the __DRIscreen pointer when necessary. | |||
2007-10-10 | replace 'brick' with correct program name in printfs | Brian | |
2007-10-10 | fix force_s3tc_enable option | Mrc Gran | |
2007-10-10 | Ignore more generated files in progs/ | Dan Nicholson | |
Many of the directories in progs/ were missing .gitignore files or were tracking generated files. This patch is basically the process of running `make' in each directory and then finding the untracked files with `git-ls-files -o --exclude-per-directory=.gitignore'. The existing files were also sorted. | |||
2007-10-09 | Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa | Brian | |
2007-10-09 | Non Square Matrix | Zou Nan hai | |
2007-10-09 | fix for prev commit | Zou Nan hai | |
2007-10-09 | INT support | Zou Nan hai | |
2007-10-09 | shadow sampler fix. | Zou Nan hai | |
1. spec requite result (0, 0, 0, 1) instead of (0, 0, 0, 0) 2. support shadow sampler in simd8 | |||
2007-10-09 | i915: workout max relocs from batch buffer size | Dave Airlie | |
2007-10-09 | i915: fixup up bufmgr to pass num buffers to kernel | Dave Airlie | |
remove unneeded entry points | |||
2007-10-08 | i915: Fix undefined ALIGN symbol from 77e0523fb7769df4bf43747e136b1653b2421b97. | Sergio Monteiro Basto | |
2007-10-08 | Only vertex program fix, bypass tnl vertex program | Zou Nan hai | |
2007-10-07 | r300: fragprog tex instruction now take writemask into acount. | Jerome Glisse | |
2007-10-06 | nouveau: move nv10 clear command, for usage by other gpu | Patrice Mandin | |
2007-10-05 | i915: drop complex list handling for now | Dave Airlie | |
If this proves a win later we can add it back but at the moment I don't think it's required yet | |||
2007-10-05 | i915: clean up lists on teardown | Dave Airlie | |
also fix a use of uninitialised pointer | |||
2007-10-05 | Add macros to generate CreateNewScreen entrypoint. | Kristian Høgsberg | |
2007-10-05 | Remove XIDs from DRI interface (see #5714). | Kristian Høgsberg | |