History log of /external/swiftshader/src/OpenGL/libGL/Program.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
655844b4800443aafe38ffad44526b14f8ddb119 02-Aug-2016 Alexis Hetu <sugoi@google.com> Shader cleanup

A couple of class members from PixelShader and VertexShader
were still public. Fixed that in this cleanup.

Change-Id: I2dfaac7fd4cecdc791f1ef7236148e74c4b5b486
Reviewed-on: https://swiftshader-review.googlesource.com/5850
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp
d999309b36cb3dceadd38217b322f0e96a06b202 07-May-2016 Nicolas Capens <capn@google.com> Apply the Apache 2.0 license.

Change-Id: I4a7aeefedcd2d891093520d5a10ebefadcddb5be
Reviewed-on: https://swiftshader-review.googlesource.com/5320
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp
622dca62c556bcfeab005964b0a464db66d473c2 08-Jan-2016 Nicolas Capens <capn@google.com> Fix tautological expressions.

Bug 15387371

Change-Id: I01bf5327f205bf646c51c1bb06560448a09f6c4a
Reviewed-on: https://swiftshader-review.googlesource.com/4526
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp
3713cd4b12696bcabaabe98562320e8fa1796b33 22-Jun-2015 Nicolas Capens <capn@google.com> Log the switch value when reaching an UNREACHABLE().

Bug 20025568

Change-Id: I37d2c7171e0704b4064e56e8ca8799f930038d87
Reviewed-on: https://swiftshader-review.googlesource.com/3481
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp
0085c440fbbd143181322771c980e49e9c8b99b3 12-Jun-2015 Alexis Hetu <sugoi@google.com> Fixed some warnings

- Changing "char*" to "const char*" when a
function can receive string literals
- Removed some unused variables and members
- Fixed some signed vs unsigned comparisons
- Added braces for safety on code like:
if(...) if(...) ... else ...
to make it:
if(...) { if(...) ... else ... }
otherwise the else is ambiguous
- Reordered some member initializations to
fit the declaration order in the class
- OutDir must end with a backslash in VS

Change-Id: I903bd7afac882090841da0c0f4ebb30db0a5dd37
Reviewed-on: https://swiftshader-review.googlesource.com/3501
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp
a818c45371a81739aeb521dca24ba74ca6a4d38b 11-Jun-2015 Alexis Hetu <sugoi@google.com> Eliminating warnings from SwifShader

SwiftShader had over 270 warnings and this
reduces the count to about 90, some of which
can be addressed later, since some are less
trivial to remove. The changes include:
- Making sure we don't build any project with
RTTI enabled, otherwise, we get some
vftable size mismatch warnings
- Making sure exception handling is the same
for all configurations
- Changing minus <unsigned> to the equivalent,
and valid, ~<unsigned> + 1
- Explicitly casting types to bool by adding
"!= 0" or "!= nullptr", depending on the case
- Making sure no #define overrules another one
without first doing the proper #undef of that
#define
- Removing signed VS unsigned comparisons
- Making sure WinMain is __stdcall

WebGL tests passed.

Change-Id: I8d8d80adc862633b656d7e99c8ea461924fc0ef4
Reviewed-on: https://swiftshader-review.googlesource.com/3475
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp
a9b4937f2069dc0fcf80100ed316d8b65b6702d3 30-Jan-2015 Nicolas Capens <capn@google.com> Implement an OpenGL 2.1 prototype.

Bug 18962347

Change-Id: I9a7b07647b1b3f561dd9e4597670e63641b155a8
Reviewed-on: https://swiftshader-review.googlesource.com/1810
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp
7cc75e1c3d1e60847e47e19cfbe71051b95e7f9d 29-Jan-2015 Nicolas Capens <capn@google.com> Make the Object class independent of the GL version.

Bug 18962347

Change-Id: Ica99629bf58e799d6552d4a92ce3ae3eff57da27
Reviewed-on: https://swiftshader-review.googlesource.com/1880
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp
b027aa91f4b20c5062fbc781d0ff693bf294cbcc 19-Jan-2015 Alexis Hetu <sugoi@google.com> Adding Texture3D support.

Bug 19126833

Added Texture3D argument verifications.
Added the basic API and functions. A few are still unimplemented:
- Image::loadCompressedData() (for depth other than 1)
- Texture3D::copyImage()
- Texture3D::generateMipmaps()
Added colour grading test for 3D texture

Change-Id: I9e52afa7213999f94c5916c2f301fc6fa4b42c0d
Reviewed-on: https://swiftshader-review.googlesource.com/1730
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp
f4486fdf81c434bd06f06489901b6f825814fc17 22-Jan-2015 Nicolas Capens <capn@google.com> Rename the desktop OpenGL namespace to gl.

Bug 18962347

Change-Id: I0bb263b749d3af3362b2fdc02d81ab856e0f46b4
Reviewed-on: https://swiftshader-review.googlesource.com/1770
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp
5597eef8fe02d8f0d3cd451db5867a293167d82b 22-Jan-2015 Nicolas Capens <capn@google.com> Rename the GLSL shader compiler namespace to glsl.

Bug 18962347

Change-Id: I28d001045cf43eed2d92cb0007330dffa620025b
Reviewed-on: https://swiftshader-review.googlesource.com/1760
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp
68754bf1c1b64da46a729de6b34ab1b8130baaff 22-Jan-2015 Nicolas Capens <capn@google.com> Make the GLSL compiler independent of the API shader class.

Bug 18962347

Change-Id: I1a45c5572a45a16ae04ab77e7029ab31905ac702
Reviewed-on: https://swiftshader-review.googlesource.com/1750
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp
264f1526da6dd0e20dd2fdd016df0f1c3244d4ac 09-Jan-2015 Nicolas Capens <capn@google.com> Copy libGLESv2 to libGL.

Bug 18962347

Change-Id: I1864755cac7f009119d0efb5278d7dfe3e669354
Reviewed-on: https://swiftshader-review.googlesource.com/1723
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Program.cpp