12.07.2015 Views

Mali GPU Shader Development Studio User Guide - ARM ...

Mali GPU Shader Development Studio User Guide - ARM ...

Mali GPU Shader Development Studio User Guide - ARM ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Shader</strong> Server3. Download the following Khronos OpenGL ES 2.0 header files from the <strong>Mali</strong> DeveloperCenter web site at: http://www.malideveloper.com• GLES2/gl2.h• GLES2/gl2ext.h• GLES2/gl2platform.h4. Copy gl2.h, gl2ext.h, and gl2platform.h to:installation_directory/<strong>Shader</strong>Server/MALI200/3rdparty/include/khronos/GLES25. Download the following Khronos EGL header files from the <strong>Mali</strong> Developer Centerwebsite at: http://www.malideveloper.com• egl.h• eglext.h6. Copy egl.h and eglext.h to:installation_directory/<strong>Shader</strong>Server/MALI200/3rdparty/include/khronos/EGL7. In the files libmri/Makefile and <strong>Shader</strong>Server/Makefile, modify the MALI_LIB_DIRvariables to point to the <strong>Mali</strong>-200 or <strong>Mali</strong> 400 OpenGL ES 2.0 driver libraries.8. Change to the root level, that is the directory that contains libmri and <strong>Shader</strong>Server, andenter make.9. The source code builds and produces an executable called shaderserver in the<strong>Shader</strong>Server directory. You can copy this to your <strong>ARM</strong> development platform.A.1.4UsageStart the <strong>Shader</strong> Server with argument --help for usage information.The <strong>Shader</strong> Server requires a port and a server name as arguments:shaderserver -p port -n name [-l] [-v]where:portnameis the network port number on the platform's network interface used to listen forincoming connections. <strong>Shader</strong> <strong>Development</strong> <strong>Studio</strong> searches for servers betweenports 3472 and 3476, by default.is an identifier string that is displayed by the <strong>Shader</strong> <strong>Development</strong> <strong>Studio</strong> when itdiscovers the server.-l If present, this switch causes the server to listen for connections from only thelocalhost (127.0.0.1).-v If present, this switch turns on verbose output for debugging.A.1.5SecurityRunning <strong>Shader</strong> Server permits any remote user to connect to your platform and executeOpenGL ES 2.0 code with the privileges of the user that the server is run by.It must be considered an INSECURE service, and must only be made accessible from a trustednetwork or through VPN or Secure Shell (SSH) tunneling.DUI0504C Copyright © 2009-2011 <strong>ARM</strong>. All rights reserved. A-4ID011412Non-Confidential - Beta

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!