History log of /external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
36678e97e4d8bc79545ec95f657370612a3283ff 19-Nov-2016 Brian Paul <brianp@vmware.com> r200: remove unneeded #include "util/simple_list.h"

And include "util/simple_list.h" where it is needed in r200_state.c
Compile tested only.

Reviewed-by: Vinson Lee <vlee@freedesktop.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
5284e9e2c4922479b28db96ae88121a053a6e66b 09-Jul-2015 Emil Velikov <emil.l.velikov@gmail.com> radeon,r200: allow hyperz for radeon DRM module v2

The original code only half considered hyperz as an option. As per
previous commit "major != 2 cannot occur" we can simply things, and
allow users to set the option if they choose to do so.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
bf6247f608969c3f1fa987e297c6063c02896b5a 09-Jul-2015 Emil Velikov <emil.l.velikov@gmail.com> radeon,r200: remove unused variable texmicrotile

Dead since at least 2009 with commit ccf7814a315(radeon: major cleanups
removing old dead codepaths.)

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
8ab6759cef6dc5101be3badce10a52d1d046f2ea 14-Nov-2014 Eric Anholt <eric@anholt.net> mesa: Move simple_list.h to src/util.

We have two copies of it in the tree, I'm going to delete one.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
515ffb6c93b0fe130cd34080a2d24f80fc21441f 20-Aug-2014 Emil Velikov <emil.l.velikov@gmail.com> dri/radeon: cleanup the radeon_context vtbl

Remove the set-but-unused, and set-but-empty vtable entries.
Most likely a leftover from the dri1 days.

Cc: Marek Olšák <marek.olsak@amd.com>
Cc: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
002211f9eea258acc253528024ee104aa1fcd90d 03-Aug-2014 Marek Olšák <marek.olsak@amd.com> mesa: move ShaderCompilerOptions into gl_constants

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
085a86154553d86f8e4296b4c732901f781bdfd8 01-Aug-2014 Marek Olšák <marek.olsak@amd.com> radeon,r200: fix buffer validation after CS flush

This validates all bound buffers (CB, ZB, textures, DMA) at the beginning
of CS. This fixes "bo->space_accouned" assertion failures.

Tested by: Jochen Rollwagen <joro-2013@t-online.de>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
1edca151a00134778b959366d5e7c0a3b63cc8f7 14-Jan-2014 Ian Romanick <ian.d.romanick@intel.com> mesa: GL_ARB_half_float_pixel is not optional

Almost every driver already supported it. All current and future
Gallium drivers always support it, and most existing classic drivers
support it.

This only changes radeon and nouveau.

This extension only adds data types that can be passed to, for example,
glTexImage2D. It does not add internal formats. Since you can already
pass GL_FLOAT to glTexImage2D this shouldn't pose any additional issues
with those drivers. Note that r200 and i915 already supported this
extension, and they don't support floating-point textures either.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
2d6d69bab6c74d92514b81a68c6c8b1dc428182a 01-Feb-2014 Brian Paul <brianp@vmware.com> r200: move driContextSetFlags(ctx) call after ctx var is initialized

Otherwise, ctx was a garbage value.

CC: "10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
a6729731af700d5a44525d583a83619b5e454084 13-Nov-2013 Ian Romanick <ian.d.romanick@intel.com> mesa: GL_EXT_framebuffer_blit is not optional

Every driver supports it. All current and future Gallium drivers always
support it, and all existing classic drivers support it.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
bed51a48589e5f5967cd38ade2adfbb874e54dfd 13-Nov-2013 Ian Romanick <ian.d.romanick@intel.com> r200: Enable GL_EXT_framebuffer_blit

The dd_function_table::BlitFramebuffer is already initialized to
_mesa_meta_BlitFramebuffer, so it should just work.

Tested on a FireGL 8800 (OpenGL renderer string: Mesa DRI R200 (R200
5148) TCL DRI).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
33214679bb632a80d4339ffa0f28f7620d510658 19-Dec-2013 Ian Romanick <ian.d.romanick@intel.com> radeon / r200: Pass the API into _mesa_initialize_context

Otherwise an application that requested an OpenGL ES 1.x context would
actually get a desktop OpenGL context.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: "9.1 9.2 10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
7a0f26dec9aad75834d3314d5e306d49729b37f1 20-Jan-2014 Ian Romanick <ian.d.romanick@intel.com> radeon / r200: Eliminate BEGIN_BATCH_NO_AUTOSTATE

Sed job:

