History log of /external/mesa3d/src/mesa/drivers/dri/common/utils.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a4bf68ca50da0ce291a464aec9b03a469ab2561a 02-Aug-2012 Chad Versace <chad.versace@linux.intel.com> dri: Simplify use of driConcatConfigs

If either argument to driConcatConfigs(a, b) is null or the empty list,
then simply return the other argument as the resultant list.

All callers were accomplishing that same behavior anyway. And each caller
accopmplished it with the same pattern. So this patch moves that external
pattern into the function.

Reviewed-by: <eric@anholt.net>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
ceda4da8573cca85e02d0e7c2db41f9151683321 03-Nov-2011 George Sapountzis <gsapountzis@gmail.com> dri: move __driUtilMessage to xmlconfig.c

__driUtilMessage seems to have fallen out of favor and is only used by xmlconfig.c now
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
6c26d998efd18d8a741e378c411645c494abbb31 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Remove a few unused dri helper functions
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
5a175127f38aa02d2b8169b1b6d08a2d4be3d36f 23-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> dri: Remove all extension enabling utility functions

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
0fe34b7bbc9a8e089bbb4d0fe401b09095a571eb 01-Mar-2011 Ian Romanick <ian.d.romanick@intel.com> dri: Remove driver date from renderer string

Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
6538b5824e298eaebede2d9686c7607c44ab446a 06-Mar-2011 Dave Airlie <airlied@redhat.com> glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB.

This realigns the name of the glx bit to align with the core mesa names.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
670207e6d0f0c5a25a709a4b83987d379ee4b8fe 02-Nov-2010 Brian Paul <brianp@vmware.com> dri/util: add a bunch of comments
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
31aca27c08d6a385c595d34fe4ee06390bf5b0e8 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLframebuffer typedef and just use struct gl_framebuffer
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
d3491e775fb07f891463b2185d74bbad62f3ed24 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Rename GLvisual and __GLcontextModes to struct gl_config
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
705e142dda047f24b563fc2bea0f922173e91d1b 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> gl: Remove unused GLcontextModes fields
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
4da5f1b7c52fb02a3b2baa846931c2dd5ee1b92e 27-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Force GL_ARB_copy_buffer to always be enabled

As per discussions at XDS.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
631a1a9ac8b97dec172205e13e33ef51f28bb1c0 14-Mar-2010 George Sapountzis <gsapountzis@gmail.com> dri/common: mv __driUtilMessage to utils.c

allows to link with xmlconfig without dri_util, and has nothing drm-specific.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
c7f7a309af54c76eccb451aa0c4f007656ebe7e1 04-Mar-2010 Ian Romanick <ian.d.romanick@intel.com> DRI: Put back missing break-statement

The break in the __DRI_ATTRIB_RENDER_TYPE case was accidentally
removed in commit 5cf2c5851bcd29c2d53bb04ab692b4b156f5a74d. This puts
it back.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
5cf2c5851bcd29c2d53bb04ab692b4b156f5a74d 25-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> DRI: Remove support for color-index visuals

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
25da8e66f8f9b5a6a20ba95412e80b1f422f48d0 26-Feb-2010 George Sapountzis <gsapountzis@gmail.com> remove hack for miniglx from dri/utils.c
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
32f2fd1c5d6088692551c80352b7d6fa35b0cd09 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
3cce4a1e10361458630511543b7a8a6438544775 08-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> dri: Allow selective generation of accum. buffer configs

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 <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
4736e1cbbd4e2cf7fa4c67a728d520edc67e920f 21-Jan-2010 Chia-I Wu <olvaffe@gmail.com> dri: Remove unnecessary glapi headers.

