bf7a8145635e7dc6625596be127733ac7418cf21 |
|
19-May-2017 |
Nicolas Capens <capn@google.com> |
Fix locking a destroyed mutex. Surface should not lock the resource of a parent texture at destruction, because it can already have been destroyed. For example when a texture's image was bound as a render target, and the texture is deleted by the app, then the image holds the last reference to the texture. When the render target image gets deleted, it first releases its parent texture, and then the underlying surface gets destroyed. This is fixed by synchronizing, by locking and unlocking the (parent) resource, earlier. The derived class is responsible for calling Surface::sync() before releasing the parent resource. Bug chromium:716803 Change-Id: Ifc3685dcf9e25e8419000af65d4bb7407f26bbcb Reviewed-on: https://swiftshader-review.googlesource.com/9750 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Texture.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/Texture.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/Texture.cpp
|
d9a2e7bf679864af9e19ee94bc0e268308e2f735 |
|
15-Oct-2015 |
Alexis Hetu <sugoi@google.com> |
Fixed format validations Format validations were failing if the exact same format wasn't used between different texture related calls to the same texture, even when the formats were equivalent, so I added a GetSizedInternalFormat function based on a format map (courtesy of Angle). The validation checks were also unified in utilities.cpp and used wherever texture formats were used, to make sure Image objects used in Texture objects always use the sized format, so that format comparisons work properly. Change-Id: I72fc8fb1b0f135ac679c274866e5b8e223541e7f Reviewed-on: https://swiftshader-review.googlesource.com/4082 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/libGL/Texture.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/Texture.cpp
|
e826ef020ff7d64878b98cf24e8acbc0e1bc99aa |
|
02-Apr-2015 |
Nicolas Capens <capn@google.com> |
Refactor GL objects into named and unnamed ones. Bug 20045861 Change-Id: Ib6a6625d3eb876a1444ae4dab17c6e25246fbc43 Reviewed-on: https://swiftshader-review.googlesource.com/2794 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/Texture.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/Texture.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/Texture.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/Texture.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/Texture.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/Texture.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/Texture.cpp
|