Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2007-10-10 | Remove screenConfigs from __DRIscreen. | Kristian Høgsberg | 13 | -61/+54 | |
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 | 4 | -8/+7 | |
2007-10-10 | Avoid deadlock in GarbageCollectDRIDrawables. | Kristian Høgsberg | 1 | -8/+2 | |
__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 | 6 | -53/+27 | |
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 | 6 | -63/+24 | |
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 | 1 | -1/+1 | |
2007-10-10 | Drop __DRInativeDisplay and pass in __DRIscreen pointers instead. | Kristian Høgsberg | 26 | -434/+405 | |
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-05 | Add macros to generate CreateNewScreen entrypoint. | Kristian Høgsberg | 2 | -5/+20 | |
2007-10-05 | Remove XIDs from DRI interface (see #5714). | Kristian Høgsberg | 11 | -320/+213 | |
2007-10-05 | Pull in the drm hash. | Kristian Høgsberg | 3 | -1/+429 | |
2007-10-04 | [965] Replace various alignment code with a shared ALIGN() macro. | Eric Anholt | 18 | -41/+33 | |
In the process, fix some alignment issues: - Scratch space allocation was aligned into units of 1KB, while the allocation wanted units of bytes, so we never allocated enough space for scratch. - GRF register count was programmed as ALIGN(val - 1, 16) / 16 instead of ALIGN(val, 16) / 16 - 1, which overcounted for val != 16n+1. | |||||
2007-10-04 | Replace bmBufferOffset usage in batchbuffer setup with OUT_RELOC. | Eric Anholt | 3 | -15/+29 | |
This is in preparation for 965 TTM. | |||||
2007-10-04 | Replace duplicated intel_reg.h with a shared header. | Eric Anholt | 7 | -167/+42 | |
2007-10-04 | Replace some structure-based batch preparation with plain OUT_BATCH. | Eric Anholt | 2 | -32/+29 | |
OUT_BATCH is far more amenable to the upcoming relocations being done for TTM support. | |||||
2007-10-04 | FreeBSD: more /usr/X11R6->/usr/local | Eric Anholt | 1 | -4/+4 | |
2007-10-04 | nouveau: Replace removed device classes with their proper labels. | Maarten Maathuis | 1 | -33/+33 | |
2007-10-03 | minor fog calc cleanup | Roland Scheidegger | 1 | -12/+8 | |
2007-10-03 | i915: Only align texture pitch to 64 bytes when textures can be render targets. | Michel Dänzer | 1 | -8/+16 | |
2007-10-03 | i915: Work around texture pitch related performance drops on i915 at least. | Michel Dänzer | 1 | -1/+10 | |
2007-10-01 | updated glext.h license info (Khronos), plus other clean-ups | Brian | 1 | -13/+16 | |
2007-09-29 | fix VBO-split infinite loop (bug 12164) | Brian | 1 | -4/+3 | |
2007-09-29 | r200: Implement SetTexOffset hook. | Chris Rankin | 5 | -32/+76 | |
Implementation guidance by Michel Dänzer, final testing by Timo Aaltonen. | |||||
2007-09-28 | add support for LDFLAGS env var | Dan Nicholson | 35 | -77/+87 | |
2007-09-28 | update the DRM/DRI instructions | Brian | 1 | -36/+17 | |
2007-09-28 | Remove test for EXT_blend_logic_op in glGetString when determining GL version. | Brian | 2 | -2/+1 | |
EXT_blend_logic_op is slightly different from GL 1.1's RGBA logicop mode and does not have to be supported. Per conversation with Roland. | |||||
2007-09-28 | Go back to using old drm_i915_flip_t field name | Jesse Barnes | 1 | -4/+4 | |
This field shouldn't have been renamed in the first place. Go back to using the old name so that the tree is backward and forward compatible again. | |||||
2007-09-27 | [965] Add batchbuffer dumping under INTEL_DEBUG=bat, like 915. | Eric Anholt | 11 | -851/+1001 | |
2007-09-27 | FreeBSD: Chase /usr/X11R6 death (replaced by everything in one prefix). | Eric Anholt | 1 | -2/+2 | |
2007-09-27 | Revert "WIP 965 conversion to dri_bufmgr." | Eric Anholt | 26 | -220/+1617 | |
This reverts commit b2f1aa2389473ed09170713301b042661d70a48e. Somehow I ended up with my branch's save-this-while-I-work-on-master commit actually on master. | |||||
2007-09-27 | WIP 965 conversion to dri_bufmgr. | Eric Anholt | 26 | -1617/+220 | |
2007-09-27 | [965] Remove AUB file support. | Eric Anholt | 23 | -1244/+42 | |
This code existed to dump logs of hardware access to be replayed in simulation. Since we have real hardware now, it's not really needed. | |||||
2007-09-27 | for Miniglx, use git sources | Brian | 1 | -0/+6 | |
2007-09-27 | Restore old _TriangleCaps code to fix Blender problem (bug 12164) | Brian | 7 | -1/+79 | |
2007-09-27 | tweak point rast to fix conform failure | Brian | 1 | -4/+6 | |
2007-09-27 | i965: handle all unfilled mode in clip stage. fix bug #12453 | Xiang, Haihao | 1 | -0/+4 | |
2007-09-27 | mesa: make sure the gotten value isn't greater than the | Xiang, Haihao | 1 | -2/+5 | |
max depth buffer value on 64bit system. fix bug #12095 | |||||
2007-09-27 | fix ppracer and bzflag issue with clip optimization | Zou Nan hai | 1 | -1/+0 | |
2007-09-27 | i915/i965 merge serer directories along lines for radeon/r200 | Dave Airlie | 6 | -1896/+33 | |
2007-09-26 | i965: The cube map texture coordinates must be devided by the | Xiang, Haihao | 1 | -1/+51 | |
component with the largest absolute value before they are delivered. fix bug #12421 | |||||
2007-09-26 | fix a bug in 965 ARB_occlusion_query, | Zou Nan hai | 1 | -2/+2 | |
fd.o bug #12132 | |||||
2007-09-25 | drm: update bufmgr code to reflect changes in drm interface | Dave Airlie | 1 | -2/+2 | |
2007-09-24 | [i965] Bug #11812: Fix fwrite return value checks in AUB file code. | Roland Bär | 1 | -8/+8 | |
2007-09-24 | Remove leftover code for i915_texprog.c noticed in crossbar review. | Eric Anholt | 3 | -25/+0 | |
2007-09-24 | Fix progs/tests/ build with BSD make. | Eric Anholt | 1 | -18/+16 | |
2007-09-24 | Update .gitignore for tests and xdemos. | Eric Anholt | 2 | -0/+27 | |
2007-09-24 | Just use stddef.h to get ptrdiff_t instead of obsolete malloc.h. | Eric Anholt | 3 | -15/+3 | |
2007-09-24 | Move i915tex driver into place as just i915. | Eric Anholt | 79 | -2/+2 | |
2007-09-24 | Remove the old i915 driver now that i915tex works without TTM. | Eric Anholt | 50 | -21710/+2 | |
2007-09-24 | fix fd.o bug #12217, recalcuate urb when clip plane size change | Zou Nan hai | 1 | -1/+1 | |
2007-09-23 | fix DrawRangeElements error msg | Brian | 1 | -1/+1 | |