b3f54e844c7bb9bc7b070ede7b574c373d4f67f1 |
|
19-Dec-2017 |
Nicolas Capens <capn@google.com> |
Search the top level from the base level. The 'top' level is the last valid mipmap level nearest to the top of the pyramid. Start searching for it from the 'base' of the pyramid. Change-Id: I2d2ea3a1834f6cff2e2d342876d0649205004581 Reviewed-on: https://swiftshader-review.googlesource.com/15348 Tested-by: Nicolas Capens <nicolascapens@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
6372aceba9f8b6f2931aaab6746b3f80463edb30 |
|
29-Nov-2017 |
Nicolas Capens <capn@google.com> |
Drawing without current program is not an error. The spec states that "If UseProgram is called with program set to zero, then there is no current program object, and the results of vertex and fragment shader execution are undefined. However, this is not an error." Fixes all failures in: dEQP-GLES3.functional.negative_api.vertex_array.* Change-Id: Ia5fbb22a9447b299665db29fc1f564f6de4f202d Reviewed-on: https://swiftshader-review.googlesource.com/14408 Tested-by: Nicolas Capens <nicolascapens@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
00bfa189ce055ff6cf1197b8ce9af503dcf0e65c |
|
21-May-2016 |
Nicolas Capens <capn@google.com> |
Support frustum clipping against z = -1. This allows performing the depth range adjustment only once as part of the viewport transform and not have it be affected by transform feedback. Change-Id: I89fba3b131c234bea064b1b65f50b62261f4c307 Reviewed-on: https://swiftshader-review.googlesource.com/5421 Tested-by: Nicolas Capens <capn@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
0bac285a78df6a6d7a6b68784748b92805420ffb |
|
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/Context.cpp
|
b663f717768cbea51891c19ad61d2875d786efb6 |
|
18-Apr-2016 |
Nicolas Capens <capn@google.com> |
Refactor implementation constants. Bug 19353282 Change-Id: If2eb9f2d78c3a44b720bb1f223711411b576d710 Reviewed-on: https://swiftshader-review.googlesource.com/5140 Reviewed-by: Alexis Hétu <sugoi@google.com> Tested-by: Nicolas Capens <capn@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
4df0c65b0b68ec670f7f794471dc980c44187e82 |
|
29-Mar-2016 |
Nicolas Capens <capn@google.com> |
Use namespaces for context owned objects. Bug 19219444 Change-Id: I9606dfb30693a15a06896d83888022ccbaa8db2e Reviewed-on: https://swiftshader-review.googlesource.com/5010 Tested-by: Nicolas Capens <capn@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
5834c680f77fca0d1aa7580197445278f1daa1d3 |
|
23-Mar-2016 |
Nicolas Capens <capn@google.com> |
Refactor NameSpace into a template class. Bug 19219444 Change-Id: Id4b209f491b3a3dde716118309cbc8122feb25d0 Reviewed-on: https://swiftshader-review.googlesource.com/4984 Tested-by: Nicolas Capens <capn@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
e5284ac936d52936f6b37c0ef11af147d7d25a5e |
|
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/Context.cpp
|
5524f05f03461935a5691ba5a50ee80647e6cf0a |
|
21-Dec-2015 |
Nicolas Capens <capn@google.com> |
Fix missing abs() declaration. Change-Id: I7e4ceea2a45e8767881094de8b69b4d3aadab158 Reviewed-on: https://swiftshader-review.googlesource.com/4354 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
c4d04467d799ab7932722ed63b9aee9d32a1e58e |
|
10-Dec-2015 |
Alexis Hetu <sugoi@google.com> |
Sending magnification filter info to the sampler Currently, the magnification filter information is ignored by SwiftShader. In order to fix it, the 1st step is simply to make the sampler aware of this information. After this, a subsequent cl using the duvdxy computed in computeLod will choose which filter to use (if they are different). Change-Id: Idc8636c3d981c944815094f23e443725bed4cf27 Reviewed-on: https://swiftshader-review.googlesource.com/4382 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
1edcd8b626129ac8297cda0a297034d8dfeb5061 |
|
05-Nov-2015 |
Alexis Hetu <sugoi@google.com> |
Multiple draw buffers implementation Implemented the missing pieces for multiple draw buffers support: - Fixed Context::getScissoredImage() to use the drawbuffer parameter properly - Enabled setting multiple render targets - Added dynamic indexing of gl_FragData using a new dynOut flag to figure out which channels are being written to. Change-Id: Id3d95c46a980a698f71e99f7781cc6287e880e9d Reviewed-on: https://swiftshader-review.googlesource.com/4220 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
667472623f1f8a9d48c8a45c47b11c6ef537b07d |
|
22-Sep-2015 |
Nicolas Capens <capn@google.com> |
Improve color clear precision. Change-Id: Ib9dadf3d8fee0f63deb10e6754856c0530c928ab Reviewed-on: https://swiftshader-review.googlesource.com/3995 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/Context.cpp
|
3ff330f7e55dfc1dbd9bacb0972aef47f1be8b00 |
|
03-Sep-2015 |
Nicolas Capens <capn@google.com> |
Simplify and centralize multisample counts. Change-Id: I012bb669444e28f844c5571ff639b31dd1a35e1d Reviewed-on: https://swiftshader-review.googlesource.com/3950 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/Context.cpp
|
7a57040f95f1822b21bb15d3ef7aa6f75d22f99b |
|
02-Jul-2015 |
Alexis Hetu <sugoi@google.com> |
Multisampling value of 1 Setting a multisampling values of 0 or 1 are apparently 2 different cases, so I tried removing the even number check to fix this. It didn't break any tests, but I'm not sure how well this is covered by the tests. Change-Id: I0e7de9b153288f0c07bde9a2f104ea1d2bf230ac Reviewed-on: https://swiftshader-review.googlesource.com/3622 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
79c7e27369926e8bd21a4fe2384672101891dfc7 |
|
28-Aug-2015 |
Nicolas Capens <capn@google.com> |
Implement EGL_LARGEST_PBUFFER. Bug 23041720 Change-Id: I9f6bed0a3d239a0adde9cc4e90cc368f078f3662 Reviewed-on: https://swiftshader-review.googlesource.com/3902 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/Context.cpp
|
2afcc8000a5727b6a278bdbaeb4517784f73c523 |
|
04-Aug-2015 |
Nicolas Capens <capn@google.com> |
Implement missing state and queries. Change-Id: I4858980fc32df435ffc0fc0917905116bea54aa8 Reviewed-on: https://swiftshader-review.googlesource.com/3790 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
d55a0953de0d1a203f92f6b905d76ccd78ba2492 |
|
03-Aug-2015 |
Nicolas Capens <capn@google.com> |
Renamed boolean state variables and setters. Change-Id: Ied1be6434a356ec7315df9d728dc424961f44fd0 Reviewed-on: https://swiftshader-review.googlesource.com/3770 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
d9762743d768d943003a980005b8c689d94d7cc9 |
|
08-Jul-2015 |
Maxime Grégoire <mgregoire@google.com> |
Implementation of glLogicOp Bug 22375329 Change-Id: Id6684e33bf3cd37fce48e7607e6a65fe64309f72 Reviewed-on: https://swiftshader-review.googlesource.com/2764 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Maxime Grégoire <mgregoire@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
5ce0ea65793e1ac68c63b4fbf74023869e890b5c |
|
02-Jul-2015 |
Nicolas Capens <capn@google.com> |
Use the projection matrix to scale z. Bug 22123818 Change-Id: I2c72e221d9d9410c32875188a5edea6ce7310f20 Reviewed-on: https://swiftshader-review.googlesource.com/3625 Tested-by: Nicolas Capens <capn@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.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/Context.cpp
|
76b9a6aa7e14dd02a702532da5a1f9ab0b7bbbe8 |
|
12-Jun-2015 |
Nicolas Capens <capn@google.com> |
Simplify int4 and float4 types. Change-Id: Id0d55c1364fc3db05821eb6ef666aed8c5713e31 Reviewed-on: https://swiftshader-review.googlesource.com/3503 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/Context.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/Context.cpp
|
70583fac46d30da9b527220e42f0533359784b16 |
|
15-May-2015 |
Nicolas Capens <capn@google.com> |
Fix texture coordinate transformations on OpenGL. Add a texture coordinate generation mode to always use 4-component homogeneous texture coordinates on OpenGL. Bug 21187909 Change-Id: I58714404002102f4138add454cf5a8c0aecfb062 Reviewed-on: https://swiftshader-review.googlesource.com/3145 Tested-by: Nicolas Capens <capn@google.com> Reviewed-by: Maxime Grégoire <mgregoire@google.com> Tested-by: Maxime Grégoire <mgregoire@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Tested-by: Greg Hartman <ghartman@google.com> Reviewed-by: Greg Hartman <ghartman@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
0273322c0bc5c89b5f006334ab7db6a62c922970 |
|
29-Apr-2015 |
Nicolas Capens <capn@google.com> |
Predefine (E)GL export macros. Bug 18752589 Change-Id: I2a4fad80b433e62131d66f12bab2f73c6b16a9a0 Reviewed-on: https://swiftshader-review.googlesource.com/2962 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
4be3370a0997494005784988c6784629ac558034 |
|
29-Apr-2015 |
Nicolas Capens <capn@google.com> |
Use %p without precision specifier in TRACE() calls. Bug 20564705 Change-Id: I6c82867a11d7efe54c5d95cd3a4f435cb241f52c Reviewed-on: https://swiftshader-review.googlesource.com/2986 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
447ad8383643ca0bddcfee4e54705bf649594575 |
|
01-Apr-2015 |
Maxime Gregoire <mgregoire@google.com> |
Possibility to call a non-existing display list without error Change-Id: I13fba44145d378470f2090f7688a8dd68ae56452 Reviewed-on: https://swiftshader-review.googlesource.com/2773 Tested-by: Maxime Grégoire <mgregoire@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
fec8129f5146bc317e2ca59f444c9ec063376cf3 |
|
04-Mar-2015 |
Maxime Gregoire <mgregoire@google.com> |
libGL Frustum implementation Change-Id: I3ffce981fd8238ca1767e05929da3502cd3b2a39 Reviewed-on: https://swiftshader-review.googlesource.com/2510 Tested-by: Maxime Grégoire <mgregoire@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
53ff8d89cbdd897d93ed0d5dc8dfad1a43eccc58 |
|
04-Mar-2015 |
Maxime Gregoire <mgregoire@google.com> |
libGL MultMatrixd implementation Change-Id: Ia1bbe00c9538403b59c2960558b94bd4e7327189 Reviewed-on: https://swiftshader-review.googlesource.com/2520 Tested-by: Maxime Grégoire <mgregoire@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
f7be67f8e9b497e47a1740a27a85886482613679 |
|
11-Feb-2015 |
Alexis Hetu <sugoi@google.com> |
Texture3D copy to level Bug 19126833 Change-Id: I6da0f1a3d09ab8f510f6f5b2600d911095e02a43 Reviewed-on: https://swiftshader-review.googlesource.com/2200 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.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/Context.cpp
|
80b4125af790b73261df480b3dcaa533bed6cbf6 |
|
29-Jan-2015 |
Nicolas Capens <capn@google.com> |
Share the name space implementation between all GL versions. Bug 18962347 Change-Id: Ifd7ca4142d90798d0bbe2defa9337bac17e20daf Reviewed-on: https://swiftshader-review.googlesource.com/1881 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.cpp
|
d7d9b4bdfee82766c44e5a473b28d5884e4e2329 |
|
30-Jan-2015 |
Nicolas Capens <capn@google.com> |
Access binding pointer objects through operators. Bug 18962347 Change-Id: Ia28555a8b3e8923309e3a760d78fa276bd7b8c8d Reviewed-on: https://swiftshader-review.googlesource.com/1890 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.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/Context.cpp
|
235781d1c02eab8fd95b8b75a426837075ecd97a |
|
27-Jan-2015 |
Nicolas Capens <capn@google.com> |
Implement support for wide lines. Bug 18962347 Change-Id: I673610bfd50bc0e09aedd764336c7e10cfa11e08 Reviewed-on: https://swiftshader-review.googlesource.com/1831 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Context.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/Context.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/Context.cpp
|