492b69f3be3e355064c67bc6f4a30d40e997ce9d |
|
30-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: fix glVertexAttribI* functions The functions were broken, because they converted ints to floats. Now we can finally advertise OpenGL 3.0. ;) In this commit, the vbo module also tracks the type for each attrib in addition to the size. It can be one of FLOAT, INT, UNSIGNED_INT. The little ugliness is the vertex attribs are declared as floats even though there may be integer values. The code just copies integer values into them without any conversion. This implementation passes the glVertexAttribI piglit test which I am going to commit in piglit soon. The test covers vertex arrays, immediate mode and display lists. NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> v2: cosmetic changes as suggested by Brian (cherry picked from commit acf438f5375e2426386694e541b843dc6f8fd11a)
/external/mesa3d/src/mesa/main/macros.h
|
ec6478fd322646ae4f6ae20eed8d9c14ea503dfc |
|
25-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: convert a few more macros to inline functions
/external/mesa3d/src/mesa/main/macros.h
|
cf41d7c63aab2289d739c0f9df116caf2cc410e3 |
|
25-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove COPY_4V_CAST() macro Only used in one place, and not really needed.
/external/mesa3d/src/mesa/main/macros.h
|
fd9afb87d81f922ea3c13a5bf2d6b17d06b43424 |
|
25-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: convert a bunch of math macros to inline functions
/external/mesa3d/src/mesa/main/macros.h
|
c9cb9cf0502f4ca179ed1b4dd763c94912843d38 |
|
18-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use F_TO_I() instead of IROUND() Use it where performance matters more and the exact method of float->int conversion/rounding isn't terribly important. There should no net change here since F_TO_I() is the new name of the old IROUND() function. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/macros.h
|
546f76d58f619e3d7e016b3eb04254d5c5c3f39f |
|
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: new BYTE/SHORT_TO_FLOATZ() macros Rather than redefining the BYTE/SHORT_TO_FLOAT macros, just define new ones with different names. These macros preserve zero when converting. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/macros.h
|
b098e1af1cdaea8767b8f1416469cdd02a9c39a9 |
|
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move CEILING() macro into macros.h Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/macros.h
|
bef4b42938c92fbd6540e81ea4829b0f1d0a6a8b |
|
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused macros in macros.h Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/macros.h
|
59e858f462d22082c2b5e2085c8fa3cc95f23fdb |
|
18-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused interp/stride chan macros
/external/mesa3d/src/mesa/main/macros.h
|
069a9766a9bf62c3c6caacd0ce5fb30ece8a0eef |
|
27-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add macros MIN3 and MAX3
/external/mesa3d/src/mesa/main/macros.h
|
0be369975fdfa79bcb702d0c13aa0a221055f61b |
|
18-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: initial EXT_texture_snorm support The component ordering of some formats has been been reversed to match Gallium types.
/external/mesa3d/src/mesa/main/macros.h
|
343b38a692a43f091117e05287748d9b2f093aee |
|
10-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Move [UN]CLAMPED_FLOAT_TO_UBYTE from imports.h to macros.h. The other similar integer/float conversion macros are in macros.h.
/external/mesa3d/src/mesa/main/macros.h
|
6274bb865fcb00bdb888f4388f7a6de825f14723 |
|
10-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added UNCLAMPED_FLOAT_TO_SHORT macro
/external/mesa3d/src/mesa/main/macros.h
|
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/main/macros.h
|
b30898f4ab533085d97a33638ad0a1cf9ddb1d67 |
|
14-Feb-2010 |
Karl Schultz <karl.w.schultz@gmail.com> |
mesa: Fix compiler warnings Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
/external/mesa3d/src/mesa/main/macros.h
|
d203dbc73d3b036937e0404b580fb04d23e10652 |
|
22-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Replace CLAMP_SELF() macro with more obvious CLAMP() usage. The same code is generated, and readers and static analyzers are happier.
/external/mesa3d/src/mesa/main/macros.h
|
86c8f70db10a584aa78e4d5f397ad3543fdb77d2 |
|
03-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: use _mesa_memcpy for COPY_4FV macro Gets rid of one of the worst strict-aliasing offenders, and actually produces faster code (at least in some cases, when compiler can use for instance 64bit moves for memcpy). (note _mesa_memcpy should get inlined)
/external/mesa3d/src/mesa/main/macros.h
|
10067e464132e6d484c34dd277da5eb5e21cf491 |
|
29-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB sync: Add infrastructure for glGetInteger64v
/external/mesa3d/src/mesa/main/macros.h
|
70e72070fce6aa1e0918dcc62c1949465cee69f7 |
|
23-Jun-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: From float type modifier from values to large for singles The values 2147483648.0 and 4294967294.0 are too larget to be stored in single precision floats. Forcing these to be singles causes bits to be lost, which results in errors in some pixel transfer tests. This fixes bug #22344.
/external/mesa3d/src/mesa/main/macros.h
|
6214c7262fe2d31553a4974022e08a7715693014 |
|
15-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use type modifier for float constants.
/external/mesa3d/src/mesa/main/macros.h
|
c6a6cc191813e8343a17b028146a34f193a6ce44 |
|
27-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: add new signed rgba texture format This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own.
/external/mesa3d/src/mesa/main/macros.h
|
114152e068ec919feb0a57a1259c2ada970b9f02 |
|
12-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: add support for ATI_envmap_bumpmap add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly)
/external/mesa3d/src/mesa/main/macros.h
|
ddd630ef907cd6bb91bad0c9f5db83f2fa67be47 |
|
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move various ENUM_TO_x macros into macros.h
/external/mesa3d/src/mesa/main/macros.h
|
ff07d6de4c1db68bae1f652ed8c6146400ddebae |
|
19-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor re-org, doxygen comments
/external/mesa3d/src/mesa/main/macros.h
|
a8717180d9805de3bf1ca30eff5487575fcfb384 |
|
09-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Bug 4996. Replace use of FLOAT_TO_USHORT with either CLAMPED_FLOAT_TO_USHORT or UNCLAMPED_FLOAT_TO_USHORT. Same should be done for UBYTE, UINT, etc.
/external/mesa3d/src/mesa/main/macros.h
|
8850a7e20f77c1bd79863667b2f1c64c2d730f38 |
|
09-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move COPY_FLOAT() macro down into glide driver. Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as originally intended.
/external/mesa3d/src/mesa/main/macros.h
|
375457bcef0b43c4b7a022b4fe74207dd1faf6dc |
|
10-Sep-2004 |
Jose Fonseca <j_r_fonseca@yahoo.co.uk> |
Update the doxygen configuration file. Minor updates/fixes to the source documentation.
/external/mesa3d/src/mesa/main/macros.h
|
de4b3bb7766f242cd7c46841250405f5fd6bb7d3 |
|
15-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor doxygen updates
/external/mesa3d/src/mesa/main/macros.h
|
41c310b20a97a9719100f61c6871e9fd4b3ff5f9 |
|
01-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
whitespace changes and new comments
/external/mesa3d/src/mesa/main/macros.h
|
ae0eaf93e092ac8e8b1c98f3e986de96940663fa |
|
24-Nov-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge vtx-0-2-branch
/external/mesa3d/src/mesa/main/macros.h
|
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/macros.h
|
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/macros.h
|
f2dd273322cc9ec0cfe80a609f9a1e5db5931e2e |
|
17-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Re-org of register files for vertex/fragment programs. Will be easier to hook in global state references, etc. for ARB programs.
/external/mesa3d/src/mesa/main/macros.h
|
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/macros.h
|
9ac51f57efe07ed43a1e4224a7f5daddec401b36 |
|
05-Jun-2003 |
Ian Romanick <idr@us.ibm.com> |
Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
/external/mesa3d/src/mesa/main/macros.h
|
f9b1e5241facc8cf255c258082d5cb5b04783e93 |
|
04-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof)
/external/mesa3d/src/mesa/main/macros.h
|
27558a160a9fe91745728d7626995cd88f8fe339 |
|
01-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
/external/mesa3d/src/mesa/main/macros.h
|
8eaa2902162e145cd07a9427ec99ab0ca85aa35a |
|
18-Oct-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Add casts to quiet compiler warnings.
/external/mesa3d/src/mesa/main/macros.h
|
3b4fbbc129c711a5aec8d653d5c6eb2e195f947c |
|
09-Jul-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer() indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
/external/mesa3d/src/mesa/main/macros.h
|
1013e4650473ef0aceac7f3cd571b982ff249250 |
|
12-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Moved big/little endian code to glheader.h. Define either MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN.
/external/mesa3d/src/mesa/main/macros.h
|
af2a1c1d679f870a8f30b17d3cf308807be3fb0e |
|
05-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
more big-endian tweaks
/external/mesa3d/src/mesa/main/macros.h
|
f5a078197552bc956322e2fa292b034e4ccb9d82 |
|
03-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
bring over Michel Daenzer's DRI changes
/external/mesa3d/src/mesa/main/macros.h
|
0cb28418d06c30e431bdff515c1d36a812d5950d |
|
13-Feb-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
More suport for t&l drivers Fix GLuint compare bugs Fix RESET_STIPPLE calls
/external/mesa3d/src/mesa/main/macros.h
|
5891a5dd5545c67c7360d08566f62f54e37a4897 |
|
11-Jun-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/macros.h Added #define COPY_4UBV() for non i386 machines ----------------------------------------------------------------------
/external/mesa3d/src/mesa/main/macros.h
|
fabc30cfdd6576a1d1edee4ad4ee01e41fabb3fa |
|
08-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
only copy GLubyte[4] as a GLuint on x86
/external/mesa3d/src/mesa/main/macros.h
|
36822c50ad84d255f1e7c94b56cfff1cd8bcef85 |
|
08-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
use unoptimized COPY_4UBV code on SPARC to avoid memory alignment problems (bug 430689)
/external/mesa3d/src/mesa/main/macros.h
|
2b7c042525c6895016ab547745b15880b2751f36 |
|
19-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix striding of color material inputs. (Fixes glean colorLitPerf)
/external/mesa3d/src/mesa/main/macros.h
|
2c3d34c905fa6b831a066afae83b938de05eb241 |
|
18-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
- Port 3.4 texture utils, texture format work to 3.5 (including new FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic.
/external/mesa3d/src/mesa/main/macros.h
|
22144ab7552f0799bcfca506bf4ffa7f70a06649 |
|
12-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Consistent copyright info (version number, date) across all files.
/external/mesa3d/src/mesa/main/macros.h
|
74b493a5e61237de081a438e774e5d8139d4c6b7 |
|
24-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of GLchan datatype changes. Added GLvector4us datatype in math/m_vector.[ch] Added _math_trans_4us() in math/m_translate.[ch] Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS. Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions. Changed args to Driver.ClearColor(), updated drivers. Reordered files in Makefile.X11
/external/mesa3d/src/mesa/main/macros.h
|
b980b2eeb62dc48101a7481d02d196c80b9da397 |
|
08-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86.
/external/mesa3d/src/mesa/main/macros.h
|
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/macros.h
|
ad2ac216fa0cbebc36530bf9e5256e902710b892 |
|
24-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Support for swappable t&l modules, including an example one in the FX driver (enable with FX_ALLOW_VTXFMT=t).
/external/mesa3d/src/mesa/main/macros.h
|
23caf20169ac38436ee9c13914f1d6aa7cf6bb5e |
|
16-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Move the transform and lighting code to two new directories math: Provides basic matrix and vector functionality that might be useful to multiple software t&l implementations, and is used by core mesa to manage the Model, Project, etc matrices. tnl: The real transform & lighting code from core mesa, including everything from glVertex3f through vertex buffer handling, transformation, clipping, lighting and handoff to a driver for rasterization. The interfaces of these can be further tightened up, but the basic splitting up of state and code move is done.
/external/mesa3d/src/mesa/main/macros.h
|
14940c4ffe066a8b85bc14274c19ad3d8e334d61 |
|
05-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
- Changes for new software rasterizer modules - Remove support for choosing software fallbacks from core code - Remove partial fallback code from vbrender.c -- drivers are now expected to be able to find a triangle/quad function for every state, even if they have to use _swsetup_Triangle or _swsetup_Quad. - Marked derived variables in the GLcontext struct with a leading underscore '_'.
/external/mesa3d/src/mesa/main/macros.h
|
ebb248aa5c018dc676d389221d76ed329059789e |
|
29-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)
/external/mesa3d/src/mesa/main/macros.h
|
c893a015d8a50a38cd3f727d99835e7e7e2ccea9 |
|
28-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
New colormac.h file for color-related macros. Lot's of clean-up in macros.h and mmath.h
/external/mesa3d/src/mesa/main/macros.h
|
ba643a2094a1e844b6ce60f468057057557859ce |
|
28-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Basic work to support deep color channels: Replace GLubyte with GLchan Replace 255 with CHAN_MAX
/external/mesa3d/src/mesa/main/macros.h
|
1c56fdc7072c040de68868748dc2d03c58f5ee22 |
|
17-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
new comments, misc clean-up
/external/mesa3d/src/mesa/main/macros.h
|
414b6e7c00d17c61049f05b76539c344dc107466 |
|
22-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added SET/CLEAR/TEST_BITS macros, misc clean-up
/external/mesa3d/src/mesa/main/macros.h
|
fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5 |
|
11-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
first big check-in of new Mesa 3.3 code
/external/mesa3d/src/mesa/main/macros.h
|
c00c0b323fd46385faaa75395553247ed089eaba |
|
08-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
header includes clean-up (Daryll)
/external/mesa3d/src/mesa/main/macros.h
|
bd5cdaf4442872d3cd2ff94eeafadd481d27fcfb |
|
13-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed GL_ prefix from memory macros
/external/mesa3d/src/mesa/main/macros.h
|
cd555f456bbd274f65f0312a43cce0dec4a33727 |
|
11-Oct-1999 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Repaired definition of GL_CALLOC_STRUC
/external/mesa3d/src/mesa/main/macros.h
|
d77fa3076182f60d9e7f835b164aa17f28cf512f |
|
10-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added memory macros
/external/mesa3d/src/mesa/main/macros.h
|
485f04074151686fa24d40e3eeb83029d3d8c425 |
|
08-Oct-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixed includes & added a few hooks for the DRI.
/external/mesa3d/src/mesa/main/macros.h
|
afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1c |
|
19-Aug-1999 |
jtg <jtg> |
Initial revision
/external/mesa3d/src/mesa/main/macros.h
|