Revision 754df5c by Mike Erwin November 23, 2015, 02:14 (GMT) |
revert file mode to 644 |
Revision 708779e by Mike Erwin November 23, 2015, 02:14 (GMT) |
OpenGL: bump gpu_extensions to GL 2.1, prepare for 3.x Several changes. Tested working on Windows 10 GL 4.3 and MacOS 10.11 GL 2.1. - document extensions used in this file - some simple ARB/EXT suffix deletion - stop checking for pre-2.1 features ? they?re available! - convert old ARB shader API to the one adopted in GL 2.0 - remove checks for old (pre-R600) ATI cards - choose GLSL version at runtime, between 1.2 and 1.5 - prefer GLSL 1.5 for geometry shaders, fall back to EXT_geometry_shader4 if needed Differential Revision: https://developer.blender.org/D1632 |
Revision d28431a by Brecht Van Lommel November 22, 2015, 21:49 (GMT) |
OpenNL: make the API thread safe by always passing context. Previously two laplacian smooth or deform modifiers executing simultaneously could crash. |
Revision 47ce2d7 by Brecht Van Lommel November 22, 2015, 21:49 (GMT) |
OpenNL: significantly simplify code using Eigen / STL. |
Revision e6c58df by Brecht Van Lommel November 22, 2015, 21:49 (GMT) |
OpenNL: replace SuperLU by Eigen SparseLU solver. Performance is roughly the same because it's using the same COLAMD ordering and supernodal LU factorization algorithms. Solve results also appear to be identical. |
Revision 5e52433 by Brecht Van Lommel November 22, 2015, 21:49 (GMT) |
OpenNL: convert source file to C++, remove some unused functions. |
Revision 90b55ae by Brecht Van Lommel November 22, 2015, 21:49 (GMT) |
OpenNL: removed unused softbody code. |
Revision b9e0fe2 by Campbell Barton November 22, 2015, 21:31 (GMT) |
CMake: check GNU compiler before using extension Minor edit, don't assume non-msvc compilers are gcc/gnu compatible. |
Revision 4ff0126 by Brecht Van Lommel November 22, 2015, 21:31 (GMT) |
C99 is now the C standard for all our C code. The main new feature is mixed variable declarations and code, which can help reduce uninitialized variables or accidental variable reuse. Due to incomplete C99 support in VS 2013, variable length arrays are not supported, BLI_array_alloca must still be used. The header <tgmath.h> is also not supported. Differential Revision: https://developer.blender.org/D1631 |
Revision db1f0e3 by Antonis Ryakiotakis November 22, 2015, 19:53 (GMT) |
Error out on Windows if driver does not support OpenGL 2.1 with an error messagebox. |
Revision c402a37 by Antonis Ryakiotakis November 22, 2015, 18:47 (GMT) |
Remove vertex array support from GPUBuffers. Remove USER_DISABLE_VBO. All GPUBuffer rendering is now done using vertex buffers. Vertex arrays are completely removed from GL 3.2 core profile, so we'll have to do this change at some point anyway. This commit, though big, is not modifying blender in any way. Use should be exactly as if the vetex buffer option is constantly on. |
Revision 3e1a9ee by Kévin Dietrich November 22, 2015, 17:18 (GMT) |
Smoke drawing code cleanups (and little refactor) This patch contains the following changes: - the vertices and edges arrays would be assigned default values, and then reassigned new ones right away. It appears that those arrays were once global and then made local (rB06a2ee4afed4237398b69ddf253e29a730b2f9f0), so it makes sense now to initialize them with the right values. - the flame spectrum texture was created whether it was needed or not, so now it's only created if there's flame to be drawn, also split the code in a separate function. - reduce the number of parameters to the main draw function, as most of them are member of SmokeDomainSettings. - some other minor cleanups: fold multiple operations into one to get rid of one local variable, mark variables as `const` when necessary, unecessary gl draw calls, reorder the code a bit... Reviewers: campbellbarton, psy-fi Differential Revision: https://developer.blender.org/D1368 |
Revision 8623d75 by Antonis Ryakiotakis November 22, 2015, 17:14 (GMT) |
Add check for OpenGL version 2.1 on linux. Unfortunately there's no easy way to show a messagebox here, so just print a warning on fstderr and exit. If we don't call exit() here we get crashes on other blender systems (python, opensubdiv) and it can get tricky to track the initialization state here, so just using exit() should do the trick for now. |
Revision 4310a76 by Mike Erwin November 22, 2015, 16:35 (GMT) |
OpenGL: bump gpu_buffers to GL 2.1 simple stuff! - remove ARB suffix from core functions & enums - remove checks for core features (VBOs, generic attribs) - keep checks for non-core features (draw elements base vertex) |
Revision 307f1e7 by Bastien Montagne November 22, 2015, 14:33 (GMT) |
Fix T46678: Extending left handle of a VSE multicam effect strip with snap creates frame stills. Also fixes cache handling for those strips, they need more radical flushing... |
Revision 56ead9d by Sergey Sharybin November 22, 2015, 08:54 (GMT) |
Cycles: Make branched path tracer covered with requested features This gives few percent extra memory saving for the CUDA kernel when using regular path tracing. Still more like an experiment, but will be handy in the future. |
Revision 5c5df9d by Lukas Stockner November 21, 2015, 23:58 (GMT) |
Cycles: Save one transform inversion in the camera sync Summary: By calculating the Camera-to-Screen-Matrix first, one inversion can be saved in the Camera sync. It won't really improve speed and/or precision, it's mainly a small cleanup. Reviewers: sergey, dingto Subscribers: |
Revision f547bf2 by Sergey Sharybin November 21, 2015, 18:00 (GMT) |
Cycles: Make requested features struct aware of subsurface BSDF This way we'll be able to disable SSS for the scene-adaptive kernel. |
Revision c08727e by Sergey Sharybin November 21, 2015, 17:16 (GMT) |
Cycles: Quick experiment with using feature-adaptive kernels for CUDA Gives few percent of memory improvement for regular feature set kernel and could give significant memory improvement for Experimental kernel. It could also give some degree of performance improvement, but this I didn't really measure reliably yet. Code is ifdef-ed for now, since it's only working on Linux and requires CUDA toolkit to be installed (other platform only use precompiled kernels). This is just an experiment for now and a base for the proper feature support in the future (with runtime compilation using CUDA 7?). |
Revision f8ab3fd by Sergey Sharybin November 21, 2015, 17:07 (GMT) |
Cycles: add utility function to calculate MD5 hash of a given string |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021