grep -lr BEGIN_BATCH_NO_AUTOSTATE src/mesa/drivers/dri/ | while read f
do
cat $f | sed 's/BEGIN_BATCH_NO_AUTOSTATE/BEGIN_BATCH/g' > x
mv x $f
done

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
ebf91993c18bdf90c4699b42e58cb84d0b160f25 03-Jan-2014 Matt Turner <mattst88@gmail.com> mesa: rename PreferDP4 to OptimizeForAOS.

This flag was really just a proxy for determining whether the backend
was vector (AOS) or scalar (SOA). It will be used to apply a future
optimization only for vector backends.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
a1e528a0f083f08ac32e2418cb5068ef0c21ccaf 20-Jan-2014 José Fonseca <jfonseca@vmware.com> i915,r200,radeon,vega: Change vendor from "VMware, Inc." to "Mesa Project".

These are components which were originally developed by Tungsten Graphics,
which was in turn acquired by VMware, but are de facto now being maintained
by third-party contributors of the Mesa open-source community.

This matches what's reported by swrast driver and a few other components.

Suggested by Ian Romanick.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
877128505431adaf817dc8069172ebe4a1cdf5d8 17-Jan-2014 José Fonseca <jfonseca@vmware.com> s/Tungsten Graphics/VMware/

Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the
old copyright name is creating unnecessary confusion, hence this change.

This was the sed script I used:

$ cat tg2vmw.sed
# Run as:
#
# git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed
#

# Rename copyrights
s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g
/Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./
s/TUNGSTEN GRAPHICS/VMWARE/g

# Rename emails
s/alanh@tungstengraphics.com/alanh@vmware.com/
s/jens@tungstengraphics.com/jowen@vmware.com/g
s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/
s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g
s/keithw\?@tungstengraphics.com/keithw@vmware.com/g
s/michel@tungstengraphics.com/daenzer@vmware.com/g
s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/
s/zack@tungstengraphics.com/zackr@vmware.com/

# Remove dead links
s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g

# C string src/gallium/state_trackers/vega/api_misc.c
s/"Tungsten Graphics, Inc"/"VMware, Inc"/

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
84732a982c3eeaca2e2809532c8422dc5f7045c1 08-Jan-2014 Paul Berry <stereotype441@gmail.com> mesa: replace ctx->Const.{Vertex,Fragment,Geomtery}Program with an array.

These are replaced with
ctx->Const.Program[MESA_SHADER_{VERTEX,FRAGMENT,GEOMETRY}]. In
patches to follow, this will allow us to replace a lot of ad-hoc logic
with a variable index into the array.

With the exception of the changes to mtypes.h, this patch was
generated entirely by the command:

find src -type f '(' -iname '*.c' -o -iname '*.cpp' -o -iname '*.py' \
-o -iname '*.y' ')' -print0 | xargs -0 sed -i \
-e 's/Const\.VertexProgram/Const.Program[MESA_SHADER_VERTEX]/g' \
-e 's/Const\.GeometryProgram/Const.Program[MESA_SHADER_GEOMETRY]/g' \
-e 's/Const\.FragmentProgram/Const.Program[MESA_SHADER_FRAGMENT]/g'

Suggested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
a92b9e60aba8cd1fc5d935abc9fd8f37cae89168 13-Nov-2013 Ian Romanick <ian.d.romanick@intel.com> mesa: GL_EXT_packed_depth_stencil is not optional

Every driver supports it. All current and future Gallium drivers always
support it, and all existing classic drivers support it.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
1bf436e014cb220f80c56683ee949ad93b2116a0 13-Nov-2013 Ian Romanick <ian.d.romanick@intel.com> r200: Sort list of enabled extensions

Note that ARB_occlusion_query was previously enabled twice.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
38366c0c6e715314367b15680702e382d5c46a4a 08-Dec-2013 Kristian Høgsberg <krh@bitplanet.net> dri_util: Don't assume __DRIcontext->driverPrivate is a gl_context

The driverPrivate pointer is opaque to the driver and we can't assume
it's a struct gl_context in dri_util.c. Instead provide a helper function
to set the struct gl_context flags from the incoming DRI context flags.

v2 (idr): Modify the other classic drivers to also use
driContextSetFlags. I ran all the piglit GLX_ARB_create_context tests
with i965 and classic swrast without regressions.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> [v1]
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Ilia Mirkin <imirkin@alum.mit.edu> [v1 on Gallium nouveau]
Cc: "10.0" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
7b140d1bdaf07badebdc5ac222ab4ff4d182ebec 10-Sep-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/dri: Move context flag validation down into the drivers

Soon some drivers will support a different set of flags than other
drivers. If some flags have to be filtered in the driver, we might as
well filter all of them in the driver.

