History log of /external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
25e34c3526e5a999997d8966ede8a11d2deb0122 05-Dec-2012 Stefan Dösinger <stefandoesinger@gmx.at> radeon: Initialize swrast before setting limits

NOTE: This is a candidate for stable release branches.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit f6a4e1bc1eb3df1e9172474b60cf9fce571e35d1)

Conflicts:
src/mesa/drivers/dri/radeon/radeon_context.c
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
70f47505a2e5d4cf949b7c2650f3d9f6559bacb3 07-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> dri: Pass API_OPENGL_CORE through to the drivers

This forces the drivers to do at least some validation of context API
and version before creating the context. In r100 and r200 drivers, this
means that they don't do any post-hoc validation.

v2: Actually reject compatibility profile 3.2+ contexts. Thanks Ken.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
9c1b41879aab2ff7386c547a2ccce7686c018cf5 26-Jul-2012 Eric Anholt <eric@anholt.net> mesa: Replace VersionMajor/VersionMinor with a Version field.

As we get into supporting GL 3.x core, we come across more and more features
of the API that depend on the version number as opposed to just the extension
list. This will let us more sanely do version checks than "(VersionMajor == 3
&& VersionMinor >= 2) || VersionMajor >= 4".

v2: Fix a bad <= 30 check.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
94556f359450acebe87d6c9b4f4fd8ccf78589d8 18-Jan-2012 Alex Deucher <alexander.deucher@amd.com> radeon: share common fog code between radeon and r200

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
e532b6288f01b63d8d8ba8c8dc08292967e65490 01-Dec-2011 Ian Romanick <ian.d.romanick@intel.com> dri2: Add plumbing to get context version requirements and flags to drivers

This adds support for DRI_DRI2 version 3 to all of the DRI2 drivers.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
875a757ddd103722cfe9a2b21035024aa5a23d32 03-Nov-2011 George Sapountzis <gsapountzis@gmail.com> dri: unify __DRIscreenRec

Also drop DriverAPI field, this is a static symbol and I don't see why it
should be accessed through __DRIscreenRec
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
26ebf9c5e106962aa440586296b8fde76ef0c76a 04-Nov-2011 Dave Airlie <airlied@redhat.com> radeon/r200: strip texture borders.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
56d30bb00d40cd391d7a469604792a27ddcc459c 29-Oct-2011 Dave Airlie <airlied@redhat.com> radeon/r200: drop remains of r300/r600 support along with old drm 1.x kernel

This drops all the old drmSupports* checks since KMS does them all, and it
also drop R300_CLASS and R600_CLASS.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
0973a1ec78fdedc5401cb1c0f6d027425c492509 14-Oct-2011 Eric Anholt <eric@anholt.net> radeon: Drop the non-kernel-memory-manager support, and thus DRI1.

It's past time, and it was going to get in the way of the renderbuffer
mapping refactor. We dropped all the other DRI1 drivers for this
release, and I can't imagine anybody supporting DRI1 radeon classic in
a new release of Mesa.

Diff produced by treating kernel_mm as true, deleting the DRI1 paths
that produce kernel_mm false, and deleting code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
ed48df84246caa40398ccd6a822cbd9b650f8282 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove ARB_texture_mirrored_repeat extension enable flag

All drivers remaining in Mesa support this extension. This extension
is either required or optional features in desktop OpenGL, OpenGL ES
1.x, and OpenGL ES 2.x.

This extension was previously not supported on mach64, mga, and savage
(Savage3D and other pre-Savage4).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
b0824bd860f6d4b3ad28fc142c2eebd840ed6173 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_blend_subtract extension enable flag

All drivers remaining in Mesa support this extension. This extension
is either required or optional features in desktop OpenGL, OpenGL ES
1.x, and OpenGL ES 2.x.

This extension was previously not supported on i810, mach64, mga,
savage, sis, and tdfx (Voodoo Banshee and Voodoo3).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
1d5e49bf05f698374257707e2303b266d2a864da 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_stencil_wrap extension enable flag

All drivers remaining in Mesa support this extension. This extension
is either required or optional features in desktop OpenGL, OpenGL ES
1.x, and OpenGL ES 2.x.

This extension was previously not supported on mach64.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
f9a2352c9569ef562e9507bfe09358f236aaf4b7 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_texture_lod_bias extension enable flag

All drivers remaining in Mesa support this extension. This extension
is either required or optional features in desktop OpenGL, OpenGL ES
1.x, and OpenGL ES 2.x.

This extension was previously not supported on mach64, mga, or r128.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
bde8bd99b64876b47f9d335320eb1ad5b3be8d9d 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_texture_env_combine extension enable flag

All drivers remaining in Mesa support this extension. This extension
is either required or optional features in desktop OpenGL, OpenGL ES
1.x, and OpenGL ES 2.x. The existing support is already partially
broken in Mesa (e.g., querying GL_TEXTURE_ENV_MODE in OpenGL ES 2.x).
This patch does not change the situation in any way.

