sdk/emulator/qemu.git
10 years agoremote: added configure option for gtk 3 31/14131/1
sungmin ha [Tue, 24 Dec 2013 10:20:52 +0000 (19:20 +0900)]
remote: added configure option for gtk 3

Change-Id: Iac125de7491711e39c0498e358550baf02cebc58
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoremote: modified export position in configure file 29/14129/2
sungmin ha [Tue, 24 Dec 2013 09:29:17 +0000 (18:29 +0900)]
remote: modified export position in configure file

removed unnecessary file
restored Makefile.in in virt-viewer

Change-Id: I8f0a899cad8b2d10344364bdcbbfb328e782662f
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoremote: removed reconfigure code in virt-viewer 28/14128/1
sungmin ha [Tue, 24 Dec 2013 07:59:17 +0000 (16:59 +0900)]
remote: removed reconfigure code in virt-viewer

Change-Id: Ic693dbdcf7a599b1edc1c84450373f273e1dc63e
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agogesture: release the multi-touch before gesture injecting 24/14124/1
GiWoong Kim [Tue, 24 Dec 2013 05:18:33 +0000 (14:18 +0900)]
gesture: release the multi-touch before gesture injecting

release the multi-touch before gesture event injecting
(maru_sdl)

Change-Id: Ib54dede198ab41a8739b29936986a1cfe6dac7a2
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoremote: added required package libvirt-dev for build 20/14120/1
sungmin ha [Tue, 24 Dec 2013 02:19:06 +0000 (11:19 +0900)]
remote: added required package libvirt-dev for build

modified prefix in build/clean script

Change-Id: Ic687a8df629e07221195e30df7d8cbaecda45c27
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoremote: modified scripts and Makefile 14/14114/1
sungmin ha [Mon, 23 Dec 2013 11:43:33 +0000 (20:43 +0900)]
remote: modified scripts and Makefile

1. deleted unnecessary files
2. added required package

Change-Id: I7f77b6223d25545f7cf253871cfb31a21cd49207
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoremote: included common header spice/enums.h 12/14112/1
sungmin ha [Mon, 23 Dec 2013 11:09:41 +0000 (20:09 +0900)]
remote: included common header spice/enums.h

Change-Id: I395c1ded5d1e41562fbeabfe595a59be233c78b5
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge "remote: modified define construction in ui/input.c" into tizen
daiyoung kim [Mon, 23 Dec 2013 10:59:09 +0000 (02:59 -0800)]
Merge "remote: modified define construction in ui/input.c" into tizen

10 years agoremote: modified define construction in ui/input.c 10/14110/1
sungmin ha [Mon, 23 Dec 2013 10:48:44 +0000 (19:48 +0900)]
remote: modified define construction in ui/input.c

Change-Id: I1535ed1bfe5d72102533c52144606a806ab272ca
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge "added execute permission keymap-gen.pl for build" into tizen
daiyoung kim [Mon, 23 Dec 2013 10:22:14 +0000 (02:22 -0800)]
Merge "added execute permission keymap-gen.pl for build" into tizen

10 years agoadded execute permission keymap-gen.pl for build 09/14109/1
sungmin ha [Mon, 23 Dec 2013 10:21:35 +0000 (19:21 +0900)]
added execute permission keymap-gen.pl for build

Change-Id: I1f352a8790bf7d58d5a4bae56f4bf397936bb1f2
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge "added execute permission spice_codegen.py for build" into tizen
daiyoung kim [Mon, 23 Dec 2013 10:16:46 +0000 (02:16 -0800)]
Merge "added execute permission spice_codegen.py for build" into tizen

10 years agoadded execute permission spice_codegen.py for build 07/14107/2
sungmin ha [Mon, 23 Dec 2013 10:05:17 +0000 (19:05 +0900)]
added execute permission spice_codegen.py for build

Change-Id: I24ce8cff1d52652bda3de592c6b3902440d115d5
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge "modified package name for ubuntu build" into tizen
daiyoung kim [Mon, 23 Dec 2013 09:47:12 +0000 (01:47 -0800)]
Merge "modified package name for ubuntu build" into tizen

10 years agomodified package name for ubuntu build 06/14106/2
sungmin ha [Mon, 23 Dec 2013 09:40:10 +0000 (18:40 +0900)]
modified package name for ubuntu build