They are not used at all.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
17ef1f6074d6107c167f1956a5c60993904c0b72 08-Oct-2009 Chia-I Wu <olvaffe@gmail.com> mesa: Enable remap table in core.

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 <olvaffe@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
6dd9c221012d5e091b2ede90d9b2a6f0383abd58 24-Mar-2009 Alan Coopersmith <alan.coopersmith@sun.com> Convert u_int*_t to C99 standard uint*_t

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
bed3a8e1f6049a5c01d16004fc9a65225103ab9b 05-Mar-2009 Brian Paul <brianp@vmware.com> mesa: call _mesa_get_cpu_string() to get CPU info for GL_RENDERER string
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
5d5ae371eaeca7e33e638af3aee1ae8e162db0a7 10-Feb-2009 Eric Anholt <eric@anholt.net> intel: Add x8r8g8b8 visuals to DRI1 fbconfigs alongside a8r8gb8.

This involved fixing driConcatConfigs to not return const (which had made a
mess of a previous patch too).
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
e97681c7f551a2a2a6bd5eff0f4192a870c816c0 09-Feb-2009 Brian Paul <brianp@vmware.com> mesa: merge gallium-0.2 into gallium-master-merge

Merge commit 'origin/gallium-0.2' into gallium-master-merge

Conflicts:

Makefile
docs/relnotes-7.4.html
docs/relnotes.html
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/main/imports.c
src/mesa/main/mtypes.h
src/mesa/main/texcompress.c
src/mesa/main/texenvprogram.c
src/mesa/main/version.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_draw.c
3ee21f30cda27e0ee1357f930163526622ba9434 29-Jan-2009 Eric Anholt <eric@anholt.net> intel: Expose more FBconfigs in the 3D driver.

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.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
8aa209c766b79144db499063dd1c8482562b07bf 28-Jan-2009 Ian Romanick <idr@freedesktop.org> Make GL_ARB_draw_buffers mandatory

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
474cda6fa912a766821d20b5b21d6eeba6ea9225 28-Jan-2009 Ian Romanick <idr@freedesktop.org> Make GL_{EXT,SUN}_multi_draw_arrays and GL_IBM_multimode_draw_arrays mandatory

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
82b9661894315362f857192439bdcbc9db090387 28-Jan-2009 Ian Romanick <idr@freedesktop.org> Make GL_ARB_vertex_buffer_object mandatory

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
33fa5e4bfad8005f09ad3c9fc92c40fa863935d1 28-Jan-2009 Ian Romanick <idr@freedesktop.org> Make GL_ARB_texture_compression mandatory

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
9644fa6c48f596875f6955728c3a8af1b01a5028 21-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Merge branch 'master' into gallium-0.2

Conflicts:

