sdk/emulator/qemu.git
11 years agoqemu-options: add option to enable YaGL
Igor Mitsyanko [Wed, 21 Nov 2012 18:33:36 +0000 (22:33 +0400)]
qemu-options: add option to enable YaGL

Also, check and exit(1) if user specified virtGL and YaGL simultaniously.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoDGLES2: remove completely
Igor Mitsyanko [Wed, 21 Nov 2012 15:20:00 +0000 (19:20 +0400)]
DGLES2: remove completely

It could only be used wirh ARM target, and we now use YaGL for ttis, so remove
DGLES2 completely.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: glTexSubImage2D workaround for GL_ALPHA format in nvidia Windows drivers
Igor Mitsyanko [Wed, 21 Nov 2012 10:41:31 +0000 (14:41 +0400)]
YaGL: glTexSubImage2D workaround for GL_ALPHA format in nvidia Windows drivers

Nvidia Windows openGL drivers doesn't account for GL_UNPACK_ALIGNMENT parameter
when glTexSubImage2D function is called with format GL_ALPHA. Looks like, for some
reason, GL_ALPHA format data always treated by NVIDIA driver as 1-byte aligned.

This commit works around this problem.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: implement EGL WGL driver to support Windows hosts
Igor Mitsyanko [Thu, 15 Nov 2012 13:41:23 +0000 (17:41 +0400)]
YaGL: implement EGL WGL driver to support Windows hosts

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agohw/yagl_log.h: Add Windows specific logging macro
Igor Mitsyanko [Thu, 15 Nov 2012 13:37:53 +0000 (17:37 +0400)]
hw/yagl_log.h: Add Windows specific logging macro

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoyagl_gles_ogl_macros.h: use APIENTRY wit function type prototypes
Igor Mitsyanko [Thu, 15 Nov 2012 13:31:52 +0000 (17:31 +0400)]
yagl_gles_ogl_macros.h: use APIENTRY wit function type prototypes

This should tell compilator how these functions behave when called.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoyagl-log: use g_strndup because there is no strdup in mingw
Igor Mitsyanko [Thu, 8 Nov 2012 14:37:34 +0000 (18:37 +0400)]
yagl-log: use g_strndup because there is no strdup in mingw

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agobuild.sh: do not check if we're on linux to enable YaGL
Igor Mitsyanko [Tue, 23 Oct 2012 13:50:09 +0000 (17:50 +0400)]
build.sh: do not check if we're on linux to enable YaGL

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: add a placeholder for EGL_WGL driver
Igor Mitsyanko [Fri, 19 Oct 2012 11:48:24 +0000 (15:48 +0400)]
YaGL: add a placeholder for EGL_WGL driver

It will be implemented later.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoyagl_egl_glx.c: acquire getProcAddr function addess only once
Igor Mitsyanko [Thu, 18 Oct 2012 09:19:36 +0000 (13:19 +0400)]
yagl_egl_glx.c: acquire getProcAddr function addess only once

No point in acquiring glXGetProcAddress function pointer every time
yagl_egl_glx_procaddr_get() is called, just make it static instead.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: make GLES drivers initialization OS agnostic
Igor Mitsyanko [Thu, 18 Oct 2012 08:45:27 +0000 (12:45 +0400)]
YaGL: make GLES drivers initialization OS agnostic

Introduce function to acquire symbols from openGL library OS-specific way.
This is needed because only EGL OS-specific backend (glx, wgl e.t.c.) knows how
function addresses should be retreived.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: let EGL driver handle host openGL library
Igor Mitsyanko [Thu, 18 Oct 2012 07:13:07 +0000 (11:13 +0400)]
YaGL: let EGL driver handle host openGL library

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: make EGL driver initialization OS independant
Igor Mitsyanko [Wed, 17 Oct 2012 16:19:57 +0000 (20:19 +0400)]
YaGL: make EGL driver initialization OS independant

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoConfigure: guess YAGL backend based on target OS
Igor Mitsyanko [Fri, 21 Sep 2012 14:05:32 +0000 (18:05 +0400)]
Configure: guess YAGL backend based on target OS

