History log of /external/mesa3d/src/mesa/drivers/common/driverfuncs.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ec19bdd16c3d4070af69fd865042babe0a627595 06-Jun-2012 Brian Paul <brianp@vmware.com> mesa: consolidate internal glCompressedTexSubImage1/2/3D code

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
e8fdd0e0d5286f4a9c763ffde44decec51124ebc 06-Jun-2012 Brian Paul <brianp@vmware.com> mesa: consolidate internal glCompressedTexImage1/2/3D code

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
cd9ab2584f5e2a5eb0e96a948e6aedc9a33c886d 06-Jun-2012 Brian Paul <brianp@vmware.com> mesa: consolidate internal glCopyTexSubImage1/2/3D code

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
e42d00b3f4503a0840575c8e5f4517a66c8af613 06-Jun-2012 Brian Paul <brianp@vmware.com> mesa: consolidate internal glTexSubImage1/2/3D code

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
8f5fffe75d2f8ae7c7ee706b53379a25bc673ae4 06-Jun-2012 Brian Paul <brianp@vmware.com> mesa: consolidate internal glTexImage1/2/3D code

The functions for handling 1D, 2D and 3D texture images were nearly
identical. This folds them all together.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
f21dfa9d4b7b1f4956a5c0e5926559d00bc19315 12-Mar-2012 Brian Paul <brianp@vmware.com> mesa: remove ctx->Driver.ClearColor() hook

The driver Clear() function should just grab the clear color out of the
context.

Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
5f80218884c0a86068d1be21920bfb191ac31349 12-Mar-2012 Brian Paul <brianp@vmware.com> mesa: remove ctx->Driver.ClearDepth(), ClearStencil() driver hooks

Not used by any drivers. Drivers can easily access the values
from the Mesa context at glClear() time.

Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
56d83ac4bf0267982554f25c6fdb3c1dd6e14a9c 16-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove ctx->Driver.Map/UnmapTexture() hooks

No longer used anywhere.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
d0dc75c000d5af92648c7de901756400672b8447 06-Dec-2011 Brian Paul <brianp@vmware.com> mesa/drivers: use new swrast renderbuffer functions

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
122c6768e3d4c1d1b57203eca70569f9301baab5 03-Dec-2011 Brian Paul <brianp@vmware.com> mesa: rewrite accum buffer support

Implemented in terms of renderbuffer mapping/unmapping and format
packing/unpacking functions.

The swrast and state tracker code for implementing accumulation are
unused and will be removed in the next commit.

v2: don't use memcpy() in _mesa_clear_accum_buffer()
v3: don't allocate MAX_WIDTH arrays, be more careful with mapping flags

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
2f88139145da99a695680c813ef5cc669eaef034 03-Dec-2011 Brian Paul <brianp@vmware.com> mesa: remove the ctx->Driver.IsTextureResident() hook

No driver implemented this and we always returned "True" for residence
queries.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
5acb291f319a0b32d9701b3e6c8624175f1a80e7 03-Dec-2011 Brian Paul <brianp@vmware.com> mesa: remove TextureMemCpy driver hook

There's probably no reason to use a special version of memcpy() anymore.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
bd5ba36bf73fb63e62f779138d5e1ef6fcec6f26 12-Nov-2011 Brian Paul <brianp@vmware.com> mesa: use _mesa_readpixels() as default driver hook

Acked-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
76d1275474d7b5ac2f0edf5856ae1c5fc234f0d9 13-Oct-2011 Eric Anholt <eric@anholt.net> Add MapRenderbuffer implementations for software drivers.

Mesa core's is generic for things like osmesa.

For swrast_dri.so, we have to do Y flipping. The front-buffer path
isn't actually tested, though, because both before and after it fails
with a BadMatch in XGetImage.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
12d69fca096facf0ddb4642faaed4d5f02d76848 31-Oct-2011 Brian Paul <brianp@vmware.com> swrast: implement GL_ARB_texture_storage
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
b4dc35d9bc879c104faac043b640ae2673763b93 21-Aug-2011 Chia-I Wu <olv@lunarg.com> meta: add _mesa_meta_DrawTex()

