Commit Graph

2940 Commits

Author SHA1 Message Date
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
e6963dac5a Release 3.4.1 RC1 2020-03-23 18:23:51 -07:00
George ElKoura
b9217c7929
Merge pull request #1191 from davidgyu/updated_build_docs
Updated build documentation
2020-03-20 20:25:32 -07:00
David G Yu
9a3df44eac Updated build documentation
Replaced Travis-CI and AppVeyor continuous integration badges
with badges for Azure Pipelines.

Also, improved some out-of-date documentation and updated
build notes regarding GLEW.
2020-03-20 18:56:20 -07:00
George ElKoura
04cdd7cc59
Merge pull request #1189 from davidgyu/dev_build_script_updates
Updated build_osd.py for VS2019 and GLEW
2020-03-17 10:37:55 -07:00
George ElKoura
87874af2e9
Merge pull request #1190 from davidgyu/dev_azure_pipelines
Updated Azure Pipelines script
2020-03-17 10:23:09 -07:00
David G Yu
1ce2248eb9 Updated Azure Pipelines script
Updated platform requirements to Ubuntu 18.04, macOS 10.14,
and Windows 2019. And added execution of CTest tests and
publishing of test results.
2020-03-17 10:04:56 -07:00
David G Yu
548891203d Removed GLEW from build_osd.py 2020-03-13 16:25:26 -07:00
David G Yu
d00f96a941 Fixed-up EOL whitespace and typos in build_osd.py 2020-03-13 16:25:26 -07:00
David G Yu
8ab4f44571 Updated build_osd.py for VS2019
Support setting the generator platform (-A)
when building with Visual Studio 2019 as well
as detecting VS2019 availability.
2020-03-13 16:09:03 -07:00
George ElKoura
eb7008bfab
Merge pull request #1187 from davidgyu/dev_static_build_option
Added option to control building shared libraries
2020-03-10 11:03:39 -07:00
David G Yu
cb596ffb8a Added option to control building shared libraries
This adds support for the standard global option
  BUILD_SHARED_LIBS
to select whether to build shared libraries.

Note that building shared DLL libraries is still
not yet supported on Windows.
2020-03-09 17:50:49 -07:00
Pol
8ebaeaf8ee
Merge pull request #1186 from davidgyu/dev_tbb_dependency_fix
Removed linking with unnecessary TBB libraries
2020-03-09 20:24:11 -04:00
Pol
85dded1fb7
Merge pull request #1185 from davidgyu/dev_cmake_prefix_fix
Prefix remaining OpenSubdiv CMake macros
2020-03-09 20:23:39 -04:00
David G Yu
5df2fb9f3f Prefix remaining OpenSubdiv CMake macros
This adds an "osd" prefix to the macros used
to install far tutorials.
2020-03-09 13:55:20 -07:00
David G Yu
74eb94deb5 Removed linking with unnecessary TBB libraries
We no longer search for or link with several TBB libraries
which are not used by this code base. Specifically, we no
longer link with tbbmalloc, tbbmalloc_debug, tbbmalloc_proxy
tbbmalloc_proxy_debug, tbb_preview, and tbb_preview_debug.
2020-03-09 13:39:23 -07:00
Pol
4c1889137f
Merge pull request #1184 from davidgyu/dev_internal_glloader
Added internal GL API loading library implementation
2020-03-06 15:12:11 -05:00
David G Yu
b5cdfe380b Disabled use of GLEW by default. 2020-03-06 11:37:55 -08:00
David G Yu
82988d04ad Updated EXT to ARB for GL direct_state_access
The ARB_direct_state_access API is more consistent with
the 4.5 and 4.6 core API and is also more widely supported.
2020-03-06 11:37:55 -08: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
Pol
e7ef20dacd
Merge pull request #1183 from davidgyu/dev_internal_glloader_prep
Prepare to replace GLEW with internal GL API Loader
2020-03-03 20:50:05 -05: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
George ElKoura
29047e78b7
Merge pull request #1182 from davidgyu/dev_strict_aliasing_fix
Fixed strict-aliasing warnings
2020-03-03 16:26:24 -08:00
David G Yu
16a5c3993f Moved GL version check out of FindGLEW.cmake
This allows us to make use of this even when
we are not using GLEW.
2020-03-03 15:04:24 -08:00
David G Yu
b738fa1225 Removed a couple build advisory messages
This simplifies the build by restricting build
configuration commentary messages to the top-level
CMakeLists.txt instead of in leaf directories.
2020-03-03 15:03:41 -08:00
David G Yu
6dde62d48f Fixed strict-aliasing warnings
Minor update to the implementation of a few internal tagging
methods in Vtr to avoid violating strict-aliasing rules.
Specifically, switched to using std::memcpy instead of
reinterpret_cast to implement type punning.
2020-02-28 16:28:33 -08:00
Pol
6339ac5c43
Merge pull request #1180 from davidgyu/dev_cmp0054_warning_fix
Fixed CMP0054 warnings in top-level CMakeLists.txt
2020-02-24 15:11:03 -05:00
Pol
35ec5a43ea
Merge pull request #1181 from davidgyu/dev_glhud_typo_fix
Fixed a typo in examples/common/glHud.cpp
2020-02-24 15:05:47 -05:00
David G Yu
b77beb0b33 Fixed a typo in examples/common/glHud.cpp 2020-02-24 11:52:15 -08:00
David G Yu
081028ca10 Fixed CMP0054 warnings in top-level CMakeLists.txt 2020-02-24 10:59:51 -08:00
Barry Fowler
916a139a06
Merge pull request #1179 from davidgyu/dev_ptexviewer_updates
Updates to GL and DX PtexViewers
2020-02-12 17:26:17 -08:00
Barry Fowler
5347320161
Merge pull request #1178 from davidgyu/dev_glfw_dependency_fix
Looks good. Thanks, David
2020-02-12 16:51:16 -08:00
David G Yu
cff20f0c24 Fixed a typo in cmake/FindDXSDK.cmake 2020-02-12 16:25:58 -08:00
David G Yu
afc48004dd Fixed glPtexViewer crash with animObj
The result container was being reserved but not resized.
2020-02-12 16:23:26 -08:00
David G Yu
47c8622025 Updated dxPtexViewer to use common facilities
- regression/arg_utils
- common/objAnim
2020-02-12 16:22:00 -08:00
David G Yu
e0c14ddbef Fixed examples link dependency on GLFW
Split the examples/common objects into graphics API dependent object
libraries (following the pattern used for cemmon Ptex dependencies)
so that DX11 and Metal examples are no longer forced to link with GLFW.
2020-02-12 14:25:14 -08:00
David G Yu
c3a34255cd
Merge pull request #1177 from barfowl/far_tutorial_5_1
Fixed initialization oversight in far/tutorial_5_1
2020-02-10 17:37:18 -08:00
barry
673bb1e386 Fixed oversight deriving adaptive refinement options from patch options:
- added missing initialization of max level with patch options
    - added comment to discourage others from making the same mistake
