Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USD on Windows for dev_win_ip #24

Merged
merged 104 commits into from Aug 19, 2016
Merged

USD on Windows for dev_win_ip #24

merged 104 commits into from Aug 19, 2016

Conversation

ghost
Copy link

@ghost ghost commented Aug 18, 2016

Registry Manager is now fully functional.

UsdView runs and the test cases look similar to the baseline images.

Katana and Maya plugins compile. Katana plugin uses regex.h which I'm in the process of dealing with.

heckj and others added 30 commits July 27, 2016 10:24
fix URL link - capitalization counts in this one
couple of clients. ArchStatCompare was only being used for it's mtime
equality operation. The SAME_FILE operation is dubious in our jungle of
networked file systems, and leaving just the mtime comparators seemed like
a lot of machinery for just an equals. We can revisit if/when we need to
abstract this away for some non-POSIX system.
Windows.
    JsValue::Get{Array,Object} -> ::GetJs{Array,Object}
    PlugPlugin::FindResource -> ::FindPluginResource
    PlugFindResource -> PlugFindPluginResource

This is an API-only change, no functionality should be modified.
This is a documentation/comment/whitespace-only change.

(Internal change: 1638538)
- Move Issues document into an Issues template. This allows github to
prefill issue requests for users, so they will include all of the information
we want, rather than having it in a separate document they may ignore.
- Create a pull request template in the same vein.
- Add a contributing document; this makes github display a banner
before users can submit a pull request. This is in an effort to
streamline the process of our CLAs. For further information on these see:

https://help.github.com/articles/creating-a-pull-request-template-for-your-repository/
https://help.github.com/articles/creating-an-issue-template-for-your-repository/
https://help.github.com/articles/setting-guidelines-for-repository-contributors/

(Internal change: 1640807)
issue #10. It turns out that github markdown changes all anchors to
lowercase during html generation. So a heading like # Foo Bar becomes
somePage.html#foo-bar.

(Internal change: 1640808)
This was caught by running the build against a newer compiler(4.8.5)

(Internal change: 1640836)
This change removes all dependencies in usdMaya on pxrUsdMayaGL. Instead,
pxrUsdMayaGL is made dependent on usdMaya for dealing with proxy shapes.

(Internal change: 1640854)
(Internal change: 1640881)
…e function

prototypes became out of sync with their definitions.

(Internal change: 1641070)
…ion to std::string.

For the pair of clients that were using TfHash on TfToken, just use the TfToken's
hashing directly.  Provide an overload in TfHash to prevent future clients from
unintentionally hashing by std::string.

(Internal change: 1641077)
that pointed to relocated prims caused composition errors.

This was due to how the mapping functions between variant
nodes and their parents were set up. Since variants are
conceptually just switches for local opinions, the namespace
for a variant node should be exactly the same as its parent
node. This is represented by an identity mapping function.
However, in this case Pcp was erroneously adding in
relocations to this mapping function. This caused target
paths that pointed to relocated prims to be unmappable,
because the combination of the identity and relocation
mappings would break the bijection between parent and
variant namespaces that PcpMapFunction maintains.

This change makes it so that Pcp no longer adds relocations
to the map functions used by variants. This behavior was
pushed into _CreateMapExpressionForArc, which is called
in exactly the places where relocates are necessary.

(Internal change: 1641091)
pxr/imaging and pxr/usdImaging are still in bad shape and
not referenced in the produced TOC.

(Internal change: 1641100)
…walking from prman terminals

(This is to silence benign but annoying shell messages for display shaders)

(Internal change: 1641164)
(Internal change: 1641549)
(Internal change: 1644828)
gitamohr and others added 22 commits August 17, 2016 11:41
… behavior

with large multi-line string tokens and also avoids us having to do clever mmap
business to ensure that flex gets its two bytes of null padding.  It does mean
that we pay the cost of reading all the bytes even in the (ultra rare) case
that we're reading the metadata section only, but we think this is an okay
tradeoff.

(Internal change: 1642939)
…wn problematic shapes