It is set to dd->DrawTex.

Reviewed-by: Brian Paul <brianp@vmware.com>

[olv: set dd->DrawTex in _mesa_init_driver_functions]
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
fd7c46f53f3a7ae5c67f3c44ba283eeb4f72b366 29-Sep-2011 Chad Versace <chad@chad-versace.us> mesa: Add dd_function_table::PrepareExecBegin

This hook allows the driver to prepare for a glBegin/glEnd.

i965 will use the hook to avoid avoid recursive calls to FLUSH_VERTICES
during a buffer resolve meta-op.

Detailed Justification
----------------------
When vertices are queued during a glBegin/glEnd block, those vertices must
of course be drawn before any rendering state changes. To enusure this,
Mesa calls FLUSH_VERTICES as a prehook to such state changes. Therefore,
FLUSH_VERTICES itself cannot change rendering state without falling into
a recursive trap.

This precludes meta-ops, namely i965 buffer resolves, from occuring while
any vertices are queued. To avoid that situation, i965 must satisfy the
following condition: that it queues no vertex if a buffer needs resolving.
To satisfy this, i965 will use the PrepareExecBegin hook to resolve all
buffers on entering a glBegin/glEnd block.

--------
v2: Don't add dd_function_table::CleanupExecEnd. Anholt and I discovered
that hook to be unnecessary.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
9c72b729f34e1d544a66222c90561f93db6cb132 29-Sep-2011 Chad Versace <chad@chad-versace.us> mesa: Remove unused tnl items from dd_functions

Remove NeedValidate and ValidateTnlModule.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
e6cf338d015e994012535fce5e06c7dc59482b02 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: plug in swrast texture image alloc/free functions

Use the swrast allocation/free functions instead of core Mesa.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
20177a620ef123ae7cdbc7252fd41a48f5b76acc 17-Sep-2011 Brian Paul <brianp@vmware.com> swrast: plug in _swrast_new/delete_texture_image() functions
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
146f536b3332b7a2022bb4ba5e2d1d2ec4bedd98 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: add new DeleteTextureImage() driver hook

Matches the NewTextureImage() hook. With new subclasses of
gl_texture_image coming we need a new hook to properly delete objects of
those subclasses.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
e3dc78e57a7effbd30dc9539b3ea05ad85ac34e5 09-Sep-2011 Brian Paul <brianp@vmware.com> meta: added _mesa_meta_GetTexImage()

If the texture is compressed, call the meta decompress_texture_image()
function. Otherwise, call the core _mesa_get_teximage() function.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
eb805a518216ae61317e7eef78a0b2c692c10eae 29-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove dd_function_table::CopyColorTable, ::CopyColorSubTable, and ::UpdateTexturePalette

There's nothing left that can call any of these functions. This also
removes the meta-ops code that implemented the first two.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
e10337da21d45ab7cccfa98b4112d1b33f3a5604 30-Jul-2011 Brian Paul <brianp@vmware.com> swrast: Add implementation of MapTextureImage/UnmapTextureImage.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
0bb29949ba8a9e5a15dc0640dbb0a4e7990a1d57 27-Jul-2011 Eric Anholt <eric@anholt.net> mesa: Rename FreeTexImageData to FreeTextureImageBuffer.

This was produced by sed, except for one hunk in driverfuncs.c where
trailing whitespace was dropped.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
099aad2fb0dba8baff61dc7a6803c6c976c08069 11-Aug-2011 Brian Paul <brianp@vmware.com> mesa: fix initialization of GL_FOG_MODE in _mesa_init_driver_state()
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
9b8287f8f5398647ced3a52885233d58e548c2b7 11-Aug-2011 Brian Paul <brianp@vmware.com> mesa: fix ColorMask array index in _mesa_init_driver_state()

This doesn't really make any difference because all the colormasks
are the same upon context set-up, but it makes more sense.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
774311fb5403e3da7ff0197199ffad8f34089e6a 20-Jul-2011 Brian Paul <brianp@vmware.com> meta: remove _mesa_meta_CopyTexImage1D/2D()
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
755f2e2ae597df9208523b0996bbdabf3db463b0 13-Jun-2011 Brian Paul <brianp@vmware.com> mesa: move texrender.c to swrast

