Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Add vertex.attrib 0-15 to arb_input_attrib_string. | Markus Amsler | 2008-03-17 | 1 | -1/+17 |
| | |||||
* | r300: Simplify r300VAPInputRoute1. | Markus Amsler | 2008-03-17 | 1 | -7/+3 |
| | |||||
* | r300: Simplify r300VAPInputRoute0, check for valid input. | Markus Amsler | 2008-03-17 | 1 | -14/+10 |
| | |||||
* | [i965] round pointsize to nearest int according to spec | Zou Nan hai | 2008-03-17 | 1 | -2/+2 |
| | |||||
* | intel: fix the error in commit 7ed1fd5d8438e55fe24091844cdfccb0881306bc | Xiang, Haihao | 2008-03-17 | 1 | -1/+1 |
| | |||||
* | intel: It is needed to allocating texture memory to accommodate | Xiang, Haihao | 2008-03-17 | 2 | -25/+35 |
| | | | | a texture when calling TexImage with pixels set to NULL pointer. | ||||
* | intel: Remove an assertion from intel_miptree_create. TexImage | Xiang, Haihao | 2008-03-17 | 1 | -2/+4 |
| | | | | call with zero width/height/depth matches GL spec. | ||||
* | mesa: avoid to unlock an unlocked array in _mesa_PopClientAttrib | Xiang, Haihao | 2008-03-17 | 1 | -1/+1 |
| | |||||
* | mesa: Follow GL spec to draw DEPTH_COMPONENT pixels when | Xiang, Haihao | 2008-03-17 | 1 | -2/+1 |
| | | | | there's no depth buffer. Fix bug #11580 | ||||
* | [i965] fix wpos height 1 pixel higher | Zou Nan hai | 2008-03-17 | 2 | -2/+2 |
| | |||||
* | Test createNewScreen for NULL, not createNewScreenName in driCreateScreen(). | Kristian Høgsberg | 2008-03-15 | 1 | -1/+1 |
| | |||||
* | init tmpNode to zeros | Brian | 2008-03-14 | 1 | -0/+1 |
| | |||||
* | mesa: fix emit_clamp() so that we don't use an output register as temporary | Brian | 2008-03-14 | 1 | -3/+12 |
| | | | | | | IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary register for the intermediate value so we don't inadvertantly use an output register (which are write-only on some GPUs). | ||||
* | glx: fix rotation regression. bug #14963 | Xiang, Haihao | 2008-03-14 | 1 | -2/+4 |
| | |||||
* | intel: fix abort issue with shadowtex demo when use | Xiang, Haihao | 2008-03-14 | 3 | -24/+45 |
| | | | | DEPTH_STENCIL texture. (bug#14952). | ||||
* | fix state.lightprod ambient/specular w value (bug #14983) | Roland Scheidegger | 2008-03-13 | 1 | -2/+2 |
| | |||||
* | [i965] multiple rendering target support | Zou Nan hai | 2008-03-13 | 15 | -98/+135 |
| | |||||
* | libGL: Pull the drawable hash back out in the generic code. | Kristian Høgsberg | 2008-03-12 | 4 | -18/+29 |
| | | | | This will be shared between dri and dri2 code. | ||||
* | Add another missing check for uninitialized DRI. | Kristian Høgsberg | 2008-03-12 | 1 | -1/+2 |
| | | | | Spotted by Chris Taylor. | ||||
* | Move make install logic for libGL back into src/mesa/Makefile. | Kristian Høgsberg | 2008-03-10 | 3 | -17/+24 |
| | | | | | | | | | This makes make install work again for non-glx libGL implementations. The make install logic is split into three sub-targets: install-libgl, install-osmesa, install-drivers. The install target in src/glx/x11 is then implemented using the src/mesa make install-libgl rule. Thanks to Dan Nicholson for pointing out the breakage. | ||||
* | Only try to call DRI function if DRI got initialized properly. | Kristian Høgsberg | 2008-03-10 | 2 | -4/+7 |
| | |||||
* | remove extra #include of assert.h (bug 14932) | Brian | 2008-03-10 | 1 | -1/+0 |
| | |||||
* | fix parsing of state.texenv.color (bug 14931) | Brian | 2008-03-10 | 2 | -2/+4 |
| | |||||
* | dri: fix function call to add new parameter. | Dave Airlie | 2008-03-10 | 1 | -0/+1 |
| | | | | This may not be correct but it should get the build going. | ||||
* | DRI2: Make setTexBuffer take a __DRIdrawable instead of a BO handle. | Kristian Høgsberg | 2008-03-09 | 2 | -18/+16 |
| | | | | | | | | | | | | | | | | | This fixes a problem where texturing from the same Pixmap more than once per batchbuffer would hang the DRI driver. We just use the region associated with the front left renderbuffer of the __DRIdrawable for texturing, which avoids creating different regions for the same BO. This change also make GLX_EXT_texture_from_pixmap work for direct rendering, since tracking the __DRIdrawable -> BO handle now uses the standard DRI2 event buffer. Of course, DRI2 direct rendering doesn't exist yet. Finally, this commit bumps the DRI interface version again, accounting for the change in the DRI_TEX_BUFFER extension and the change in commit 0bba0e5be7a4a7275dad1edc34bdcc134ea1f424 to pass in the event buffer head index on drawable creation. | ||||
* | DRI2: Drop DriverAPI.UpdateBuffer. | Kristian Høgsberg | 2008-03-09 | 3 | -27/+23 |
| | | | | | | | __dri2ParseEvents() would determine the kind of event, but then call UpdateBuffer() in either case, and UpdateBuffer() would then have to figure that out again to dispatch to HandleBufferAttach() or HandleDrawableConfig(). Pretty pointless. | ||||
* | DRI2: Pass the context instead of the screen to __dri2ParseEvents(). | Kristian Høgsberg | 2008-03-09 | 3 | -9/+6 |
| | | | | | | Makes a lot more sense, since the screen is always implicit in the DRI drawable, but it may not be possible to track down a context from just a drawable. | ||||
* | DRI2: Add event buffer head as an argument to driCreateNewDrawable(). | Kristian Høgsberg | 2008-03-09 | 1 | -2/+3 |
| | | | | The DRI driver needs to know where in the buffer to start reading. | ||||
* | fix botched test for clearing color buffers (should fix depth peeling ↵ | Brian | 2008-03-09 | 1 | -3/+4 |
| | | | | regression) | ||||
* | Set normalized flag for GLubyte arrays in _mesa_VertexAttribPointerNV() | Markus Amsler | 2008-03-09 | 1 | -1/+2 |
| | |||||
* | init vertex weight attrib to (1,0,0,0) | Markus Amsler | 2008-03-09 | 1 | -1/+1 |
| | |||||
* | fix __builtin_expect() definition test for IBM XLC (sf bug 1909832) | Brian | 2008-03-09 | 1 | -1/+1 |
| | |||||
* | Properly revert the libGL loader path breakage. | Kristian Høgsberg | 2008-03-09 | 1 | -0/+1 |
| | |||||
* | libGL: Fall back to DEFAULT_DRIVER_DIR properly. | Kristian Høgsberg | 2008-03-09 | 1 | -1/+2 |
| | | | | | | | | After commit 6fd82f6fbd208dc7b1839ea408a5fb28589ee622, we would overwrite the libPath default value with NULL if libGL was running non-setuid and none of the env vars were set. Thanks to Magnus Kessler <[email protected]> for spotting it. | ||||
* | replace // comment with /* */ (bug 14916) | Brian | 2008-03-09 | 1 | -1/+1 |
| | |||||
* | Use _X_HIDDEN to hide a bunch of leaked symbols. | Kristian Høgsberg | 2008-03-08 | 5 | -37/+43 |
| | |||||
* | Move DRI context functions into dri_glx.c. | Kristian Høgsberg | 2008-03-08 | 7 | -129/+153 |
| | | | | Also drop isDirect flag; if gc->driContext is non-NULL, it's direct. | ||||
* | Move DRI drawable creation into dri_glx.c. | Kristian Høgsberg | 2008-03-08 | 4 | -56/+68 |
| | |||||
* | Introduce __GLXDRIscreen so we can start moving function pointers in there. | Kristian Høgsberg | 2008-03-08 | 5 | -48/+58 |
| | | | | | Temporarily rename the __DRIscreen member to __driScreen. Eventually, we'll move that into __GLXDRIscreen and only access it in dri_glx.c. | ||||
* | Move DRI specific parts of CreateContext into dri_glx.c. | Kristian Høgsberg | 2008-03-08 | 3 | -29/+43 |
| | |||||
* | Convert driCreateScreen and driDestroyScreen to function pointers. | Kristian Høgsberg | 2008-03-08 | 3 | -19/+23 |
| | | | | | We avoid leaking the symbols and will be able to replace them with DRI2 implementation later on. | ||||
* | Abstract __DRIdisplayPrivateRec away in dri_glx.c. | Kristian Høgsberg | 2008-03-08 | 5 | -101/+37 |
| | | | | | | | | This patch moves __DRIdisplayPrivateRec definition into dri_glx.c and let's dri_glx.c allocate the __DRIdisplay struct pointer to from __GLXdisplayPrivate. A small step towards moving more of the dri functionality into dri_glx.c. | ||||
* | Make __glXCloseDisplay static instead of prototyping it to avoid warning. | Kristian Høgsberg | 2008-03-08 | 1 | -9/+1 |
| | |||||
* | Move libGL install target to the libGL Makefile. | Kristian Høgsberg | 2008-03-08 | 3 | -17/+16 |
| | |||||
* | Simplify LIBGL_DRIVERS_PATH walking. | Kristian Høgsberg | 2008-03-08 | 1 | -76/+19 |
| | |||||
* | Simplify dri loading code by eliminating dlopen "cache". | Kristian Høgsberg | 2008-03-08 | 4 | -185/+46 |
| | | | | | | | No need to jump through hoops to track __DRIdrivers and avoid dlopening the same .so more than twice, dlopen() does this internally. Besides, we were already bypassing this and dlopening drivers for each screen, whether or not they were already dlopened. | ||||
* | libGL: Consolidate DRI initialization in dri_glx.c | Kristian Høgsberg | 2008-03-08 | 3 | -406/+411 |
| | | | | Move a lot of code over from glx_ext.c. | ||||
* | [intel] Only enable GL_EXT_texture_sRGB on i965. | Kristian Høgsberg | 2008-03-07 | 1 | -1/+1 |
| | | | | Fixes #14799. | ||||
* | [i965] fix fd.o bug #11471 and #11478 | Zou Nan hai | 2008-03-07 | 3 | -8/+23 |
| | | | | | 1. Follow EXT_texture_rectangle with YCbCr texture 2. swap UV component for MESA_FORMAT_YCBCR | ||||
* | i965: use RGB565 to render a bitmap if Depth is 16 | Xiang, Haihao | 2008-03-07 | 1 | -10/+10 |
| |