aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/swrast
Commit message (Collapse)AuthorAgeFilesLines
...
* Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg2010-10-132-11/+11
|
* Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg2010-10-131-4/+4
|
* dri: Unset current context and dispatch table when unbindingKristian Høgsberg2010-09-081-0/+4
| | | | | | | | Otherwise, when we switch to an indirect glx context and then back, it looks like we're still current. https://bugs.freedesktop.org/show_bug.cgi?id=29977#c7 Signed-off-by: Kristian Høgsberg <[email protected]>
* dri/swrast: Remove unnecessary header.Vinson Lee2010-06-021-1/+0
|
* swrast: add TFP support to swrast.Dave Airlie2010-05-311-0/+69
| | | | | | | | | This adds TFP support to the swrast driver, with this I can run gnome-shell inside Xephyr slowly. I've no idea why I did it, and g-s has other rendering issues under swrast, but it might be useful to hook up llvmpipe later. I've no idea if I even want to commit it at this point. An enhanced version might just pass the pointer in the indirect rendering case and avoid the memcpy. Signed-off-by: Dave Airlie <[email protected]>
* driswrast: Fix more context creation breakageKristian Høgsberg2010-05-031-1/+2
| | | | Pointed out by Colin Harrison.
* drisw: Move pointer dereferences to after NULL checks.Vinson Lee2010-04-161-2/+4
|
* drisw: add comment to libGL about strideGeorge Sapountzis2010-03-271-0/+1
|
* drisw: make stride issue profoundGeorge Sapountzis2010-03-272-13/+13
|
* Merge branch '7.8'Michel Dänzer2010-03-262-7/+12
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_mipmap_tree.c - left what was in master
| * dri/swrast: Fix frontbuffer rendering.Michel Dänzer2010-03-261-6/+11
| | | | | | | | | | Was broken since the endianness fixes. (cherry picked from commit 4cf14fa80bda5f4ea65bef3a64e748e064d0bde1)
| * dri/swrast: Fix missed conversion of one pixel pointer increment.Michel Dänzer2010-03-261-1/+1
| | | | | | | | | | This probably broke the swrast DRI driver when running X in depth 16. (cherry picked from commit 6ec259eb17dfbb74972b8cffb4e02a9dbab288cc)
* | rename dri_sw to drisw_util for consistencyGeorge Sapountzis2010-03-212-2/+2
| |
* | dri_inteface: add define for checking presence of drm.hGeorge Sapountzis2010-03-211-0/+2
| | | | | | | | | | | | | | __NOT_HAVE_DRM_H is a like a feature, defined by default on specific platforms and allows to be defined externally as well. __NOT_HAVE_DRM_H should only be used by xserver and mesa swrast_dri drivers
* | dri/swrast: add comment in case it's not clearGeorge Sapountzis2010-03-151-2/+2
| |
* | dri/swrast: update copyright emailGeorge Sapountzis2010-03-153-11/+3
| |
* | dri/swrast: port to dri_sw (drawable)George Sapountzis2010-03-153-18/+59
| |
* | dri/swrast: port to dri_sw (context)George Sapountzis2010-03-153-20/+56
| |
* | dri/swrast: port to dri_swGeorge Sapountzis2010-03-153-180/+100
|/
* DRI/swrast: Remove color-index support from DRI swrast driverIan Romanick2010-03-034-105/+27
| | | | | | | | | It appears that color-index rendering wasn't actually supported anyway. swrastFillInModes did not previously create an color-index configs, so it doesn't seem like there would be any way to get a color-index visual. Signed-off-by: Ian Romanick <[email protected]>
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-191-2/+2
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-12/+12
|
* dri: Allow selective generation of accum. buffer configsIan Romanick2010-02-101-1/+2
| | | | | | | | | | | Modify the interface to driCreateConfigs allowing drivers to not expose configs with an accumuation buffer. All of the drivers calling function have been updated to pass true for the accumulation selector. This maintains the current behavior. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> Reviewed-by: Corbin Simpson <[email protected]>
* mesa: Factor out the fb initialization details from _mesa_new_framebuffer.Francisco Jerez2010-02-031-1/+1
| | | | | | | | | | | This should make things easier for drivers wanting to work with a "subclass" of gl_framebuffer. The complementary "_mesa_initialize_framebuffer" function is now called "_mesa_initialize_window_framebuffer" for the sake of symmetry. Signed-off-by: Brian Paul <[email protected]>
* Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-11-301-43/+29
|\ | | | | | | | | | | | | Conflicts: progs/util/shaderutil.c src/mesa/drivers/dri/r600/r600_context.c src/mesa/main/version.h
| * Fix the DRI swrast driver for big endian platforms.Michel Dänzer2009-11-231-43/+29
| | | | | | | | | | | | Too bad I didn't realize earlier how easy this could be... Fixes http://bugs.freedesktop.org/show_bug.cgi?id=22767 .
* | Merge branch 'texformat-rework'Brian Paul2009-10-281-17/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
| * | mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul2009-10-081-17/+6
| | | | | | | | | | | | | | | | | | _ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
* | | mesa: Enable remap table in core.Chia-I Wu2009-10-231-73/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <[email protected]>
* | | mesa: lift default symlinks target into Makefile.templateBrian Paul2009-10-161-1/+0
|/ / | | | | | | Driver Makefiles can still add symlink dependencies/rules if needed.
* | Merge branch 'asm-shader-rework-2'Ian Romanick2009-09-251-0/+1
|\ \ | | | | | | | | | | | | Conflicts: src/mesa/shader/program_parse.tab.c
| * \ Merge branch 'master' into asm-shader-rework-2Ian Romanick2009-09-101-0/+6
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/shader/lex.yy.c src/mesa/shader/program_parse.tab.c src/mesa/shader/program_parse.tab.h
| * | | Enable GL_NV_fragment_program_option for software renderingIan Romanick2009-09-031-0/+1
| | | | | | | | | | | | | | | | At this point the extension is not fully implemented.
* | | | dri/swrast: call _mesa_meta_init/free()Brian Paul2009-09-201-0/+4
| |/ / |/| |
* | | mesa: Add support for ARB_draw_elements_base_vertex.Eric Anholt2009-09-081-0/+2
| | |
* | | mesa: Expose NV_depth_clamp if ARB_depth_clamp is supported.Eric Anholt2009-09-081-0/+1
| | | | | | | | | | | | | | | | | | The wording of these two is exactly the same, except for the issue "Can fragments with wc<=0 be generated when this extension is supported?", which idr thinks is a non-issue for us.
* | | mesa: Add support for ARB_depth_clamp.Eric Anholt2009-09-081-0/+1
| |/ |/| | | | | | | This currently doesn't include fixing up the cliptests in the assembly paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
* | ARB sync / swrast: Use GL_ARB_sync_functions instead of GL_ARB_sync. Oops.Ian Romanick2009-09-031-1/+1
| |
* | ARB sync: Add support for GL_ARB_sync to swrastIan Romanick2009-09-031-0/+2
|/ | | | | This isn't quite right yet. The delete behavior and the context clean-up needs some work.
* swrast: enable ARB_vertex_array_object.Eric Anholt2009-07-291-0/+2
| | | | It was getting enabled anyway but without the entrypoints installed. Whoops.
* mesa: remove last of _mesa_unreference_framebuffer() callsBrian Paul2009-03-071-1/+1
|
* intel: Add x8r8g8b8 visuals to DRI1 fbconfigs alongside a8r8gb8.Eric Anholt2009-02-101-4/+5
| | | | | This involved fixing driConcatConfigs to not return const (which had made a mess of a previous patch too).
* gallium: Fixups for driCreateConfigs MSAA support.Michel Dänzer2009-02-101-1/+4
| | | | Add the MSAA samples array or make sure its contents are initialized.
* swrast: Add support for x8r8g8b8 fbconfig.Eric Anholt2009-02-033-33/+121
| | | | | This lets swrast produce an fbconfig suitable for the root visual now that the server's not allowing mismatched fbconfigs.
* intel: Expose more FBconfigs in the 3D driver.Eric Anholt2009-01-301-4/+4
| | | | | | We can support any combination of (a8r8g8b8, x8r8g8b8, r5g6b5) x (z0,z24,z24s8) on either class of chipsets. The only restriction is no mixing bpp when also mixing tiling. This shouldn't be occurring currently.
* Make GL_{EXT,SUN}_multi_draw_arrays and GL_IBM_multimode_draw_arrays mandatoryIan Romanick2009-01-281-2/+0
| | | | Signed-off-by: Ian Romanick <[email protected]>
* swrast: Enable GL_EXT_stencil_two_sideIan Romanick2009-01-231-0/+2
|
* swrast: Fix GL_ATI_separate_stencilIan Romanick2009-01-091-0/+2
| | | | | | GL_ATI_separate_stencil is enabled by default for software rasterizers, but the extension functions weren't hooked up to the dispatch table.
* mesa: standardize on C99's uint*_t instead of u_int*_tKeith Whitwell2008-09-211-2/+2
|
* mesa: fix asst path/include mistakes in prev commitsChris Rankin2008-09-181-1/+1
|