The changes in nouveau use tabs because nouveau seems to have it's own
indentation rules.

v2: Fix some rebase failures noticed by Ken (returning the wrong types,
etc.).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
17c94de33baf66ad5c264b7a046394c651bc6126 10-Sep-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/dri: Add basic plumbing for GLX_ARB_robustness reset notification strategy

No drivers advertise the DRI2 extension yet, so no driver should ever
see a value other than false for notify_reset.

The changes in nouveau use tabs because nouveau seems to have it's own
indentation rules.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
5da618c20eaf8052e3ad115c1e57bcbb1ee0e0cb 20-Oct-2013 Rico Schüller <kgbricola@web.de> r200: Enable ARB_texture_mirror_clamp_to_edge.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Rico Schüller <kgbricola@web.de>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
083f66fdd6451648fe355b64b02b29a6a4389f0d 26-Sep-2013 Eric Anholt <eric@anholt.net> dri: Move API version validation into dri/common.

i965, i915, radeon, r200, swrast, and nouveau were mostly trying to do the
same logic, except where they failed to. Notably, swrast had code that
appeared to try to enable GLES1/2 but forgot to set api_mask (thus
preventing any gles context from being created), and the non-intel drivers
didn't support MESA_GL_VERSION_OVERRIDE.

nouveau still relies on _mesa_compute_version(), because I don't know what
its limits actually are, and gallium drivers don't declare limits up front
at all. I think I've heard talk about doing so, though.

v2: Compat max version should be 30 (noted by Ken)
Drop r100's custom max version check, too (noted by Emil Velikov)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
d7361f294379c3b6d7f17c06fd520a6fd3ee7cb9 26-Jun-2013 Eric Anholt <eric@anholt.net> mesa: Remove unused allow_large_textures driconf from classic drivers.

This option hasn't been used since the introduction of DRI2.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
9bc24b4fc4ee1eda60d4f4bde662f7a1d8474cc1 28-Jun-2013 Ian Romanick <ian.d.romanick@intel.com> mesa: GL_NV_blend_square is not optional

Every driver left in Mesa enables this extension all the time. There's
no reason to let it be optional.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
338ea2e4d14b5bf30fe2820facd71333d5acd527 28-Jun-2013 Ian Romanick <ian.d.romanick@intel.com> mesa: GL_EXT_fog_coord is not optional

Every driver left in Mesa enables this extension all the time. There's
no reason to let it be optional.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
c139708087ead063da7ac64126af69f2fe7bcf1e 28-Jun-2013 Ian Romanick <ian.d.romanick@intel.com> mesa: GL_EXT_secondary_color is not optional

Every driver left in Mesa enables this extension all the time. There's
no reason to let it be optional.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
b5305a303bd13f91a00f36f205b767d1bfef2ab5 28-Jun-2013 Ian Romanick <ian.d.romanick@intel.com> mesa: GL_EXT_framebuffer_object is not optional

Every driver left in Mesa enables this extension all the time. There's
no reason to let it be optional.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
bab755ad1b8cc5560c7d92e21b1fb1c3bebd43ae 20-Jun-2013 Eric Anholt <eric@anholt.net> mesa: Remove Driver.GetBufferSize and its callers.

Only the GDI driver set it to non-NULL any more, and that driver has a
Viewport hook that should keep it limping along as well as it ever has.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
bbf029f7cf006d86a5dd13bf3bdd43f660ce2e51 18-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Move the mvp_with_dp4 flag to ShaderCompilerOptions.

This flag essentially tells the compiler whether it prefers
dot products or multiply/adds for matrix operations. As such,
ShaderCompilerOptions seems like the right place for it.

This also lets us specify it on a per-stage basis. This patch makes all
existing users set the flag for the Vertex Shader stage only, as it's
currently only used for fixed-function vertex programs. That will
change soon, and I wanted to preserve the existing behavior.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
5e78433eec94fcaa87bdcb2526ec0910a69ed347 02-May-2013 Marek Olšák <maraeo@gmail.com> mesa: move max texture image unit constants to gl_program_constants

Const.MaxTextureImageUnits -> Const.FragmentProgram.MaxTextureImageUnits
Const.MaxVertexTextureImageUnits -> Const.VertexProgram.MaxTextureImageUnits
etc.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
b76f6d9557ff27140e18cf8aa2b57db8876d5d4d 17-Apr-2013 Brian Paul <brianp@vmware.com> mesa: remove #include "mfeatures.h" from numerous source files