Change-Id: I2dd480cb39a6a6abe64a62465eebad2fb16f9e5d
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge "remote: added remote server/client packages spice-gtk, virt-viewer, celt,...
daiyoung kim [Mon, 23 Dec 2013 09:23:41 +0000 (01:23 -0800)]
Merge "remote: added remote server/client packages spice-gtk, virt-viewer, celt, spice etc." into tizen

10 years agoskin: modified Key Window region setting 97/14097/2
GiWoong Kim [Mon, 23 Dec 2013 08:21:27 +0000 (17:21 +0900)]
skin: modified Key Window region setting

SWT library has a problem for stretch image on Ubuntu.
So, to avoid a this issue, I applied the different
way(with no side effects) to create a frame image.

Change-Id: I3411d9c4c45ffcf5bc591b45db2395cf94d40ddf
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoremote: added remote server/client packages spice-gtk, virt-viewer, celt, spice etc. 95/14095/4
sungmin ha [Mon, 23 Dec 2013 08:04:44 +0000 (17:04 +0900)]
remote: added remote server/client packages spice-gtk, virt-viewer, celt, spice etc.

added spice input codes for tizen specific functions.
modified build script and makefile for ubuntu build.

Change-Id: Ia1adae6e31dcf461168b74728764cfa546e44d84
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agotouch: multi-touch enhancement 96/14096/1
GiWoong Kim [Fri, 20 Dec 2013 08:03:25 +0000 (17:03 +0900)]
touch: multi-touch enhancement

1. added protocol for multi-touch state
2. modified clearFingerSlot fucntion
3. removed unguarded write in communicator

Change-Id: I957159a87ecb524aa77b83a528b39bc2b8e28d02
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "skin: modified skin region setting" into tizen
daiyoung kim [Fri, 20 Dec 2013 07:59:15 +0000 (23:59 -0800)]
Merge "skin: modified skin region setting" into tizen

10 years agomenu: modified GPU virtualization keyword for parsing 02/14002/1
GiWoong Kim [Fri, 20 Dec 2013 03:43:47 +0000 (12:43 +0900)]
menu: modified GPU virtualization keyword for parsing

modified GPU virtualization keyword for Qemu parameter
parsing in Detail Info Dialog.

Change-Id: I4e52d2d8892509b384b905beb82112dc066e84b7
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agopackage: version up 76/13976/1
GiWoong Kim [Thu, 19 Dec 2013 10:39:38 +0000 (19:39 +0900)]
package: version up

1.7.5

Change-Id: I39c51d092649193bf00315a56fc0004024881a42
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: modified skin region setting 70/13970/1
GiWoong Kim [Thu, 19 Dec 2013 09:20:51 +0000 (18:20 +0900)]
skin: modified skin region setting

SWT library has a problem for stretch image on Ubuntu.
So, to avoid a this issue, I applied the different
way(with no side effects) to create a General skin image.

Change-Id: I05edbd22f43691002c9fd79403ec5e1515e6d7b1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoYaGL/VIGS: Use wglMakeCurrent instead of wglMakeContextCurrentARB when possible 62/13962/1
Stanislav Vorobiov [Thu, 19 Dec 2013 08:07:59 +0000 (11:07 +0300)]
YaGL/VIGS: Use wglMakeCurrent instead of wglMakeContextCurrentARB when possible

GPUs like Intel HD Graphics 2000 and some ATI cards may crash
when using wglMakeContextCurrentARB when draw_sfc == read_sfc. We
work around this by using wglMakeCurrent in this case

Change-Id: I80735a546d6e506ecc3581a5e78fdc8e04f3a95c

10 years agoecs: added gesture event handling 55/13955/1
GiWoong Kim [Tue, 17 Dec 2013 07:18:03 +0000 (16:18 +0900)]
ecs: added gesture event handling

Emulator must handle the gesture events, according as
new feature was added in Emulator Control Panel.

Change-Id: Ic8cbc0b34319176ef9b19451aa8d60f66a95a48a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "ecp: keyboard on/off sync with skin" into tizen
daiyoung kim [Tue, 17 Dec 2013 02:47:34 +0000 (18:47 -0800)]
Merge "ecp: keyboard on/off sync with skin" into tizen

10 years agoMerge "emulator: modified reset function for emulator" into tizen
daiyoung kim [Tue, 17 Dec 2013 02:47:16 +0000 (18:47 -0800)]
Merge "emulator: modified reset function for emulator" into tizen

10 years agoemulator: modified reset function for emulator 65/13765/1
GiWoong Kim [Mon, 16 Dec 2013 01:55:08 +0000 (10:55 +0900)]
emulator: modified reset function for emulator