It looks like the only hardware supported by Mesa that cannot do
ARB_texture_env_combine is pre-NV10 NVIDA chips. It appears that
these chips cannot do the GL_SUBTRACT mode. Based on looking at older
copies of nvOpenGLspecs.pdf found on the net, NVIDIA never supported
ARB_texture_env_combine on those chips either.

This extension was previously not supported on mach64, mga (G200),
r128, savage, sis, and tdfx (Voodoo Banshee and Voodoo3).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
5c4f914f9a883be67a93a78c853de103bb6a2d2a 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_texture_env_add extension enable flag

All drivers remaining in Mesa support this extension. This extension
is either required or optional features in desktop OpenGL, OpenGL ES
1.x, and OpenGL ES 2.x. The existing support is already partially
broken in Mesa (e.g., querying GL_TEXTURE_ENV_MODE in OpenGL ES 2.x).
This patch does not change the situation in any way.

This extension was previously not supported on mach64, mga (G200),
savage (Savage3D and other pre-Savage4), sis, and tdfx (Voodoo
Banshee).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
677743f7d598a599281d420a60e45be9f6af584f 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove ARB_multitexture extension enable flag

All drivers remaining in Mesa support this extension. This extension
is either required or optional features in desktop OpenGL, OpenGL ES
1.x, and OpenGL ES 2.x. The existing support is already partially
broken in Mesa (e.g., querying GL_CLIENT_ACTIVE_TEXTURE in OpenGL ES
2.x). This patch does not change the situation in any way.

This extension was previously not supported on i810, mga (G200), or
tdfx (Voodoo Banshee).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
5e4f42b0170416523b42dd89aa377fa2117bb3c4 23-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> dri: Remove redundant GL_SGIS_texture_edge_clamp enables

This extension is enabled by default in _mesa_init_extensions, so
drivers don't need to enable it again.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
6fb32b4a5fd731fa789d47ed6dcf29991df1e09b 22-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> radeon: Enable extensions by just setting the flags

Core Mesa already does the dispatch offset remapping for every
function that could possibly ever be supported. There's no need to
continue using that cruft in the driver.

Since the call to _mesa_enable_imaging_extensions (via
driInitExtensions) is removed, EXT_blend_color, EXT_blend_logic_op,
and EXT_blend_minmax are no longer advertised. These all resulted in
software fallbacks, so their loss will not be mourned.
EXT_blend_subtract is, however, explicitly added to the list.
GL_FUNC_SUBTRACT is fully accelerated, but GL_FUNC_REVERSE_SUBTRACT
(still) results in a software fallback.

Cc: Alex Deucher <alexdeucher@gmail.com>
Cc: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.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/radeon/radeon_context.c
fb9c6e681f91c986b7cbe2d6e9f6baceda00c415 09-Jan-2011 Vinson Lee <vlee@vmware.com> radeon: Include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
d7855ee3323e8493f139af70db9d0cdb853c2a08 09-Nov-2010 Johann Rudloff <cypheon@googlemail.com> radeon: Implement GL_OES_EGL_image

agd5f: add support to radeon/r200/r300 as well
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.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/radeon/radeon_context.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/radeon/radeon_context.c
7f11d471e6bafae2282ec82ba4a19d30c440d28f 27-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Force GL_SGIS_generate_mipmap to always be enabled

As per discussions at XDS.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
a7a9a91d7b28e5b5faed509d00f0f951e3136b1b 27-Apr-2010 Kristian Høgsberg <krh@bitplanet.net> dri: Add DRI entrypoints to create a context for a given API
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
a17563c7ddfa58fe7f09d22a62a10f3488ef3147 07-Mar-2010 Maciej Cencora <m.cencora@gmail.com> radeon/r200/r300/r600: add is_format_renderable function
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
3594bf233d16ceb21e97fcdfb57ea45cb0c5e41b 03-Mar-2010 Alex Deucher <alexdeucher@gmail.com> radeon/r200/r300/r600: add check_blit vtbl function

Check if the native blit formats are supported, if not,
attempt to use an alternate format.

Skip 3, >4 bpp as per comments from mcencora on irc.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
42026a8ccf4f02d4648d65763e18d8bf98eb9bfd 10-Feb-2010 Pauli Nieminen <suokkos@gmail.com> radeon: Define EXT_framebuffer_object constants to match hw.

This hides the assertion failure in glean/fbo test. Underlying
problem when same texture is set twice to different attachments
will cause assertion.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
0943706d35e3955cacbc3b690cfb1e2dfb78d639 07-Feb-2010 Pauli Nieminen <suokkos@gmail.com> r100/r200/r300/r600: Set MaxCombinedTextureImageunits.

Fixes glActiveTexture to set GL_INVALID_ENUM when trying
to activate texture unit that is not available.

piglit test case general/texunit passes now.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
8a2cf4549a4e88d8981d75b003ac0a43e71f5e41 31-Jan-2010 Vinson Lee <vlee@vmware.com> radeon: Remove unnecessary headers.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
5170d2452beafc4a6f5859792d6c6b267c549e46 19-Jan-2010 Maciej Cencora <m.cencora@gmail.com> r100: use common glCopyTex(Sub)Image code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
daccc962a15f333a4759849d7088b0c985189175 19-Jan-2010 Alex Deucher <alexdeucher@gmail.com> r100: add blit support