None of the remaining FEATURE_x symbols in mfeatures.h are used anymore.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
a021881ccdaf1d81fb7c8bef4b58b4c037dc4f44 01-Dec-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Use a single flag for the S3TC extensions that don't require on-line compression

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Lee Salzman <lsalzman@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
be4b1664fbc98b0b1d66bb91850ecada52b36b91 18-Jan-2013 Eric Anholt <eric@anholt.net> mesa: Make the drivers call a non-code-generated dispatch table setup.

I want to drive the Save dispatch table setup from this same function.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
4bea4cb9fd55cdb267003a6e6e16f7e903e00940 16-Nov-2012 Jordan Justen <jordan.l.justen@intel.com> drivers: compute version and then initialize exec table

This change forces the context version to be computed before
initilizing the exec dispatch tables.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
654a945f4d5fa00a40d47b952162a3b7f71dca5d 05-Dec-2012 Stefan Dösinger <stefandoesinger@gmx.at> r200: Initialize swrast before setting limits

Otherwise the driver announces 4096 vertex shader constants and other
way too high limits.

NOTE: This is a candidate for stable release branches.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
dbd6135bc1ba285128ab991c03c4df6fbd6fefe8 27-Nov-2012 Paul Berry <stereotype441@gmail.com> mesa: Rename API_OPENGL to API_OPENGL_COMPAT.

This should help avoid confusion now that we're using the gl_api enum
to distinguishing between core and compatibility API's. The
corresponding enum value for core API's is API_OPENGL_CORE.

Acked-by: Eric Anholt <eric@anholt.net>
Acked-by: Matt Turner <mattst88@gmail.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
63c233cf08acc47c37feba8134260a535c2c087c 10-Oct-2012 Eric Anholt <eric@anholt.net> r200: Remove support for software-only NV_vertex_program.

It wasn't supported in hardware, and the comments in the code indicated no
known uses (similar to my experience on Intel) and a possible intent to remove
it.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
5a63634a136caa905e7a1fa5da8fe5dc9f26add5 29-Sep-2012 Brian Paul <brianp@vmware.com> radeon/r200: make radeon_context subclass of gl_context

radeon_context now contains a gl_context, rather than a pointer to one.
This will allow some minor core Mesa clean-up.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
f88393afbe93898b167b3f218bbf33cffc70ef38 11-Sep-2012 Oliver McFadden <oliver.mcfadden@linux.intel.com> mesa: remove FEATURE_OES_EGL_image define.

Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
2b7a972e3f36bfcdc6fbe2b59d7ffdcde49c9405 04-Sep-2012 Matt Turner <mattst88@gmail.com> Don't cast the return value of malloc/realloc

This patch has been generated by the following Coccinelle semantic
patch:

// Don't cast the return value of malloc/realloc.
//
// Casting the return value of malloc/realloc only stands to hide
// errors.

@@
type T;
expression E1, E2;
@@
- (T)
(
_mesa_align_calloc(E1, E2)
|
_mesa_align_malloc(E1, E2)
|
calloc(E1, E2)
|
malloc(E1)
|
realloc(E1, E2)
)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
fe72a069d1fcce943f315907b4744b63158938b1 01-Sep-2012 Brian Paul <brianp@vmware.com> mesa: s/FREE/free/

v2: replace instances in dri/common/ dirs

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
4fdac659f800da0aa4504489f627738c83c94d66 01-Sep-2012 Brian Paul <brianp@vmware.com> mesa: s/CALLOC/calloc/

v2: replace instances in dri/common/ dirs

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
35cf6aeb8c26821e704db737b61cf2623b3e8f6b 22-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Enable GL_{ARB,APPLE}_vertex_array_object in all drivers

This is a purely software extension. The drivers don't need to do any
work to support it.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_context.c
4a2f00889ba481c117057da5fac7585327458cc3 14-Oct-2011 Eric Anholt <eric@anholt.net> r200: Drop the non-kernel-memory-manager and DRI1 code.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_context.c
bd67f8617d217a1d55f4d522cbeb565d5aa45d4f 23-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> r200: 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 is explicitly added
with a dependency on the drmSupportsBlendColor flag.

EXT_blend_logic_op is removed from the list of extensions because
blend factors and separate blend equations are not handled correctly.
Based on feedback from Roland Scheidegger.

Cc: Alex Deucher <alexdeucher@gmail.com>
Cc: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
ab13ebf7c138cc54b405b990159c6b8ed0531d58 17-Apr-2011 Marek Olšák <maraeo@gmail.com> r200: enable some extensions

