| |||
| Home > Installing the software > Configure the Shader Development Studio > Select a renderer | |||
A renderer is used to perform the actual rendering of a shader effect. Any device that is capable of rendering OpenGL ES 2.0 shaders can be used for this purpose. This is a powerful concept that enables you to render your shader effects on local or remote OpenGL ES 2.0 emulations, or even on actual OpenGL ES 2.0 hardware, without performing any additional configuration.
The process depends on our operating system:
To select or add a renderer to be used by the Windows version of Shader Development Studio:
From the Preferences dialog box, select Mali Shader Development Studio → Renderers to display the Renderers preference pane.
Use the Renderers preference pane to manage connections to the renderers. In the Windows version, when this pane is open, it actively scans the local network for compatible devices.
In the Windows version, the Shader Development Studio is shipped with a local renderer, that is launched automatically at start-up by the Shader Development Studio. The local renderer appears in the Renderers Found on Network list as Built-In Server. See Figure 2.8:
The local renderer requires that the OpenGL ES 2.0 Emulator version 1.2 is installed on your system.
Select the Built-In Server renderer.
Click Add Selected Renderer to Known List.
The Built-In Server is copied over to the Known Renderers list. See Figure 2.9:
If the device is not on the local network, you can add it manually by clicking Add Renderer to List Manually…. See Renderers for more information on how to add a new renderer.
Click OK to save the preferences that have been set and to close the Preferences dialog box.
The Shader Development Studio software is now configured.
To select or add a renderer to be used by the Linux version of Shader Development Studio:
From the Preferences dialog box, select Mali Shader Development Studio → Renderers to display the Renderers preference pane.
Click Add Renderer to List Manually. The Add Renderer dialog is displayed. See Figure 2.10:
You can use either the renderer in the Emulator software or a renderer in a hardware device that contains a Mali GPU.
To use the Emulator renderer:
Copy the Emulator binary to the local library directory:
sudo cp <install_location>/ARM/Mali_Developer_Tools/OpenGL_ES_2_0_Emulator_1.2.0/bin/*.so /usr/local/lib
Ensure the emulator libraries are picked up by the Shader Server:
sudo /sbin/ldconfig
Enter a name for the software renderer in the Connection Name field. See Figure 2.11.
Enter the local host address, which is always 127.0.0.1,
in the Connection Name field.
Enter a local port address in the Connection Port field. This address will be passed to the Shader Server when it starts.
Click OK
Restart eclipse if it is already open.
To use a hardware renderer in an attached system:
Enter a name for the hardware renderer in the Connection Name field
Use /sbin/ifconfig on the target
to get its internet address. Enter this value in the Connection
Address field.
Enter the port address which you used to start the Shader Server on the target in the Connection Port field. See Appendix A Shader Server.
Click OK
The renderer is added to the Known Renderers list. See Figure 2.9:
Click OK to save the preferences that have been set and to close the Preferences dialog box.
The Shader Development Studio software is now configured.