Only enabled with KMS.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
d61f07318c8678901b948fdaa8ccdf37aa3203e9 01-Jan-2010 Kristian Høgsberg <krh@bitplanet.net> Remove leftover __DRI{screen,drawable,context}Private references

As part of the DRI driver interface rewrite I merged __DRIscreenPrivate
and __DRIscreen, and likewise for __DRIdrawablePrivate and
__DRIcontextPrivate. I left typedefs in place though, to avoid renaming
all the *Private use internal to the driver. That was probably a
mistake, and it turns out a one-line find+sed combo can do the mass
rename. Better late than never.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.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/radeon/radeon_context.c
4e0d99a63588c67a955f797733da32d04e6f4ee6 30-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r100: Use shared debug code.

Converted r100 to use shared debug code with sed and fast compile check. New
code has compability layer so old debugging code doesn't have to be changed
all immidiatly.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
4322181e6a07ecb8891c2d1ada74fd48c996a8fc 28-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r100/r200: Bring back old PolygonStripple for DRI1.

DRI1 didn't have support for command buffer emit for stripple.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
674835f184b37ad378ce2e35f1a8326af0facc77 26-Aug-2009 Dave Airlie <airlied@linux.ie> radeon/r100/r200: actually init the OQ support properly
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
5484428d7267388fde868e64531dcdf98b55fafc 26-Aug-2009 Dave Airlie <airlied@linux.ie> radeon: add r100 OQ support with kms.

This adds OQ support for the r100 chipsets, it requires
KMS unless someone wants to make a kernel patch to add support
for OQ regs.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
c3374bf97ecd82b915fb29c7c04951e2b75d4dbc 25-Aug-2009 Pauli Nieminen <suokkos@gmail.com> radeon: Fix all compiler warnings.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
db618427abab44939189c688e58ea7eca52f1795 10-Jul-2009 Dave Airlie <airlied@linux.ie> radeon: enable GL_NV_texture_rectangle under dri2.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
43b3b745e4d893b64d6331cb6183f8615e613f66 25-Jun-2009 Roland Scheidegger <sroland@vmware.com> radeon: fix hw texture limits

still always enable max, but the right values this time.
More work should probably be done for saner limits without mm, and/or
dri conf option allow_large_textures (which is ignored) removed.
3D limit on r100 is pretty arbitrary as still handled by swrast anyway.
Also fix r300 limits (except 3d I've no idea what the max is anyway so
keep using mesa default).
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
cdbcb051d93836861bc4d4e1027156111ac249d2 25-Jun-2009 Dave Airlie <airlied@redhat.com> radeon/r200: add some hw texture limits
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
7ce814b25f8c216c7897904cbce7f570112e60ef 19-Jun-2009 Roland Scheidegger <sroland@vmware.com> radeons: use dp4 for position invariant vertex programs

Fixes #22181. R200 requires this since DP4 is used in hw tnl mode.
R300 prefers it (should be faster due to no instruction dependencies), but
both methods should be correct (when sw tcl is used though, MUL/MAD might
be faster). Probably doesn't make much difference for R100 since vertex progs
are executed in software anyway, but let's just keep it the same there too.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
c696dd0f62c195d71cf7ecbdd04d9b156dd0da0b 20-May-2009 Jerome Glisse <glisse@freedesktop.org> radeon: set max texture size

This still need some work to actually report somethings reasonable
if no memory manager is available.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
e00ef43d796f0ae0247b1072bf0aa8cdd8e3034d 02-Apr-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: collapse context destruction down to a common path.

Context destruction was nearly the same over all the drivers,
so collapse it down.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
0a725db10c1491539d48370df7207206538bf945 24-Mar-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: set the texture depth correctly for DRI2
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
8c7e30fb950c83f5e9e29e60735e999ac608145a 23-Mar-2009 Dave Airlie <airlied@redhat.com> raedon/r200/r300: mega-FBO commits.

Re work depth issues.
Do a lot more FBO abstactions
fixup depth/stencil buffer interactions
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
4bd5ee2d9741a74e28f29e48a4c144206f78fd41 21-Mar-2009 Dave Airlie <airlied@linux.ie> radeon/r200: oops make correct fbo init calls
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
98f1b1e6f99c690645c3cb5093005fc41f436225 21-Mar-2009 Dave Airlie <airlied@redhat.com> radeon/r200: add fbo init
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
2b85fccae5ba33748846f74f90fe0f72c673a4b1 02-Mar-2009 Dave Airlie <airlied@redhat.com> radeon: refactor framebuffer code like intel

this is a step towards fbos and should fix pageflipping, but
I think the first flip seems broken.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
2ba4fc3d603ebc9e3210ef96f9fbc2cd488e0a33 17-Feb-2009 Dave Airlie <airlied@redhat.com> radeon/r200: drop legacy texture heap code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
48e7b940ebc2cb3594074ca35fad9c63f6568582 17-Feb-2009 Dave Airlie <airlied@redhat.com> radeon/r200: fixup texturing aging calls
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
53116910b10e3b8a05f42970eff311c21808699f 12-Feb-2009 Dave Airlie <airlied@redhat.com> Merge remote branch 'origin/master' into radeon-rewrite