Such as:
- GL_ARB_half_float_pixel
- GL_ARB_vertex_array_object
- GL_APPLE_vertex_array_object
- GL_EXT_gpu_program_parameters
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
7a1cdef6c440f4f0ae1a4e6cf51f6a6235de3418 10-Jan-2011 Vinson Lee <vlee@vmware.com> r200: Include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_context.c
d1ca1599f0319f5c99852ce24420aa592e806db0 12-Mar-2010 Alex Deucher <alexdeucher@gmail.com> r100/r200/r300/r300: only enable accelerated pixel ops with kms

fixes fdo bug 27043
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
e167403e5809c447870644bd9ea09fad369706cf 10-Mar-2010 Alex Deucher <alexdeucher@gmail.com> radeon/r200/r600: enable HW accelerated gl(Read/Copy/Draw)Pixels
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_context.c
391892b0d8d46c4f0e43799fac61dd8246e4e023 31-Jan-2010 Vinson Lee <vlee@vmware.com> r200: Remove unnecessary headers.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
67aa70411249cf0f8c39eedaf8432ad537c166ca 20-Jan-2010 Alex Deucher <alexdeucher@gmail.com> r200: fix some breakage after move to common blit code
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
2706bc6a8898c7d7e155440cfa793035e56186b8 19-Jan-2010 Maciej Cencora <m.cencora@gmail.com> r200: use common glCopyTex(Sub)Image code
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
1ced546577745d361ad06577914f44f484656d37 19-Jan-2010 Alex Deucher <alexdeucher@gmail.com> r200: add blit support

Only enabled with KMS.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
0c75854cc1650dc870e042aa66a053e70b3d4556 02-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> Merge commit 'mesa_7_6_branch' into mesa_7_7_branch

Conflicts:
src/mesa/main/version.h
2b5618fc5bdcbee3434f8b5aa3a31eb06fb479c0 03-Dec-2009 Alex Deucher <alexdeucher@gmail.com> r200: fix polygon stipple

fixes fdo bug 25354

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
239105c6c87da0b0c5c15ae54b19fe39492b0f29 30-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r200: Convert r200 to use new style debug code.

Only very few places where realy converted so there isa lot of to do.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
e541845959761e9f47d14ade6b58a32db04ef7e4 28-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r200: Fix piglit paths test.

Polygon stipple has to go to command buffer because special ioctl is disabled.
Piglit doesn't like HyperZ warning so disable it for kms.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
b6df23d8b3e70d86433ba9fc4d87338e1063fe39 26-Aug-2009 Dave Airlie <airlied@linux.ie> radeon/r200: OQ support for r200 in theory.

this is an untested port of the r100 OQ code
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
dbf59de6d2f8be526e97af6c768622e6ca3cf6b1 26-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r200: Add scissor to state atom list.

Scissors are jsut one of states that we have to emit so it should be in state list
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
b6a4f5f1d3f0a79b4502d0b30d8b259e8189b70f 04-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r200: Prevent TexGenMatrix from leaking when destroying r200 context.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
cdbcb051d93836861bc4d4e1027156111ac249d2 25-Jun-2009 Dave Airlie <airlied@redhat.com> radeon/r200: add some hw texture limits
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_context.c
f577c8e462fc924ea436d129ad64c8a1226b5f9c 24-Mar-2009 Dave Airlie <airlied@linux.ie> radeon/r200/r300: fix warnings
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_context.c
c73f4fdb65a6bae4b02348d73f2efdb8f2c5583a 21-Mar-2009 Dave Airlie <airlied@linux.ie> r200: fix for sure
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
98f1b1e6f99c690645c3cb5093005fc41f436225 21-Mar-2009 Dave Airlie <airlied@redhat.com> radeon/r200: add fbo init
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
2ba4fc3d603ebc9e3210ef96f9fbc2cd488e0a33 17-Feb-2009 Dave Airlie <airlied@redhat.com> radeon/r200: drop legacy texture heap code
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
48e7b940ebc2cb3594074ca35fad9c63f6568582 17-Feb-2009 Dave Airlie <airlied@redhat.com> radeon/r200: fixup texturing aging calls
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
ade3660942452985afa1bb67bbeab8fed734089d 12-Feb-2009 Dave Airlie <airlied@redhat.com> r200: fixup some CS emission sizes
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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
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/r200/r200_context.c
edbe1fac6a1793da7faca104691a453023d9efac 10-Feb-2009 Dave Airlie <airlied@redhat.com> radeon: fix span init needs more work
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
c1a42f5cdc68d8ec2ccae2cd93a1615f5d4ca924 04-Feb-2009 Dave Airlie <airlied@redhat.com> r200: fixup DMA region stuff
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
f68a61d88398fe8eb3eb41b929dcb4483354a81e 30-Jan-2009 Dave Airlie <airlied@redhat.com> r200/r300: swtcl fixups to use old dma buffers on top of BOs
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
c9bb5cd20e5468168d54fe461c853926072fa813 29-Jan-2009 Dave Airlie <airlied@redhat.com> r200: bring back single dma flush
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
31a112e6e81246944bc96b8d095960dd0f96c83c 29-Jan-2009 Dave Airlie <airlied@redhat.com> r200: avoid setting variable on kernel mm setup
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_context.c
61bb82636f7b1681b5509e1a9038bbcc1feea35c 21-Jan-2009 Dave Airlie <airlied@redhat.com> r200/r300: port r200 texture handling to common code