(Internal change: 1642980)
(Internal change: 1643439)
(Internal change: 1644007)
(Internal change: 1645072)
(Internal change: 1643655)
…s time varying and if so, we will push updates to the gpu when changing time!

(Internal change: 1643690)
AttributeQuery::Get(time).  The main problem is that with clips, the "value
source" for an attribute might itself be time varying.  During times that clips
are active, the source would be clips, at other times, the source might be time
samples.  To handle this we add a new value source:
Usd_ResolveInfoSourceIsTimeDependent, which is returned for timeless
ResolveInfo queries where clips are involved.  In this case,
AttributeQuery::Get() will fall back to the ordinary Attribute::Get() code
path.

(Internal change: 1643699)
…rim in its subtree

if usd native instance doesn't have any renderable prim in its subtree,
book keeping of instance to master prim isn't needed for that path.

(Internal change: 1643828)
"opensubdiv3/" include path had been used to support both 2.x and 3.x
at the same time so that we can compare the results between those versions.
now that opensubdiv 2.x support in hydra has been removed,
we no longer need to distinguish the version by include path.

closes #3
#3

(Internal change: 1643830)
The build now uses a simpler FindPySide CMake module for
detecting the presence of PySide and pysideuic. Also,
pxr_shared_library and pxr_plugin now accept .ui files
under a new 'PYSIDEUI_FILES' argument, which is more
consistent with how we specify other files to build.

(Internal change: 1643902)
This allows us to remove all direct includes of boost::python
headers from tf/type.h, which helps with the Python include
ordering issue.

(Internal change: 1644046)
…usd stage

teardown by ~2x.

(Internal change: 1644215)
inline assembly atomic ops to C++11 std::atomic.

The speed hit came from changing TfRefPtr's internal pointer
from TfRefBase* to std::atomic<TfRefBase*>.  That change was
to accomodate TfWeakPtr's requirement to atomically initialize its
ref-counted Tf_Remnant pointer.  Early testing with godbolt.org
and simple test cases left us expecting similar x86-64 code as
before.  However, perf tests and codegen analysis revealed that
we were getting worse code out of gcc 4.8.2: extra branches and
repeated identical MOV ops.

Back that out in favor of a targeted solution for TfWeakPtr:

* TfRefPtr goes back to holding a TfRefBase*
* TfWeakBase holds its remnant as std::atomic<Tf_Remnant*>
* Tf_Remnant remains TfRefBase
* TfWeakBase manually manages its +1 ref to the remnant instead
  of holding a TfRefPtr; this lets it initialize atomically
  without pushing that constraint onto TfRefPtr
* Corresponding updates to downstream use of Tf_Remnant

(Internal change: 1644269)
callbacks.

Two advantages:

- WorkSerialForN wouldn't allow functors with const operator() before,
  which broken with its intention to closely follow the API of
  WorkParallelForN (which did allow it).

- WorkParallelForN no longer uses boost::function.

(Internal change: 1644395)
usdReferenceAssembly nodes would paths with Ar but the exporter's stage
would not have this context.  This means paths would resolve in maya but
not in the stage we export.

(Internal change: 1644491)
commas in pretty-printed numbers, and initializaing
locale in a non-robust way.

Switch to "simpler" string-formatting idiom that allows us
to avoid locale altogether.

Fixes #17 github issue

