Permalink
Browse files

Version 1.0.

  • Loading branch information...
Anteru committed Apr 13, 2017
1 parent 4b7af42 commit 907e3a46851fc21b464d1f9badbb73cda45d998a
Showing with 22,736 additions and 274 deletions.
  1. +95 −0 .clang-format
  2. +262 −0 .gitignore
  3. +3 −0 .gitmodules
  4. +173 −0 Benchmarking-Tool.sln
  5. +205 −0 DLLInjector/DLLInjection.cpp
  6. +59 −0 DLLInjector/DLLInjection.h
  7. BIN DLLInjector/DLLInjector.rc
  8. +185 −0 DLLInjector/DLLInjector.vcxproj
  9. +28 −0 DLLInjector/DLLInjector.vcxproj.filters
  10. +97 −0 DLLInjector/DLLInjector_Main.cpp
  11. +14 −0 DLLInjector/resource.h
  12. +11 −0 Frontend/App.config
  13. +15 −0 Frontend/App.xaml
  14. +17 −0 Frontend/App.xaml.cs
  15. +142 −0 Frontend/ConfigurationFile.cs
  16. +165 −0 Frontend/Frontend.csproj
  17. +143 −0 Frontend/KeyboardHook.cs
  18. +279 −0 Frontend/MainWindow.xaml
  19. +512 −0 Frontend/MainWindow.xaml.cs
  20. +49 −0 Frontend/OverlayMessage.cs
  21. +55 −0 Frontend/Properties/AssemblyInfo.cs
  22. +71 −0 Frontend/Properties/Resources.Designer.cs
  23. +117 −0 Frontend/Properties/Resources.resx
  24. +30 −0 Frontend/Properties/Settings.Designer.cs
  25. +7 −0 Frontend/Properties/Settings.settings
  26. +1,162 −0 Frontend/Simple Styles.xaml
  27. +76 −0 Frontend/app.manifest
  28. BIN Frontend/ocat.ico
  29. BIN GlobalHook/GlobalHook.rc
  30. +180 −0 GlobalHook/GlobalHook.vcxproj
  31. +37 −0 GlobalHook/GlobalHook.vcxproj.filters
  32. +61 −0 GlobalHook/GlobalHook_Main.cpp
  33. +14 −0 GlobalHook/resource.h
  34. +65 −0 Installer/Installer.wixproj
  35. +44 −0 Installer/Product.wxs
  36. +28 −0 Installer/filter.xslt
  37. +20 −274 LICENSE.txt
  38. +61 −0 OCAT-Installer/Bundle.wxs
  39. +71 −0 OCAT-Installer/Install-Bundle.wixproj
  40. +369 −0 OCAT-Installer/license.rtf
  41. +84 −0 OCAT-Installer/theme.xml
  42. +245 −0 PresentMon/.gitignore
  43. +37 −0 PresentMon/CommonIncludes.hpp
  44. +515 −0 PresentMon/PresentMon.cpp
  45. +73 −0 PresentMon/PresentMon.hpp
  46. BIN PresentMon/PresentMon.rc
  47. +28 −0 PresentMon/PresentMon.sln
  48. +224 −0 PresentMon/PresentMon.vcxproj
  49. +186 −0 PresentMon/PresentMon.vcxproj.filters
  50. +827 −0 PresentMon/PresentMonTraceConsumer.cpp
  51. +228 −0 PresentMon/PresentMonTraceConsumer.hpp
  52. +65 −0 PresentMon/ProcessTraceConsumer.cpp
  53. +59 −0 PresentMon/ProcessTraceConsumer.hpp
  54. +76 −0 PresentMon/README.md
  55. +87 −0 PresentMon/Source/Config/BlackList.cpp
  56. +40 −0 PresentMon/Source/Config/BlackList.h
  57. +65 −0 PresentMon/Source/Config/Config.cpp
  58. +42 −0 PresentMon/Source/Config/Config.h
  59. +135 −0 PresentMon/Source/Logging/MessageLog.cpp
  60. +56 −0 PresentMon/Source/Logging/MessageLog.h
  61. +131 −0 PresentMon/Source/Overlay/DLLInjection.cpp
  62. +30 −0 PresentMon/Source/Overlay/DLLInjection.h
  63. +112 −0 PresentMon/Source/Overlay/GlobalHook.cpp
  64. +42 −0 PresentMon/Source/Overlay/GlobalHook.h
  65. +64 −0 PresentMon/Source/Overlay/Hook.cpp
  66. +45 −0 PresentMon/Source/Overlay/Hook.h
  67. +131 −0 PresentMon/Source/Overlay/Overlay.cpp
  68. +55 −0 PresentMon/Source/Overlay/Overlay.h
  69. +80 −0 PresentMon/Source/Overlay/OverlayInterface.cpp
  70. +26 −0 PresentMon/Source/Overlay/OverlayInterface.h
  71. +44 −0 PresentMon/Source/Overlay/OverlayMessage.cpp
  72. +46 −0 PresentMon/Source/Overlay/OverlayMessage.h
  73. +170 −0 PresentMon/Source/PresentMonInterface.cpp
  74. +56 −0 PresentMon/Source/PresentMonInterface.h
  75. +170 −0 PresentMon/Source/Recording/Recording.cpp
  76. +68 −0 PresentMon/Source/Recording/Recording.h
  77. +104 −0 PresentMon/Source/Recording/RecordingResults.cpp
  78. +47 −0 PresentMon/Source/Recording/RecordingResults.h
  79. +95 −0 PresentMon/Source/Recording/SimpleResults.cpp
  80. +47 −0 PresentMon/Source/Recording/SimpleResults.h
  81. +41 −0 PresentMon/Source/Utility/Constants.h
  82. +208 −0 PresentMon/Source/Utility/FileDirectory.cpp
  83. +72 −0 PresentMon/Source/Utility/FileDirectory.h
  84. +270 −0 PresentMon/Source/Utility/ProcessHelper.cpp
  85. +55 −0 PresentMon/Source/Utility/ProcessHelper.h
  86. +66 −0 PresentMon/Source/Utility/ProcessTermination.cpp
  87. +37 −0 PresentMon/Source/Utility/ProcessTermination.h
  88. +118 −0 PresentMon/SwapChainData.cpp
  89. +48 −0 PresentMon/SwapChainData.hpp
  90. +45 −0 PresentMon/TraceConsumer.cpp
  91. +118 −0 PresentMon/TraceConsumer.hpp
  92. +200 −0 PresentMon/TraceSession.cpp
  93. +43 −0 PresentMon/TraceSession.hpp
  94. +19 −0 PresentMon/license.txt
  95. +350 −0 PresentMon/main.cpp
  96. +14 −0 PresentMon/resource.h
  97. +59 −0 PresentMon/setVersion.py
  98. +74 −0 UWPDebug/Source/UWPDebug_Main.cpp
  99. BIN UWPDebug/UWPDebug.rc
  100. +115 −0 UWPDebug/UWPDebug.vcxproj
  101. +40 −0 UWPDebug/UWPDebug.vcxproj.filters
  102. +14 −0 UWPDebug/resource.h
  103. +119 −0 UWPOverlay/DLLPermissions.cpp
  104. +53 −0 UWPOverlay/DLLPermissions.h
  105. +17 −0 UWPOverlay/Main.cpp
  106. +185 −0 UWPOverlay/UWPOverlay.cpp
  107. +57 −0 UWPOverlay/UWPOverlay.h
  108. BIN UWPOverlay/UWPOverlay.rc
  109. +107 −0 UWPOverlay/UWPOverlay.vcxproj
  110. +56 −0 UWPOverlay/UWPOverlay.vcxproj.filters
  111. +14 −0 UWPOverlay/resource.h
  112. +60 −0 Wrapper/AssemblyInfo.cpp
  113. +38 −0 Wrapper/ReadMe.txt
  114. +5 −0 Wrapper/Stdafx.cpp
  115. +7 −0 Wrapper/Stdafx.h
  116. +87 −0 Wrapper/Wrapper.cpp
  117. +54 −0 Wrapper/Wrapper.h
  118. +115 −0 Wrapper/Wrapper.vcxproj
  119. +52 −0 Wrapper/Wrapper.vcxproj.filters
  120. BIN Wrapper/app.ico
  121. BIN Wrapper/app.rc
  122. +3 −0 Wrapper/resource.h
  123. +6 −0 build.bat
  124. +57 −0 docs/README.md
  125. +5 −0 docs/build.bat
  126. +21 −0 docs/build.md
  127. +39 −0 docs/docgen.py
  128. +3 −0 docs/requirements.txt
  129. +18 −0 docs/style.css
  130. +11 −0 docs/template.html
  131. +110 −0 gameoverlay/Rendering/TextMessage.cpp
  132. +63 −0 gameoverlay/Rendering/TextMessage.h
  133. +366 −0 gameoverlay/Rendering/TextRenderer.cpp
  134. +137 −0 gameoverlay/Rendering/TextRenderer.h
  135. +21 −0 gameoverlay/d3d/.gitignore
  136. +24 −0 gameoverlay/d3d/LICENSE.txt
  137. +50 −0 gameoverlay/d3d/README.md
  138. +9 −0 gameoverlay/d3d/deps/DirectX.props
  139. +20 −0 gameoverlay/d3d/deps/GLSLang.targets
  140. +23 −0 gameoverlay/d3d/deps/GLSLangItemsSchema.xml
  141. +12 −0 gameoverlay/d3d/deps/MinHook.props
  142. +81 −0 gameoverlay/d3d/deps/MinHook.vcxproj
  143. +44 −0 gameoverlay/d3d/deps/MinHook.vcxproj.filters
  144. +19 −0 gameoverlay/d3d/deps/Vulkan.props
  145. +1,946 −0 gameoverlay/d3d/deps/d3dx12/d3dx12.h
  146. +13 −0 gameoverlay/d3d/exports.def
  147. +253 −0 gameoverlay/d3d/gameoverlay.vcxproj
  148. +157 −0 gameoverlay/d3d/gameoverlay.vcxproj.filters
  149. BIN gameoverlay/d3d/res/resource.h
  150. BIN gameoverlay/d3d/res/resource.rc
  151. +46 −0 gameoverlay/d3d/source/Config.cpp
  152. +34 −0 gameoverlay/d3d/source/Config.h
  153. +77 −0 gameoverlay/d3d/source/IniParser.cpp
  154. +33 −0 gameoverlay/d3d/source/IniParser.h
  155. +126 −0 gameoverlay/d3d/source/VK_Environment.cpp
  156. +51 −0 gameoverlay/d3d/source/VK_Environment.h
  157. +46 −0 gameoverlay/d3d/source/critical_section.hpp
  158. +32 −0 gameoverlay/d3d/source/d3d/OverlayPS.hlsl
  159. +34 −0 gameoverlay/d3d/source/d3d/OverlayVS.hlsl
  160. +314 −0 gameoverlay/d3d/source/d3d/d3d11_renderer.cpp
  161. +74 −0 gameoverlay/d3d/source/d3d/d3d11_renderer.hpp
  162. +566 −0 gameoverlay/d3d/source/d3d/d3d12_renderer.cpp
  163. +93 −0 gameoverlay/d3d/source/d3d/d3d12_renderer.hpp
  164. +297 −0 gameoverlay/d3d/source/d3d/dxgi.cpp
  165. +432 −0 gameoverlay/d3d/source/d3d/dxgi_swapchain.cpp
  166. +131 −0 gameoverlay/d3d/source/d3d/dxgi_swapchain.hpp
  167. +129 −0 gameoverlay/d3d/source/hook.cpp
  168. +85 −0 gameoverlay/d3d/source/hook.hpp
  169. +573 −0 gameoverlay/d3d/source/hook_manager.cpp
  170. +73 −0 gameoverlay/d3d/source/hook_manager.hpp
  171. +162 −0 gameoverlay/d3d/source/main.cpp
  172. +67 −0 gameoverlay/recording/Capturing.cpp
  173. +34 −0 gameoverlay/recording/Capturing.h
  174. +133 −0 gameoverlay/recording/OverlayThread.cpp
  175. +48 −0 gameoverlay/recording/OverlayThread.h
  176. +90 −0 gameoverlay/recording/PerformanceCounter.cpp
  177. +64 −0 gameoverlay/recording/PerformanceCounter.hpp
  178. +98 −0 gameoverlay/recording/RecordingState.cpp
  179. +59 −0 gameoverlay/recording/RecordingState.h
  180. +8 −0 gameoverlay/vulkan/README.md
  181. +14 −0 gameoverlay/vulkan/VK_LAYER_OCAT_overlay.def
  182. BIN gameoverlay/vulkan/VK_LAYER_OCAT_overlay.rc
  183. +218 −0 gameoverlay/vulkan/VK_LAYER_OCAT_overlay.vcxproj
  184. +67 −0 gameoverlay/vulkan/VK_LAYER_OCAT_overlay.vcxproj.filters
  185. +17 −0 gameoverlay/vulkan/VK_LAYER_OCAT_overlay32.json
  186. +17 −0 gameoverlay/vulkan/VK_LAYER_OCAT_overlay64.json
  187. BIN gameoverlay/vulkan/resource.h
  188. +97 −0 gameoverlay/vulkan/src/AppResMapping.cpp
  189. +68 −0 gameoverlay/vulkan/src/AppResMapping.h
  190. +108 −0 gameoverlay/vulkan/src/HashMap.h
  191. +1,122 −0 gameoverlay/vulkan/src/Rendering.cpp
  192. +129 −0 gameoverlay/vulkan/src/Rendering.h
  193. +455 −0 gameoverlay/vulkan/src/VK_LAYER_OCAT_overlay.cpp
  194. +45 −0 gameoverlay/vulkan/src/shader.comp
  195. +37 −0 gameoverlay/vulkan/src/shader.frag
  196. +39 −0 gameoverlay/vulkan/src/shader.vert
  197. BIN icon/128.png
  198. BIN icon/16.png
  199. BIN icon/256.png
  200. BIN icon/32.png
  201. BIN icon/48.png
  202. BIN icon/64.png
  203. BIN icon/branding.png
  204. +95 −0 icon/ocat-large.svg
  205. +90 −0 icon/ocat-small.svg
  206. BIN icon/ocat.ico
  207. +9 −0 nuget.config
View
@@ -0,0 +1,95 @@
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: true
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Stroustrup
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 100
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: true
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories:
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '.*'
Priority: 3
IncludeIsMainRegex: '([-_](test|unittest))?$'
IndentCaseLabels: true
IndentWidth: 2
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: false
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
TabWidth: 8
UseTab: Never
...
View
@@ -0,0 +1,262 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
gameoverlay/d3d/*.h
Installer/OCAT.Binaries.wxs
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
*.csv
*.spv
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# DNX
project.lock.json
artifacts/
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding add-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignoreable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
orleans.codegen.cs
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# JetBrains Rider
.idea/
*.sln.iml
/docs/env
/docs/output
/Installer/OCAT.Documentation.wxs
*.wixpdb
*.wixobj
View
@@ -0,0 +1,3 @@
[submodule "gameoverlay/d3d/deps/minhook"]
path = gameoverlay/d3d/deps/minhook
url = https://github.com/TsudaKageyu/minhook.git
Oops, something went wrong.

0 comments on commit 907e3a4

Please sign in to comment.