we now get texrect + trivial textures working
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
04029e5ddb030445edc98305b091b9a35479282a 20-Jan-2009 Dave Airlie <airlied@redhat.com> r200: tri runs without crashing - doesn't draw anything
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
4aa874c6368f2485d4ef72e2dc0230b7d443f9f0 14-Jan-2009 Dave Airlie <airlied@redhat.com> r200: add missing symbols
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
8c6a7d01744fe6164a868c5f691bb119109773c0 14-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: make legacy emit non-r300 specific
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
e7d06a55c5443cfef73f5c2f60052cc26a1e9ff2 14-Jan-2009 Dave Airlie <airlied@redhat.com> radeon: move debug symbol add DRI2
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
23295cf8e84495af86f62395d32b3116261927e8 14-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: consolidate swap buffers
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_context.c
0217ed2cf9b0a538ca03d26b302a7cd57af7dd21 13-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200: move more stuff closer together in context
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
692ca82116485a9c6191e5265c5b369d5b4f82f3 13-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200: start splitting out commonalities into separate headers
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.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/r200/r200_context.c
fddb0f6e4fa67f3d6940e10519560941b59f5a5e 25-Apr-2008 Pierre Beyssac <mesa-bugzilla@fasterix.frmug.org> enable GL_EXT_multi_draw_arrays (see bug 15670)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_context.c
0985e786cdd08bf900db889b69783be4bc467e5b 18-May-2007 Christoff Brill <egore@gmx.de> remove CVS/XFree86 keywords
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
96e05da1c959b3dad7250ccfad1bf540bbec2fbf 16-Apr-2007 Brian <brian@yutani.localnet.net> remove _tnl_arb_vertex_program_stage
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
d0a3400f66b8c4ace7ebef6d0a944376d5203756 12-Mar-2007 Alan Swanson <swanson@ukfsn.org> r200: Simplify r200SetCliprects like radeonSetCliprects in radeon and r300.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
33ea9dccaf31c2dfb0961847eedfe75336d9c80f 12-Mar-2007 Alan Swanson <swanson@ukfsn.org> r200: Adapt cliprect fixes from r300.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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
8f6a50a49cd3b7479d1cfcf195b53e6d9b0800dd 15-Nov-2006 Jerome Glisse <glisse@freedesktop.org> Remove use of GetBufferSize (depreciated).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
25b2e50229592ecd4cc3d058471bdee1cb8a0c55 03-Nov-2006 Roland Scheidegger <rscheidegger@gmx.ch> remove remaining traces of r200FlushVertices...
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
e7b71f69190c9fec567163dd7f63df593e069678 03-Nov-2006 Roland Scheidegger <rscheidegger@gmx.ch> remove setting some driver funcs explicitly to NULL, as they are no longer set up later. Thix fixes a segfault in _mesa_Bitmap().
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
80c88304fc9d09531b2530b74973821e47b46753 31-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> remove vtxfmt code, switch over to vbo
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
cb977ae5f4c9fab5753c04bfdd8736978ad4feee 14-Oct-2006 Roland Scheidegger <rscheidegger@gmx.ch> implement ARB_point_parameters and ARB_point_sprite on r200. The code is nearly the same as outlined in bug #4707, except it disables perspective correction for point sprites to make them actually work. And, separate the state atom into two as the tcl parameters would overwrite vertex program parameters when active. Also implement the GL_VERTEX_PROGRAM_POINT_SIZE_ARB option to make vertex programs outputting a point size work correctly (untested). Smooth points will still always be size 1. While here, enable gouraud shading for fog when using fog coord.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
bd4c8ec0ec1edcc96fe841ccc7159b7856ade5c1 19-Aug-2006 Roland Scheidegger <rscheidegger@gmx.ch> remove the now confusing option to manually enable software ARB_vp if drm is not new enough on r200
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
5b90cf2f2f3dcda0d674c01859847149b4054608 10-Jun-2006 Roland Scheidegger <rscheidegger@gmx.ch> enable arb_vertex_program by default if drm is new enough. Do a fallback when it's a nv_vp as there could be issues.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
98c791b543c4ba86b8bb54488bd872b33b10b1aa 03-Jun-2006 Roland Scheidegger <rscheidegger@gmx.ch> implement arb_vertex_program in hw for r200. Code contains still some hacks, generic attribs cause a fallback, but otherwise it seems to work quite well. Passes all glean vertProg1 tests with the exception of the degnerated LIT case (which is a hw limitation), as well as runs the r200 render path of doom3/quake4 (1.1 patch needed for quake4). The code is heavily borrowed from the r300 driver as vertex programs encoding is almost identical. arb_vertex_program is not yet announced by default and still needs to be enabled via driconf.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
b302419abe96cdb81878913c164d7ae2209ddcda 02-Jun-2006 Roland Scheidegger <rscheidegger@gmx.ch> remove code dealing with drmMinor version < 6 since all radeon drivers request at least drmMinor 6 anyway.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_context.c
44dace86eaf9eded8e6465adfadf6345658686dd 05-Oct-2005 Roland Scheidegger <rscheidegger@gmx.ch> enable point sizes larger than 1 (for aliased points only) by using the hw point sprite primitive.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
f20917de5bd2b1fc152e74304d3649a1f6042422 12-Sep-2005 Roland Scheidegger <rscheidegger@gmx.ch> add complete support for ATI_fragment_shader for the r200. Most of the new code is in the new file r200_fragshader.c. Reverse engeneered by Dave Airlie and me
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
036a99452d26167b70cadafb97b7e77ebdafd78c 10-Sep-2005 Roland Scheidegger <rscheidegger@gmx.ch> add _tnl_arb_vertex_program_stage to all drivers which already have _tnl_vertex_program_stage. Fixes crashes when using vertex programs. Tested on r200 only (fix by Keith Whitwell)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
fcbfeb5d28aea87c60f2d02daa213d0c0c2516e8 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.
Old code is surrounded by #if 000 / #endif, temporarily.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
36603539ccdb1c507724d8a1c314e6c9cc9863d9 31-Aug-2005 Roland Scheidegger <rscheidegger@gmx.ch> enable GL_ARB_texture_env_crossbar on r200, separate the enable bits for texture sampling and texture environment, optimize away texture sampling for units if the result is not used, always emit the env instructions in-order and try to eliminate GL_REPLACE env instructions.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
fbcc5aedf2a06e14030a3e67d2be9fd043e3cf38 11-Aug-2005 Ian Romanick <idr@us.ibm.com> Remove support for the R200_NO_VTXFMT environment variable. Instead use
'tcl_mode=1'. This fixes bugzilla #3972.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_context.c
f3186e578938f4f02268317da528c664d6be7b46 06-Jul-2005 Roland Scheidegger <rscheidegger@gmx.ch> Re-enable r200InitSpanFuncs, which was ifdefed out (probably by mistake?),
so r200SetBuffer, r200SpanRenderStart and r200SpanRenderFinish get called again.
Bugzilla #3705, #3706.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_context.c
ab7312ef63434d180eadad734b554f7210e3403b 27-Feb-2005 Dave Airlie <airliedfreedesktop.org> precedence precedence precedence.. add some brackets
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
0846e52d46b36c411f79908df010072e03bb6437 17-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> s/0/NULL/ (Jeff Muizelaar)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_context.c
0fdb7ef8779adf6ae07c73bb0559651846fbe8c6 03-Dec-2004 Roland Scheidegger <rscheidegger@gmx.ch> only enable GL_MESA_ycbcr_texture for real r200 chips, not the derivatives, since yuv textures do not work for some reason on the other chips.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
d294f79190a5b25ef0fbbbf3ac94b15c9402d009 03-Nov-2004 Roland Scheidegger <rscheidegger@gmx.ch> enable GL_EXT_fog_coord. Calculate fog factors and submit them instead of fog coords (it seems the chip cannot do fog factor computation when not using fragment depth as fog coord source). vtxfmt uses fallback for now (most code present but some magic would be needed if replaying vertices is necessary later on).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_context.c
4010481ba3bce98d95a20e9a061fb62922bdcb83 25-Sep-2004 Eric Anholt <anholt@FreeBSD.org> Fix texturing in quake3. Some code was left over from the dirty/clean list
setup that now removed atoms from the atomlist on texture deletion.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
b4e2e9c65a8c840031065812d3c16add9d61b98b 25-Sep-2004 Eric Anholt <anholt@FreeBSD.org> Bump DRIVER_DATE for yesterday's changes.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
0c8f8d3dc9d60ed34eeca7f3606651420a81753c 22-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. Also, remove the dirty/clean atom lists, since atoms are
emitted in a fixed order these days, and go with a simpler single list.

