This repository has been archived by the owner on May 10, 2023. It is now read-only.
forked from boberfly/dependencies
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from ericmehl/msvc2017
Update to GafferHQ 3.1.0
- Loading branch information
Showing
62 changed files
with
5,446 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
working | ||
*/archives | ||
**/gafferBuild | ||
llvm*/build-release | ||
qt*/**/*.qm | ||
c-blosc*/** | ||
qt-adsk-*/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
Appleseed/patches/windows/0001-remove_boost_namespace.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/src/appleseed/renderer/meta/tests/test_tracer.cpp 2020-05-14 18:34:13.413540600 -0400 | ||
+++ b/src/appleseed/renderer/meta/tests/test_tracer.cpp 2020-05-14 18:32:10.040808300 -0400 | ||
@@ -83,7 +83,6 @@ | ||
|
||
using namespace foundation; | ||
using namespace renderer; | ||
-using namespace boost; | ||
using namespace std; | ||
|
||
TEST_SUITE(Renderer_Kernel_Lighting_Tracer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- a/cmake/config/win-vs.txt 2020-05-14 19:22:32.135735200 -0400 | ||
+++ b/cmake/config/win-vs.txt 2020-05-14 19:24:49.460860100 -0400 | ||
@@ -312,10 +312,10 @@ | ||
|
||
macro (link_against_osl target) | ||
set (LLVM_LIBS | ||
- LLVMLTO LLVMLinker LLVMipo LLVMVectorize LLVMBitWriter LLVMTableGen LLVMDebugInfo LLVMOption LLVMX86Disassembler LLVMX86AsmParser | ||
+ LLVMLTO LLVMLinker LLVMipo LLVMVectorize LLVMBitWriter LLVMTableGen LLVMOption LLVMX86Disassembler LLVMX86AsmParser | ||
- LLVMX86CodeGen LLVMSelectionDAG LLVMAsmPrinter LLVMX86Desc LLVMX86Info LLVMX86AsmPrinter LLVMX86Utils LLVMIRReader LLVMBitReader | ||
+ LLVMX86CodeGen LLVMSelectionDAG LLVMAsmPrinter LLVMX86Desc LLVMX86Info LLVMX86Utils LLVMIRReader LLVMBitReader | ||
- LLVMAsmParser LLVMMCDisassembler LLVMMCParser LLVMInstrumentation LLVMInterpreter LLVMMCJIT LLVMJIT LLVMCodeGen LLVMObjCARCOpts | ||
- LLVMScalarOpts LLVMInstCombine LLVMTransformUtils LLVMipa LLVMAnalysis LLVMRuntimeDyld LLVMExecutionEngine LLVMTarget LLVMMC | ||
+ LLVMAsmParser LLVMMCDisassembler LLVMMCParser LLVMInstrumentation LLVMInterpreter LLVMMCJIT LLVMCodeGen LLVMObjCARCOpts | ||
+ LLVMScalarOpts LLVMInstCombine LLVMTransformUtils LLVMAnalysis LLVMRuntimeDyld LLVMExecutionEngine LLVMTarget LLVMMC | ||
LLVMObject LLVMCore LLVMSupport | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- ./src/appleseed/foundation/image/genericimagefilewriter.cpp | ||
+++ ./src/appleseed/foundation/image/genericimagefilewriter.cpp | ||
@@ -79,7 +79,7 @@ | ||
{ | ||
// Destroy the ImageOutput stucture. | ||
if (m_writer != nullptr) | ||
- OIIO::ImageOutput::destroy(m_writer); | ||
+ OIIO::ImageOutput::destroy(m_writer.release()); | ||
|
||
delete impl; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- ./src/appleseed/foundation/image/genericimagefilewriter.h | ||
+++ ./src/appleseed/foundation/image/genericimagefilewriter.h | ||
@@ -92,7 +92,7 @@ | ||
struct Impl; | ||
Impl* impl; | ||
|
||
- OIIO::ImageOutput* m_writer; | ||
+ std::unique_ptr<OIIO::ImageOutput> m_writer; | ||
const char* m_filename; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- ./src/appleseed/foundation/image/genericprogressiveimagefilereader.cpp | ||
+++ ./src/appleseed/foundation/image/genericprogressiveimagefilereader.cpp | ||
@@ -65,7 +65,7 @@ | ||
{ | ||
Logger* m_logger; | ||
string m_filename; | ||
- OIIO::ImageInput* m_input; | ||
+ std::unique_ptr<OIIO::ImageInput> m_input; | ||
bool m_supports_random_access; | ||
bool m_is_tiled; | ||
CanvasProperties m_props; | ||
@@ -177,9 +177,7 @@ | ||
// but OpenImageIO 1.5.20 (the version included in appleseed-deps at the time | ||
// of writing) is too old to have this method. Since on Windows we link to | ||
// OpenImageIO statically, this should be safe anyway. | ||
- delete impl->m_input; | ||
- | ||
- impl->m_input = nullptr; | ||
+ OIIO::ImageInput::destroy(impl->m_input.release()); | ||
} | ||
|
||
bool GenericProgressiveImageFileReader::is_open() const |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.