include/GLES/egl.h
include/GLES/egltypes.h
src/egl/main/eglconfig.c
src/egl/main/eglconfig.h
src/glu/sgi/libnurbs/interface/bezierEval.h
src/glu/sgi/libnurbs/interface/bezierPatch.h
src/glu/sgi/libnurbs/interface/bezierPatchMesh.h
src/glu/sgi/libnurbs/internals/dataTransform.h
src/glu/sgi/libnurbs/internals/displaymode.h
src/glu/sgi/libnurbs/internals/sorter.h
src/glu/sgi/libnurbs/nurbtess/definitions.h
src/glu/sgi/libnurbs/nurbtess/directedLine.h
src/glu/sgi/libnurbs/nurbtess/gridWrap.h
src/glu/sgi/libnurbs/nurbtess/monoChain.h
src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h
src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h
src/glu/sgi/libnurbs/nurbtess/partitionX.h
src/glu/sgi/libnurbs/nurbtess/partitionY.h
src/glu/sgi/libnurbs/nurbtess/polyDBG.h
src/glu/sgi/libnurbs/nurbtess/polyUtil.h
src/glu/sgi/libnurbs/nurbtess/primitiveStream.h
src/glu/sgi/libnurbs/nurbtess/quicksort.h
src/glu/sgi/libnurbs/nurbtess/rectBlock.h
src/glu/sgi/libnurbs/nurbtess/sampleComp.h
src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h
src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h
src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h
src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h
src/glu/sgi/libnurbs/nurbtess/sampledLine.h
src/glu/sgi/libnurbs/nurbtess/searchTree.h
src/glu/sgi/libnurbs/nurbtess/zlassert.h
src/glu/sgi/libutil/error.c
src/glu/sgi/libutil/glue.c
src/glu/sgi/libutil/gluint.h
src/glu/sgi/libutil/project.c
src/glu/sgi/libutil/registry.c
src/glx/x11/Makefile
src/glx/x11/glxclient.h
src/glx/x11/glxext.c
src/mesa/drivers/dri/ffb/ffb_dd.h
src/mesa/drivers/dri/ffb/ffb_points.h
src/mesa/drivers/dri/gamma/gamma_context.h
src/mesa/drivers/dri/gamma/gamma_macros.h
src/mesa/drivers/dri/i810/i810context.h
src/mesa/drivers/dri/r128/r128_dd.h
src/mesa/drivers/dri/r128/r128_tex.h
src/mesa/drivers/dri/tdfx/tdfx_dd.h
src/mesa/drivers/x11/xm_buffer.c
src/mesa/glapi/glapi.c
src/mesa/main/dispatch.c
src/mesa/main/state.c
src/mesa/main/texstate.c
src/mesa/shader/arbprogparse.c
src/mesa/shader/arbprogram.c
src/mesa/shader/nvfragparse.c
src/mesa/shader/nvprogram.c
src/mesa/shader/shader_api.c
src/mesa/sources
src/mesa/swrast/s_aaline.c
src/mesa/swrast/s_aaline.h
src/mesa/swrast/s_aatriangle.h
src/mesa/swrast/s_accum.c
src/mesa/swrast/s_alpha.h
src/mesa/swrast/s_bitmap.c
src/mesa/swrast/s_blend.h
src/mesa/swrast/s_context.c
src/mesa/swrast/s_copypix.c
src/mesa/swrast/s_depth.c
src/mesa/swrast/s_depth.h
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_drawpix.h
src/mesa/swrast/s_feedback.c
src/mesa/swrast/s_feedback.h
src/mesa/swrast/s_fog.h
src/mesa/swrast/s_lines.h
src/mesa/swrast/s_logic.h
src/mesa/swrast/s_masking.h
src/mesa/swrast/s_points.c
src/mesa/swrast/s_points.h
src/mesa/swrast/s_readpix.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_span.h
src/mesa/swrast/s_stencil.h
src/mesa/swrast/s_texcombine.c
src/mesa/swrast/s_texcombine.h
src/mesa/swrast/s_texfilter.c
src/mesa/swrast/s_texfilter.h
src/mesa/swrast/s_texstore.c
src/mesa/swrast/s_triangle.c
src/mesa/swrast/s_triangle.h
src/mesa/swrast/s_zoom.h
src/mesa/swrast_setup/ss_context.c
src/mesa/swrast_setup/ss_triangle.h
src/mesa/tnl/t_draw.c
src/mesa/tnl/t_vb_light.c
src/mesa/tnl/t_vertex_generic.c
src/mesa/tnl/t_vertex_sse.c
src/mesa/tnl/t_vp_build.h
src/mesa/tnl/tnl.h
src/mesa/x86/common_x86.c
5a46e176715b0eae7b8a715e8aec42f5a27214fc 20-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: standardize on C99's uint*_t instead of u_int*_t
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
256592807cea9d543d13c1bb04d3f82852293f5c 19-Sep-2008 Alan Hourihane <alanh@tungstengraphics.com> bug fix to MSAA visuals
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
f7d80aa00611917bc8ce637136d982b151b8f44f 19-Sep-2008 Alan Hourihane <alanh@tungstengraphics.com> re-add MSAA support
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
ecadb51bbcb972a79f3ed79e65a7986b9396e757 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: added "main/" prefix to includes, remove some -I paths from Makefile.template
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
0397b2bb41b0f337af2949a15bcd7d0e7e8a7dc1 11-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Merge branch 'gallium-0.1' into gallium-0.2

A first attempt at moving gallium onto a branch directly off master...

