Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v1.2.5] A bunch of improvements to the UE4 plugin: adding custom men…
…u button, fixing a couple a memory stomp if we hit 32 depth of the nested counters, preparing plugin for the release. Fixing compilation with OPTICK_ENABLE_FIBERS=1.
- Loading branch information
Showing
22 changed files
with
547 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[FilterPlugin] | ||
; This section lists additional files which will be packaged along with your plugin. Paths should be listed relative to the root plugin directory, and | ||
; may include "...", "*", and "?" wildcards to match directories, files, and individual characters respectively. | ||
; | ||
; Examples: | ||
; /README.txt | ||
; /Extras/... | ||
; /Binaries/ThirdParty/*.dll | ||
|
||
/GUI/... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
{ | ||
"FileVersion" : 1, | ||
"Version" : 1, | ||
"VersionName" : "1.2.3", | ||
"FriendlyName" : "Optick", | ||
"Description" : "Performance Profiler", | ||
"Category" : "Performance", | ||
"CreatedBy" : "Vadim Slyusarev", | ||
"CreatedByURL" : "https://optick.dev", | ||
"DocsURL" : "", | ||
"MarketplaceURL" : "", | ||
"SupportURL" : "", | ||
"EnabledByDefault" : false, | ||
"CanContainContent" : false, | ||
"IsBetaVersion" : false, | ||
"Installed" : false, | ||
"Modules" : | ||
[ | ||
"FileVersion": 3, | ||
"Version": 1, | ||
"VersionName": "1.2.5", | ||
"FriendlyName": "Optick", | ||
"Description": "Super Lightweight Performance Profiler", | ||
"Category": "Performance", | ||
"CreatedBy": "Vadim Slyusarev", | ||
"CreatedByURL": "https://github.com/bombomby/optick", | ||
"DocsURL": "https://github.com/bombomby/optick", | ||
"MarketplaceURL": "", | ||
"SupportURL": "https://github.com/bombomby/optick/issues", | ||
"EngineVersion" : "4.21.0", | ||
"EnabledByDefault": true, | ||
"CanContainContent": false, | ||
"IsBetaVersion": true, | ||
"Installed": true, | ||
"Modules": [ | ||
{ | ||
"Name" : "OptickPlugin", | ||
"Type" : "Developer", | ||
"LoadingPhase" : "Default" | ||
"Name": "OptickPlugin", | ||
"Type": "Developer", | ||
"LoadingPhase": "Default" | ||
} | ||
] | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
samples/UnrealEnginePlugin/Source/Private/OptickCommands.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include "OptickCommands.h" | ||
|
||
#define LOCTEXT_NAMESPACE "FOptickModule" | ||
|
||
void FOptickCommands::RegisterCommands() | ||
{ | ||
UI_COMMAND(PluginAction, "Optick", "Open Optick Profiler", EUserInterfaceActionType::Button, FInputGesture()); | ||
} | ||
|
||
#undef LOCTEXT_NAMESPACE |
21 changes: 21 additions & 0 deletions
21
samples/UnrealEnginePlugin/Source/Private/OptickCommands.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#pragma once | ||
|
||
#include "Slate/Public/Framework/Commands/Commands.h" | ||
|
||
#include "OptickStyle.h" | ||
|
||
class FOptickCommands : public TCommands<FOptickCommands> | ||
{ | ||
public: | ||
|
||
FOptickCommands() | ||
: TCommands<FOptickCommands>(TEXT("Optick"), NSLOCTEXT("Contexts", "Optick", "Optick Plugin"), NAME_None, FOptickStyle::GetStyleSetName()) | ||
{ | ||
} | ||
|
||
// TCommands<> interface | ||
virtual void RegisterCommands() override; | ||
|
||
public: | ||
TSharedPtr< FUICommandInfo > PluginAction; | ||
}; |
Oops, something went wrong.