Conflicts:
configure.ac
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/drivers/dri/r300/r300_render.c
23d3559bd4ece1fcab5513ebdaa38600d6654374 12-Feb-2009 Dave Airlie <airlied@redhat.com> radeon: renaming and headers cleanup
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
1090d206de011a67d236d8c4ae32d2d42b2f6337 12-Feb-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: another big merge upheavel.

This merges lots of the hw state atom emission and firevertices code.

it also removes a lot of the extra radeon crap from r300

and merge scissor
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
edbe1fac6a1793da7faca104691a453023d9efac 10-Feb-2009 Dave Airlie <airlied@redhat.com> radeon: fix span init needs more work
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
45496122b7b590479a4ed60c8bbdc1725cad0211 10-Feb-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: merge span code into single shared file
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
36d3f3e74a809ad346e981805a2f61710d3a380b 06-Feb-2009 Dave Airlie <airlied@redhat.com> r100: fixup radeon so gears seems to work
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
b584b0728d3a001a142f76dde22f9e8ed7d2dd16 04-Feb-2009 Dave Airlie <airlied@redhat.com> radeon: make compile again.

Not tested but ripped out lots of stuff unneeded anymore time to test later
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
59b183ce0fc8fd8ab73b9321e609fdb3c29bb078 29-Jan-2009 Dave Airlie <airlied@redhat.com> radeon: remove even more common code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
5ba92a5b0543b4ff2c7db6101029ba36cb9843fa 29-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: bring back old style DMA buffer on top of BOs.

this gets back a lot of the lots speed in gears on r500 at least

I also fixed the legacy bufmgr to deal when the dma space fills up
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.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/radeon/radeon_context.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/radeon/radeon_context.c
2b77b1d62e6480f19aac1bde6f730b7da1046ce0 28-Jan-2009 Ian Romanick <idr@freedesktop.org> Make GL_ARB_multisample mandatory

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.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/radeon/radeon_context.c
ed3a1cce73fcd0d6f4b6e9b5f69a98ad179ddc4b 20-Jan-2009 Dave Airlie <airlied@redhat.com> r200: clear is working at least - not much else
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
e7d06a55c5443cfef73f5c2f60052cc26a1e9ff2 14-Jan-2009 Dave Airlie <airlied@redhat.com> radeon: move debug symbol add DRI2
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
23295cf8e84495af86f62395d32b3116261927e8 14-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: consolidate swap buffers
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
7e5e327cea83d9f6d1485f9be440277540ace5c7 14-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: consolidate the buffer copy/flip code into one place
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
d29e96bf33e91d071770b86d87ffc4ef4dfc2f70 13-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: attempt to move lock to common code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
4637235183b80963536f2364e4d50fcb894886dd 14-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: initial attempt to convert to common context code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
45efcc44c758a94928648bc20df32b98b3462bcc 21-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Remove CVS keywords.

Cherry-picked from gallium-0.1

Conflicts:

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/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/tdfx/tdfx_dd.h
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
6cb3f5c4d8618a14bb7ad1d9df10ed7e648a7b2b 28-Feb-2008 Kristian Høgsberg <krh@redhat.com> Use __DRIextension mechanism providing loader functionality to the driver.

Instead of passing in a fixed struct, the loader now passes in a list
of __DRIextension structs, to advertise the functionality it can provide
to the driver. Each extension is individually versioned and can be
extended or phased out as the interface develops.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
3177b4e2cf7d2fff7428cb6057bebbe60ff5cc6c 30-Oct-2007 Michel Dänzer <michel@tungstengraphics.com> More vblank cleanups.

* Fix crash at context creation in most drivers supporting vblank.
* Don't pass vblank sequence or flags to functions that get passed the drawable
private already.
* Attempt to initialize vblank related drawable private fields just once
per drawable. May need more work in some drivers.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
38fdb47d26055e19d50cd407266b56ed4317ae0a 29-Oct-2007 Jesse Barnes <jesse.barnes@intel.com> Refactor and fix core vblank support

Consolidate support for synchronizing to and retrieving vblank counters. Also
fix the core vblank code to return monotonic MSC counters, which are required
by some GLX extensions. Adding support for multiple pipes to a low level
driver is fairly easy, the Intel 965 driver provides simple example code (see
intel_buffers.c:intelWindowMoved()).

The new code bumps the media stream counter extension version to 2 and adds a
new getDrawableMSC callback. This callback takes a drawablePrivate pointer,
which is used to calculate the MSC value seen by clients based on the actual
vblank counter(s) returned from the kernel. The new drawable private fields
are as follows:
- vblSeq - used for tracking vblank counts for buffer swapping
- vblFlags - flags (e.g. current pipe), updated by low level driver
- msc_base - MSC counter from the last time the current pipe changed
- vblank_base - kernel DRM vblank counter from the last time the pipe changed