It will be interesting to see how much work this takes to get running.

Have resolved the conflicts semi-arbitarily, not compiled or tested.

Conflicts:

.gitignore
Makefile
configs/config.mgw
configs/darwin
configs/darwin-x86ppc
configs/default
configs/freebsd-dri
configs/linux-dri
configs/linux-dri-xcb
configs/linux-fbdev
configs/linux-static
configs/linux-x86-64-static
configs/linux-x86-static
doxygen/Makefile
include/GL/gl.h
progs/demos/Makefile
progs/demos/descrip.mms
progs/demos/texenv.c
progs/egl/.gitignore
progs/egl/Makefile
progs/glsl/.gitignore
progs/glsl/Makefile
progs/glsl/convolutions.c
progs/samples/Makefile.mgw
progs/tests/.gitignore
progs/trivial/.gitignore
progs/trivial/point-param.c
progs/trivial/tri.c
progs/xdemos/.gitignore
progs/xdemos/glthreads.c
src/egl/drivers/demo/Makefile
src/egl/drivers/dri/Makefile
src/egl/main/Makefile
src/glu/Makefile
src/glu/sgi/Makefile
src/glu/sgi/Makefile.mgw
src/glut/glx/Makefile.mgw
src/glut/os2/WarpWin.cpp
src/glut/os2/glut_cindex.cpp
src/glut/os2/glut_gamemode.cpp
src/glut/os2/glut_win.cpp
src/glut/os2/glut_winmisc.cpp
src/glut/os2/os2_glx.cpp
src/glut/os2/os2_menu.cpp
src/glut/os2/os2_winproc.cpp
src/glw/Makefile
src/glx/x11/dri_glx.c
src/glx/x11/glxext.c
src/mesa/Makefile
src/mesa/Makefile.mgw
src/mesa/descrip.mms
src/mesa/drivers/beos/Makefile
src/mesa/drivers/common/descrip.mms
src/mesa/drivers/common/driverfuncs.c
src/mesa/drivers/directfb/Makefile
src/mesa/drivers/dri/Makefile.template
src/mesa/drivers/dri/common/dri_bufmgr.c
src/mesa/drivers/dri/common/dri_bufmgr.h
src/mesa/drivers/dri/common/dri_util.c
src/mesa/drivers/dri/common/extension_helper.h
src/mesa/drivers/dri/common/mmio.h
src/mesa/drivers/dri/common/utils.c
src/mesa/drivers/dri/common/utils.h
src/mesa/drivers/dri/glcore/Makefile
src/mesa/drivers/dri/i810/i810screen.c
src/mesa/drivers/dri/i915/intel_ioctl.c
src/mesa/drivers/dri/i915/intel_ioctl.h
src/mesa/drivers/dri/i915/intel_screen.c
src/mesa/drivers/dri/i915/server/i830_common.h
src/mesa/drivers/dri/i915/server/i830_dri.h
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/server/i830_common.h
src/mesa/drivers/dri/i965/server/i830_dri.h
src/mesa/drivers/dri/mach64/mach64_screen.c
src/mesa/drivers/dri/nouveau/nouveau_context.h
src/mesa/drivers/dri/nouveau/nouveau_fifo.c
src/mesa/drivers/dri/nouveau/nouveau_fifo.h
src/mesa/drivers/dri/nouveau/nouveau_screen.c
src/mesa/drivers/dri/nouveau/nouveau_screen.h
src/mesa/drivers/dri/r128/r128_tex.h
src/mesa/drivers/dri/savage/savageioctl.h
src/mesa/drivers/fbdev/Makefile
src/mesa/drivers/osmesa/Makefile
src/mesa/drivers/osmesa/descrip.mms
src/mesa/drivers/x11/Makefile
src/mesa/drivers/x11/descrip.mms
src/mesa/drivers/x11/xm_dd.c
src/mesa/glapi/glapi.c
src/mesa/glapi/glthread.c
src/mesa/main/api_validate.c
src/mesa/main/attrib.c
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/main/buffers.c
src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/descrip.mms
src/mesa/main/drawpix.c
src/mesa/main/enums.c
src/mesa/main/fbobject.c
src/mesa/main/glheader.h
src/mesa/main/imports.c
src/mesa/main/mipmap.c
src/mesa/main/mm.c
src/mesa/main/mm.h
src/mesa/main/mtypes.h
src/mesa/main/points.c
src/mesa/main/sources
src/mesa/main/state.c
src/mesa/main/texcompress_fxt1.c
src/mesa/main/texenvprogram.c
src/mesa/main/texobj.c
src/mesa/main/texstate.c
src/mesa/main/texstore.c
src/mesa/math/descrip.mms
src/mesa/shader/arbprogram.c
src/mesa/shader/descrip.mms
src/mesa/shader/prog_execute.c
src/mesa/shader/prog_statevars.c
src/mesa/shader/prog_statevars.h
src/mesa/shader/prog_uniform.c
src/mesa/shader/program.c
src/mesa/shader/program.h
src/mesa/shader/shader_api.c
src/mesa/shader/slang/descrip.mms
src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
src/mesa/sources
src/mesa/swrast/descrip.mms
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_fragprog.c
src/mesa/swrast/s_readpix.c
src/mesa/swrast/s_span.c
src/mesa/swrast_setup/descrip.mms
src/mesa/tnl/descrip.mms
src/mesa/tnl/t_context.h
src/mesa/tnl/t_vp_build.c
src/mesa/tnl/tnl.h
src/mesa/vbo/descrip.mms
src/mesa/vbo/vbo_context.c
src/mesa/vbo/vbo_exec_array.c
src/mesa/x86-64/xform4.S
src/mesa/x86/rtasm/x86sse.c
src/mesa/x86/rtasm/x86sse.h
windows/VC6/progs/glut/glut.dsp
windows/VC7/mesa/gdi/gdi.vcproj
windows/VC7/mesa/glu/glu.vcproj
windows/VC7/mesa/mesa.sln
windows/VC7/mesa/mesa/mesa.vcproj
windows/VC7/mesa/osmesa/osmesa.vcproj
windows/VC7/progs/glut/glut.vcproj
windows/VC8/mesa/gdi/gdi.vcproj
windows/VC8/mesa/glu/glu.vcproj
windows/VC8/mesa/mesa.sln
windows/VC8/mesa/mesa/mesa.vcproj
windows/VC8/progs/glut/glut.vcproj
1724334d7c82abe55b6506dfe369df4facae6f06 09-Aug-2008 Dave Miller <davem@davemloft.net> dri: fix crash in driGetConfigAttribIndex

