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

Fix for DLL export import mismatch #2691

Merged
merged 1 commit into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pxr/imaging/hdGp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ pxr_library(hdGp
PUBLIC_HEADERS
api.h

PUBLIC_HEADERS
api.h

RESOURCE_FILES
plugInfo.json
)
2 changes: 1 addition & 1 deletion pxr/imaging/hdGp/api.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright 2023 Pixar
// Copyright 2017 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
Expand Down
2 changes: 1 addition & 1 deletion pxr/imaging/hdar/systemSchema.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class HdarSystemSchema : public HdSchema
/// Otherwise, this returns null.
///
/// This operation will be linear in the length of \p fromPath.
HD_API
HDAR_API
static HdContainerDataSourceHandle GetFromPath(
HdSceneIndexBaseRefPtr const &inputScene,
SdfPath const &fromPath,
Expand Down
19 changes: 10 additions & 9 deletions pxr/usdImaging/usdProcImaging/generativeProceduralAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include "pxr/usdImaging/usdImaging/primAdapter.h"
#include "pxr/usd/usdProc/tokens.h"
#include "pxr/usdImaging/usdProcImaging/api.h"

PXR_NAMESPACE_OPEN_SCOPE

Expand All @@ -46,20 +47,20 @@ class UsdProcImagingGenerativeProceduralAdapter
/// \name Scene Index Support
// ---------------------------------------------------------------------- //

USDIMAGING_API
USDPROCIMAGING_API
TfTokenVector GetImagingSubprims(UsdPrim const& prim) override;

USDIMAGING_API
USDPROCIMAGING_API
TfToken GetImagingSubprimType(UsdPrim const& prim, TfToken const& subprim)
override;

USDIMAGING_API
USDPROCIMAGING_API
HdContainerDataSourceHandle GetImagingSubprimData(
UsdPrim const& prim,
TfToken const& subprim,
const UsdImagingDataSourceStageGlobals &stageGlobals) override;

USDIMAGING_API
USDPROCIMAGING_API
HdDataSourceLocatorSet InvalidateImagingSubprim(
UsdPrim const& prim,
TfToken const& subprim,
Expand Down Expand Up @@ -99,23 +100,23 @@ class UsdProcImagingGenerativeProceduralAdapter
TfToken const& propertyName) override;


USDIMAGING_API
USDPROCIMAGING_API
virtual void MarkDirty(UsdPrim const& prim,
SdfPath const& cachePath,
HdDirtyBits dirty,
UsdImagingIndexProxy* index) override;

USDIMAGING_API
USDPROCIMAGING_API
virtual void MarkTransformDirty(UsdPrim const& prim,
SdfPath const& cachePath,
UsdImagingIndexProxy* index) override;

USDIMAGING_API
USDPROCIMAGING_API
virtual void MarkVisibilityDirty(UsdPrim const& prim,
SdfPath const& cachePath,
UsdImagingIndexProxy* index) override;

USDIMAGING_API
USDPROCIMAGING_API
void TrackVariability(UsdPrim const& prim,
SdfPath const& cachePath,
HdDirtyBits* timeVaryingBits,
Expand All @@ -124,7 +125,7 @@ class UsdProcImagingGenerativeProceduralAdapter

protected:

USDIMAGING_API
USDPROCIMAGING_API
virtual void _RemovePrim(SdfPath const& cachePath,
UsdImagingIndexProxy* index) override;

Expand Down
8 changes: 4 additions & 4 deletions pxr/usdImaging/usdRiPxrImaging/pxrDisplayFilterAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ class UsdRiPxrImagingDisplayFilterAdapter : public UsdImagingPrimAdapter
/// \name Scene Index Support
// ---------------------------------------------------------------------- //

USDIMAGING_API
USDRIIMAGING_API
TfTokenVector GetImagingSubprims(UsdPrim const& prim) override;

USDIMAGING_API
USDRIIMAGING_API
TfToken GetImagingSubprimType(
UsdPrim const& prim,
TfToken const& subprim) override;

USDIMAGING_API
USDRIIMAGING_API
HdContainerDataSourceHandle GetImagingSubprimData(
UsdPrim const& prim,
TfToken const& subprim,
const UsdImagingDataSourceStageGlobals &stageGlobals) override;

USDIMAGING_API
USDRIIMAGING_API
HdDataSourceLocatorSet InvalidateImagingSubprim(
UsdPrim const& prim,
TfToken const& subprim,
Expand Down
8 changes: 4 additions & 4 deletions pxr/usdImaging/usdRiPxrImaging/pxrIntegratorAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ class UsdRiPxrImagingIntegratorAdapter : public UsdImagingPrimAdapter
/// \name Scene Index Support
// ---------------------------------------------------------------------- //

USDIMAGING_API
USDRIIMAGING_API
TfTokenVector GetImagingSubprims(UsdPrim const& prim) override;

USDIMAGING_API
USDRIIMAGING_API
TfToken GetImagingSubprimType(
UsdPrim const& prim,
TfToken const& subprim) override;

USDIMAGING_API
USDRIIMAGING_API
HdContainerDataSourceHandle GetImagingSubprimData(
UsdPrim const& prim,
TfToken const& subprim,
const UsdImagingDataSourceStageGlobals &stageGlobals) override;

USDIMAGING_API
USDRIIMAGING_API
HdDataSourceLocatorSet InvalidateImagingSubprim(
UsdPrim const& prim,
TfToken const& subprim,
Expand Down
8 changes: 4 additions & 4 deletions pxr/usdImaging/usdRiPxrImaging/pxrSampleFilterAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ class UsdRiPxrImagingSampleFilterAdapter : public UsdImagingPrimAdapter
/// \name Scene Index Support
// ---------------------------------------------------------------------- //

USDIMAGING_API
USDRIIMAGING_API
TfTokenVector GetImagingSubprims(UsdPrim const& prim) override;

USDIMAGING_API
USDRIIMAGING_API
TfToken GetImagingSubprimType(
UsdPrim const& prim,
TfToken const& subprim) override;

USDIMAGING_API
USDRIIMAGING_API
HdContainerDataSourceHandle GetImagingSubprimData(
UsdPrim const& prim,
TfToken const& subprim,
const UsdImagingDataSourceStageGlobals &stageGlobals) override;

USDIMAGING_API
USDRIIMAGING_API
HdDataSourceLocatorSet InvalidateImagingSubprim(
UsdPrim const& prim,
TfToken const& subprim,
Expand Down
6 changes: 3 additions & 3 deletions pxr/usdImaging/usdSkelImaging/skeletonAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class UsdSkelImagingSkeletonAdapter : public UsdImagingPrimAdapter
HdInterpolation interpolation,
const UsdImagingInstancerContext* instancerContext) const override;

USDIMAGING_API
USDSKELIMAGING_API
VtValue
GetExtComputationInput(
UsdPrim const& prim,
Expand All @@ -232,7 +232,7 @@ class UsdSkelImagingSkeletonAdapter : public UsdImagingPrimAdapter
UsdTimeCode time,
const UsdImagingInstancerContext* instancerContext) const override;

USDIMAGING_API
USDSKELIMAGING_API
size_t
SampleExtComputationInput(
UsdPrim const& prim,
Expand All @@ -244,7 +244,7 @@ class UsdSkelImagingSkeletonAdapter : public UsdImagingPrimAdapter
float *sampleTimes,
VtValue *sampleValues) override;

USDIMAGING_API
USDSKELIMAGING_API
std::string
GetExtComputationKernel(
UsdPrim const& prim,
Expand Down
6 changes: 3 additions & 3 deletions pxr/usdImaging/usdVolImaging/field3dAssetAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ class UsdImagingField3DAssetAdapter : public UsdImagingFieldAdapter {
/// \name Scene Index Support
// ---------------------------------------------------------------------- //

USDIMAGING_API
USDVOLIMAGING_API
TfTokenVector GetImagingSubprims(UsdPrim const& prim) override;

USDIMAGING_API
USDVOLIMAGING_API
TfToken GetImagingSubprimType(UsdPrim const& prim, TfToken const& subprim)
override;

USDIMAGING_API
USDVOLIMAGING_API
HdContainerDataSourceHandle GetImagingSubprimData(
UsdPrim const& prim,
TfToken const& subprim,
Expand Down
6 changes: 3 additions & 3 deletions pxr/usdImaging/usdVolImaging/openvdbAssetAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ class UsdImagingOpenVDBAssetAdapter : public UsdImagingFieldAdapter {
/// \name Scene Index Support
// ---------------------------------------------------------------------- //

USDIMAGING_API
USDVOLIMAGING_API
TfTokenVector GetImagingSubprims(UsdPrim const& prim) override;

USDIMAGING_API
USDVOLIMAGING_API
TfToken GetImagingSubprimType(UsdPrim const& prim, TfToken const& subprim)
override;

USDIMAGING_API
USDVOLIMAGING_API
HdContainerDataSourceHandle GetImagingSubprimData(
UsdPrim const& prim,
TfToken const& subprim,
Expand Down
Loading