Provides a 14% improvement in ipers performance in my tests, along with other
apps.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
c18fe0c92b69e25a95f773875825f092caa43cc2 08-Sep-2004 Dave Airlie <airliedfreedesktop.org> updated patch for vertex program
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
0866b67fdb8503b38715da310ddf78dd15c92f8f 07-Sep-2004 Dave Airlie <airliedfreedesktop.org> This patch enables GL_ARB_vertex_program and GL_NV_vertex_program
support in the r200 driver. Both extensions can be enabled via
options, GL_ARB_vertex_program is on by default, GL_NV_vertex_program
off. Option descriptions are in german, english and french.

From: Philipp Klaus Krause
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
48ccaf200940613032dfaaafe71382947f398004 03-Jun-2004 Roland Scheidegger <rscheidegger@gmx.ch> add support for more than 2 texture units (max 6, default 4). use hang workarounds only for r200, not derivatives.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
033728555cb2f39d8c77f228e1eccc45329bb40a 20-May-2004 Roland Scheidegger <rscheidegger@gmx.ch> Add support for GL_EXT_blend_[func|equation]_separate. Fix GL_EXT_blend_color. Remove support for GL_EXT_blend_logic_op (cannot be supported together with blend_equation_separate unless a software fallback would be added).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
74d563cdfbfb07cc666d60dc909e90ddb9949cbb 29-Apr-2004 Keith Whitwell <keith@tungstengraphics.com> Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_context.c
20e25ca50a6335fda3769f746165b5bbc2dfa95b 24-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> call _tnl_allow_pixel/vertex_fog() funcs
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
afa446db83ecf5dcb38ce46648fb12911628de32 21-Jan-2004 Ian Romanick <idr@us.ibm.com> Silence some compiler warnings.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
169223c9eee5ee365bb4575939d92f852383d562 21-Jan-2004 Ian Romanick <idr@us.ibm.com> Make the R200 driver work with the NewTextureObject in Mesa. Other
drivers that use the texmem interface will likely need similar changes.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_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/r200/r200_context.c
4dd4ac3fc0241910ecc8331659db09bf68399a60 11-Jan-2004 Michel Dänzer <michel@daenzer.net> Actually disable HW TCL capability when SW TCL is forced.

