An Optimized Soft 3D Mobile Graphics Library Based on JIT Backend Compiler

  • Bailin Yang
  • Lu Ye
  • Zhigeng Pan
  • Guilin Xu
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3711)


Mobile device is one of the most widespread devices with rendering capabilities now. With the improved performance of the mobile device, displaying 3D scene becomes reality. This paper implements an optimized soft 3D mobile graphics library based on JIT backend compiler, which is suitable for the features of the mobile device. To deeply exploring the advantages of JIT technology, this paper improves the traditional rasterization model based on JIT technology and proposes a hybrid rasterization model which integrates the advantages of both the per-scanline and per-pixel rasterization models. As we know, the backend compiler is the critical factor in running 3D application programme. In this paper, we implement a backend compiler for certain CPUs and propose some optimization techniques accordingly. The experimental results indicate that our 3D graphics library has achieved fine performance.


Assembly Code Machine Code System Level Optimization Intermediate Code Fragment Function 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    van Leeuwen, J. (ed.): Computer Science Today. LNCS, vol. 1000. Springer, Heidelberg (1995)zbMATHGoogle Scholar
  2. 2.
  3. 3.
  4. 4.
    Mascot Capsule Engine Micro3D Edition,
  5. 5.
    Crisu, D., Cotofana, S.D., Vassiliadis, S., Liuha, P.: Efficient Hardware for Tile-Based Rasterization. In: Proceedings of 15th Annual Workshop on Circuits, Systems, and Signal Processing (ProRISC 2004), Veldhoven, The Netherlands, November 2004, pp. 352–357 (2004)Google Scholar
  6. 6.
    Kumar, S., Manocha, D., Garrett, B., Lin, M.: Hierarchical back-face culling. In: 7th Eurogmphics Workshop on Rendering, Porto, Portugal, pp. 231–240 (1996)Google Scholar
  7. 7.
    Kumar, S., Manocha, D., Garrett, W.F., Lin, M.C.: Back-Face Computation of Polygon Clusters. In: Symposium on Computational Geometry 1997, pp. 487–488 (1997)Google Scholar
  8. 8.
    Bogomjakov, A., Gotsman, C.: Universal Rendering Sequences for Transparent Vertex Caching of Progressive Meshes. Computer Graph Forum 21(2), 137–148 (2002)CrossRefGoogle Scholar
  9. 9.
    Akenine-Moller, T., Strom, J.: Graphics for the Masses: A Hardware Rasterization Architecture for Mobile Phones. ACM Trans. on Graph. 22(3), 801–808 (2003)CrossRefGoogle Scholar
  10. 10.
  11. 11.
    A 3-D Rendering Library for Mobile Devices,
  12. 12.
    Crisu, D., Cotofana, S.D., Vassiliadis, S., Liuha, P.: GRAAL- A Development Framework for Embedded Graphics Accelerators. In: Proc. Design, Automation and Test in Europe (DATE 2004), Paris, France (February 2004)Google Scholar
  13. 13.
    Klimt software architecture overview,
  14. 14.
    Kazi, I.H., Chen, H.H., Stanly, B., Lilja, D.J.: Technique for Obtaining High Performance in Java Programs. ACM Computing Surveys 32(3), 213–240 (2000)CrossRefGoogle Scholar
  15. 15.
    Polwrro, M., Sarkar, V.: Line scan register allocation. ACM transactions on Programming Languages and System 21(5), 895–913 (1999)CrossRefGoogle Scholar

Copyright information

© IFIP International Federation for Information Processing 2005

Authors and Affiliations

  • Bailin Yang
    • 1
    • 2
  • Lu Ye
    • 1
    • 3
  • Zhigeng Pan
    • 1
  • Guilin Xu
    • 1
  1. 1.State Key Lab of CAD&CGZhejiang UniversityHangzhouChina
  2. 2.Zhejiang Gongshang UniversityHangzhouP.R. China
  3. 3.Department of Computer and Electronic EngineeringZhejiang University of Science and TechnologyHangzhouP.R. China

Personalised recommendations