History log of /external/mesa3d/src/mesa/main/api_loopback.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0dc989ea5b54a35bbafb00a0d40a799f8cdf0fac 05-Sep-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Don't set loopback dispatch pointers for most things in ES2 or core

NOTE: This is a candidate for the 9.0 branch

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit a13c07f7528c74fc433a7227777351110087b89d)
/external/mesa3d/src/mesa/main/api_loopback.c
d421149cc8b9abe2b9061e166dce953a984b169a 07-Nov-2010 Vinson Lee <vlee@vmware.com> mesa: Include mfeatures.h in api_loopback for FEATURE_beginend.
/external/mesa3d/src/mesa/main/api_loopback.c
34e8801b9c04960337fa59d4b24f9df68a06a0d9 29-Oct-2010 Brian Paul <brianp@vmware.com> mesa: remove dead code
/external/mesa3d/src/mesa/main/api_loopback.c
d070edd4f085b5b3ad8256f6cabeee53267328de 29-Oct-2010 José Fonseca <jfonseca@vmware.com> mesa: Fix windows build (uint -> GLuint).
/external/mesa3d/src/mesa/main/api_loopback.c
9de5c6a1cb1428154c371f4331b55b5161957b50 28-Oct-2010 Chia-I Wu <olv@lunarg.com> Merge branch 'glapi-reorg'

Conflicts:
src/mapi/glapi/glapi_sparc.S
src/mapi/glapi/glapi_x86.S
src/mapi/glapi/glapidispatch.h
src/mapi/glapi/glapioffsets.h
src/mapi/glapi/glprocs.h
ca2618f4b632bf4b357a539a8fb7dafc99b35976 29-Oct-2010 Brian Paul <brianp@vmware.com> mesa: implement integer-valued vertex attribute functions

The integers still get converted to floats. That'll have to change someday.
/external/mesa3d/src/mesa/main/api_loopback.c
b762db62c2972506fa78a5ed72f796113fc9b0d1 25-Oct-2010 Chia-I Wu <olv@lunarg.com> mesa: Remove unnecessary glapitable.h includes.

With 07b85457d95bcc70588584e9380c51cd63aa3a2b, glapitable.h is included
by core mesa only to know the size of _glapi_table. It is not necessary
as the same info is given by _gloffset_COUNT.

This change makes _glapi_table opaque to core mesa. All operations on
it are supposed to go through one of the SET/GET/CALL macros.
/external/mesa3d/src/mesa/main/api_loopback.c
e793a24d7ca6ca9b50a716563c8c2abe15c9d1b5 26-May-2010 Brian Paul <brianp@vmware.com> mesa: new GL 3.0 VertexAttrib commands

Still need to plug in API dispatch...
/external/mesa3d/src/mesa/main/api_loopback.c
2cf44390d1e819f23e1d7ceb3199276c9148c647 23-Feb-2010 Chia-I Wu <olv@lunarg.com> mesa: Move src/mesa/glapi/dispatch.h to mesa.

glapi/dispatch.h is a core Mesa header file. Move the header file to
main/ to make this clear. It also becomes clear after this change that
IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
/external/mesa3d/src/mesa/main/api_loopback.c
cef97267d696d37f4dccb22951499ca25d5d87ad 12-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: New feature FEATURE_beginend.

This feature corresponds to the Begin/End paradigm. Disabling this
feature also eliminates the use of GLvertexformat completely.
/external/mesa3d/src/mesa/main/api_loopback.c
f63594bfef883fa9e15ab7f3f69affe4901353aa 11-Oct-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: remove unneeded includes
/external/mesa3d/src/mesa/main/api_loopback.c
c223c6b663cd5db39ba19c2be74b88cc3b8f53f3 04-Jul-2007 Brian <brian.paul@tungstengraphics.com> Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags.
/external/mesa3d/src/mesa/main/api_loopback.c
bb59d81d2d1baaed98e7a2990540a4bb1394222c 25-Mar-2007 Xiang, Haihao <haihao.xiang@intel.com> Color3iv: set the alpha value to 1.0
/external/mesa3d/src/mesa/main/api_loopback.c
0337e5635f8d18fdf9dac734141e5302db6d1d49 21-Nov-2006 Sean D'Epagnier <geckosenator@freedesktop.org> glTexCoord3dv was not using third coordinate
/external/mesa3d/src/mesa/main/api_loopback.c
94b30dc390f1fdd526c080080830016fad3e2ee2 25-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> Put color index attribute into the 6th attribute slot.
Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values
instead of specific vertex attributes.
Remove the EdgeFlagv function from the GLvertexformat struct.
/external/mesa3d/src/mesa/main/api_loopback.c
9bdfee3a470a535ebe31074651fbacf680bcea6a 18-Jul-2005 Ian Romanick <idr@us.ibm.com> Wrap every place that accesses a dispatch table with a macro. A new script-
generated file, called src/mesa/glapi/dispatch.h, is added. This file
contains three macros for each API function. It contains a GET, a SET, and
a CALL. Each of the macros take a pointer to the context and a pointer to
the dispatch table.