This stuff is really for software rendering, it's not core Mesa.
A small step toward pushing the FetchTexel() stuff down into swrast.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
1f32c665c8af0622e2bbf451edb999ffbcd7d0fe 20-Apr-2011 Eric Anholt <eric@anholt.net> intel: Add support for ARB_sampler_objects.

This extension support consists of replacing
"gl_texture_obj->Sampler." with "_mesa_get_samplerobj(ctx, unit)->".
One instance of referencing the texture's base sampler remains in the
initial miptree allocation, where I'm not sure we have a clear
association with any texture unit.

Tested with piglit ARB_sampler_objects/sampler-objects.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
867f9b07d42c2b49ddb9e5bb17f0ac5c4a80d8ac 08-Mar-2011 Marek Olšák <maraeo@gmail.com> mesa: add NV_texture_barrier
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
62c66b34303303e6786652efa611a100ae64439a 25-Jan-2011 Brian Paul <brianp@vmware.com> mesa: plug in fallback function for ctx->Driver.ValidateFramebuffer()

The software renderer doesn't support GL_ALPHA, GL_LUMINANCE, etc
so we should report GL_FRAMEBUFFER_UNSUPPORTED during FBO validation.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
74713e2d293f9e796a4053a5a99ee5cb7df5c740 11-Jan-2011 Brian Paul <brianp@vmware.com> mesa: begin implementation of GL_ARB_draw_buffers_blend
/external/mesa3d/src/mesa/drivers/common/driverfuncs.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/common/driverfuncs.c
a62efdf82c20747feb11dfd7756f0579aa914b57 10-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Remove EXT_convolution.

More optional code.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
9476efe77ff196993937c3aa2e5bca725ceb0b41 13-Sep-2010 Chia-I Wu <olv@lunarg.com> mesa: Remove unnecessary FEATURE tests.

Remove all FEATURE tests in mesa/drivers/common/. They are not needed
and the code looks better without them.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
ec2b92f98c2e7f161521b447cc1d9a36bce3707c 11-Jun-2010 Brian Paul <brianp@vmware.com> mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
a37b2219d6e3f299379c6434d65f300660d12c3e 11-Jun-2010 Brian Paul <brianp@vmware.com> mesa: refactor shader api / object code

Remove the unneeded ctx->Driver hooks for shader-related functions.
Move state and API-related things into main/.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
fef6e36e0736a68e24d7844bae65a01de8359214 11-May-2010 Brian Paul <brianp@vmware.com> mesa: more transform feedback infrastructure

Includes GL_ARB_transform_feedback2 which encapsulates transform feedback
state in objects.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
3965bc5d22deef6ada838a3ba991d6347201a28a 08-May-2010 Brian Paul <brianp@vmware.com> mesa: remove driver hooks for GetFloat/Integer/Doublev, etc

Once upon a time some drivers hooked into these for GL_HP_occlusion_test
and GL_OES_read_format. They're not being used anymore so get rid of them.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
bb8c3b1bcc81fd5addc5e214f3efcfdca50c6806 25-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove ClearIndex and IndexMask from device-driver interface

These are used to inform the driver of the clear value for color-index
buffers and to control write-masking of bits in color-index buffers.
No driver use or need (not even Nouveau) these interfaces.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
6bf1ea897fa470af58fe8916dff45e2da79634a3 19-Feb-2010 Brian Paul <brianp@vmware.com> mesa: replace _mesa_bzero() with memset()
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
c7ac486261ad30ef654f6d0b1608da4e8483cd40 19-Feb-2010 Kenneth Graunke <kenneth@whitecape.org> Remove _mesa_memcpy in favor of plain memcpy.