Accessing a GLboolean via an int pointer on big-endian == bad.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
eb9efc6ad5544b8c643f81c03fcc09438aa0316c 09-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: disable fprintf() error
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
429a08384c2ea66d446e46beb28e33ee3b764d52 27-Jun-2008 Roland Scheidegger <sroland@tungstengraphics.com> gallium: handle msaa
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
2e328dcde2be8174b2a78936206ced71b03b2b57 24-Jun-2008 José Fonseca <jrfonseca@tungstengraphics.com> mesa/dri: User standard integer types.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
6f7ed99b306990f284f9d57c0b66efaa7f2277e1 12-Jun-2008 Alan Hourihane <alanh@tungstengraphics.com> revert the DRI2 commits
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
4566b006f1a6bbdb96871e511e10e16f18bad23e 10-Jun-2008 Alan Hourihane <alanh@tungstengraphics.com> Bring in DRI2 changes
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
b4a4829cd50f7110ddbdd0770297cd845ab4764d 23-May-2008 George Sapountzis <gsap7@yahoo.gr> dri: add support for generating 3_3_2 configs
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
c95e66120be049ee51ff84868b1da3379b312fab 11-May-2008 George Sapountzis <gsap7@yahoo.gr> Make utils.h self-contained.

Move stuff with drm dependencies to dri_util.h, and move a couple of
types without drm dependencies to utils.h.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
dc836edf49a08a7fd77fc1f127818b0550558581 03-Apr-2008 Kristian Høgsberg <krh@redhat.com> Initialize GLX_EXT_texture_from_pixmap attributes correctly.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
e82dd8c6e1fa2fff5b960de26961080ba5e9651d 27-Mar-2008 Kristian Høgsberg <krh@redhat.com> DRI interface changes and DRI2 direct rendering support.