(Internal change: 1644691)
# Conflicts:
#	cmake/defaults/msvcdefaults.cmake
#	pxr/base/lib/arch/fileSystem.cpp
#	pxr/base/lib/arch/fileSystem.h
#	pxr/base/lib/arch/testenv/testFileSystem.cpp
#	pxr/base/lib/tf/pyEnum.h
#	pxr/base/lib/tf/refPtr.h
#	pxr/base/lib/tf/token.h
#	pxr/base/lib/tf/weakBase.h
#	pxr/base/lib/tf/wrapTypeHelpers.h
#	pxr/base/lib/work/loops.h
#	pxr/imaging/lib/cameraUtil/conformWindow.h
#	pxr/imaging/lib/glf/bindingMap.h
#	pxr/imaging/lib/glf/diagnostic.h
#	pxr/imaging/lib/glf/drawTarget.h
#	pxr/imaging/lib/glf/glContext.h
#	pxr/imaging/lib/glf/glContextRegistry.h
#	pxr/imaging/lib/glf/glew.h
#	pxr/imaging/lib/glf/glslfx.h
#	pxr/imaging/lib/glf/info.h
#	pxr/imaging/lib/glf/ptexTexture.h
#	pxr/imaging/lib/glf/simpleLight.h
#	pxr/imaging/lib/glf/simpleLightingContext.h
#	pxr/imaging/lib/glf/simpleMaterial.h
#	pxr/imaging/lib/glf/simpleShadowArray.h
#	pxr/imaging/lib/glf/texture.h
#	pxr/imaging/lib/glf/textureHandle.h
#	pxr/imaging/lib/glf/textureRegistry.h
#	pxr/imaging/lib/glf/uvTexture.h
#	pxr/imaging/lib/glf/uvTextureStorage.h
#	pxr/imaging/lib/hd/basisCurves.h
#	pxr/imaging/lib/hd/bufferSpec.h
#	pxr/imaging/lib/hd/changeTracker.h
#	pxr/imaging/lib/hd/subdivision3.cpp
#	pxr/imaging/lib/hd/vboSimpleMemoryManager.h
#	pxr/imaging/lib/hdx/intersector.h
#	pxr/imaging/lib/pxOsd/meshTopology.h
#	pxr/imaging/lib/pxOsd/refinerCache.h
#	pxr/imaging/lib/pxOsd/refinerFactory.h
#	pxr/usd/lib/ar/resolver.h
#	pxr/usd/lib/pcp/changes.h
#	pxr/usd/lib/pcp/layerStack.h
#	pxr/usd/lib/pcp/layerStackIdentifier.h
#	pxr/usd/lib/pcp/mapExpression.h
#	pxr/usd/lib/pcp/pathTranslation.h
#	pxr/usd/lib/pcp/primIndex.h
#	pxr/usd/lib/pcp/site.h
#	pxr/usd/lib/sdf/assetPath.h
#	pxr/usd/lib/sdf/changeList.h
#	pxr/usd/lib/sdf/changeManager.h
#	pxr/usd/lib/sdf/cleanupTracker.h
#	pxr/usd/lib/sdf/layer.h
#	pxr/usd/lib/sdf/layerOffset.h
#	pxr/usd/lib/sdf/mapperArgSpec.h
#	pxr/usd/lib/sdf/mapperSpec.h
#	pxr/usd/lib/sdf/namespaceEdit.h
#	pxr/usd/lib/sdf/notice.h
#	pxr/usd/lib/sdf/path.h
#	pxr/usd/lib/sdf/payload.h
#	pxr/usd/lib/sdf/primSpec.h
#	pxr/usd/lib/sdf/propertySpec.h
#	pxr/usd/lib/sdf/proxyPolicies.h
#	pxr/usd/lib/sdf/pyChildrenProxy.h
#	pxr/usd/lib/sdf/pyChildrenView.h
#	pxr/usd/lib/sdf/pyListEditorProxy.h
#	pxr/usd/lib/sdf/pyListProxy.h
#	pxr/usd/lib/sdf/pyMapEditProxy.h
#	pxr/usd/lib/sdf/relationshipSpec.h
#	pxr/usd/lib/sdf/spec.h
#	pxr/usd/lib/sdf/textFileFormat.tab.cpp
#	pxr/usd/lib/sdf/textReferenceParser.h
#	pxr/usd/lib/sdf/types.h
#	pxr/usd/lib/sdf/variantSetSpec.h
#	pxr/usd/lib/sdf/variantSpec.h
#	pxr/usd/lib/usd/attribute.h
#	pxr/usd/lib/usd/clipsAPI.h
#	pxr/usd/lib/usd/crateFile.cpp
#	pxr/usd/lib/usd/crateInfo.h
#	pxr/usd/lib/usd/editTarget.h
#	pxr/usd/lib/usd/instanceCache.h
#	pxr/usd/lib/usd/object.h
#	pxr/usd/lib/usd/prim.h
#	pxr/usd/lib/usd/resolveInfo.h
#	pxr/usd/lib/usd/stage.h
#	pxr/usd/lib/usd/stageCache.h
#	pxr/usd/lib/usd/stageCacheContext.h
#	pxr/usd/lib/usdGeom/basisCurves.h
#	pxr/usd/lib/usdGeom/boundable.h
#	pxr/usd/lib/usdGeom/camera.h
#	pxr/usd/lib/usdGeom/capsule.h
#	pxr/usd/lib/usdGeom/collectionAPI.h
#	pxr/usd/lib/usdGeom/cone.h
#	pxr/usd/lib/usdGeom/constraintTarget.h
#	pxr/usd/lib/usdGeom/cube.h
#	pxr/usd/lib/usdGeom/curves.h
#	pxr/usd/lib/usdGeom/cylinder.h
#	pxr/usd/lib/usdGeom/faceSetAPI.h
#	pxr/usd/lib/usdGeom/gprim.h
#	pxr/usd/lib/usdGeom/imageable.h
#	pxr/usd/lib/usdGeom/mesh.h
#	pxr/usd/lib/usdGeom/metrics.h
#	pxr/usd/lib/usdGeom/modelAPI.h
#	pxr/usd/lib/usdGeom/nurbsCurves.h
#	pxr/usd/lib/usdGeom/nurbsPatch.h
#	pxr/usd/lib/usdGeom/pointBased.h
#	pxr/usd/lib/usdGeom/points.h
#	pxr/usd/lib/usdGeom/primvar.h
#	pxr/usd/lib/usdGeom/scope.h
#	pxr/usd/lib/usdGeom/sphere.h
#	pxr/usd/lib/usdGeom/xform.h
#	pxr/usd/lib/usdGeom/xformCache.h
#	pxr/usd/lib/usdGeom/xformCommonAPI.h
#	pxr/usd/lib/usdGeom/xformable.h
#	pxr/usd/lib/usdHydra/lookAPI.h
#	pxr/usd/lib/usdHydra/primvar.h
#	pxr/usd/lib/usdHydra/ptexTexture.h
#	pxr/usd/lib/usdHydra/texture.h
#	pxr/usd/lib/usdHydra/uvTexture.h
#	pxr/usd/lib/usdRi/lookAPI.h
#	pxr/usd/lib/usdRi/risBxdf.h
#	pxr/usd/lib/usdRi/risIntegrator.h
#	pxr/usd/lib/usdRi/risObject.h
#	pxr/usd/lib/usdRi/risOslPattern.h
#	pxr/usd/lib/usdRi/risPattern.h
#	pxr/usd/lib/usdRi/rslShader.h
#	pxr/usd/lib/usdRi/statements.h
#	pxr/usd/lib/usdShade/interfaceAttribute.cpp
#	pxr/usd/lib/usdShade/interfaceAttribute.h
#	pxr/usd/lib/usdShade/look.h
#	pxr/usd/lib/usdShade/pShader.h
#	pxr/usd/lib/usdShade/parameter.h
#	pxr/usd/lib/usdShade/shader.h
#	pxr/usd/lib/usdShade/subgraph.h
#	pxr/usd/lib/usdUtils/dependencies.h
#	pxr/usd/lib/usdUtils/introspection.h
#	pxr/usd/lib/usdUtils/pipeline.h
#	pxr/usd/lib/usdUtils/stageCache.h
#	pxr/usd/lib/usdUtils/stitch.h
#	pxr/usd/lib/usdUtils/stitchClips.h
#	pxr/usdImaging/lib/usdviewq/prettyPrint.py
#	third_party/katana/lib/usdKatana/lookAPI.h
#	third_party/katana/lib/usdKatana/readMaterial.cpp
#	third_party/katana/lib/usdKatana/readMaterial.h
#	third_party/katana/lib/usdKatana/utils.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.