11 years agohw/yagl_log.c: fix printf specifier for target_ulong type
Igor Mitsyanko [Tue, 6 Nov 2012 15:28:02 +0000 (19:28 +0400)]
hw/yagl_log.c: fix printf specifier for target_ulong type

On 64-bit hosts %lX specifies 64-bit long variable, therefore when its used with 32-bit
target_ulong, it prints bogus 64 bit long value.

Note that PRIX64 macro could be broken on mingw32, maybe we should manually check
host word size in the future.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: Fix for khronos GLESv2 test: glGetUniform implemented appropriately
Stanislav Vorobiov [Wed, 7 Nov 2012 13:44:12 +0000 (17:44 +0400)]
YaGL: Fix for khronos GLESv2 test: glGetUniform implemented appropriately
YaGL: Fix for khronos GLESv2 test: number of texture units limited to 32

11 years agoYaGL: Fixed for khronos GLESv2 test: programs and shaders must be in same namespace
Stanislav Vorobiov [Tue, 6 Nov 2012 17:49:55 +0000 (21:49 +0400)]
YaGL: Fixed for khronos GLESv2 test: programs and shaders must be in same namespace
YaGL: Fixed for khronos GLESv2 test: n < 0 checks added to glGenXXX
YaGL: Fixed for khronos GLESv2 test: namespace local name generation must take user binded names into account

11 years agoYaGL: fix eglChooseConfig() for 64-bit hosts
Igor Mitsyanko [Fri, 26 Oct 2012 19:52:14 +0000 (23:52 +0400)]
YaGL: fix eglChooseConfig() for 64-bit hosts

The problem is that 'configs' defined as
yagl_host_handle *configs = NULL;

but code above, when doing sizeof(configs), doesn't want to know a size of
host pointer, it wants to know sizeof yagl_host_handle type, which is hardcoded
to 4 bytes. This wasn't a problem on 32 bit machines since sizeof(pointer) would
return 4 in that case. But in case of 64-bit hosts, it causes memory corruption.

Fix is simple, change it to sizeof(*configs)

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: cast GLint to a pointer type right way for 64 bit machines
Igor Mitsyanko [Wed, 17 Oct 2012 11:43:34 +0000 (15:43 +0400)]
YaGL: cast GLint to a pointer type right way for 64 bit machines

Direct cast of int to pointer causes warning on 64 bit machines, use uitptr_t
cast first.
Note that here we're not casting guest address to host address, its just an offset
within an array.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
12 years agoMerge branch 'develop' of http://121.133.176.49/review/p/sdk/emulator/qemu into tizen-arm
Evgeny Voevodin [Thu, 1 Nov 2012 13:05:59 +0000 (17:05 +0400)]
Merge branch 'develop' of 121.133.176.49/review/p/sdk/emulator/qemu into tizen-arm

12 years agomaru_arm: Fixed double guest RAM allocation
Stanislav Vorobiov [Thu, 1 Nov 2012 10:15:54 +0000 (14:15 +0400)]
maru_arm: Fixed double guest RAM allocation

12 years agopackage: fix variable name
syeon.hwang [Thu, 1 Nov 2012 08:50:50 +0000 (17:50 +0900)]
package: fix variable name

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agoskin: modified skin name in info.ini
giwoong.kim [Thu, 1 Nov 2012 08:10:10 +0000 (17:10 +0900)]
skin: modified skin name in info.ini

general_purpose_skin -> General purpose,
phone_shape_skin_720x1280 -> Phone 720x1280.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agopackage: add -e option to install script
syeon.hwang [Thu, 1 Nov 2012 07:53:39 +0000 (16:53 +0900)]
package: add -e option to install script

-e: show progress as log file

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agopackage: modify tizen Makefile.
Kitae Kim [Thu, 1 Nov 2012 06:41:51 +0000 (15:41 +0900)]
package: modify tizen Makefile.