1. added state flag resetting in skin
2. changed enum value for RESET
3. removed temporary code

Change-Id: Ia3f2fff01c98d8b059be1ee7f3713df773956f17
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoYaGL: Fix surface invalidation in onscreen backend 63/13763/1
Stanislav Vorobiov [Tue, 5 Nov 2013 10:25:27 +0000 (14:25 +0400)]
YaGL: Fix surface invalidation in onscreen backend

We should always bind framebuffer zero before attaching
new texture/renderbuffer since current framebuffer might be
different from framebuffer zero

Change-Id: I797b9686473def2c85060a88ad7e9ae794070165

10 years agoecp: keyboard on/off sync with skin 72/13572/2
Jinhyung Choi [Tue, 10 Dec 2013 03:54:54 +0000 (12:54 +0900)]
ecp: keyboard on/off sync with skin

now ecp & skin menu gets correct synchronization.

Change-Id: Ic6c465417c12b5f7075f20706e7195f7a6760b28
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agopackage: version up 39/13539/1 features/vmodem
GiWoong Kim [Mon, 9 Dec 2013 07:33:33 +0000 (16:33 +0900)]
package: version up

1.7.3

Change-Id: Iea9f7d0f748fc6108d12a19c8766f3c749eb3ccf
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: remove temporary code 38/13538/1
GiWoong Kim [Mon, 9 Dec 2013 07:31:56 +0000 (16:31 +0900)]
menu: remove temporary code

no need to check a sensord state on Host Keyboard menu.

Change-Id: I28a807adb55d2bb4b70d4b301428a02965a1d82f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoscreenshot: code refactoring 37/13537/1
GiWoong Kim [Wed, 4 Dec 2013 06:15:48 +0000 (15:15 +0900)]
screenshot: code refactoring

1. restructuring
2. delete unnecessary code
3. fix indenting

Change-Id: Ia50fc0454a1a205f7b9a7ae671337303fd2dd0f1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agotethering: change a way to convert light sensor value from app to ecs. 36/13436/1
Kitae Kim [Fri, 6 Dec 2013 02:30:13 +0000 (11:30 +0900)]
tethering: change a way to convert light sensor value from app to ecs.

In case of light sensor, it needs to set two value to pass to sensor device.

Change-Id: Ib8e0034b61e6774cbd0ccc591bc2b07af41de771
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoevdi: fix build error 12/13412/1
Stanislav Vorobiov [Thu, 5 Dec 2013 08:39:27 +0000 (12:39 +0400)]
evdi: fix build error

Change-Id: I97c95b3587baad992381fd5ebf58a8c1fbaf56b3

10 years agoMerge changes Ib3b818ce,I2aa61a73 into tizen
daiyoung kim [Thu, 5 Dec 2013 06:05:01 +0000 (22:05 -0800)]
Merge changes Ib3b818ce,I2aa61a73 into tizen

* changes:
  nfc: arrange source codes
  evdi: check if virtqueue is ready

10 years agoMerge "nfc: check if virtqueue is ready" into tizen
daiyoung kim [Thu, 5 Dec 2013 06:04:48 +0000 (22:04 -0800)]
Merge "nfc: check if virtqueue is ready" into tizen

10 years agonfc: arrange source codes 04/13404/1
munkyu.im [Thu, 5 Dec 2013 06:03:46 +0000 (15:03 +0900)]
nfc: arrange source codes

Removed unused variables.
Added checking data size.

Change-Id: Ib3b818ce35733345ccdb281a5292a76a1dd160e6
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoevdi: check if virtqueue is ready 98/13398/2
munkyu.im [Thu, 5 Dec 2013 02:45:42 +0000 (11:45 +0900)]
evdi: check if virtqueue is ready

Before sending event,
virtio device needs to check if virtqueue is ready.
Otherwise when emulator reset,
device operation may have problem to send message.

Change-Id: I2aa61a73dc1b3e4956545c82293eb35e7c8a4759
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agonfc: check if virtqueue is ready 70/13370/1
munkyu.im [Wed, 4 Dec 2013 08:25:03 +0000 (17:25 +0900)]
nfc: check if virtqueue is ready

Before sending event,
virtio device needs to check if virtqueue is ready.
Otherwise when emulator reset,
device operation may have problem to send message.

Change-Id: Ia715e314d0c1f65098eb7f1c612dc79c039bcdbe
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoMerge changes I6a7026f6,I4a3871b5 into tizen
daiyoung kim [Wed, 4 Dec 2013 07:46:29 +0000 (23:46 -0800)]
Merge changes I6a7026f6,I4a3871b5 into tizen

