aboutsummaryrefslogtreecommitdiff
path: root/demo/DemoApp/NvFlowInteropLoader.cpp
diff options
context:
space:
mode:
authorAndrew Reidmeyer <[email protected]>2017-06-13 20:38:29 -0600
committerAndrew Reidmeyer <[email protected]>2017-06-13 20:38:29 -0600
commit62a1427154131f2387675957c1d2027061f354f0 (patch)
tree4efdcb7d3fe9722d46523a51bc5c90b96f25441e /demo/DemoApp/NvFlowInteropLoader.cpp
parentInitial 1.0.0 binary release (diff)
downloadflow-1.0.1.tar.xz
flow-1.0.1.zip
NvFlow 1.0.1v1.0.1
Diffstat (limited to 'demo/DemoApp/NvFlowInteropLoader.cpp')
-rw-r--r--demo/DemoApp/NvFlowInteropLoader.cpp48
1 files changed, 2 insertions, 46 deletions
diff --git a/demo/DemoApp/NvFlowInteropLoader.cpp b/demo/DemoApp/NvFlowInteropLoader.cpp
index 6224373..082afcf 100644
--- a/demo/DemoApp/NvFlowInteropLoader.cpp
+++ b/demo/DemoApp/NvFlowInteropLoader.cpp
@@ -14,50 +14,6 @@
#include "NvFlowInterop.h"
-namespace
-{
- ModuleLoader<16u, SDL_LoadObject, SDL_UnloadObject, SDL_LoadFunction> g_loader;
-}
+#include <stdio.h>
-void loadNvFlowInterop(AppGraphCtxType type)
-{
- const char* moduleName = demoAppDLLName(type);
-
- g_loader.loadModule(moduleName);
-}
-
-void unloadNvFlowInterop()
-{
- g_loader.unloadModule();
-}
-
-// Functions
-NvFlowContext* NvFlowInteropCreateContext(AppGraphCtx* appctx)
-{
- return g_loader.function<0>(NvFlowInteropCreateContext, "NvFlowInteropCreateContext", appctx);
-}
-
-NvFlowDepthStencilView* NvFlowInteropCreateDepthStencilView(AppGraphCtx* appctx, NvFlowContext* flowctx)
-{
- return g_loader.function<1>(NvFlowInteropCreateDepthStencilView, "NvFlowInteropCreateDepthStencilView", appctx, flowctx);
-}
-
-NvFlowRenderTargetView* NvFlowInteropCreateRenderTargetView(AppGraphCtx* appctx, NvFlowContext* flowctx)
-{
- return g_loader.function<2>(NvFlowInteropCreateRenderTargetView, "NvFlowInteropCreateRenderTargetView", appctx, flowctx);
-}
-
-void NvFlowInteropUpdateContext(NvFlowContext* context, AppGraphCtx* appctx)
-{
- return g_loader.function<3>(NvFlowInteropUpdateContext, "NvFlowInteropUpdateContext", context, appctx);
-}
-
-void NvFlowInteropUpdateDepthStencilView(NvFlowDepthStencilView* view, AppGraphCtx* appctx, NvFlowContext* flowctx)
-{
- return g_loader.function<4>(NvFlowInteropUpdateDepthStencilView, "NvFlowInteropUpdateDepthStencilView", view, appctx, flowctx);
-}
-
-void NvFlowInteropUpdateRenderTargetView(NvFlowRenderTargetView* view, AppGraphCtx* appctx, NvFlowContext* flowctx)
-{
- return g_loader.function<5>(NvFlowInteropUpdateRenderTargetView, "NvFlowInteropUpdateRenderTargetView", view, appctx, flowctx);
-} \ No newline at end of file
+#include "NvFlowInteropLoaderGenerated.h" \ No newline at end of file