Remove to copy kvmvapic.bin file in the Makefile, because
it make qemu to be crashed with haxm.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agoboard: Do not load "kvmvapic" to avoid crash on HAXM.
syeon.hwang [Thu, 1 Nov 2012 06:41:13 +0000 (15:41 +0900)]
board: Do not load "kvmvapic" to avoid crash on HAXM.

Do not load "kvmvapic" to avoid crash on HAXM.

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agoskin: added a folding button to general skin
giwoong.kim [Wed, 31 Oct 2012 10:42:57 +0000 (19:42 +0900)]
skin: added a folding button to general skin

Now, Emulator can foding a HW keys region in general skin.
And I coverted SkinMode class to SkinInformation class.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoMerge "shell: show error log" into develop
Yeongkyoon Lee [Wed, 31 Oct 2012 11:47:53 +0000 (20:47 +0900)]
Merge "shell: show error log" into develop

12 years agopackage: enable to build arm emulator package
Kitae Kim [Wed, 31 Oct 2012 10:42:41 +0000 (19:42 +0900)]
package: enable to build arm emulator package

Since build environment has been set, enable to build arm package.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agoshell: show error log
syeon.hwang [Wed, 31 Oct 2012 10:45:43 +0000 (19:45 +0900)]
shell: show error log

If shell failed, show error message in detail

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agopackage : update changelog and package version
jinhyung.jo [Wed, 31 Oct 2012 10:28:25 +0000 (19:28 +0900)]
package : update changelog and package version

update version to 1.3.68

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agomaru_camera_win32 : support RGB24 and I420 image format
jinhyung.jo [Wed, 31 Oct 2012 04:58:49 +0000 (13:58 +0900)]
maru_camera_win32 : support RGB24 and I420 image format

added a routine for image converting.
    - RGB24 -> I420, YV12, YUY2
    - I420 -> YV12, YUY2

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agomaru_brightness : modified the range of the brightness level
jinhyung.jo [Wed, 31 Oct 2012 02:18:51 +0000 (11:18 +0900)]
maru_brightness : modified the range of the brightness level

original range : 1 ~ 24
modified range : 0 ~ 100

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agomaru_camera_linux : modified the worker thread and added logs
jinhyung.jo [Wed, 31 Oct 2012 01:56:48 +0000 (10:56 +0900)]
maru_camera_linux : modified the worker thread and added logs

The worker thread ignores errors occurring from v4l2_read like EAGAIN, EINTR and then works continuously.
Modified some logs in the worker thread and in other functions.

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agopackage: Modified Makefile.
Kitae Kim [Tue, 30 Oct 2012 14:35:31 +0000 (23:35 +0900)]
package: Modified Makefile.

Makefile for dibs was wrong.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agopackage: Update package version.
Kitae Kim [Tue, 30 Oct 2012 14:22:01 +0000 (23:22 +0900)]
package: Update package version.

Update package into 1.3.67.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agopackage: fix build error on Mac.
Kitae Kim [Tue, 30 Oct 2012 14:21:37 +0000 (23:21 +0900)]
package: fix build error on Mac.

Since QEMU 1.2 vga module has been changed.
However, some source code for Mac has not been updated according to the changes.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agopackage: Change install dependency of emulator-qemu-xxx package.
Kitae Kim [Tue, 30 Oct 2012 12:42:20 +0000 (21:42 +0900)]
package: Change install dependency of emulator-qemu-xxx package.

emulator-qemu-x86 cannot depend on emulator-qemu-common pacakge
because these packages are uploaded concurrently from the same git.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agopackage: update changelog
Kitae Kim [Tue, 30 Oct 2012 12:23:28 +0000 (21:23 +0900)]
package: update changelog

Update changelog for 1.3.66 package.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agoskin: using a skin information file
giwoong.kim [Tue, 30 Oct 2012 12:06:23 +0000 (21:06 +0900)]
skin: using a skin information file