* changes:
  maru_brightness : Modified exit & init functions
  maru_overlay : Added the reset functions

10 years agosuspend/resume: changed option name 52/13352/1
Jinhyung Choi [Wed, 4 Dec 2013 03:27:46 +0000 (12:27 +0900)]
suspend/resume: changed option name

Option name "ignore-suspend-lock" is un-clear the meaning of sentence.
So, it is changed to "enable-suspend" as a client expected action.

Change-Id: I204b175e20f07100bb90f4a481c726e502d68c82
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agomaru_brightness : Modified exit & init functions 51/13351/1
jinhyung.jo [Wed, 4 Dec 2013 02:29:18 +0000 (11:29 +0900)]
maru_brightness : Modified exit & init functions

Added the info log in the functions.
Added a missing statement for releasing memory in the exit function.
Modified the position that initialize the level variable.

Change-Id: I6a7026f66c9da683e36de3622724e83676ea21b4
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agomaru_overlay : Added the reset functions 50/13350/1
jinhyung.jo [Wed, 4 Dec 2013 02:17:47 +0000 (11:17 +0900)]
maru_overlay : Added the reset functions

Initialize variables related to the overlay device state
when the device is rebooting.

Change-Id: I4a3871b56d551210c1adee94a099ee35fe8c825d
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agoMerge changes I728423f7,I765e8feb into tizen
daiyoung kim [Wed, 4 Dec 2013 02:26:35 +0000 (18:26 -0800)]
Merge changes I728423f7,I765e8feb into tizen

* changes:
  nfc: remove global count
  menu: remove preferences and about menu

10 years agoMerge "host-keyboard: added reset function" into tizen
daiyoung kim [Wed, 4 Dec 2013 02:25:00 +0000 (18:25 -0800)]
Merge "host-keyboard: added reset function" into tizen

10 years agonfc: remove global count 19/13319/1
munkyu.im [Tue, 3 Dec 2013 11:01:57 +0000 (20:01 +0900)]
nfc: remove global count

This value is not meaningful.
nfc do not control count.

Change-Id: I728423f7dcadddf2993c12ef36821ca95c59e398
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agosuspend/resume: setting suspend lock state 03/13303/1
Jinhyung Choi [Tue, 3 Dec 2013 07:01:37 +0000 (16:01 +0900)]
suspend/resume: setting suspend lock state

- qemu option "ignore-suspend-lock" is created, that skips
  suspend lock as default.
- qemu manages suspend state.
- sdb server can request suspend lock and unlock state.
- emulator daemon request to qumu the suspend state, and
  it sets default suspend state through power manager

Change-Id: I4d6e4898b41fca419501ce098eb8d1e67e843cb5
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agomenu: remove preferences and about menu 02/13302/1
munkyu.im [Tue, 3 Dec 2013 06:59:37 +0000 (15:59 +0900)]
menu: remove preferences and about menu

They are default swt menu and do not have handler.
They are unnecessary. so remove them.

Change-Id: I765e8feb3c235bb898a5f48b59090995a5b8560d
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agohost-keyboard: added reset function 82/13282/2
sungmin ha [Tue, 3 Dec 2013 02:23:16 +0000 (11:23 +0900)]
host-keyboard: added reset function

initialize index in the virtioqueue when reset state

Change-Id: I4c5a312ea0ec90c1fa7e1764b491af28db96a73f
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge changes I2d9a49c3,I249e3fe8,Id9e0c868,Ifdd8895e,I3f603a58,I32010ea2,I10663bec...
daiyoung kim [Mon, 2 Dec 2013 07:45:44 +0000 (23:45 -0800)]
Merge changes I2d9a49c3,I249e3fe8,Id9e0c868,Ifdd8895e,I3f603a58,I32010ea2,I10663bec into tizen

* changes:
  communication: added protocol for emulator reset
  menu: modified interpolation menu name
  touchscreen: added reset feature
  menu: source code clean-up
  config: modified emulator skin properties
  menu: added interpolation menu
  display: changed the blank-guide image size

10 years agocommunication: added protocol for emulator reset 54/13254/2
GiWoong Kim [Mon, 2 Dec 2013 02:14:41 +0000 (11:14 +0900)]
communication: added protocol for emulator reset

The Qemu-Skin protocol has been extended to share the
emulator reset state.