Using the above variables, the core vblank code (in vblank.c) can calculate a
monotonic MSC value. The low level DRI drivers are responsible for updating
the current pipe (by setting VBLANK_FLAG_SECONDARY for example in vblFlags)
along with msc_base and vblank_base whenever the pipe associated with a given
drawable changes (again, see intelWindowMoved for an example of this).

Drivers should fill in the GetDrawableMSC DriverAPIRec field to point to
driDrawableGetMSC32 and add code for pipe switching as outlined above to fully
support the new scheme.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
efd03a278ae55b454509e9659c42899133983ebd 14-May-2007 Kristian Høgsberg <krh@hinata.boston.redhat.com> Replace open-coded major, minor, and patch version fields with __DRIversionRec.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
acfeb3b6ea93bcb5b18e6f51a0727e39da608d76 11-Sep-2007 Brian <brian.paul@tungstengraphics.com> Fix-up #includes to remove some -I options.

eg: #include "shader/program.h" and remove -I$(TOP)/src/mesa/program
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
b78aec576735c663342da8367dccd3de71e70c34 12-May-2007 Roland Scheidegger <sroland@tungstengraphics.com> bring over recent radeonMakeCurrent fixes for r300 to radeon/r200
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
37e6f760fde506728077c6e8b48bb8c34d53dfd3 13-Mar-2007 Roland Scheidegger <sroland@tungstengraphics.com> enable ARB_vertex_buffer_object for more dri drivers

ARB_vertex_buffer_object looks like a useful extension even for old chips.
The drivers should not need any code to be able to use this extension since
they just use mesa's vbo code anyway.
Newly enabled for i810, mach64, mga, r128, radeon, savage, sis and unichrome.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
88501887e48d1619e4296afa609dfe9904b81a70 12-Mar-2007 Alan Swanson <swanson@ukfsn.org> radeon: Adapt cliprect fixes from r300.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
6a3fdc3a1ea6c306d9543791bf172dd1052d7382 16-Jan-2007 Keith Whitwell <keith@tungstengraphics.com> Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa into vbo-0.2

Conflicts:

src/mesa/array_cache/sources
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_fallback.c
src/mesa/drivers/dri/i965/brw_vs_emit.c
src/mesa/drivers/dri/i965/brw_vs_tnl.c
src/mesa/drivers/dri/mach64/mach64_context.c
src/mesa/main/extensions.c
src/mesa/main/getstring.c
src/mesa/tnl/sources
src/mesa/tnl/t_save_api.c
src/mesa/tnl/t_save_playback.c
src/mesa/tnl/t_vtx_api.c
src/mesa/tnl/t_vtx_exec.c
src/mesa/vbo/vbo_attrib.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_api.c
src/mesa/vbo/vbo_save_draw.c
3ce4adaa8fc0cb067dd9da3f358556490954f776 09-Nov-2006 Ian Romanick <idr@us.ibm.com> Remove unnecessary setting of GetBufferSize to NULL.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
80c88304fc9d09531b2530b74973821e47b46753 31-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> remove vtxfmt code, switch over to vbo
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
3beaff1e3cf227c493badfc55a69381c778b2ff7 18-Oct-2006 Ian Romanick <idr@us.ibm.com> Enable GLX_SGI_make_current_read for radeon.

Added code to track the drawable bound to the context for reading. In
addition, when a drawable is initially bound (for reading or drawing)
or when the size of the drawable changes, update the size of the
framebuffer object that back the drawable (for software fallbacks).

Deprecate the old GetBufferSize interface.

Bump the driver date.

These changes were tested with wincopy on both direct rendering and
accelerated indirect rendering (AIGLX).
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
2b6d2e4dcbdc253e8148888d1a7e60d8466ba4e8 15-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.
This is already done by the preceeding call to _mesa_init_driver_functions()
which plugs in default functions like that.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
24bb3b399847bdb11f0008820c2c1bad1e21d499 28-Sep-2006 Michel Dänzer <michel@daenzer.net> Make driDrawableInitVBlank() initialize the sequence number.