This may break the SUNOS4 build, but it's no longer relevant.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
e7a53c78aebdc8ed3032379314dcd507e2db5262 13-Feb-2010 Vinson Lee <vlee@vmware.com> mesa: Remove unnecessary headers.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
fd5511d27fc44096117c47ab503fb5b47f993061 30-Dec-2009 Brian Paul <brianp@vmware.com> mesa: implement per-buffer color masking

This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0.

The ctx->Color.ColorMask field is now a 2-D array. Until drivers are
modified to support per-buffer color masking, they can just look at
the 0th color mask.

The new _mesa_ColorMaskIndexed() function will be called by
glColorMaskIndexedEXT() or glColorMaski().
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
56dce15dcc7b0a869813ef97a0e68b166bac244f 16-Nov-2009 Brian Paul <brianp@vmware.com> mesa: remove unused ctx->Driver.ActiveTexture() hook
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
f549f4c4b6012178df3706b26539ca672399260f 13-Nov-2009 Brian Paul <brianp@vmware.com> mesa: remove unused vertex array driver hooks
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
1f196b786d6bd0c6a5dbdc638574ff716cc3d4de 29-Oct-2009 Brian Paul <brianp@vmware.com> Merge branch 'texformat-rework'

Conflicts:
src/mesa/drivers/dri/radeon/radeon_fbo.c
src/mesa/drivers/dri/s3v/s3v_tex.c
src/mesa/drivers/dri/s3v/s3v_xmesa.c
src/mesa/drivers/dri/trident/trident_context.c
src/mesa/main/debug.c
src/mesa/main/mipmap.c
src/mesa/main/texformat.c
src/mesa/main/texgetimage.c
4c00981b22b28141af1442e5a679d0923b4358ae 25-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove ctx->Driver.CompressedTextureSize() hook

It always just called _mesa_compressed_texture_size() anyway.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
73fc0ca4c36f258c4d0d7707dd3313a685c211bf 14-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove unused ctx->Driver.PrioritizeTextures() hook
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
0187e042b681663938a1a12e9ae03c6f0ab48af5 14-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove unused ctx->Driver.TextureMatrix() hook
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
e885cb48a0b9292b3df9204f1c2783bf1fe29a28 28-Sep-2009 Eric Anholt <eric@anholt.net> intel: Drop my generatemipmap code in favor of the new shared code.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
bc1c8d4af768be12ae96bc080e7e52b0c4cbfbdb 20-Sep-2009 Brian Paul <brianp@vmware.com> mesa: use new meta functions
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
6f9dbe773953b024075910b3bec11ebc96c2e8e0 19-Sep-2009 Brian Paul <brianp@vmware.com> mesa: use new _mesa_meta_CopyTex[Sub]Image() functions
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
f37070bab6af350caec905ea7658e9241042b6cc 29-Aug-2009 Ian Romanick <ian.d.romanick@intel.com> ARB sync: Add support for GL_ARB_sync to swrast

This isn't quite right yet. The delete behavior and the context
clean-up needs some work.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
a8da1feb231115205f3a19b0bb0a9317157ba167 19-Jun-2009 Brian Paul <brianp@vmware.com> mesa: make query-related driver fallback functions static

Plug them in via _mesa_init_query_object_functions().
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
331eb58f68db26b54f706a908a3e1424a461b709 19-Jun-2009 Brian Paul <brianp@vmware.com> mesa: make buffer object-related driver fallback functions static

Plug them in via _mesa_init_buffer_object_functions().
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
70d247c69bcef4f40b640ae61e9fb9ebc5887bb6 16-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'arb_map_buffer_range'

Conflicts:

docs/relnotes-7.6.html
src/mesa/main/mtypes.h
3fff84a999e7d564c16846340bb2b7dac75fb8b3 12-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'mesa_7_5_branch'
322e8556b91ceb80d4a53129cbb5db99087085f1 11-Jun-2009 Brian Paul <brianp@vmware.com> mesa: add default function for ctx->Driver.CheckQuery() hook
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
e75b283b45add351dbe5a09289fe85546df8a79a 09-Jun-2009 Brian Paul <brianp@vmware.com> mesa: implement GL_ARB_map_buffer_range

Only enabled for software drivers at this point.