Change-Id: I2d9a49c3ddee0ecf7f9006efddc5e710e88fbb51
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: modified interpolation menu name 53/13253/1
GiWoong Kim [Fri, 29 Nov 2013 09:57:10 +0000 (18:57 +0900)]
menu: modified interpolation menu name

modified menu name (Interpolation -> Quality).
and do not scaling when Scale menu is disabled.

Change-Id: I249e3fe86c21757f3187f1aa907d349c10a910ef
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agotouchscreen: added reset feature 52/13252/1
GiWoong Kim [Fri, 29 Nov 2013 05:17:19 +0000 (14:17 +0900)]
touchscreen: added reset feature

initialize some counters and numbers of buffers
in the virtqueue when reset state.

Change-Id: Id9e0c868eb5591e9f49c1c95a03ef01c5d092580
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: source code clean-up 93/13093/1
GiWoong Kim [Thu, 28 Nov 2013 06:47:45 +0000 (15:47 +0900)]
menu: source code clean-up

Added some null check.
And define DEFAULT_DOCK_POSITION value for Key Window.

Change-Id: Ifdd8895e5a41508e842eab0c8e9515320436adb4
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoconfig: modified emulator skin properties 92/13092/1
GiWoong Kim [Thu, 28 Nov 2013 04:50:22 +0000 (13:50 +0900)]
config: modified emulator skin properties

1. extended skin properties for interpolation
(save the most recently used interpolation value)
2. enhanced skin properties file loading

Change-Id: I3f603a58ec5868ebbf4de7b541616e20c9839b32
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: added interpolation menu 91/13091/1
GiWoong Kim [Wed, 27 Nov 2013 06:21:35 +0000 (15:21 +0900)]
menu: added interpolation menu

1. Now, user can choose the interpolation filter type
for emulator window scaling by popup menu.
(Scale>Interpolation)
2. delete unused resource image file (usb_keyboard.png)

Change-Id: I32010ea2577cabf58abd4c289fe8fd22c400cfb7
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agotethering: fixed compilation error on Windows. 50/13050/1
Kitae Kim [Wed, 27 Nov 2013 08:00:27 +0000 (17:00 +0900)]
tethering: fixed compilation error on Windows.

EISCONN is not defined on MinGW and others things.

Change-Id: Ic775f355ffcb75481f89de1baa58dbe36f213cce
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agodisplay: changed the blank-guide image size 13/13013/1
GiWoong Kim [Wed, 27 Nov 2013 05:37:16 +0000 (14:37 +0900)]
display: changed the blank-guide image size

450x450 -> 650x650

Change-Id: I10663bec2b33f3445569357dc09334282cb1692f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoconfig: modified getValidResolution function 43/12943/1
GiWoong Kim [Tue, 26 Nov 2013 06:41:50 +0000 (15:41 +0900)]
config: modified getValidResolution function

filter out the negative value from start-up arguments

Change-Id: I4bdbff17fd4c7554ed465fb890d8dcfa686721d3
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: remove dubious method used 42/12942/1
GiWoong Kim [Tue, 26 Nov 2013 05:31:23 +0000 (14:31 +0900)]
skin: remove dubious method used

1. To specify an explicit charset, I give encoding
argument for String construct.
2. define terminateImmediately function

Change-Id: Ibfd5b8e4184fb492fe9b22e3ceb123f35ed9b185
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agopackage: version up 19/12919/1
GiWoong Kim [Tue, 26 Nov 2013 02:34:16 +0000 (11:34 +0900)]
package: version up

1.7.1

Change-Id: I1c58e366fdc9eae4c59ccba52f5cc460e130e6f8
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: method for initial scale factor value determining 18/12918/1
GiWoong Kim [Mon, 25 Nov 2013 10:19:07 +0000 (19:19 +0900)]
menu: method for initial scale factor value determining

Emulator does not use fixed value(1/2x) for initial scale
factor anymore. It depend on arrange of Scale menu.
The first sub menu item of Scale menu will be choosen as
initial scale for emulator window. (except when there is
already 1/2x factor as sub menu item)

Change-Id: I1750269035d4324139adf343a76246597e2066a1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: enhance the function call of skin initialization 17/12917/1
GiWoong Kim [Mon, 25 Nov 2013 08:25:50 +0000 (17:25 +0900)]
skin: enhance the function call of skin initialization

1. declare initSkin function to express the inheritance clearly.
2. moved initialization source code to proper class.
3. modified variable name (windowHandleId -> displayHandleId)

