Tom Finegan
59276a77ed
Merge pull request #595 from google/fix_xcode_build
...
draco: Add dummy sources to draco, dracodec, and dracoenc.
2020-04-02 09:30:27 -07:00
Tom Finegan
74dbda9eb1
draco: Add dummy sources to draco, dracodec, and dracoenc.
...
This is a workaround for two issues with CMake's Xcode generator:
- Setting the LINK_LANGUAGE property does not work.
- Library targets that only combine other object files do not build in
Xcode because of some other issue in the generator. They don't fail
at build time: Xcode just does not build them.
The combined behavior of the two issues forces addition of dummy source
files to the listed targets.
Fixes issue https://github.com/google/draco/issues/593
2020-04-02 08:45:39 -07:00
FrankGalligan
85c8d1a844
Merge pull request #587 from google/fix_readme
...
Update README with more info on gstatic link
2020-03-09 13:16:36 -07:00
Frank Galligan
7b84ba5de3
Update README with more info on gstatic link
2020-03-09 13:10:20 -07:00
Tom Finegan
d317d44aed
Merge pull request #586 from rbuch703/master
...
Update CMake-generated dummy sources only when their content changes
2020-03-09 12:17:17 -07:00
Robert Buchholz
a3c2d121a4
Update CMake-generated dummy sources only when their content changes
...
- this prevents unnecessary rebuilds after each CMake run
2020-03-09 13:45:44 +01:00
Tom Finegan
27a329e939
Revert unnecessary compatibility change in StdioFileReader.
2020-03-04 08:41:40 -08:00
Tom Finegan
b7fb7e5fba
draco: StdioFileReader/Writer gcc 4.9/clang < 4 compatibility fix.
...
Fixes https://github.com/google/draco/issues/582
2020-03-03 15:00:59 -08:00
FrankGalligan
eed8cdf588
Merge pull request #581 from google/dependabot/bundler/docs/nokogiri-1.10.9
...
Bump nokogiri from 1.10.5 to 1.10.9 in /docs
2020-03-03 11:34:37 -08:00
dependabot[bot]
5cba83d2cc
Bump nokogiri from 1.10.5 to 1.10.9 in /docs
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.10.5 to 1.10.9.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/v1.10.9/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.5...v1.10.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-03-03 18:48:05 +00:00
Frank Galligan
83b0922745
Add back removed files from 1.3.6 push
1.3.6
2020-03-03 10:46:47 -08:00
Frank Galligan
571d547d36
Update to version 1.3.6
2020-03-03 10:35:26 -08:00
FrankGalligan
eaf457977e
Merge pull request #488 from FreddyFunk/cast
...
point_cloud: Fix compiler warning
2020-02-11 09:54:17 -08:00
Lou Quillio
7a0815b303
Merge pull request #575 from google/dependabot/bundler/docs/rubyzip-2.1.0
...
Bump rubyzip from 1.2.2 to 2.1.0 in /docs
2020-02-04 10:35:21 -08:00
FrankGalligan
f29415698d
Merge pull request #532 from Jiloc/patch-1
...
integrate maya plugin loading on linux
2020-02-03 11:52:36 -08:00
FrankGalligan
21cee35c70
Merge pull request #565 from google/dependabot/bundler/docs/nokogiri-1.10.5
...
Bump nokogiri from 1.10.1 to 1.10.5 in /docs
2020-02-03 09:51:13 -08:00
dependabot[bot]
a9c8c3eeaf
Bump rubyzip from 1.2.2 to 2.1.0 in /docs
...
Bumps [rubyzip](https://github.com/rubyzip/rubyzip ) from 1.2.2 to 2.1.0.
- [Release notes](https://github.com/rubyzip/rubyzip/releases )
- [Changelog](https://github.com/rubyzip/rubyzip/blob/master/Changelog.md )
- [Commits](https://github.com/rubyzip/rubyzip/compare/v1.2.2...v2.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-01-30 23:12:32 +00:00
FrankGalligan
f5929ea657
Merge pull request #564 from eile/master
...
Add TypedArray JS API for selected data types
2020-01-30 15:12:04 -08:00
dependabot[bot]
4f9fa22155
Bump nokogiri from 1.10.1 to 1.10.5 in /docs
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.10.1 to 1.10.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.1...v1.10.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-01 14:13:54 +00:00
Stefan Eilemann
48621b5a74
Add TypedArray JS API for selected data types
...
Example Usage (TS code):
```
function _getUint16Array(
length: number,
decoder: DecoderInstance,
mesh: MeshInstance,
attributeId: number
): Uint16Array {
const nBytes = length * 2;
const ptr = draco._malloc(nBytes);
const attribute = decoder.GetAttribute(mesh, attributeId);
if (!decoder.GetAttributeUInt16ArrayForAllPoints(mesh, attribute, ptr, length)) {
throw "GetAttributeUInt16ArrayForAllPoints failed";
}
const array = new Uint16Array(draco.HEAPU8.buffer, ptr, length).slice();
draco._free(ptr);
return array;
}
```
2019-10-25 10:33:09 +02:00
Tom Finegan
5db6df1985
draco: formatting fixes in draco_features.cmake.
...
Just line wrapping stuff.
2019-09-25 14:28:23 -07:00
Tom Finegan
736190f80b
Merge pull request #557 from avzhatkin/master
...
Fix unit test golden file compare on Windows-- explicitly open files as binary.
2019-09-25 14:22:13 -07:00
Tom Finegan
e8daed7f06
Merge pull request #556 from rbuch703/master
...
Update CMake-generated headers only when their content changes
2019-09-25 14:15:32 -07:00
Andrey Zhatkin
fc4d8fd75d
Fix unit test golden file reading ( #471 )
2019-09-25 15:03:04 +03:00
Robert Buchholz
d7f6ff38b6
Update CMake-generated headers only when their content changes
...
- this prevents unnecessary decode.cc rebuilds after each CMake run
2019-09-25 11:27:57 +02:00
igorvytyaz
99765325a2
Merge pull request #553 from igorvytyaz/master
...
Making metadata block in DRC files deterministic.
2019-09-13 11:28:48 -07:00
Igor Vytyaz
5f94dab91a
Adding a missing include statement.
2019-09-13 11:13:59 -07:00
Stefan Eilemann
9e4d51bbcb
Opt: Use move semantics to avoid some data copies ( #522 )
...
* Opt: Use move semantics to avoid some data copies
* Update decoder_webidl_wrapper.cc
2019-09-13 11:10:26 -07:00
Igor Vytyaz
adb34a7af2
Making metadata block in DRC files deterministic.
2019-09-13 10:49:12 -07:00
Stefan Eilemann
ad58758459
Add MetadataQuerier.GetIntEntryArray to JavaScript bindings ( #521 )
2019-09-13 10:26:16 -07:00
Tom Finegan
9fa96af9d1
draco: Fix a couple comment typos in float_points_tree_decoder.h.
2019-09-06 12:07:57 -07:00
igorvytyaz
967e8390f6
Merge pull request #551 from google/gcc_4_8_hax
...
Add workaround for rvalue reference overload issues in gcc 4.8.
2019-09-06 11:59:15 -07:00
Tom Finegan
5470f31736
draco: Update Travis config.
...
- Use default Xcode on osx images.
- Drop ccache usage.
2019-09-06 11:26:32 -07:00
Tom Finegan
823b536243
Add workaround for rvalue reference overload issues in gcc 4.8.
2019-09-06 11:00:48 -07:00
Tom Finegan
dd5aaf0ae4
Merge pull request #549 from google/emscripten_env_check
...
draco cmake: Require the EMSCRIPTEN environment variable.
2019-08-29 11:46:38 -07:00
Tom Finegan
725d689e84
draco cmake: Require the EMSCRIPTEN environment variable.
...
Avoid a confusing failure mode for javascript builds by requiring that
points at an existing directory. Prevents failure of custom
commands late in the configure and build processes.
2019-08-28 10:10:46 -07:00
Tom Finegan
9fe2b3110e
Merge pull request #548 from google/draco_js_fixes
...
Fix some javascript issues.
2019-08-27 11:03:01 -07:00
Tom Finegan
092426caa6
draco js: Fix omitted update of ERROR -> DRACO_ERROR
2019-08-27 10:49:00 -07:00
Tom Finegan
935f182bb3
draco js: Silence binyaren warning
...
ELIMINATE_DUPLICATE_FUNCTIONS=1 is no longer required: it is now a default.
2019-08-27 10:48:11 -07:00
Tom Finegan
a8f6698a67
Merge pull request #539 from google/draco_win_dll_link_fix
...
draco cmake: Defer windows shared lib check until after plugin checks.
2019-07-10 13:58:16 -07:00
Tom Finegan
5bf650555c
draco cmake: Defer windows shared lib check until after plugin checks.
...
We rely upon CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS for windows DLL
support, but we must defer the BUILD_SHARED_LIBS check until after the
plugin args are checked since the plugin checks can enable BUILD_SHARED_LIBS.
Without this change Visual Studio will not create import libs for the draco DLLs,
and that breaks the build.
2019-07-10 12:10:22 -07:00
Tom Finegan
7e3a61d46d
Merge pull request #535 from google/draco_error
...
Rename Status::ERROR to Status::DRACO_ERROR.
2019-07-08 09:59:43 -07:00
Tom Finegan
40dc50f35f
Merge pull request #538 from atteneder/unity_ios
...
draco cmake: make unity plugin decoder a static lib on ios.
2019-07-03 13:18:32 -07:00
Andreas Atteneder
597bfcd4f3
Fix: Unity requires static libs for iOS.
2019-07-03 08:41:24 +02:00
Tom Finegan
96f8387b53
Rename Status::ERROR to Status::DRACO_ERROR.
...
Change the name to avoid conflict with Windows headers.
2019-07-01 14:19:06 -07:00
Tom Finegan
c1255f6315
Merge pull request #533 from google/draco_misc
...
draco: Mostly CMake updates.
2019-06-24 14:01:03 -07:00
Tom Finegan
fdaa47cd23
draco cmake: Improve Android NDK toolchain support and fix a bug.
...
- Move common NDK settings into cmake/toolchains/android-ndk-common.cmake.
- Fix bug in set_variable_if_unset(). Was ignoring variables set via
CMake's command line.
Fixes #475 .
2019-06-21 10:50:00 -07:00
Tom Finegan
5a999117b1
draco cmake: Run cmake-format on all CMake files.
2019-06-21 10:47:49 -07:00
Tom Finegan
d8cf1e57b4
Add CMake and clang format configuration files.
2019-06-21 10:26:51 -07:00
Francesco Leacche
4b94014cf8
integrate library loading on linux
2019-06-18 10:33:21 -04:00