OpenSubdiv/opensubdiv
Kévin Dietrich 38fe09c701 OpenGL Compute Evaluator: cache active program
Client applications may keep track of the active shader program so as to
not unnecessarily bind and unbind the same shader consecutively as
switching shaders is costly.

The current behavior of the OpenGL compute evaluator is to set the
active shader to 0 (zero) after running its program(s) which might
interfere with the aforemoentioned client applications' behavior,
leading to bugs.

Instead of unsetting any previously set shader program, cache the
current program before using the evaluator program, and reset the active
program to the previous one when done.

In Blender, this lead to some rendering artifacts. See https://
developer.blender.org/D15064 for more details on it.
2022-06-26 18:08:38 +02:00
..
far Merge pull request #1208 from barfowl/far_unrefine_maxlevel_bug 2021-01-26 14:41:40 -08:00
hbr Prefix OpenSubdiv CMake macros 2019-08-17 16:44:30 -07:00
osd OpenGL Compute Evaluator: cache active program 2022-06-26 18:08:38 +02:00
sdc Updated documentation related to boundary interpolation case "none": 2020-01-10 14:26:51 -08:00
tools/stringify Prefix OpenSubdiv CMake macros 2019-08-17 16:44:30 -07:00
vtr Fixed strict-aliasing warnings 2020-02-28 16:28:33 -08:00
CMakeLists.txt Fixed macOS static framework 2021-02-03 10:08:08 -08:00
version.cpp Add opensubdiv/version.cpp 2014-11-25 12:37:03 -08:00
version.h Release 3.4.4 2021-02-05 17:24:39 -08:00