Add DRI2 direct rendering support to libGL and add DRI2 client side
protocol code. Extend the GLX 1.3 create drawable functions in
glx_pbuffer.c to call into the DRI driver when possible.

Introduce __DRIconfig, opaque struct that represents a DRI driver
configuration. Get's rid of the open coded __GLcontextModes in the
DRI driver interface and the context modes create and destroy
functions that the loader was requires to provide. glcore.h is no
longer part of the DRI driver interface. The DRI config is GL binding
agnostic, that is, not specific to GLX, EGL or other bindings.

The core API is now also an extension, and the driver exports a list
of extensions as the symbol __driDriverExtensions, which the loader
must dlsym() for. The list of extension will always include the DRI
core extension, which allows creating and manipulating DRI screens,
drawables and contexts. The DRI legacy extension, when available,
provides alternative entry points for creating the DRI objects that
work with the XF86DRI infrastructure.

Change DRI2 client code to not use drm drawables or contexts. We
never used drm_drawable_t's and the only use for drm_context_t was as
a unique identifier when taking the lock. We now just allocate a
unique lock ID out of the DRILock sarea block. Once we get rid of the
lock entirely, we can drop this hack.

Change the interface between dri_util.c and the drivers, so that the
drivers now export the DriverAPI struct as driDriverAPI instead of the
InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2
init screen function to see if DRI2 is supported by the driver.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
638ece315f4ee7be7f0fe0a0acd2550b4ccb8a7d 28-Sep-2006 Michel Dänzer <michel@daenzer.net> Add helper function to calculate the area of the intersection of two rectangles.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
8fbe16d4dd0664f7766f5241c055efb582cc06e5 12-Aug-2006 Ian Romanick <idr@us.ibm.com> Fix long standing bug that prevented newer drivers from working with
older libGL. The data in extension_helper.h erroneous instructed
drivers to expect all functions with establised offsets, even those
not in the ABI, to have a specific offset allocated. This is just
wrong. A function is either in the ABI and has a set offset or a
function is not in the ABI and has a re-map offset.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
225148ea0719a28d9b4eb286c4ab2bac52610bb3 03-Apr-2006 Dave Airlie <airliedfreedesktop.org> if DDX is -1 don't do DDX check
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
278736ff6f0659163e69392cf9e96006138746ca 01-Apr-2006 Dave Airlie <airliedfreedesktop.org> These messages really should be printed all the time, users want to
know this not have to set debug for it
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
1b8d0f149e0afac859c4c1e1e47772bb19da0187 11-Aug-2005 Ian Romanick <idr@us.ibm.com> Mesa uses the glVertexAttrib*NV functions to implement fixed-function
attributes in display lists. If a driver doesn't add entry points for
GL_NV_vertex_program, it will explode. This patch adds GL_NV_vertex_program
to the list of default extensions whose entry points are added by
driInitExtensions.

Thanks go to Roland Scheidegger for tracking the problem down and suggesting
the fix.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
126c89e35fb5179fe077f7593f31ea874c89dd65 05-Aug-2005 Ian Romanick <idr@us.ibm.com> Fix recent problems with display lists and other parts of the code.
CALL_by_offset, SET_by_offset, and GET_by_offset all had various problems.

The core issue is that parts of the device-independent code in Mesa assumes
that all functions have slots in the dispatch table. This is especially
true in the display list code. It will merrilly try to set dispatch
pointers for glVertexAttrib1fARB even if GL_ARB_vertex_program is not
supported. When the GET/SET/CALL macros are invoked, they would read a 0
from the remap table. The problem is that 0 is the dispatch offset for
glNewList!