Note that the gl_buffer_object::Access enum field has been replaced by
a gl_buffer_object::AccessFlags bitfield. The new field is a mask of
the GL_MAP_x_BIT flags which is a superset of the old GL_READ_ONLY,
GL_WRITE_ONLY and GL_READ_WRITE modes. When we query GL_BUFFER_ACCESS_ARB
we translate the bitfield into the conventional enum values.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
08e43ebfb216284818925e899419af03e28d2360 03-Jun-2009 Brian Paul <brianp@vmware.com> mesa: plug in new _mesa_CopyBufferSubData() functions
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
a4bec69e7271eda0137874973aa8c7d44175fedf 04-Apr-2009 Brian Paul <brianp@vmware.com> mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new file
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
69e07bdeb42f2454f5052f86119adfb68f253098 07-Mar-2009 Brian Paul <brianp@vmware.com> mesa: remove GL_MESA_program_debug extension

This was never fully fleshed out and hasn't been used.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
91e61f435a71436c209934a0ece165b540aba3e0 02-Mar-2009 Brian Paul <brianp@vmware.com> mesa: use Stencil._Enabled field instead of Stencil.Enabled
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
6b146214dc16b441376d8dcaba21bcc4256a2402 20-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: move rastpos helper to tnl
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
7ce597508e7400e962c8fdb2d255f9887cb9c710 20-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: improved driver query interface

Brought over from gallium-0.2 branch.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
bbd287103dad776d8a45c87c4e51fbc26d9b80d5 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: prefix a bunch of #include lines with "main/".

This is another step toward removing a whole bunch of -I flags from
the cc commands. Still need to address driver code...
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
fd59f19cd2388519265dfba3d28e5281df6f4ba0 19-May-2008 Brian Paul <brian.paul@tungstengraphics.com> Move _mesa_init_glsl_driver_functions() into shader_api.c

This allows making a bunch of functions static, and removes a state
tracker dependency on driverfuncs.c

cherry-picked from gallium-0.1
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
a638676473bd7bf2d47275ed2fd708e5b9d47e0b 09-May-2008 Dave Airlie <airlied@linux.ie> Added ctx->Driver.GenerateMipmap() driver hook
(cherry picked from commit 4c2f3dbca940f289e67248682b84a3516d5a3031)

Conflicts:

src/mesa/drivers/common/driverfuncs.c
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
61fbc816570820757afdbc3cd04cd475b337ad4f 29-Nov-2007 Brian <brian.paul@tungstengraphics.com> New ctx->Driver.Map/UnmapTexture() functions for accessing textures from t_vb_program.c
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
9944174abc546fe1845c26ce496edd747ad34347 11-Sep-2007 root <brian.paul@tungstengraphics.com> prefix some include filenames with shader/
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
a99114a69f2b7963ca1f855a320aea8aa56755ac 23-May-2007 Brian <brian.paul@tungstengraphics.com> added _mesa_init_driver_state() to replace duplicated code in intel drivers
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
b1502588c4755fa9d3d7b4eabed6332575033037 21-Apr-2007 Brian <brian@yutani.localnet.net> s/occlude.h/queryobj.h/
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
21bcb2e1f64fe7161e05e4dbb7bea5609ba30e2a 26-Feb-2007 Brian <brian@nostromo.localnet.net> s/GetFragmentProgramRegister/GetProgramRegister/
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
7aaefcbe487aedf53a46a66d2bac8b265b0176bf 23-Feb-2007 Brian <brian@yutani.localnet.net> use _mesa_get_program_register()
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
0bf5dbe002a64e198f55724cc1542602c012490f 20-Dec-2006 Brian <brian@yutani.localnet.net> Overhaul of GLSL API functions, dispatching, etc.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
39c4daa6bc15a83a97c3c0b456bf1795ef9e6099 10-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Move the fp_machine struct into s_nvfragmprog.c since (except for program
debug) it's only used there.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
ee34e6ef716bb630440299ac1efbc2055ef09ffd 12-Jun-2006 Ian Romanick <idr@us.ibm.com> Add support for GL_APPLE_vertex_array_object. Several test programs
and demos are also added.