The Emulator read information of skin from skin/info.ini file.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoskin: arrange the HW keys region in general skin
giwoong.kim [Tue, 30 Oct 2012 02:21:23 +0000 (11:21 +0900)]
skin: arrange the HW keys region in general skin

I've add a HW keys region to internal of general skin.
And disable the control panel menu.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoskin: added skin information files
giwoong.kim [Mon, 29 Oct 2012 13:29:34 +0000 (22:29 +0900)]
skin: added skin information files

info.ini file, a property file for skin information
(name and resolution).

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoMerge "package: Comment out build routine for arm packages." into develop
Yeongkyoon Lee [Tue, 30 Oct 2012 12:00:48 +0000 (21:00 +0900)]
Merge "package: Comment out build routine for arm packages." into develop

12 years agopackage: Comment out build routine for arm packages.
Kitae Kim [Tue, 30 Oct 2012 11:56:35 +0000 (20:56 +0900)]
package: Comment out build routine for arm packages.

Prevents qemu from compiling arm-softmmu temporarily

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agopackage: modify some variable name
munkyu.im [Tue, 30 Oct 2012 11:13:44 +0000 (20:13 +0900)]
package: modify some variable name

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agopackage: Modified build scripts for arm packages.
Kitae Kim [Tue, 30 Oct 2012 08:28:33 +0000 (17:28 +0900)]
package: Modified build scripts for arm packages.

Since arm emulator has been supported, an emulator package
needs to divide into three packages which are x86, arm and common.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agoYaGL: Better logging in yagl_thread
Stanislav Vorobiov [Mon, 8 Oct 2012 16:08:34 +0000 (20:08 +0400)]
YaGL: Better logging in yagl_thread

12 years agoFFmpeg: remove x86_64 FFmpeg binaries.
Kitae Kim [Tue, 30 Oct 2012 04:50:14 +0000 (13:50 +0900)]
FFmpeg: remove x86_64 FFmpeg binaries.

Compiled binaries should not be included in the git repository.
This is the reason why x86_64 FFmpeg binaries has to be removed.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agobuild: Modify build script for Darwin
syeon.hwang [Tue, 30 Oct 2012 06:50:16 +0000 (15:50 +0900)]
build: Modify build script for Darwin

Add check routine to detect number of processor cores for darwin

Signed-off-by: syeon.hwang <syeon.hwang@samsung.com>
12 years agobuild: Fix FFMPEG build failure on GCC 4.7.x
syeon.hwang [Tue, 30 Oct 2012 04:36:36 +0000 (13:36 +0900)]
build: Fix FFMPEG build failure on GCC 4.7.x

Apply patch from Andrew Benton <andy@benton.eu.com>
2012-06-15

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agoMerge branch 'tizen-arm' into develop
syeon.hwang [Tue, 30 Oct 2012 04:35:00 +0000 (13:35 +0900)]
Merge branch 'tizen-arm' into develop

Conflicts:
hw/virtio-pci.c
tizen/emulator_configure.sh
tizen/src/Makefile.tizen
tizen/src/emulator.c
tizen/src/hw/maru_board.c
tizen/src/hw/maru_vga.c
tizen/src/skin/client/skins/emul-320x480/default.dbi
tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java
vl.c

12 years agopackage: add install script for mac
munkyu.im [Mon, 29 Oct 2012 13:05:31 +0000 (22:05 +0900)]
package: add install script for mac

It contains shared memory setting

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agoHAX: Apply HAX patch from intel
syeon.hwang [Mon, 29 Oct 2012 10:39:12 +0000 (19:39 +0900)]
HAX: Apply HAX patch from intel

12 years agoMerge "RAM: Apply W/A to preserve larger continuous heap for RAM." into develop
Yeongkyoon Lee [Mon, 29 Oct 2012 05:46:03 +0000 (14:46 +0900)]
Merge "RAM: Apply W/A to preserve larger continuous heap for RAM." into develop