In several threads on mesa3d-dev we discussed replacing _glapi_add_entrypoint
with a new function called _glapi_add_dispatch. For this discussion, the
important difference between the two is that the caller of _glapi_add_dispatch
does *not* know what the dispatch offset will be at compile time. Because of
this callers need to track the dispatch offset returned by
_glapi_add_dispatch.

http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2

The downside is that driver code then has to access the dispatch table two
different ways. It accesses it using structure tags (e.g., exec->Begin) for
functions with fixed offsets and via a remap table (e.g., exec[
remap->NewExtensionFunction ]) for functions without fixed offsets. Yuck!

Using the macros allows both types of functions to be accessed
identically. If a driver needs to set a pointer for Begin, it does
'SET_Begin(ctx, exec, my_begin_function)'. If it needs to set a pointer
for NewExtensionFunction, it does 'SET_NewExtensionFunction(ctx, exec,
my_NewExtensionFunction_function)'. Furthermore, if at some point in
the future a static offset is assigned for NewExtensionFunction, only
the macros need to change (instead of every single place that accesses a
table for that function).

This code differs slightly from the originally posted patches in that the
CALL, GET, and SET marcos no longer take a context pointer as a parameter.
Brian Paul had suggested that the remap table could be stored as a global
since it would be set at CreateScreen time and would be constant for all
contexts. This change reflects that feedback.