2020-02-10 16:06:26 -08:00
David G Yu
1ab19ec089
Merge pull request #1176 from barfowl/far_tutorial_5_3
Added new tutorial for Far::LimitStencilTable
2020-01-25 17:16:48 -08:00
David G Yu
d002d9e840
Merge pull request #1175 from barfowl/far_tutorial_5_2
Fixed memory leak in far/tutorial_5_2 with optional .obj file
2020-01-25 11:31:38 -08:00
barry
301ae21b0a Added new tutorial for Far::LimitStencilTable:
- added new source subdirectory far/tutorial_5_3
    - updated documentation to refer to the new tutorial
2020-01-24 18:54:45 -08:00
barry
f2671f96be Formatted modified source files to adhere to 80-column standard 2020-01-21 17:10:42 -08:00
barry
9f5898d94a Update far/tutorial_5_2 to use common command line parsing 2020-01-21 14:33:26 -08:00
barry
e65a7fee5c Fixed memory leak with optional .obj file in far/tutorial_5_2 2020-01-21 14:32:11 -08:00
George ElKoura
69af58f7aa
Merge pull request #1174 from davidgyu/dev_ptex_dependency_fix
Fixed Ptex link dependencies
2020-01-15 18:10:12 -08:00
George ElKoura
2b78718b56
Merge pull request #1173 from davidgyu/dev_vs2019_fix
Updated cmake/Find* modules for VS2019
2020-01-15 16:12:29 -08:00
George ElKoura
8c86d81c2a
Merge pull request #1172 from davidgyu/dev_warnings_fix
Fixed warnings in examples and regression/common
2020-01-15 16:11:04 -08:00
David G Yu
552ebf1376 Fixed Ptex link dependencies
Removed the link dependency from libosd to
the Ptex library since Ptex is used only by the
examples. Updated examples/common to separate
the common Ptex sources from the other common
sources so that they are used only by the Ptex
examples.
2020-01-15 14:47:18 -08:00
David G Yu
f3ede96017 Fixed warnings in examples and regression/common 2020-01-15 12:52:17 -08:00