We can build Tizen emulator (also all Tizen SDK) with own hands. QEMU TCG (Tiny Code Generator) is not fast enough to run guest video codec AV Codec API delegation to host GLES/EGL calls are performed in off-screen rendering by host GPU GL command passing to QEMU via virtioġ3 Codec Acceleration Supprot video playing even w/o HW VT support
virtioĮmulation + Simulation for better performance and flexibility Uses virtio device driver for performance sensitive device Because of OAL (OEM Abstraction Layer) it is not difficult to switch real device driver into virtio device driverġ0 Virtual Board Tizen Virtual board provides virtual HW devicesīoard Constructions QEMU PC board Intel Pentium II chipset + devices virtio devices from QEMU Vrtio-disk, virtio-net and virtio-9p New virtio devices from Tizen virtio-opengl codec, overlay, camera, multi-touchġ1 Skin / Display Separate display process from emulator processĭisplay devices based VGA VGA device (1 fb) + Overlay device (2 obs) Sharing SDL display buffer between QEMU and skin processesġ2 GLES Acceleration Support OpenGLES/EGL APIs with high performance Strict implementation of device spec No guest modification Conventional approach of QEMU Poor performance and flexibility Simulation (Para-virtualization) API-centric implementation Guest modification needed e.g.
Web simulator For web applications Support oneshot web runtime Emulator For web/native applications and platforms Support full system runtime Physical phone For web/native applications and platforms including BSP (Board Support Package)Ħ Tizen Emulator (cont) Event Injector Emulator Manager EmulatorĮvent injection for ease of test Sensor input (accelerometer, motion), location, telephony, NFC, Device Emulator Manager Provides interface to set and run various emulator image with various configuration Emulator Tizen x86 image with QEMU Para-virtualization with virtio support Uses HW acceleration (VT-x, AMD-V with KVM or HAXM) Tizen 3.0 IVI / Common Emulate Tizen 3.0 IVI with VMware
2 Contents Tizen SDK Emulator Tizen 3.0 with VMware