http://marc.theaimsgroup.com/?t=112087194700001&r=1&w=2
/external/mesa3d/src/mesa/main/api_loopback.c
b5b8d22c4ee921dff99b898a5907023b20670a27 27-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> Change the dispatch offsets for the VertexAttrib*NV functions so they don't
alias with the corresponding ARB functions.
GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias
with conventional vertex attributes, as GL_NV_vertex_program does.
So, the ARB and NV version of VertexAttrib need to be distinct.
/external/mesa3d/src/mesa/main/api_loopback.c
7faf519233aaea368f0e5ea28fe35ff011ca9f15 29-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> VertexAttrib3svNV was incorrect
/external/mesa3d/src/mesa/main/api_loopback.c
c1d455f5827e7044dcb316dadc755a6f91299906 27-May-2004 Ian Romanick <idr@us.ibm.com> Convert all calls using _glapi_Dispatch to use the new GL_CALL macro.
/external/mesa3d/src/mesa/main/api_loopback.c
e98986bdd3bb33583e9c0f275a93e4cfddd3b11d 21-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> don't call glVertex functions directly, call _glapi_Dispatch->Vertex(), etc
/external/mesa3d/src/mesa/main/api_loopback.c
d6745697b625a6a5b7d6e3d7dd5f5510f96e277a 04-Dec-2003 Karl Schultz <kschultz@freedesktop.org> Add missing GLAPIENTRY
/external/mesa3d/src/mesa/main/api_loopback.c
ae0eaf93e092ac8e8b1c98f3e986de96940663fa 24-Nov-2003 Keith Whitwell <keith@tungstengraphics.com> Merge vtx-0-2-branch
/external/mesa3d/src/mesa/main/api_loopback.c
c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8c 22-Oct-2003 Kendall Bennett <KendallB@scitechsoft.com> Added GLAPIENTRY decorations for all first level OpenGL API function entry
points so that the calling conventions will work correctly with the assembler
stubs with the Open Watcom compiler.
/external/mesa3d/src/mesa/main/api_loopback.c
dc24230de7f913969b52dee3579bb8fa3d50a8c0 30-Aug-2003 Karl Schultz <kschultz@freedesktop.org> Silence compiler warnings about implicit casts or conversions by supplying explicit casts and/or tweaking constant and variable definitions.
/external/mesa3d/src/mesa/main/api_loopback.c
6dc85575000127630489b407c50a4b3ea87c9acb 17-Jul-2003 Keith Whitwell <keith@tungstengraphics.com> Merge Jose's documentation and core Mesa changes from embedded branch
/external/mesa3d/src/mesa/main/api_loopback.c
e591ad7350c4386f2d61e12f19724ec3e4ce5e95 10-May-2003 Brian Paul <brian.paul@tungstengraphics.com> added GL_ARB_vertex_program functions
/external/mesa3d/src/mesa/main/api_loopback.c
33ce405e8678f7f939b1aba21487a5f42a17bda2 05-Apr-2003 Keith Whitwell <keith@tungstengraphics.com> Pass 4th element correctly in loopback_VertexAttrib4svNV
/external/mesa3d/src/mesa/main/api_loopback.c
05a4b37707d2c598ea68c05d07a3d65bcbf5a076 29-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> updated email addresses
/external/mesa3d/src/mesa/main/api_loopback.c
798d83cf67098a7df293c711e0d2c8c296fc4c8f 18-Oct-2002 Karl Schultz <kschultz@freedesktop.org> Add casts to quiet compiler warnings.
/external/mesa3d/src/mesa/main/api_loopback.c
03c0c2e8aa5e5f1b430c4b3faa1f9ad92b1b71eb 14-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> Removed api_compat stuff, there's a better way.
Fixed FogCoord / SecondaryColor mix-ups in api_arrayelt.c
/external/mesa3d/src/mesa/main/api_loopback.c
1a6f4889084794827d61caa0dfa3074aef576e79 21-Dec-2001 Keith Whitwell <keith@tungstengraphics.com> add _compat_VertexAttrib4fNV
/external/mesa3d/src/mesa/main/api_loopback.c
fc00cbe8d1ac48faf345e41a13757a8a1e2e5ebe 20-Dec-2001 Keith Whitwell <keith@tungstengraphics.com> Further help with dri libGL version skew
/external/mesa3d/src/mesa/main/api_loopback.c
86b842790b720cd6b1499ce8edca8a4e9c8dc029 14-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> vertex program check-in
/external/mesa3d/src/mesa/main/api_loopback.c
471a774f433c23b263828aa591415741e78a35da 05-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> dispatch changes to minimize hassle with XFree86 libGL
/external/mesa3d/src/mesa/main/api_loopback.c
b5fd886ee12ef52126969f712dee0bd4b2eea706 18-Nov-2001 Brian Paul <brian.paul@tungstengraphics.com> API dispath updates
/external/mesa3d/src/mesa/main/api_loopback.c
7c276329e815c84ea2403bb08c44ff60179c0cd6 14-Sep-2001 Brian Paul <brian.paul@tungstengraphics.com> more warning fixes (Karl Schultz)
/external/mesa3d/src/mesa/main/api_loopback.c
8b6a91a93f1b3f79796f398884aaca77a8a09198 10-May-2001 Keith Whitwell <keith@tungstengraphics.com> Set 'prefer_float_colors' true, now that tnl uses them natively.
Apply Jeff Epler's optimization to ci spans as well, remove old code.
/external/mesa3d/src/mesa/main/api_loopback.c
22144ab7552f0799bcfca506bf4ffa7f70a06649 12-Mar-2001 Gareth Hughes <gareth@valinux.com> Consistent copyright info (version number, date) across all files.
/external/mesa3d/src/mesa/main/api_loopback.c
a580e1adb7c85711338c23a6703dfe82acbc8310 02-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> missed a few color macro changes
/external/mesa3d/src/mesa/main/api_loopback.c
3041d05bbcccfddba01a1eeaba01e5da0e1e99af 02-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)
Clean-up of color conversion macros.
New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
/external/mesa3d/src/mesa/main/api_loopback.c
cab974cf6c2dbfbf5dd5d291e1aae0f8eeb34290 26-Dec-2000 Keith Whitwell <keith@tungstengraphics.com> Major rework of tnl module
New array_cache module
Support 8 texture units in core mesa (now support 8 everywhere)
Rework core mesa statechange operations to avoid flushing on many
noop statechanges.
/external/mesa3d/src/mesa/main/api_loopback.c
50478ded80fe04ab384b702723f227f53516212c 27-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> map glIndex* functions to glIndexi() (glIndexub was looping back to glIndexub)
/external/mesa3d/src/mesa/main/api_loopback.c
9aff6cfdc37f83a2528463179ad0b50893bf0c58 24-Nov-2000 Keith Whitwell <keith@tungstengraphics.com> Fixed a couple of bugs that crept into last commit
- Eval not compiled correctly
- Material colors computed incorrectly

Reworked the VERT_TEX flags, now support upto 12 texture units in tnl.
/external/mesa3d/src/mesa/main/api_loopback.c
b014986fdb259eb60bd3e5a3fbcfcb218969f5f5 24-Nov-2000 Keith Whitwell <keith@tungstengraphics.com> New files...
/external/mesa3d/src/mesa/main/api_loopback.c