Change-Id: Ibafa8763433fc1738365897ab179794d78981da5
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agopackage: modify tizen-kvm script 67/12867/3
Kitae Kim [Mon, 25 Nov 2013 07:24:14 +0000 (16:24 +0900)]
package: modify tizen-kvm script

Add kvm group if it does not exist,
and then activate udev to apply tizen-kvm.rules

Change-Id: I763f4e31b778dfe845e2874b543d5732ec050769
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agomaru_codec: remove codec device. 65/12865/3
Kitae Kim [Mon, 25 Nov 2013 06:22:08 +0000 (15:22 +0900)]
maru_codec: remove codec device.

maru_codec does not need to build any more,
because the device is not replaced to maru_brillcodec.

Change-Id: I9f1d2b0a990d940348247367a560f58444009b47
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge "tethering: modified connection error routine." into tizen
daiyoung kim [Tue, 26 Nov 2013 02:17:51 +0000 (18:17 -0800)]
Merge "tethering: modified connection error routine." into tizen

10 years agoMerge changes I8dfa6936,Id967ab1e,I82ab13a9 into tizen
daiyoung kim [Tue, 26 Nov 2013 02:17:39 +0000 (18:17 -0800)]
Merge changes I8dfa6936,Id967ab1e,I82ab13a9 into tizen

* changes:
  tethering: added resolution message.
  tethering: convert sensor or touch data.
  tethering: changed a way to set sensor or touch data.

10 years agoMerge "tethering: added tethering feature." into tizen
daiyoung kim [Tue, 26 Nov 2013 02:17:02 +0000 (18:17 -0800)]
Merge "tethering: added tethering feature." into tizen

10 years agoMerge "YaGL: Replace AVL trees with hashes" into tizen
daiyoung kim [Tue, 26 Nov 2013 02:16:10 +0000 (18:16 -0800)]
Merge "YaGL: Replace AVL trees with hashes" into tizen

10 years agoYaGL: Replace AVL trees with hashes 04/12904/1
Stanislav Vorobiov [Mon, 25 Nov 2013 14:53:49 +0000 (18:53 +0400)]
YaGL: Replace AVL trees with hashes

The number of OpenGL objects and/or shader
program locations can be really large in
case of heavy graphics applications, so object
lookup time matters. Using hash tables is more
appropriate since they have much less lookup
time. The difference can be seen when running
Doom3, AVL lookup function was hot in perf report

Change-Id: I46121ecd8d8c0d392fe6f3aa4aba0c96a90280ae

10 years agotethering: modified connection error routine. 75/12875/1
Kitae Kim [Mon, 11 Nov 2013 09:06:46 +0000 (18:06 +0900)]
tethering: modified connection error routine.

Added routine to handle connection refused case.
In addition to this, port number needs to be sent to ecp
when ecp is launched again after being connected.

Change-Id: Ia5a4104452024f7558febf1410b366e94ed3d8a1
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agotethering: added resolution message. 74/12874/1
Kitae Kim [Mon, 11 Nov 2013 08:37:28 +0000 (17:37 +0900)]
tethering: added resolution message.

Touch point might be different, depending on emulator resolution.
That's why resolution message is added.
In addition to this, resolution and max count for touch have to be sent
on start_ans message.

Change-Id: I8dfa69361f7ed69832d05f3c8ef26d89d6ef522c
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agotethering: convert sensor or touch data. 73/12873/1
Kitae Kim [Thu, 7 Nov 2013 11:45:54 +0000 (20:45 +0900)]
tethering: convert sensor or touch data.

Sensor data from app should be changed into ecs_sensor format.
The format is defined as sensor type, number of sensor values and each parameter.
In addition to this, touch state such as pressed or released has to changed,
because its value is different to touch device.

Change-Id: Id967ab1eb083d165656a13f39c544c5514918c3c
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agotethering: changed a way to set sensor or touch data. 72/12872/1
Kitae Kim [Thu, 7 Nov 2013 11:31:07 +0000 (20:31 +0900)]
tethering: changed a way to set sensor or touch data.

app_tethering module does not need to call set data fuction of each device.
It would be better to use wrap up functions for setting data,
because the purpose of ecs_tethering module is for communicating with ecp and each device.

Change-Id: I82ab13a96810418908aed6f5a2a6e5751b9e5df8
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agotethering: added tethering feature. 71/12871/1
Kitae Kim [Thu, 31 Oct 2013 09:28:30 +0000 (18:28 +0900)]
tethering: added tethering feature.