12 years agoRAM: Apply W/A to preserve larger continuous heap for RAM.
syeon.hwang [Mon, 29 Oct 2012 05:46:14 +0000 (14:46 +0900)]
RAM: Apply W/A to preserve larger continuous heap for RAM.

12 years agoHW key: don't lose the release event of HW key
giwoong.kim [Mon, 29 Oct 2012 05:22:17 +0000 (14:22 +0900)]
HW key: don't lose the release event of HW key

Event if user releases the mouse cursor at outside of HW key area,
it does not lose the event.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agosdb: add "sdb" parameter to command
munkyu.im [Fri, 26 Oct 2012 11:12:06 +0000 (20:12 +0900)]
sdb: add "sdb" parameter to command

it was skipped accidentally

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agoMerge branch 'develop' of rsa-git:sdk/emulator/qemu into develop
Kitae Kim [Fri, 26 Oct 2012 07:15:40 +0000 (16:15 +0900)]
Merge branch 'develop' of rsa-git:sdk/emulator/qemu into develop

Conflicts:
tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java

12 years agovirtio-keyboard: add virtio-keyboard device.
Kitae Kim [Fri, 26 Oct 2012 07:01:03 +0000 (16:01 +0900)]
virtio-keyboard: add virtio-keyboard device.

Implement virtio-keyboard to replace usb-keyboard module,
because of performance issue on emulator.
However, virtio-keyboard menu has not enabled yet.
It needs to test a lot.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agoskin: set FormLayout
giwoong.kim [Thu, 25 Oct 2012 08:59:15 +0000 (17:59 +0900)]
skin: set FormLayout

The FormLayout is applied to a Emulator window shell.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agodbi: deleted unnecessary items in general skin dbi file
giwoong.kim [Thu, 25 Oct 2012 05:58:54 +0000 (14:58 +0900)]
dbi: deleted unnecessary items in general skin dbi file

In general skin mode, the Emulator treats key information only.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoskin: set default skin path in general skin mode
giwoong.kim [Thu, 25 Oct 2012 03:09:26 +0000 (12:09 +0900)]
skin: set default skin path in general skin mode

I added general skin dbi file.
And modified skin mode name. (default -> standard)

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoskin: do not load lcd size from dbi file on general skin mode
giwoong.kim [Wed, 24 Oct 2012 10:25:51 +0000 (19:25 +0900)]
skin: do not load lcd size from dbi file on general skin mode

In general skin mode, emulator lcd size is base on the resolution value.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoskin: move getWindowHandleId() from base class to child class
giwoong.kim [Mon, 22 Oct 2012 13:28:20 +0000 (22:28 +0900)]
skin: move getWindowHandleId() from base class to child class

The canvas(lcd) handle id is not necessary in EmulatorShmSkin class.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoskin: create Control Panel contents
giwoong.kim [Mon, 22 Oct 2012 12:01:52 +0000 (21:01 +0900)]
skin: create Control Panel contents

I added HW key buttons through skin dbi file.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoskin: JAXB rebinding
giwoong.kim [Mon, 22 Oct 2012 07:12:05 +0000 (16:12 +0900)]
skin: JAXB rebinding

JAXB v2.1.10 -> v2.2.5

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoskin: modified skin mode name
giwoong.kim [Mon, 22 Oct 2012 02:07:28 +0000 (11:07 +0900)]
skin: modified skin mode name

none -> general

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoskin: added SkinWindow file
giwoong.kim [Sun, 21 Oct 2012 06:41:01 +0000 (15:41 +0900)]
skin: added SkinWindow file

I've added a base class that is type of skin's child window.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoguest_server: indenting source code
giwoong.kim [Sun, 21 Oct 2012 05:59:12 +0000 (14:59 +0900)]
guest_server: indenting source code

src/guest_server.c

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agomenu: added "not supported" msg popup for mac
giwoong.kim [Fri, 19 Oct 2012 11:09:26 +0000 (20:09 +0900)]
menu: added "not supported" msg popup for mac