This prevents the first wait for vertical blank from timing out when the X
server has been running for a long time.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
25847f2b5b50d9bbd58729e28e4a3032972e6c0c 10-Sep-2006 Roland Scheidegger <rscheidegger@gmx.ch> remove code to deal with non-normalized texture coordinates for tex rect targets (swtcl tex coord translation stage, tcl tex matrix adaption) and use the chip's native handling of such coords instead (!!!). Seems noone noticed those bits in the se_coord_fmt reg, even though it works fairly similar to r200 (except it's set per-unit and always active, so only enable it for texture rectangles).
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
8c3d15ce28f90e41002eaddc8ac9304c8b3dbab9 09-Apr-2006 Eric Anholt <anholt@FreeBSD.org> Destroy the GL context after driDestroyTextureHeap, because the driver's
DestroyTexObj has a dependence on the glCtx and may segfault otherwise.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
6a9f0a27c3853738e4bbfb33e8b20464a7d92923 04-Apr-2006 Dave Airlie <airliedfreedesktop.org> switch to card_type rather than IsPCI, doesn't change any functionality yet
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
f2ad1b60c0da11283b399008f491792790cea294 31-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> Dave Reveman's patch for GLX_MESA_copy_sub_buffer support
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
f76ff7e4a7b728258606950f182a0a9a8cce791b 28-Mar-2006 Roland Scheidegger <rscheidegger@gmx.ch> make allow_large_textures 1 by default for radeon and r200, and consequently enable all texture units by default on those cards (3 for radeon, 6 for r200). Fix the usually forgotten DRIVER_DATE accordingly.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
e7276b7fa597f7914f7e10a2e50dae36ae50e10b 03-Feb-2006 Roland Scheidegger <rscheidegger@gmx.ch> replace the texture level hack used in radeon/r200 to allow larger textures with different methods to calculate the announced maximum texture sizes. Default is still the same (that is, radeon/r200 default to not announce anything which might not fit, i830/i915 default to 1 texture must fit). Bug #5785.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
8bc4dae67e083c6415c07e6ff77e700f7395dc9e 07-Jan-2006 Roland Scheidegger <rscheidegger@gmx.ch> cube maps on r100 require newer drm than the same feature on r200 (regression from introducing unfied initialization). Fix wrong (so far unused) family assignment for r100 cards.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
3a5626cb846ad767fe1c38fe35ebe4df3e3a0454 02-Nov-2005 Eric Anholt <anholt@FreeBSD.org> First step of Radeon DRI unification:
- Makes all three drivers use the same screen structure and setup code, with a
few ifdefs for the separate compilation to deal with symbols not being
available to all drivers and the fact that we have no mechanism for dealing
with different config options for different chip families in the same driver.
These issues should be dealt with later.
- Introduces IS_R[123]00_CLASS(radeonScreenPtr) macro for code for taking
different paths depending on the general class of chipset.
- Adds many new R300-class PCI IDs, though not all those listed in
radeon_driver.c.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
2d61d301171620efe624d83a5457f4094eb49cba 17-Oct-2005 Roland Scheidegger <rscheidegger@gmx.ch> add GL_EXT_fog_coord support to radeon driver. No vtxfmt code (just uses fallback) yet. May cause a tcl fallback if fog coord is used together with separate specular lighting. Fog factors are precomputed and then submitted instead of the raw coords (chip limitation, same as on r200).
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
247f3b3e81fffa86c50531070fab573e26ffb452 16-Oct-2005 Roland Scheidegger <rscheidegger@gmx.ch> enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
30daa7529331057ecb470efb500152e9c4aa1ae5 13-Oct-2005 Roland Scheidegger <rscheidegger@gmx.ch> enable 3rd texture unit on radeon (default still 2 enabled units). Disable some multitexcoord codegen stuff noone understands to make it work. Replace most code testing explicitly for unit 0 and 1 with loops instead of adding test for unit 2, smaller/more readable code at the cost of maybe some slight performance hit. (Code provided by Andreas Stenglein, some adjustments by me.)
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
a3c8de2fa7fba22647e5b3e8cfb05c85d1a5a980 05-Oct-2005 Roland Scheidegger <rscheidegger@gmx.ch> Remove the tcl fallback for texture rectangle (by manipulating the texture matrix) (tested with texrect). Enable texgen for r/q coordinates (tested with projtex). Fix projected texcoords when an app uses TexCoord3x and the texture matrix to save on vertex size (fixes ut2k3 shadow projectors in tcl mode). From texgenmix, all cases with all texgen or no texgen work, with the exception of texgen enabled for s/t only, this one works with hw tcl, but not with vtxfmt (suspect issues with vtxfmt), the mixed cases do not work (which is expected, and should be rare in practice), with the exception of the first one which hits a tcl fallback.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
a60ff20c584245c929ba755f5592e4b3791b2173 14-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> updated comment
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
982e8e4d5c95e9e9040b4b70d7322a2a8a9396d9 01-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Finish up some of the gl_renderbuffer work.
Use driRenderbuffer's offset, pitch fields in the span routines.
Remove the SetBuffer driver function.
Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH
state in new radeonUpdateDrawBuffer() function.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.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/radeon/radeon_context.c
5f1ba3e21b62cee1a4f900a2e6964728f3eeea9b 26-Jul-2005 Ian Romanick <idr@us.ibm.com> Fixes the glXGetProcAddress portion of the interface. Most of the functions
that are currently obtained via glXGetProcAddress and all of the XF86DRI
functions are replaced with a funciton table. This table will be passed to
__driCreateNewScreen.

One of the functions in the table is getProcAddress. This allows some
loaders to expose functionality not in all loaders. This will be immediatly
used for glxEnableExtension (formerly known to drivers as
__glXScrEnableExtension). libGL (and in the future libglx) expose this
function so that drivers can enable GLX extensions. libEGL should exposed
eglEnableExtension to enable EGL extensions. The same function cannot be
used for both because the extensions have different names and (possibly)
different semantics. Drivers can optionally use one, both, or neither.

The key parts are in the __DRIinterfaceMethodsRec structure in
dri_interface.h. A pointer to one of these structures is passed into
__driCreateNewScreen. Because of this, the version of the API is bumped to
20050725. Since the previous version(s) were never in a release, their
existance is erased.