One change is that the remap table is now initialized to be full of -1
values. In addtion, all of the *_by_offset marcos misbehave in an obvious
way if the specified offset is -1. SET_by_offset will do nothing,
GET_by_offset will return NULL, and CALL_by_offset, since it uses
GET_by_offset, will segfault.

I also had to add GL_EXT_blend_func_separate to the list of default
extensions in all_mesa_extensions (src/mesa/drivers/dri/common/utils.c).
Even though many drivers do not export this extension, glBlendFunc is
internally implemented by calling glBlendFuncSeparate. Without this
addition, glBlendFunc stopped working on drivers (such as mga) that do not
export GL_EXT_blend_func_separate.

There are still a few assertions / crashes in GL_ARB_vertex_program tests,
but I don't think that these are related to any of my changes.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
1585c234e0db4bfb7cd85c4111594f6da1582e6f 28-Jul-2005 Ian Romanick <idr@us.ibm.com> Major rip-up of internal function insertion interface. The old
_glapi_add_entrypoint has been replaced by a new routine called
_glapi_add_dispatch. This new routine dynamically assignes dispatch offsets
to functions added. This allows IHVs to add support for extension functions
that do not have assigned dispatch offsets.

It also means that a driver has no idea what offset will be assigned to a
function. The vast majority of the changes in this commit account for that.
An additional table, driDispatchRemapTable, is added. Functions not in the
Linux OpenGL ABI (i.e., anything not in GL 1.2 + ARB_multitexture) has a
fixed offset in this new table. The entry in this table specifies the
offset in of the function in the real dispatch table.

The internal interface was also bumped from version 20050725 to 20050727.

This has been tested with various programs in progs/demos on:

radeon (Radeon Mobility M6)
r128 (Rage 128 Pro)
mga (G400)
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
c39bf5e273a4995a279ae2af59fc29e06ab47e29 24-Jul-2005 Ian Romanick <idr@us.ibm.com> All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allows
1,402 lines of code to be removed from Mesa (drivers and libGL). The
big winner is dri_util.c.

Primary changes are:

1. Remove all "deprecated" entry-points from the various structures in
dri_interface.h.

2. Rename the remaining fields to removed "version numbers." So,
bindContext3 becomes bindContext. Functions with "New" in the name
(e.g., CreateNewContext) were *not* changed, but that is an option.
Having "New" in the name is less annoying to me than having "3" in the name.

3. Remove all compatibility code that handles cases where the driver or
the loader is too old to support the latest interfaces.

4. Append the API version to the __driCreateNewScreen function name.
This is currently done by hand. In the future (i.e., the next time we
make an incompatible change to the interface) we'll want to come up with
a better way to do this. This prevents old loaders from being able to load
new (incompatible) drivers.

5. Bump the API version to 20050722. All drivers (by way of dri_util.c)
require this version.

6. All drivers are *required* to expose GLX_SGIX_fbconfig and
GLX_OML_swap_method (or the moral equivalents). Support for these
functions in implicit in the use of the "new" interface.

7. Some cases still exist that need to be compiled differently in a loader
or core Mesa versus in a driver. These are identified by the define
IN_DRI_DRIVER.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
c212abf99af494f024b0b981a83350f7ac9821ef 30-Jun-2005 Ian Romanick <idr@us.ibm.com> Replace add_newer_entrypoints (src/mesa/main/context.c) with
device-specific code. A new Python script
(src/mesa/glapi/extension_helper.py) generates a list of all
entry-points for all known extensions. Each driver the selects only
the extensions that it needs and enables the via either
driInitExtensions or driInitSingleExtension.

This code has been compile-tested on a drivers, but has only been
run-tested on mga and i915 (on i830 hardware).

These changes were discussed at length on the mesa3d-dev mailing list.