app_tethering is for communicating with App on target.
This module is a client side to connect App that creates sensor or touch point data
and it deliveries received data to each device.

ecs_tethering is for communicating with ECP. This module handles messages from ECP.
The messages consist of connect, disconnect, connection status and etc..

Change-Id: I2c31f785fe824fd578fafb08e9f9efe423f26ea6
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge changes I275a5231,I4eae90b7 into tizen
daiyoung kim [Mon, 25 Nov 2013 05:08:36 +0000 (21:08 -0800)]
Merge changes I275a5231,I4eae90b7 into tizen

* changes:
  YaGL: Add glFlush before makeCurrent
  YaGL/VIGS: Return glFinish

10 years agoMerge "hwkey: added reset feature." into tizen
daiyoung kim [Mon, 25 Nov 2013 05:07:05 +0000 (21:07 -0800)]
Merge "hwkey: added reset feature." into tizen

10 years agoMerge "brillcodec: added reset feature." into tizen
daiyoung kim [Mon, 25 Nov 2013 05:04:48 +0000 (21:04 -0800)]
Merge "brillcodec: added reset feature." into tizen

10 years agohwkey: added reset feature. 77/12777/1
Kitae Kim [Fri, 22 Nov 2013 10:38:04 +0000 (19:38 +0900)]
hwkey: added reset feature.

initialize numbers of buffers in the virtqueue when reset state.

Change-Id: I72c40e156ca3fa16e33f732505cd7ca012139122
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobrillcodec: added reset feature. 76/12776/1
Kitae Kim [Fri, 22 Nov 2013 10:19:41 +0000 (19:19 +0900)]
brillcodec: added reset feature.

Support reset feature and remove useless codes.

Change-Id: I05ac5cf32c9e2a43e46f699b5f7966dbd09698b6
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoYaGL: Add glFlush before makeCurrent 62/12762/1
Stanislav Vorobiov [Fri, 22 Nov 2013 06:44:39 +0000 (10:44 +0400)]
YaGL: Add glFlush before makeCurrent

On Mac OS X aglSetCurrentContext doesn't implicitly
glFlush like on linux and windows. glFlush is required
because some apps, like webkit based apps for example,
rely on this behavior

Change-Id: I275a523152369206daa1602217443f28e2e6479f

10 years agodisplay: modified Blank Guide image resizing 52/12852/1
GiWoong Kim [Fri, 22 Nov 2013 05:13:41 +0000 (14:13 +0900)]
display: modified Blank Guide image resizing

Emulator should resize the Blank Guide image
to fit the display, base on its resolution and scale.

Change-Id: If8a89f2e46068ad15fc8d5163b85108f22773093
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: modified some variable & function names 51/12851/1
GiWoong Kim [Fri, 22 Nov 2013 02:06:37 +0000 (11:06 +0900)]
display: modified some variable & function names

In Qemu, to avoid a confusing about screen size,
I changed some variable names and function names.
(set_emul_lcd_size -> set_emul_resolution)

Change-Id: I567291504aab16f04255d16351fb18e40223e1b6
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge changes I478cb1a1,I5851bbca,I4b38ab3c into tizen
daiyoung kim [Thu, 21 Nov 2013 12:14:05 +0000 (04:14 -0800)]
Merge changes I478cb1a1,I5851bbca,I4b38ab3c into tizen

* changes:
  menu: added XML schema for scale menu
  menu: prepare for dynamic scale factor
  skin: no need to set SWT interpolation on Windows/MacOS

10 years agoMerge "nfc: remove excutable permission" into tizen
daiyoung kim [Thu, 21 Nov 2013 12:12:45 +0000 (04:12 -0800)]
Merge "nfc: remove excutable permission" into tizen

10 years agoMerge "esm: Implement reset function." into tizen
daiyoung kim [Thu, 21 Nov 2013 12:12:16 +0000 (04:12 -0800)]
Merge "esm: Implement reset function." into tizen

10 years agoYaGL/VIGS: Return glFinish 61/12761/1
Stanislav Vorobiov [Thu, 21 Nov 2013 10:36:07 +0000 (14:36 +0400)]
YaGL/VIGS: Return glFinish

Though we use single host thread for all OpenGL operations
it's still not guaranteed that commands in different contexts will
be processed in order, thus, single glFinish in VIGS will not wait
for GL commands to be processed in YaGL. Because of this contents
of windows on target may appear incomplete, this was observed on
Mac OS X in particular. glFinish will reduce performance, but it'll
ensure correct rendering. Later we'll implement another approach
that'll use GL fences in order not to wait for rendering to be
completed