Adding basic support to drivers should be as easy as just enabling the
extension, though thorough test would also be required.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
ea4fe661d7f3a95d9db17e1475076f1badf8e1a6 26-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> merge from texman branch
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
afa1df58714c37b056fe9aee77500e900ee9dbf0 02-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> plug in BlitFramebuffer function
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
b5ee368baf6472a79d250f0be418200760f4b43d 28-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> TNL module needs to implement ctx->Driver.ProgramStringNotify() function
so that calls to glProgramStringARB() to specify a new program causes the
TNL-attached data to get recomputed.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
b43671c8bf0ff640243c670ff98225d2a3c10632 14-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
878c371e6cf6eb28afacc482d8aeaa0119f00d5b 13-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Replace ctx->Driver.StencilOp/Func/Mask() functions with
ctx->Driver.Stencil*Separate() functions.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
5179f671e7f9366e278dbff519c283956ba0c2fe 13-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> init StencilOpSeparate to NULL
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
acafeeb6dce74382fb3a48b83ab72bf67b7581ea 03-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Remove last remnants of pre-renderbuffer code.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
4fb995084e1b4b629667f09331adf060aa0fac4c 02-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Prototype implementation of new GL_EXT_timer_query extension (not finalized yet).
Extends the query mechanism to query elapsed time while rendering.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
23ffc3a85d6172f8a98d17d7f23610bab808d84e 27-Aug-2005 Brian Paul <brian.paul@tungstengraphics.com> Rearrange the code related to GL_ARB_occlusion_object to generalize query
objects for future types of queries.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
17bcf9f816db3098db42acd7f0672f64554dd6a0 23-May-2005 Keith Whitwell <keith@tungstengraphics.com> Import Thomas Helstrom's SSE memcpy code from the via X.org driver.
Add a TextureMemCpy callback, called from texstore.c when copying
texture data via the memcpy_texture() path.
Enable this code in the via driver - 100% speedup in texdown.c results.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.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/common/driverfuncs.c
3e62d3a8d88b48d4ed19e00ea2bbc3d0a2b6acf7 22-Mar-2005 Keith Whitwell <keith@tungstengraphics.com> add FreeTexImageData hook to help single-copy texturing in drivers
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
2c6f911e10761c0946261d494bf149b19072821d 24-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> More GL_EXT_framebuffer_object: rename some things, added device driver hooks.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
68d293b03535ca50daf70650b32db780f1718a3b 12-Dec-2004 Brian Paul <brian.paul@tungstengraphics.com> Added driver hooks for GetTexImage() and GetCompressedTexImage().
Added fallback _mesa_get_[compressed]_teximage() routines to texstore.c
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
7eab337d9c85105ee18a4b5b3ba7b070d5857840 31-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> use _mesa_unmap_buffer by default
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
53f82c5aadbb15585754bfacf3237093eccdb2ce 02-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> added support for GL_ARB_draw_buffers
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
8f04c12e0ad876baa7eb9ed379e2b00150b376e0 27-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> Removed the old teximage code.
Moved all code related to specific texture compression modes into
new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
c93105eb9e2499efb237fd89dba0cebd48f18375 27-Jan-2004 Ian Romanick <idr@us.ibm.com> Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.
The internal driver interface was also changed to use
BlendEquationSeparate instead of BlendEquation.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
4d859f73fce9918381c65da55f046a7c605c9e65 23-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> added device driver hooks for BindProgram, NewProgram, DeleteProgram
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
20a17e42d7fc9fe65aabe612fe1e513c3103d121 21-Jan-2004 Ian Romanick <idr@us.ibm.com> Remove dd_function_table::BlendFunc. All drivers now use
dd_function_table:BlendFuncSeparate. If a driver does not actually
support EXT_blend_func_separate, it can assume that the RGB and alpha
blend functions are the same.
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c
988a8862c8379c0312d40353ee4b35537dff59a1 20-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> _mesa_init_driver_functions() to initialize dd_function_table
/external/mesa3d/src/mesa/drivers/common/driverfuncs.c