Font Size: a A A

The Design And Implementation Of Openvg Automatic Code Generation And Multi-Platform Simulation System

Posted on:2016-10-23Degree:MasterType:Thesis
Country:ChinaCandidate:Z Q XuFull Text:PDF
GTID:2308330503477807Subject:Software engineering
Abstract/Summary:PDF Full Text Request
OpenVG is targeted such as Flash, SVG and other vector graphics algorithm library, provides a lower level of hardware acceleration, free licensing, cross-platform application programming interface API. On a device that supports the OpenVG standard when running applications that use the OpenVG API, the bottom will be able to use hardware-accelerated 2D vector graphics. It will reduce the burden on CPU, increase the user’s visual experience. On the other hand, when developing an application using OpenVG API, it will has good cross-platform performance. However, the problem of generating the OpenVG 2D vector graphics by writing OpenVG code is becoming more prominent. On the one hand, the manual coding efficiency is low, the development is complicated and the debugging is inconvenient. When create OpenVG 2D vector graphics, it requires repeated testing, previews and other steps. On the other hand, the developers should understand the OpenVG specification before writing the OpenVG code. It will increase the threshold for the OpenVG 2D vector graphics development, hinder rapid development of the project.. Focus on generating OpenVG automatic code, simplifying OpenVG programming, debugging and simulating in cross-platform, there is no corresponding documents, published works, patents, software and implementation.Therefore, we design and implement the OpenVG code automatic generation and multi-platform simulation system. All of the drawing operation will be real-time rendered in a’What You See Is What You Get’(WYSIWYG) way and real-time generated OpenVG code. Secondly, it provides 3 platforms to preview the final result which offers users with real-time final render results, supports massive user using its own simulation of cloud platforms to preview the running result of the generated code. Finally, the user can place the generated code to any embedded platform. The main research work includes:1) Design and implement the system frame hierarchy of real-time rendering, make the user’s mouse, keyboard actions into visual OpenVG 2D vector graphics real-time rendering to achieved WYSIWYG rendering effect.2) Study on OpenVG coding rules, analysis of existing technology of automatic code generation and develop model, design and implement an OpenVG automatic code generation algorithm which bases on template, and proposed twin-engine model based on template which include real-time render engine and real-time code generation engine to achieve real-time rendering and real-time code generation.3) In order to facilitate the user to preview the final 2D vector graphics, this paper design and implement 3 platforms to preview the final result which include hardware platform, standard simulation platform, cloud platform based on OpenStack to adapt to different usage scenarios.The OpenVG automatic code generation and multi-platform simulation system designed and implemented by the paper will greatly simplify the OpenVG vector graphics rendering process and provide great convenience for OpenVG code development. By the testing and using the system in actual situation, verify that the system has a very practical, the generated code with good compatibility and high portability.
Keywords/Search Tags:OpenVG, Automatic code generation, WYSIWYG, Multi-platform simulation
PDF Full Text Request
Related items