Commit Graph

5 Commits

Author SHA1 Message Date
David G Yu
33a3d3bc87 Merged GL Api Loader fixes from USD
Merged recent bug fixes from the USD implementation of the
GL Api Loader. This fixes the OpenGL system framework path on
macOS and also improves GL version and GL extension processing.
2021-02-03 10:17:36 -08:00
David G Yu
b93725be26 Fixed static library linking on Windows
Changed the glLoader library to an object library
instead of a static library to improve generating
opensubdiv static libraries.
2020-04-01 12:13:36 -07:00
David G Yu
f3f28995a5 Enabled internal GL API loader as GLEW alternative
At build time, the preprocessor symbols: OSD_USES_GLEW or
OSD_USES_INTERNAL_GLAPILOADER determine the GL API loader
that will be used by the OSD library.
2020-03-06 11:37:55 -08:00
David G Yu
720462a315 Added internal GL API loader implementation
This extends the internal glLoader library to have a fully
internally implemented GL API loader so that the OpenSubdiv
libraries can be used independent of any dependencies on an
external GL API loader like GLEW.
2020-03-06 11:37:55 -08:00
David G Yu
28f2574bc5 Moved GLEW dependencies to glLoader wrapper
This introduces an internal glLoader library which allows
most of the implementation to be agnostic about the
implementation of the GL loading library.  Specifically,
this removes references to the GLEW headers and libraries
from the rest of the source code and build system.
2020-03-03 17:10:30 -08:00