Commit Graph

14 Commits

Author SHA1 Message Date
Jaroslaw Surowiec
beef593d5a Stats - Stats for async task running on the thread pool
[CL 2446649 by Jaroslaw Surowiec in Main branch]
2015-02-16 03:16:32 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Wes Hunt
31e2bb00ac Removed a bunch of stuff from Slate standard include, created SlateBasics.h
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h.
* Slate.h now simply includes SlateBasics.h and SlateExtras.h.
* Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead.
* Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies.
* All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h.
#BUN

[CL 2329610 by Wes Hunt in Main branch]
2014-10-14 22:50:06 -04:00
Graeme Thornton
3ccbe19544 Mobile Preview - Removal of almost all GRHIFeatureLevel usages.
#codereview Nick.Pendwarden

[CL 2315798 by Graeme Thornton in Main branch]
2014-10-01 09:08:51 -04:00
Jaroslaw Palczynski
65ba5d456f TArray documentation and a coupld of methods deprecation.
Changes mostly in Array.h. The changes in other files are only renames for deprecated functions.

[CL 2312616 by Jaroslaw Palczynski in Main branch]
2014-09-29 04:23:44 -04:00
Mark Satterthwaite
95fde7bea8 Add a specific SP_OPENGL_SM4_MAC so that we can compile shaders from Windows for all Macs, even the older GL 3.3 devices that don't support volume-texture rendering.
#codereview nick.penwarden, michael.trepka

[CL 2238230 by Mark Satterthwaite in Main branch]
2014-07-31 09:03:55 -04:00
Mike Fricker
387280333f Work in progress: Live streaming support for editor and games
This commit adds the framework APIs, editor and rendering features needed to support live streaming.  Along with this, we're working on a new plugin that adds Twitch.tv support (waiting for legal approval to commit.)

- Game live streaming
       - Allows general support for live internet streaming of game video and audio
       - Web cam video feed can be overlaid onto game viewports automatically
       - New 'Broadcast' Blueprint function library allows you to easily start broadcasting from your game
       - New IGameLiveStreaming API that allows you to start broadcasting through C++

- Editor live streaming
       - The editor UI now displays a "broadcast" button automatically when a live streaming service is available
       - Broadcasting of all desktop editor windows is supported (configured in preferences)
       - If you have a web cam, video will be displayed automatically while broadcasting in a new editor window
       - New "Live Streaming" editor preference tab with many new settings for configuring broadcasting
       - New IEditorLiveStreaming API that lets you control editor broadcasting directly, if needed

- Added new 'Broadcast.Start' and 'Broadcast.Stop' console commands
       - These allow you to easily test live streaming in games without writing UI code
       - Built-in help is available for these new commands

- To implement a live streaming plugin:
       - Inherit from the new ILiveStreamingService interface
       - Register your "LiveStreaming" feature with the IModularFeatures system

- Other changes:
      - Eliminated broken screen quad drawing functions; replaced with publicly-exposed DrawRectangle()
      - Slate: Eliminated legacy code for 'marking windows as drawn' (not used anymore)
      - Slate: Added Slate rendering callback to find out when a frame buffer is ready to be presented

[CL 2115377 by Mike Fricker in Main branch]
2014-06-24 12:11:51 -04:00
Max Preussner
3aece47882 Docs: Removed file comments and added missing code documentation
Please note that file comments had no purpose in nearly all cases and just added visual clutter. The two files that had meaningful file comments had their comments moved into the corresponding classes. There are still hundreds of file comments left in other files that will be removed over time.

Also cleaned up some random stuff along the way:
- relative paths to public headers within the same module are no longer necessary (automatically discovered by UBT now)
- header guards are deprecated, use #pragma once instead (all compilers support it now)
- space between multiple template brackets is no longer required (all compilers support >> now)
- NULL to nullptr, OVERRIDE to override
- spelling errors, whitespace, line breaks

[CL 2104067 by Max Preussner in Main branch]
2014-06-12 23:22:18 -04:00
Max Preussner
4664956156 Delegates: Cleaned up abusive/legacy usages of the Delegate API
Please use AddRaw, AddSP, AddUObject, , BindRaw, BindSP, RemoveAll, Unbind etc.

[CL 2068405 by Max Preussner in Main branch]
2014-05-09 14:02:33 -04:00
Mikolaj Sieluzycki
45c031d576 #ttp 331438 UE4: PlatformMath refactor
#proj core
#branch UE4
#summary Rename Trunc, Round, Floor, Ceil to TruncToInt, RoundToInt, FloorToInt, CeilToInt. Added *ToFloat versions. Repeated for FGenericPlatformMath and all derived classes for all platforms wherever applicable. Corrected comment in Fractional and added Frac() which does HLSL-style fractional (x - floor(x)). Checked for compilation on all projects (with cooking levels wherever applicable). Didn't change Fractional to Frac, this will be done in second commit.
#codereview robert.manuszewski

[CL 2064306 by Mikolaj Sieluzycki in Main branch]
2014-05-06 06:26:25 -04:00
Michael Trepka
8ce2803cab Removed obsolete GPrimaryMonitorWidth, GPrimaryMonitorHeight, GPrimaryMonitorWorkRect, GVirtualScreenRect and GGameWindow* global variables and functions that were used to initialize them.
[CL 2058972 by Michael Trepka in Main branch]
2014-04-29 21:52:56 -04:00
Max Preussner
b63129a60c Slate: Refactored core Slate implementation into SlateCore module in preparation for UMG.
Other Updates:
- The WidgetReflector is now in its own module as well. It will be converted to a plug-in later.
- The Public API of both Slate and SlateCore has largely been reorganized for better discoverabilty. More cleanup work is needed.
- Added a lot of missing API documentation and fixed existing ones. More and better documentation is needed.
- Removed dead code, fixed a couple things I stubled upon, and conformed to coding guidelines (NULL vs nullptr, line breaks, etc.)

Upgrade Notes:
- The Slate Remote Server is currently disabled - will be re-enabled shortly!
- If your module previously had a module dependency to 'Slate', it now also needs a PrivateModuleDependency to 'SlateCore' in its Build.cs file.
- If your module exposes in any of its Public header files types that are now declared in SlateCore, it needs a PublicModuleDependency to 'SlateCore'
- The ToolTip property type on SWidget has changed from SToolTip to IToolTip; change local variables to TSharedPtr<IToolTip> instead of TSharedPtr<SToolTip> where needed
- IToolTip is not a widget. If you need access to the actual widget that represents the tool tip, use IToolTip::AsWidget(); If you need access to the tool tip's content, use IToolTip::GetContentWidget()

Troubleshooting:
- After syncing to this changelist you may have to clean your /Engine/Intermediate/Build/ directory and rebuild your entire project
- If in your project you are getting linker errors for unresolved types that are now declared in SlateCore, you may be missing a dependency to 'SlateCore'
- If in the Engine code you are getting linker errors for unresolved types that are now declared in SlateCore, you may need to rebuild the entire Engine

[CL 2057118 by Max Preussner in Main branch]
2014-04-26 15:07:24 -04:00
Mikolaj Sieluzycki
f9fe87c29a #ttp 331240 - CORE: Remove GIsBenchamrking, GUseFixedTimeStep from global scope
#proj core
#branch UE4
#summary Moved global variables to statics in FApp. Removed unused GUnclampedDeltaTime.
#codereview robert.manuszewski

[CL 2043034 by Mikolaj Sieluzycki in Main branch]
2014-04-23 18:12:58 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00