RenderHALThread

RenderHALThread
Scaleform::Render::ThreadCommandQueue
    Scaleform::Platform::RenderHALThread
Declaration
class RenderHALThread : public Thread, public RTCommandQueue, public Render::ThreadCommandQueue;
Description

Default RenderThread implementation used by applications that render directly to HAL. RenderHALThread includes the render thread setup logic associated with the Renderer HAL, without rendering the tree (the later functionality is provided by RenderThread derived class).

Methods
Method 
Description 
Adjusts view to match allowed HW resolutions and/or HW size. 
Shut downs the window and releases the rendering device. 
Draws the frame. 
Releases the rendering device and exits from the rendering thread. 
Returns the most recent rendering device status. 
Returns the renderer. 
Returns the rendering frames. 
Gets the mesh cache parameters. 
Returns the mesh cache stats that can be reported. 
Determines whether the given profile flag is enabled or disabled. 
Returns the render statistics that can be reported. 
Retrieves the texture manager for texture creation. 
Creates and initializes the window on screen. 
Checks whether the render thread is single-threaded or not. 
Render::ThreadCommandQueue implementation for executing a command on the render thread. 
Run 
Called to execute the program logic after settings are initialized. 
Sets the background color of the window. 
Sets the rendering device. 
Sets the mesh cache parameters. 
Sets the stereo parameters that are initialized for stereo 3D support. 
Starts the render thread, but only if it is in multi-threaded mode. 
Sets the wireframe render mode. 
Takes a screen shot, saving it as the provided filename. 
Toggles the wireframe render mode. 
Updates the configuration settings based on stereo mode changes. 
Queues up UpdateDeviceStatus call. 
 
 
Updates the system cursors based on the cursor state. 
Waits for previous frame rendering to complete and queues up a draw frame request. 
Sets a flag in the profiler. 
Sets the profile view mode. 
Structures
Structure 
Description 
Class that aggregates movie display handles and device specific display classes, contributing to the display of a single view. 
File

Platform_RenderHALThread.h