I was actually a little surprised by how much code this cuts from the
drivers. A lot of glXGetProcAddress calls disappear, and a lot of
version checks go with them. Nice.

The one thing I'm not sure of is removing __glXInitialize. For some
reason that function was in the glXGetProcAddress table, but *nothing*
in the Mesa tree used it. Did something with DRI conf. use this
function? It seems odd...
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.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/radeon/radeon_context.c
8a1df968627de01d04f3d692fd81108ba6492c18 31-May-2005 Eric Anholt <anholt@FreeBSD.org> Bugzilla #2195: Convert the radeon driver to the t_vertex interface. This cuts
about 200 lines from the code and 25k from the binary, while matching other
drivers more closely. In the worst case (tcl_mode=0) it appears to have
a performance cost of 4.4% +/- 0.3% on quake3 (800x600 demofours, 1ghz p3,
rv200). Tested on ut2004, ut, q3, projtex.

Submitted by: Andreas Stenglein <a.stenglein@gmx.net>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
e4b2356c07d31fbeeabb13b2fb47db703b473080 04-May-2005 Brian Paul <brian.paul@tungstengraphics.com> Major check-in of changes for GL_EXT_framebuffer_object extension.
Main driver impacts:
- new code for creating the Mesa GLframebuffer
- new span/pixel read/write code
Some drivers not yet updated/tested.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
87030f6618cce065f8f552471648344de2f1d920 05-Mar-2005 Roland Scheidegger <rscheidegger@gmx.ch> remove one of the two _tnl_isolate_materials function calls
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
4932ba28adc2694161ec3fa7964cd76e3742182a 26-Feb-2005 Dave Airlie <airliedfreedesktop.org> Add a dri config option to enable the max texture level hack
make ycbcr depend on a CHIPSET define .. needs to be filled in though
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
2c28dd892cfb43445d7e54df8b6a8331192f4e99 16-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> s/0/NULL/ (Jeff Muizelaar)
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
e82cb7852b6d51325cbdbda2354f391bfea6d30b 14-Feb-2005 Roland Scheidegger <rscheidegger@gmx.ch> remove accidentally commited printf for tiling support
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
4837ea30208d002bc36a836d2117f826d40c8bfa 10-Feb-2005 Roland Scheidegger <rscheidegger@gmx.ch> add texture micro and macro tiling to radeon/r200 driver. This can improve performance up to 15% in texture-intensive applications. Convert the driver to use the correct blit format and blit width instead of fixed blit format and blit width when uploading textures to make it work.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
150ed2e43d5541556d282cae728cebeec692e07a 23-Jan-2005 Dave Airlie <airliedfreedesktop.org> add sync debugging to the radeon driver
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
b31b7836d6e7abf80dd4feacce333d4b1fe6e4ab 08-Dec-2004 Roland Scheidegger <rscheidegger@gmx.ch> (Stephane Marchesin, me) add hyperz support to radeon and r200 drivers. Only fast z clear and z buffer compression are supported for now, hierarchical-z is not. Still problems with multiple apps and z/stencil readback, which is why hyperz is disabled per default. Also add the new point sprite packet drm 1.13 accepts to the sanity code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
de7b071b5534fc423a056abd521de8bf9120f89e 03-Dec-2004 Roland Scheidegger <rscheidegger@gmx.ch> enable GL_EXT_stencil_wrap (patch from idr), including some hacks for original radeons which have some broken stencil ops.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
65a66f5bc37383c00423c21baf8ba9d6771e0259 27-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().
Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA()
if necessary.
Cleaned up code related to GLframebuffer width/height initialization.
Set initial viewport/scissor params in _mesa_make_current2(), instead of
in the drivers' MakeCurrent functions.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
d09209f5530e8bba78e4e0ec62b2027c588cc8f3 08-Oct-2004 Eric Anholt <anholt@FreeBSD.org> Add Roland Scheidegger's S3TC patch. This patch does not implement the
(patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module
providing functions to do so. Because it uses dlopen, it is only enabled if
USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far).
It adds support for S3TC to several DRI drivers, and adds a DRI config option to
force enabling S3TC even if the software compression/decompression is
unavailable. This may allow people to use apps that require S3TC even though
they don't have a license to implement the patented material themselves, if
those apps use precompressed textures.

Ideally we would get permission from the current holder of the patents to
implement the algorithm in Mesa, at which point the dlopen mess could go away.
Until then, this allows some to run applications they couldn't otherwise, and
hopefully will provide us with more push to get the final step of getting that
permission done.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
7a086dc05e665a78f7e9d069aa4fc70e844b8988 30-Sep-2004 Eric Anholt <anholt@FreeBSD.org> OK, one more time. Simplify the state-backup system by just storing the full
state in a ready-to-emit cmdbuf, which avoids the issue Nicolai Haehnle reported
where the check() could return differently during backup-and-emit than it should
have if it were called at the right time. Move the lit emission before most of
the TCL state emission on r200, which fixes neverball issues.

