Skip to main content
Log in

Prototype implementation of the OpenGL ES 2.0 shading language offline compiler

  • Published:
Cluster Computing Aims and scope Submit manuscript

Abstract

Latest 3D graphics libraries, including OpenGL and OpenGL ES, provide programmable rendering pipelines. These programmable pipelines naturally requires special-purpose programming languages. It is so called OpenGL Shading Language in the case of OpenGL. In this paper, we show a new compact design scheme for the implementation of OpenGL SL offline compilers. This scheme is used for our OpenGL SL offline compiler prototype implementation. Our implementation shows feasibility and correctness with respect to the standard specification.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

References

  1. Aho, A., Lam, M., Sethi, R., Ullman, J.: Compilers: Principles, Techniques, and Tools, 2nd edn. Addison Wesley, Boston (2006)

    MATH  Google Scholar 

  2. Fabius, A., Viggers, S.: OpenGL SC Version 2.0.0. Khronos Group (2016)

  3. Group, K.: OpenGL / OpenGL ES Reference Compiler (2017)

  4. ISO/IEC 9899: Programming Languages – C. International Standard Organization (1998)

  5. Kessenich, J.: The OpenGL Shading Language, Language Version: 1.20. Khronos Group (2006)

  6. Kessenich, J.: The OpenGL Shading Language, Language Version: 4.50. Khronos Group (2016)

  7. Khronos Group Conformance Test Suites: http://www.khronos.org/adopters/

  8. Lipchak, B.: OpenGL ES Version 3.2. Khronos Group (2016)

  9. Louden, K.C.: Compiler Construction: Principles and Practice. Course Technology (1997)

  10. Malizia, A.: Mobile 3D Graphics. Springer-Verlag, New York (2006)

    MATH  Google Scholar 

  11. Mesa3D.org: The Mesa 3D Graphics Library (2017)

  12. Munshi, A.: OpenGL ES Common Profile Specification, Version 2.0.24 (Full Specification). Khronos Group (2009)

  13. Munshi, A., Leech, J.: OpenGL ES Common/Common-Lite Profile Specification, Version 1.1.12 (Full Specification). Khronos Group (2008)

  14. Pulli, K., Vaarala, J., Miettinen, V., Aarnio, T., Roimela, K.: Mobile 3D Graphics: with OpenGL ES and M3G. Morgan Kaufmann Publishers Inc., San Francisco, CA (2007)

    Google Scholar 

  15. Segal, M., Akeley, K.: The OpenGL Graphics System: A Specification, Version 1.3. Khronos Group (2001)

  16. Segal, M., Akeley, K.: The OpenGL Graphics System: A Specification, Version 2.1. Khronos Group (2006)

  17. Simpson, R.J.: The OpenGL ES Shading Language, Language Version: 1.00. Khronos Group (2008)

  18. Simpson, R.J.: The OpenGL ES Shading Language, Language Version: 3.20. Khronos Group (2016)

  19. Stockwell, B.: OpenGL SC: Safety-Critical Profile Specification, Version 1.0.1 (Difference Specification). Khronos Group (2009)

Download references

Acknowledgements

This research was supported by Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education, Science and Technology (Grant 2016R1D1A3B03935488).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kuinam J. Kim.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Baek, N., Kim, K.J. Prototype implementation of the OpenGL ES 2.0 shading language offline compiler. Cluster Comput 22 (Suppl 1), 943–948 (2019). https://doi.org/10.1007/s10586-017-1113-z

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10586-017-1113-z

Keywords

Navigation