+ remove some gratuitous whitespace
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
10095c9024efb1767fb3df0b59672299c090ad10 06-Jan-2004 Eric Anholt <anholt@FreeBSD.org> Add support for Radeon IGP chipsets, based off of mcgrof-radeon-igp-v3.diff

XFree86 bug: 314
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
013056ac651383579b1395c18ad96bd0dca620dd 12-Dec-2003 Keith Whitwell <keith@tungstengraphics.com> set MaxTextureImageUnits, MaxTextureCoordUnits
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
2dc621f3fdb585f23013aa3e220f2148f9405538 11-Dec-2003 Keith Whitwell <keith@tungstengraphics.com> Updates to tnl_dd_dmatmp.h
- Allocate vertices explicitly, rather than trying to talk
about dma buffers.
- Clean up the various Flush() operations.
- Don't allow fallbacks any longer. Provide a support function
to detect them ahead o ftime
Updates to tnl_dd_vbtmp.h
- Get rid of power-of-two vertex strides. Pack all vertices tightly.
- Get texunit 2,3 emit working coorrectly.
Other stuff:
- Get rid of lingering Ubyte color support.
- Fix a few compiler warnings.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_context.c
273e52f86fa41564f573c8e84d013f995e01a8f0 08-Dec-2003 Alan Hourihane <alanh@tungstengraphics.com> sync some more of the r200 driver from the DRI trunk
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
e4b5ff8e773eb376e0b370df3d61c5b9bb02ea64 05-Dec-2003 Alan Hourihane <alanh@tungstengraphics.com> xmlconfig fixes for the new options
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c
57c9814b9e87924696df4c741861c29d4236d1eb 24-Nov-2003 Keith Whitwell <keith@tungstengraphics.com> Import vtx-0-2-branch
/external/mesa3d/src/mesa/drivers/dri/r200/r200_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/r200/r200_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/r200/r200_context.c
adbec39bbf671ad80f6c557801e274cac0d305fa 06-Aug-2003 Keith Whitwell <keith@tungstengraphics.com> r200 driver, brought over by Jon Smirl
/external/mesa3d/src/mesa/drivers/dri/r200/r200_context.c