Tested with: r100/r200 with neverball, tuxracer, chromium, quake3, ipers
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
5562fe653cf88454bbf2c50f77a8b56b0dafe01b 25-Sep-2004 Eric Anholt <anholt@FreeBSD.org> The previous code would emit a full set of state during the first EmitState on
a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the
case of context switching). This was rather inefficient. Instead, after
flushing a cmdbuf, mark the state as needing to be saved on unlock. Then, at
the beginning of flushing a cmdbuf, if we actually have lost the context, go
back and emit a new cmdbuf with the full set of state, before continuing with
the cmdbuf flush. Provides a 10-15% improvement in ipers performance in my
tests, along with other apps.

Tested with: ipers, glxgears, quake3
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.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/radeon/radeon_context.c
7a6eda7137b4b4a384022b7e0e7db7f9ef98fbbc 02-Jun-2004 Roland Scheidegger <rscheidegger@gmx.ch> add support for GL_ARB_texture_env_crossbar
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
ae4a1cc0666860bf5cc37a5cb549afc9aa5448b0 11-Mar-2004 Jon Smirl <jonsmirl@gmail.com> Adjustments to make everything use IOCTL/sarea defines in DRM instead
of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
e2df3d01afaa6919b82962a087056f517bb94193 28-Feb-2004 Michel Dänzer <michel@daenzer.net> Only print message about disabling HW TCL if the chip supports it in the
first place, and make the message a bit clearer.

+ Remove some extraneous whitespace.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
04bcaac383cb6d3d5bceb7ecf65ff97c10aa7111 26-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> added _tnl_allow_vertex/pixel_fog() calls
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
8135a445f3b0ae207ec5e4485b5936050d438320 27-Jan-2004 Felix Kuehling <fxkuehl@gmx.de> Make the drivers using the common texmem code work with NewTextureObject
in Mesa. This is analogous to changes idr made to the r200 driver. Patch
submitted by Andreas Stenglein.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
83e0cfb8a0bf3a14b6f495060749251cf94719d9 24-Jan-2004 Felix Kuehling <fxkuehl@gmx.de> Parse radeon, not r200 configuration in radeonCreateContext.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
afa446db83ecf5dcb38ce46648fb12911628de32 21-Jan-2004 Ian Romanick <idr@us.ibm.com> Silence some compiler warnings.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
d3fd7ba8af15bead2f770d68a893449adeb11397 20-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> Before calling _mesa_create_context(), initialize a dd_function_table struct
by calling _mesa_init_driver_functions() and then plugging in the driver-
specific functions.
In particular, make sure ctx->Driver.NewTextureObject points to the
appropriate driver function so that _all_ texture objects are augmented
with the driver-specific data.
Put in a bunch of assertions in the texture-related driver functions that
texObj->DriverData is valid. Remove old dead code in near future.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
6a82d44d9cb25b8ef1e1697adfcfe91a964c221f 18-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> Change get_ust_nop()'s parameter from int64_t to uint64_t to silence warnings.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
8d83242c8c90846082d15cc3cfe204f4f8a4937d 17-Jan-2004 Michel Dänzer <michel@daenzer.net> Fix cosmetic GL_RENDERER string problem (Andreas Stenglein)
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
e54f2601707a54be8869fb3b0be26503d1c9916e 13-Jan-2004 Ian Romanick <idr@us.ibm.com> Added support for EXT_texture_mirror_clamp.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
553a8e0e7b0e8ec2f208a582c6e644cd340dba53 12-Jan-2004 Ian Romanick <idr@us.ibm.com> Removed redundant extension strings. The Mesa extension mechanism
automatically enables "duplicate" extensions without the driver
explicitly enabling them.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
d450d0b0e228e5b16c04b2a1acb9ea549aa690f2 12-Dec-2003 Brian Paul <brian.paul@tungstengraphics.com> applied Felix's patch for configuration system
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
013056ac651383579b1395c18ad96bd0dca620dd 12-Dec-2003 Keith Whitwell <keith@tungstengraphics.com> set MaxTextureImageUnits, MaxTextureCoordUnits
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
73c3c397e4c07b48dcc845add9d80df025e1f0cd 08-Dec-2003 Alan Hourihane <alanh@tungstengraphics.com> fix bogus assertion that checked for an empty texture heap list before
deleting the textures. Essentially move the assertion after the destruction
of the heap.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
99ef0a03292e7dc6aa2465aaaa620f394d2c286b 08-Dec-2003 Alan Hourihane <alanh@tungstengraphics.com> merge some more of the radeon DRI driver from the DRI trunk
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
d907a75498360fb96ec2314bb0abb105be74d500 05-Dec-2003 Alan Hourihane <alanh@tungstengraphics.com> xmlconfig fixes
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
57c9814b9e87924696df4c741861c29d4236d1eb 24-Nov-2003 Keith Whitwell <keith@tungstengraphics.com> Import vtx-0-2-branch
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
bcc6eddd335e97d49ed2ef3a1440f94d58dce12d 21-Oct-2003 Jon Smirl <jonsmirl@gmail.com> Update DRI drivers to current DRI CVS and make them work.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c
5df82c82bd53db90eb72c5aad4dd20cf6f1116b1 22-Aug-2003 Brian Paul <brian.paul@tungstengraphics.com> patch to import Jon Smirl's work from Bitkeeper
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_context.c