The Alaways on Top menu is not supported yet in Mac.
So, I added temporary message popup for user.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agopackage: modify version name
munkyu.im [Fri, 19 Oct 2012 08:16:20 +0000 (17:16 +0900)]
package: modify version name

a2 -> a3:

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agopackage: version up
giwoong.kim [Fri, 19 Oct 2012 02:03:39 +0000 (11:03 +0900)]
package: version up

1.3.64

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoskin: stop the PollFBThread in skin process
giwoong.kim [Thu, 18 Oct 2012 13:02:10 +0000 (22:02 +0900)]
skin: stop the PollFBThread in skin process

The lcd framebuffers are drawn by PollFBThread.
This thread must be stopped when shell is closed.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoScreenShot: get framebuffer from shared memory
giwoong.kim [Thu, 18 Oct 2012 12:36:32 +0000 (21:36 +0900)]
ScreenShot: get framebuffer from shared memory

Get a framebuffer from shared memory through JNI.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoScreenShot: make an inheritance of screen shot window
giwoong.kim [Wed, 17 Oct 2012 14:04:51 +0000 (23:04 +0900)]
ScreenShot: make an inheritance of screen shot window

The screen shot's framebuffer is received from qemu on Linux/Windows.
But on Mac, it is received from shared memory.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agopackage: version up
munkyu.im [Wed, 17 Oct 2012 11:45:22 +0000 (20:45 +0900)]
package: version up

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agoMerge branch 'tizen-arm' of http://121.133.176.49/review/p/sdk/emulator/qemu into...
Evgeny Voevodin [Wed, 17 Oct 2012 09:14:14 +0000 (13:14 +0400)]
Merge branch 'tizen-arm' of 121.133.176.49/review/p/sdk/emulator/qemu into tizen-arm

Conflicts:
tizen/emulator_configure.sh

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
12 years agoshell: apply sdb shell
munkyu.im [Wed, 17 Oct 2012 09:06:25 +0000 (18:06 +0900)]
shell: apply sdb shell

add uxterm commend for Mac

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agoconfigure: Clean-up commented code
Evgeny Voevodin [Wed, 17 Oct 2012 08:06:49 +0000 (12:06 +0400)]
configure: Clean-up commented code

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
12 years agovl.c: Move webcam parsing after kernel_cmdline initialization
Evgeny Voevodin [Wed, 17 Oct 2012 04:11:35 +0000 (08:11 +0400)]
vl.c: Move webcam parsing after kernel_cmdline initialization

Before this commit the code in webcam parsing:

gchar *tmp_cam_kcmd = kernel_cmdline;
kernel_cmdline = g_strdup_printf("%s enable_cam=%d", tmp_cam_kcmd, is_webcam_enabled);

could cause a segmentation fault because kernel_cmdline was not initialized yet.

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
12 years agoMerge "build: add copying check-hax" into develop
Yeongkyoon Lee [Tue, 16 Oct 2012 13:31:11 +0000 (22:31 +0900)]
Merge "build: add copying check-hax" into develop

12 years agobuild: add copying check-hax
munkyu.im [Tue, 16 Oct 2012 13:28:16 +0000 (22:28 +0900)]
build: add copying check-hax

It's was skipped

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agopackage: remove unused install/remove script
munkyu.im [Tue, 16 Oct 2012 12:39:09 +0000 (21:39 +0900)]
package: remove unused install/remove script

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agopackage: version up
munkyu.im [Tue, 16 Oct 2012 11:12:39 +0000 (20:12 +0900)]
package: version up

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agoconfigure: Change CONFIG_VIRTIO_GL to CONFIG_GL_BACKEND
Evgeny Voevodin [Tue, 16 Oct 2012 08:48:49 +0000 (12:48 +0400)]
configure: Change CONFIG_VIRTIO_GL to CONFIG_GL_BACKEND

