Font Size: a A A

Research On Key Techniques Of Clutter Graphic System Migration Based On Android

Posted on:2014-10-27Degree:MasterType:Thesis
Country:ChinaCandidate:L Y HuangFull Text:PDF
GTID:2268330422964732Subject:Computing technology
Abstract/Summary:PDF Full Text Request
Android operating system has a series of excellent qualities, like open source code,rapid development efficiency and rich internet application. These qualities together makeAndroid quickly gained popularity and to use Android to develop products faster andbetter has become a trend. The Android NDK technology released by Google make theprocess of developing Android applications in C language more simple and perfect on thebasis of JNI, thus providing a shortcut for the porting of C program to Android. Thefulfillment of Clutter Graphic System Migration based on Android by the use of AndroidNDK not only adds an Android backend to Clutter, but also makes the large number ofClutter code accumulated on the embedded Linux system can be reused on the Androidsystem.The Clutter graphic system is divided into three layers, platform layer, backend layerand presentation layer. Platform layer refers to the part that is relevant to the systemplatform and underlying support library. Backend layer tackles the combination problemof Clutter and underlying native platform window system. Presentation layer is related tothe display of user interface. The key work of the entire migration is the implementation ofClutter’s backend layer; this is divided into two parts, Window Management and EventIntegration.The realization of Window Management relies on COGL’s window system. First,perfect the process of creating OpenGL ES’s windowing environment basing on AndroidEGL according to encapsulated COGL’s window system interface. Built upon theestablished COGL’s window system, Window Management will perform operations on theClutter’s window according to the characteristics of Android application’s window. Theseoperations include initialization, termination, show, hide, redraw and setup operations, etc.Event Integration will join the ALooper event loop which provided by Android NDKwith Clutter’s GMainLoop event loop to establish a path for Android events to be passedup to the Clutter. This process includes reading Android events from ALooper and storingthem into a local event queue, then events in the local event queue will be passed to theClutter event queue by event delivery function waiting for event handling moduleprocessing it. In the meanwhile, Clutter application lifecycle should also be done according to lifecycle-related events.
Keywords/Search Tags:Graphic System Migration, Window Management, Event
PDF Full Text Request
Related items