351 Commits

Author SHA1 Message Date
Tom Finegan
d20fb916c7 Add arm ios toolchains. 2018-02-09 10:01:27 -08:00
Shaw
d7f6222702 Fixed typo with -point_cloud parameter (#336) 2018-01-26 12:30:46 -08:00
Lou Quillio
d18ed6605c
Merge pull request #335 from louquillio/tick-nokogiri-version
Update nokogiri version.
2018-01-23 11:31:05 -08:00
Lou Quillio
16765bb0ce Update nokogiri version.
In response to reported vulnerabilities in < 1.8.1

This was basically `bundle update`, so additional
gem dependencies were also updated. Fixes #334.
2018-01-23 11:15:05 -08:00
tomfinegan
10be65c807
Merge pull request #320 from google/cmake_up
Improve CMake C/CXX/AS flag handling.
2018-01-22 14:09:50 -08:00
Ondrej Stava
c6e718358c Fixed crash in DRACOLoader.js when attributeUniqueIdMap was left
undefined.
2018-01-18 08:57:40 -08:00
Ondrej Stava
c84ba4e34a
Updated nokogiri dependency to >= 1.8.1 (critical security vulnerability has been found in < 1.8.1) (#333) 2018-01-17 11:11:31 -08:00
Ondrej Stava
35c5a7167d Updated nodejs javascript files for 1.2.5 2018-01-17 09:28:32 -08:00
FrankGalligan
f3b5989b1d
Merge pull request #332 from donmccurdy/feat-dracoloader-parallel-decoding
DRACOLoader: Support requests for multiple files in parallel
2018-01-16 16:23:07 -08:00
Don McCurdy
6c954eac60 DRACOLoader: Support requests for multiple files in parallel. 2018-01-16 09:28:37 -08:00
Ondrej Stava
3faff31654 Updated snapshot to 1.2.5
* On average 10% faster decoding
* Improved Javascript metadata API
* Bug fixes
1.2.5
2018-01-12 14:44:54 -08:00
Don McCurdy
3ea3cd8b20 DRACOLoader: Simplify decoder source loading. (#315)
* DRACOLoader: Simplify decoder source loading.
2018-01-10 10:05:19 -08:00
PavelP
64e9192d43 Do not assign std::streampos to std::streamoff (#321) 2017-12-27 09:16:10 -08:00
Tom Finegan
227c7be1af Additional CMake flag handling improvements.
- Stop forcing AS/C/CXX/LINKER flags into the cache.
- Don't cache internal build system variables.
- Fix usages of PARENT_SCOPE rendered incorrect by previous
  patch.
- Fix usage of local variables within if() statements in macros;
  functions appear to allow for omission of ${} around vars in
  simple boolean checks. Macros apparently require ${} for all
  usages of if().
2017-12-23 09:27:47 -08:00
Tom Finegan
db609de80f Improve CMake C/CXX/AS flag handling.
Convert the flag controlling functions to macros and omit the
FORCE argument from all the set() calls. The use of FORCE was
mainly intended to set the variable in all scopes, but using
macros instead of functions is a much cleaner method of achieving
the same goal.
2017-12-22 16:37:43 -08:00
FrankGalligan
fb5ed8ebf8
Merge pull request #307 from jherico/android_64
Fixing Android ArmV8/Clang/LibC++ build
2017-12-22 14:21:51 -08:00
FrankGalligan
bdf0416c84
Update compiler_flags.cmake
CXX
2017-12-22 13:56:46 -08:00
FrankGalligan
ded2127934
Update compiler_flags.cmake
Removed the CMake changes. Will update the cmake in another PR.
2017-12-22 13:55:17 -08:00
Ondrej Stava
5186ec2f7a Updated snapshot to 1.2.4
* Up to 20% faster decoding
* Added support for integer attributes to our Javascript Encoder
* Fixed issues with THREE.DracoLoader not releasing memory associated
with the Draco module
* OBJ decoder can now be used to parse pure point clouds
* Added Unity plugins to support runtime loading and design-time
importing of encoded Draco files
1.2.4
2017-12-13 12:24:57 -08:00
David Scherba
85cbcbf7b0 draco: Fix add_cxx_preproc_definition() behavior/usage to support setting multiple opts
- Prev, only last option would take/be appended ... results in needing to
  run build bunches of times and exploding the CMAKE_CXX_FLAGS variable
- We also no longer cache those definitions, keeping them localized
- Ref: https://github.com/google/draco/issues/306 for related discussion
   - Linked fix uses CMake add_definitions() function, but this applies to
     both C and C++-based compilation
2017-12-12 09:58:14 -08:00
Bradley Austin Davis
0438f97edf Fixing Android ArmV8/Clang/LibC++ build 2017-12-12 09:57:57 -08:00
tomfinegan
451b56f4c9
Merge pull request #301 from eddiz/master
Optional Compiler Optimization
2017-11-29 10:59:52 -08:00
tomfinegan
b83f22b16b
Increase optimization level in release builds.
When users pass turn on ENABLE_EXTRA_SPEED at CMake generation, use -O3
in gcc like compilers, and /Ox in MSVC.
2017-11-29 08:58:49 -08:00
Frank Galligan
ff89a1142c Update version to 1.2.3
This fixes #300
2017-11-25 12:55:27 -08:00
eddiz
f4f5c81a56
Update CMakeLists.txt
updated compiler setting for extra speed-up as a follow-up of the pull discussion
2017-11-21 14:22:01 +01:00
eddiz
890ecc27cb
Optional Compiler Optimization
Enable all Compile Optimization by setting according compiler flags. (Visual Studio tested, gcc and other should work properly, but untested)
2017-11-19 22:31:21 +01:00
Ondrej Stava
441d5e05f7 Updated Draco to 1.2.2
Fixed issues when parsing ill-formatted .obj files + various other
bugfixes
1.2.2
2017-11-16 14:05:40 -08:00
Ondrej Stava
a7c0d80a71 Update Draco to 1.2.1
* Javascript and WebAssembly decoder size reduced by 35%
* Added specialized Javascript and Webassembly decoders for GLTF (size
reduction about 50% compared to the previous version)
1.2.1
2017-11-13 14:31:24 -08:00
FanZhang
8492a2b279
Merge pull request #294 from google/update_nodejs
Updated nodejs code
2017-11-10 09:51:02 -08:00
Fan Zhang
c84a8477af Updated nodejs code 2017-11-10 09:49:07 -08:00
FanZhang
5bbf04c298
Merge pull request #279 from edent/patch-1
Fix markdown issues with links
2017-11-07 12:40:16 -08:00
FanZhang
cc6212b994
Merge pull request #287 from EvgenyRodygin/patch-2
Fixing misprint in js-decoder code-list.
2017-11-07 12:37:07 -08:00
Evgeny Rodygin
63c6042e62
Fixing misprint in js-decoder code-list. 2017-11-07 23:30:24 +03:00
FrankGalligan
5b09a8595d
Merge pull request #280 from google/spec_fix_reported_issues
Spec: Addressing comments
2017-11-03 11:22:01 -07:00
Frank Galligan
84b73365fd Spec: Addressing comments
- Initialized last_vert_added
- Normalized usage of ans_decoder_
- Removed parsing of num_new_vertices
- Removed num_corners
- Added prediction_rans_data_buffer
- Fixed spelling of orientations
- Replaced SubtractInt64Vectors with SubtractVectors
- Initialized pred_vals
- Changed point_to_corner_map from array to counter
- Addresses comments in KhronosGroup/glTF#1114
2017-11-02 16:27:32 -07:00
Terence Eden
9b713ccd05
Fix markdown issues with links
Fixes #278
2017-11-02 10:32:19 +00:00
FrankGalligan
523ab63fcb
Merge pull request #277 from google/spec_remove_pending
Spec: Update bitstream version and release date
2017-10-30 16:39:48 -07:00
Frank Galligan
99f6d8ed75 Spec: Update bitstream version and release date 2017-10-30 16:37:51 -07:00
FrankGalligan
5eb9faf83c
Merge pull request #276 from google/spec_remove_c++_init
Spec: Remove C++ initialization
2017-10-27 11:47:00 -07:00
Frank Galligan
f3e95e3a0b Spec: Remove C++ initialization
- Associated with KhronosGroup/glTF#1114
2017-10-27 11:44:48 -07:00
FrankGalligan
d840d57733
Merge pull request #274 from google/spec_cleanup
Spec: Line length clean up
2017-10-27 10:26:31 -07:00
Frank Galligan
58ae243278 Spec: Line length clean up
- Associated with KhronosGroup/glTF#1114
2017-10-27 10:24:30 -07:00
FrankGalligan
f0747f0f82 Merge pull request #273 from google/spec_update_2.2_parsing
Spec: Update variables to reflect final 2.2 bitstream
2017-10-26 16:29:27 -07:00
Frank Galligan
e288f6365b Spec: Update variables to reflect final 2.2 bitstream
- Associated with KhronosGroup/glTF#1114
2017-10-26 16:27:26 -07:00
FrankGalligan
16d3c55770 Merge pull request #272 from google/spec_remove_pointer
Spec: Remove references to pointers
2017-10-26 16:22:16 -07:00
Frank Galligan
424d02ab1b Spec: Remove references to pointers
- Addresses a comment in KhronosGroup/glTF#1114
2017-10-26 16:20:37 -07:00
FrankGalligan
7e119b9e6d Merge pull request #271 from google/spex_fix_tagged_symbols
Spec: Fix DecodeTaggedSymbols
2017-10-26 16:15:41 -07:00
Frank Galligan
2d71b80d93 Spec: Fix DecodeTaggedSymbols
- Addresses a comment in KhronosGroup/glTF#1114
2017-10-26 16:15:11 -07:00
Arkady Shapkin
c5a7054091 Support MSVC intrinsic in MostSignificantBit() (#270) 2017-10-26 16:09:59 -07:00
FrankGalligan
0ec5ed3380 Merge pull request #266 from google/spec_remove_static_cast
Spec: Remove static_cast
2017-10-25 09:28:08 -07:00