Change-Id: I4eae90b73f4d66cd8c7fa1939db1c18ad9751051

10 years agomenu: added XML schema for scale menu 20/12620/2
GiWoong Kim [Wed, 20 Nov 2013 05:41:12 +0000 (14:41 +0900)]
menu: added XML schema for scale menu

1. To constitute the scale menu's factor array
through XML, I declared "factorItem" element.
2. declare "blankGuide" element directly

Change-Id: I478cb1a187917d111c3b2a34e1e01f69150dbd18
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agonfc: remove excutable permission 74/12674/1
munkyu.im [Thu, 21 Nov 2013 05:14:19 +0000 (14:14 +0900)]
nfc: remove excutable permission

It was added accidentally.
So removed it.

Change-Id: I4fb6038afbf53d90bb80732b02852543c2c98f2e
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoesm: Implement reset function. 62/12662/2
SeokYeon Hwang [Thu, 21 Nov 2013 03:55:24 +0000 (12:55 +0900)]
esm: Implement reset function.

Change-Id: I0770e6011e12185b74b23af908dd3c54f719ddce
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agomenu: prepare for dynamic scale factor 19/12619/1
GiWoong Kim [Tue, 19 Nov 2013 07:29:12 +0000 (16:29 +0900)]
menu: prepare for dynamic scale factor

The range of scale factor has to depend on their
emulator resolution. Factors must be dynamic. Therefore,
the scale factor should be treated as a number.

Change-Id: I5851bbca08e1dde67c32908e8d3d7257b1293b82
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: no need to set SWT interpolation on Windows/MacOS 18/12618/1
GiWoong Kim [Tue, 19 Nov 2013 05:24:09 +0000 (14:24 +0900)]
skin: no need to set SWT interpolation on Windows/MacOS

On Ubuntu, when drawing the skin image stretched with an
interpolation algorithm, the edges of the image are faded.
This problem is not occured at Windows or MacOS.

Change-Id: I4b38ab3cf53c30ff41a039e878b326ef557aafe6
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "suspend/resume: NOT allow to add duplicated client." into tizen
daiyoung kim [Tue, 19 Nov 2013 23:59:35 +0000 (15:59 -0800)]
Merge "suspend/resume: NOT allow to add duplicated client." into tizen

10 years agoMerge "brillcodec: changed a way to release avcontext." into tizen
daiyoung kim [Tue, 19 Nov 2013 23:56:49 +0000 (15:56 -0800)]
Merge "brillcodec: changed a way to release avcontext." into tizen

10 years agobrillcodec: changed a way to release avcontext. 74/12574/1
Kitae Kim [Mon, 18 Nov 2013 11:48:25 +0000 (20:48 +0900)]
brillcodec: changed a way to release avcontext.

release_context does not need to iterate all contexts,
because codec driver manages context_id and give the context_id to device.

Change-Id: Ib464076b132e3bdeebfc204d38b2555b0b804f7e
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agosuspend/resume: NOT allow to add duplicated client. 66/12566/3
Jinhyung Choi [Tue, 19 Nov 2013 07:09:53 +0000 (16:09 +0900)]
suspend/resume: NOT allow to add duplicated client.

Change-Id: Ib1ac637058413b8051cfb9af4825ca75b80bfe94
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agopackage: version up. 60/12560/1
SeokYeon Hwang [Tue, 19 Nov 2013 05:32:32 +0000 (14:32 +0900)]
package: version up.

1.7.0

Change-Id: I37435087bafa9d0340deb4271ae7443f1e732099
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agomaru_pm: Add suspend / wakeup notifier. 59/12559/1
SeokYeon Hwang [Tue, 19 Nov 2013 05:21:19 +0000 (14:21 +0900)]
maru_pm: Add suspend / wakeup notifier.

Add suspend / wakeup notifier to tell sdb.

Change-Id: I038f70f7a97cc3b60fab357a7c637c754aa035f9
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agosuspend/resume: changed message format 36/12536/2
Jinhyung Choi [Mon, 18 Nov 2013 12:46:37 +0000 (21:46 +0900)]
suspend/resume: changed message format

The message length was set as decimal(ex. 0026).
It is changed to hexadecimal (ex. 001A) for first 4byte.

Change-Id: Ide15b65f5c7ff45b395988460aeae7b0b5053092
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>