http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
7f8e10f96c1970d2c81ec8d4f3a45a3b006b3be1 22-Mar-2005 Keith Whitwell <keith@tungstengraphics.com> Calculate haveAccumBuffer, haveDepthBuffer and haveStencilBuffer in
driFillInModes().
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
7104ce0a0e8f25bf097ad695d007b1a4b3e5d051 26-Jan-2005 Roland Scheidegger <rscheidegger@gmx.ch> new version check to allow to test for a range of ddx major versions, instead of just one major version
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
38b317d508a2a3a4cc6d700ebca80c3b06c913e2 14-Dec-2004 Alan Hourihane <alanh@tungstengraphics.com> uint*t -> u_int*t changes
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
447cdd536fe4539b724e8a7024659e3f4cd724d1 13-Oct-2004 Ian Romanick <idr@us.ibm.com> Initial support for PowerPC specific code in Mesa and DRI drivers. DRI
drivers built on PowerPC systems should now show things like "PowerPC" or
"PowerPC/Altivec" in the GL_RENDERER string.

The VMX moniker is used for Altivec/Velocity Engine/VMX SIMD additions. I
chose this not because I work for IBM but because it's a LOT shorter to
type. :)
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
b72ed81818e63a70c1ded2789b9e22ee4c516aae 13-Oct-2004 Ian Romanick <idr@us.ibm.com> Refactor the code in driGetRendererString a bit to make it easier to
add support for features of non-x86 CPU types.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
aaebfc88c08c79cd70f1e0d1d262a25e9ded47d1 04-Jul-2004 Jon Smirl <jonsmirl@gmail.com> Patch removes _SOLO definition needed for mesa-solo. mesa-solo
uses the NEW_INTERFACE now so _SOLO isn't necessary anymore.
Tested with the hardware that I own.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
fff749e893b0adbfb57d08370cb4d2a10608bc52 15-Jun-2004 Ian Romanick <idr@us.ibm.com> Fix a couple typeos in the tables for driFillInModes.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
74396056977776919aaa7c22be1a3d17774ae321 03-Jun-2004 Ian Romanick <idr@us.ibm.com> Add a new function, driFillInModes, that is to be used by drivers to
create the set of support __GLcontextModes. This should replace the
current driver-specific fill_in_modes functions.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
5b98ada88071a752b6000756949a1951183cdd0b 03-Jun-2004 Ian Romanick <idr@us.ibm.com> driCheckDriDdxDrmVersion uses a function that is not available to
drivers when DRI_NEW_INTERFACE_ONLY is defined. #ifndef it away in
that situation.

Add a new function, driCheckDriDdxDrmVersion2, that is passed in the
version information that is already supplied to __driCreateNewScreen.
Part of the reason that information is supplied to
__driCreateNewScreen is so that the driver doesn't have to make those
calls to get it!

Modify all drivers that support the new interface to use the new
function instead of the old. As soon as all drivers support the new
interface, driCheckDriDdxDrmVersion can be removed.
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
462183fe4cb6df6d90632d9e2cee881c8d26b1cb 26-Apr-2004 Alan Hourihane <alanh@tungstengraphics.com> bring over build fixes from stable branch
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
35de80d0cb9889e2557373e8896ab4062f593803 16-Mar-2004 Dave Airlie <airliedfreedesktop.org> extend SOLO code so the DDX version isn't checked
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
7ed58285abede813fbf5fa0a2e29982043f1bbbe 11-Dec-2003 Keith Whitwell <keith@tungstengraphics.com> add driClipRectToFramebuffer helper function
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
ecb1a5f7f98b9e42965318db99b6996f12b87e59 04-Dec-2003 Alan Hourihane <alanh@tungstengraphics.com> build fix
/external/mesa3d/src/mesa/drivers/dri/common/utils.c
93a458840c77b784fb74738f734ba2c5d22ca7a7 06-Aug-2003 Keith Whitwell <keith@tungstengraphics.com> Shared dri driver resources
/external/mesa3d/src/mesa/drivers/dri/common/utils.c