CONFIG_GL_BACKEND is for host
CONFIG_GL is for target

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
12 years agotizen/src/Makefile.tizen: Compile gloffscreen_wgl.c for all targets.
Evgeny Voevodin [Tue, 16 Oct 2012 05:28:56 +0000 (09:28 +0400)]
tizen/src/Makefile.tizen: Compile gloffscreen_wgl.c for all targets.

It contains code for Windows host OS.

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
12 years agoMakefile.target: Compile hax-stub.c for targets without HAX support.
Evgeny Voevodin [Tue, 16 Oct 2012 05:11:43 +0000 (09:11 +0400)]
Makefile.target: Compile hax-stub.c for targets without HAX support.

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
12 years agobuild: add gcc option for Mac
munkyu.im [Mon, 15 Oct 2012 06:54:49 +0000 (15:54 +0900)]
build: add gcc option for Mac

It's for build compatibility on Mac.

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agobuild: add gcc option for Mac
munkyu.im [Mon, 15 Oct 2012 06:54:49 +0000 (15:54 +0900)]
build: add gcc option for Mac

It's for build compatibility on Mac.

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agotizen/emulator_configure.sh: Disable YaGL for Windows by default
Evgeny Voevodin [Fri, 12 Oct 2012 08:45:43 +0000 (12:45 +0400)]
tizen/emulator_configure.sh: Disable YaGL for Windows by default

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
12 years agodisplay: add checking dispose routine
munkyu.im [Fri, 12 Oct 2012 07:12:43 +0000 (16:12 +0900)]
display: add checking dispose routine

can happen exceptional error

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agotizen/emulator_configure.sh: Move parameters configuration from build.sh
Evgeny Voevodin [Fri, 12 Oct 2012 06:37:20 +0000 (10:37 +0400)]
tizen/emulator_configure.sh: Move parameters configuration from build.sh

As considered we move parameters configuration from build.sh to emulator_configure.sh
to let developers run emulator_configure.sh and then make.
Default configuration appended for all target OSes:
--target-list=i386-softmmu,arm-softmmu
--enable-gl
--disable-opengles
--enable-yagl
--disable-yagl-stats

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
12 years agoRevert "build: remove auto-configuration part in build.sh and add i386 target to...
Evgeny Voevodin [Fri, 12 Oct 2012 04:40:29 +0000 (08:40 +0400)]
Revert "build: remove auto-configuration part in build.sh and add i386 target to emulator_configure.sh"

This reverts commit 7965cff25b5944b69a218ff245f56b62436d838d.

12 years agoskin: non-skin type of emulator window
giwoong.kim [Wed, 10 Oct 2012 04:49:42 +0000 (13:49 +0900)]
skin: non-skin type of emulator window

I added non-skin type for window style.
This simple type of emulator window is filled with lcd region only.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoskin: added skin mode arg
giwoong.kim [Mon, 8 Oct 2012 12:45:42 +0000 (21:45 +0900)]
skin: added skin mode arg

added skin.mode argument to startup option of skin

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agobuild: remove auto-configuration part in build.sh and add i386 target to emulator_con...
syeon.hwang [Fri, 12 Oct 2012 02:37:34 +0000 (11:37 +0900)]
build: remove auto-configuration part in build.sh and add i386 target to emulator_configure.sh

12 years agobuild: fix maru_vga build on mac
syeon.hwang [Fri, 12 Oct 2012 02:15:13 +0000 (11:15 +0900)]
build: fix maru_vga build on mac

12 years agopackage: version up
munkyu.im [Thu, 11 Oct 2012 07:21:42 +0000 (16:21 +0900)]
package: version up

to 1.3.59

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agodisplay: fix shared memory problems
munkyu.im [Thu, 11 Oct 2012 06:45:19 +0000 (15:45 +0900)]
display: fix shared memory problems

divided into many shared memory keys (originally only one)
So, many emulator instances can be launached at the same time.

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
12 years agobuild: fix build break on macos
syeon.hwang [Thu, 11 Oct 2012 06:01:44 +0000 (15:01 +0900)]
build: fix build break on macos