sdk/emulator/qemu.git
10 years agodisplay: Add dirty flag for display 84/19484/2
GiWoong Kim [Fri, 11 Apr 2014 07:01:58 +0000 (16:01 +0900)]
display: Add dirty flag for display

At idle screen moment, there is no need to copy framebuffers
to the display.

Change-Id: I4006e5732de947ce1617161182ca901b179c9423
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge changes I1b071d12,I55ce8eab into tizen
SeokYeon Hwang [Mon, 14 Apr 2014 07:12:14 +0000 (00:12 -0700)]
Merge changes I1b071d12,I55ce8eab into tizen

* changes:
  build: add enable-curl option
  package: version up

10 years agobuild: add enable-curl option 82/19482/1
Kitae Kim [Fri, 11 Apr 2014 09:58:24 +0000 (18:58 +0900)]
build: add enable-curl option

libcurl is used for osutil. It has to be checked at configure time.

Change-Id: I1b071d129b394a4edd57f6e86a71f6e82e2f611f
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agocommunication: modified hb signal period 59/19359/1
GiWoong Kim [Wed, 9 Apr 2014 05:48:59 +0000 (14:48 +0900)]
communication: modified hb signal period

The initial period of HB signal needs a bit tuning
in case of low performance machine.

Change-Id: I08274b7ea6526aea9d356e5474bd0aa08236922a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agopackage: version up 61/19361/1
Kitae Kim [Fri, 11 Apr 2014 06:12:37 +0000 (15:12 +0900)]
package: version up

1.7.34

Change-Id: I55ce8eaba4cdb53a1f6dbf9323e5336e6e57a5ae
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agopackage: version up 92/19292/1
GiWoong Kim [Thu, 10 Apr 2014 05:16:28 +0000 (14:16 +0900)]
package: version up

1.7.33

Change-Id: I6218a3e6b132ddd744888293a00aa8bdaabe5e77
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoemulator: add kernel parameter 91/19291/2
GiWoong Kim [Thu, 10 Apr 2014 03:44:18 +0000 (12:44 +0900)]
emulator: add kernel parameter

In some cases, guest needs VM resolution value.
(e.g. touchscreen driver, model-config.xml)
In order to read that values from host easily,
I added resolution parameters for kernel.

Change-Id: I615ec909e517e2628cc727ec77d7d86a18d0c8c8
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agopackage : version up 31/19231/1
haken kim [Wed, 9 Apr 2014 06:55:11 +0000 (15:55 +0900)]
package : version up

1.7.32

Change-Id: I5024f5387e68792d6f97a99a1f03c5861cb26488
Signed-off-by: haken kim <haken.kim@samsung.com>
10 years agoMerge "skin: using sensor device" into tizen
SeokYeon Hwang [Wed, 9 Apr 2014 06:30:05 +0000 (23:30 -0700)]
Merge "skin: using sensor device" into tizen

10 years agolog bug fix for 93/19193/1
haken kim [Tue, 8 Apr 2014 10:28:12 +0000 (19:28 +0900)]
log bug fix for
sdcard attach/detach support

Change-Id: I1c5ae6015c576c729c050da0ccebdd09d3fab6d9
Signed-off-by: haken kim <haken.kim@samsung.com>
10 years agoskin: using sensor device 86/19186/1
GiWoong Kim [Tue, 8 Apr 2014 09:22:12 +0000 (18:22 +0900)]
skin: using sensor device

When emulator window is rotated, sensor value must be updated by its device

Change-Id: Ia3201b3ea6c6c06aa3fbcce652c8fbdfe8ab4888
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "ecs : sdcard attach/detach support" into tizen
Sangho Park [Tue, 8 Apr 2014 05:45:33 +0000 (22:45 -0700)]
Merge "ecs : sdcard attach/detach support" into tizen

10 years agobuild: make configure better, especially on windows 01/19101/2
Kitae Kim [Mon, 7 Apr 2014 10:30:37 +0000 (19:30 +0900)]
build: make configure better, especially on windows

Change the way to search libraries and headers such as libpng and libcurl.

Change-Id: Ic7743d4196968b0dc702d858dcce52fc4d0671fb
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoecs : sdcard attach/detach support 13/19013/3
haken kim [Fri, 4 Apr 2014 03:04:44 +0000 (12:04 +0900)]
ecs : sdcard attach/detach support

Change-Id: Id64f007a89678eb9b517c61fab71d6bb5665e341
Signed-off-by: haken kim <haken.kim@samsung.com>
10 years agobuild: Fix DIBS build break on Windows. 31/19031/1
Kitae Kim [Fri, 4 Apr 2014 09:21:26 +0000 (18:21 +0900)]
build: Fix DIBS build break on Windows.

Change-Id: I33d311b14f3b72e15d437c17193c79dc419d2cc9
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge changes I5663d976,I66f0f431 into tizen
SeokYeon Hwang [Fri, 4 Apr 2014 02:19:39 +0000 (19:19 -0700)]
Merge changes I5663d976,I66f0f431 into tizen

* changes:
  menu: modified CopyToClipboard on Ubuntu 64bit
  skin: modified destination for libclipboard

10 years agoMerge "screenshot: modified CopyToClipboard on Ubuntu 64bit" into tizen
SeokYeon Hwang [Fri, 4 Apr 2014 02:19:20 +0000 (19:19 -0700)]
Merge "screenshot: modified CopyToClipboard on Ubuntu 64bit" into tizen

10 years agoMerge "package: modified build scripts on Windows and Mac" into tizen
SeokYeon Hwang [Fri, 4 Apr 2014 02:17:44 +0000 (19:17 -0700)]
Merge "package: modified build scripts on Windows and Mac" into tizen

10 years agopackage: modified build scripts on Windows and Mac 05/19005/3
Kitae Kim [Fri, 4 Apr 2014 01:30:13 +0000 (10:30 +0900)]
package: modified build scripts on Windows and Mac

As emulator-lib-dev package is updated,
remove unnecessary cflags and ldflags.

Change-Id: I05eaafc040f7b7342b7ab4d3aa6c27f2000153cd
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobuild: Remove old W/A for MinGW gcc. 95/18895/1
SeokYeon Hwang [Wed, 2 Apr 2014 11:27:37 +0000 (20:27 +0900)]
build: Remove old W/A for MinGW gcc.

Change-Id: Ib4965c96c293e13ce3f9599c39a2f4fb5f0946a1
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobuild: Avoid pkg-config bug on Windows 89/18889/2
SeokYeon Hwang [Wed, 2 Apr 2014 10:13:42 +0000 (19:13 +0900)]
build: Avoid pkg-config bug on Windows

Change-Id: I1754489290eaf18e4b2a263eb23b6a6f1ba31098
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobuild: Fix a link error on the recent GCC 67/18867/1
SeokYeon Hwang [Wed, 2 Apr 2014 08:10:26 +0000 (17:10 +0900)]
build: Fix a link error on the recent GCC

Change-Id: I2278c58c57798e7bf5050fea8661ca25b0fbcc78
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobuild: clean up build related files 64/18864/2
SeokYeon Hwang [Wed, 2 Apr 2014 08:01:00 +0000 (17:01 +0900)]
build: clean up build related files

1. Introduce TIZEN_SDK_DEV_PATH
2. Apply "--enable-libav" as a default
3. A "swt.jar" can be placed in TIZEN_SDK_DEV_PATH

Change-Id: I0dec0ed6951e771845ce33e01890644882f1b763
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agomenu: modified CopyToClipboard on Ubuntu 64bit 52/18852/1
GiWoong Kim [Fri, 21 Mar 2014 11:35:54 +0000 (20:35 +0900)]
menu: modified CopyToClipboard on Ubuntu 64bit

replace JNI-GTK to Python-GTK

Change-Id: I5663d9768eeb5e78979295615fd91577febac17f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: modified destination for libclipboard 51/18851/1
GiWoong Kim [Thu, 20 Mar 2014 08:26:22 +0000 (17:26 +0900)]
skin: modified destination for libclipboard

Change-Id: I66f0f4318fa2d538a3176ae459e99476856013d6
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoscreenshot: modified CopyToClipboard on Ubuntu 64bit 50/18850/1
GiWoong Kim [Thu, 20 Mar 2014 06:39:07 +0000 (15:39 +0900)]
screenshot: modified CopyToClipboard on Ubuntu 64bit

On Ubuntu 12.04 64bit, SWT setContents function doesn't work
with image. Therefore, I replaced to GTK function using JNI.

Change-Id: Icf0b367d24654d4b704d84581bccf01723cb8518
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "package: modified build script on Windows." into tizen
SeokYeon Hwang [Tue, 1 Apr 2014 09:57:20 +0000 (02:57 -0700)]
Merge "package: modified build script on Windows." into tizen

10 years agopackage: modified build script on Windows. 96/18796/1
Kitae Kim [Tue, 1 Apr 2014 08:49:52 +0000 (17:49 +0900)]
package: modified build script on Windows.

Change-Id: I9738399e375c70909e258eb54dcff8c1b8efff43
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge "check-gl: updated for YaGL/VIGS" into tizen
SeokYeon Hwang [Tue, 1 Apr 2014 06:56:21 +0000 (23:56 -0700)]
Merge "check-gl: updated for YaGL/VIGS" into tizen

10 years agopackage: version up 81/18781/1
Kitae Kim [Tue, 1 Apr 2014 06:51:11 +0000 (15:51 +0900)]
package: version up

1.7.30

Change-Id: I62c39516a4f220d563d4a028c7949b943250e6aa
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agocheck-gl: updated for YaGL/VIGS 53/18753/1
Stanislav Vorobiov [Fri, 28 Mar 2014 14:25:30 +0000 (18:25 +0400)]
check-gl: updated for YaGL/VIGS

Change-Id: Ie6421de6ccb0b9a3a2460d114950a9fb190f4d95
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoMerge "configure: add enable-libav option" into tizen
Sangho Park [Fri, 28 Mar 2014 09:19:27 +0000 (02:19 -0700)]
Merge "configure: add enable-libav option" into tizen

10 years agoMerge "osutil: improve error handling" into tizen
Sangho Park [Fri, 28 Mar 2014 09:19:03 +0000 (02:19 -0700)]
Merge "osutil: improve error handling" into tizen

10 years agoMerge changes Iab4650aa,I750bf92f into tizen
Sangho Park [Fri, 28 Mar 2014 09:18:49 +0000 (02:18 -0700)]
Merge changes Iab4650aa,I750bf92f into tizen

* changes:
  brillcodec: fix dereference after null check and initialize variables.
  qemu: fix dereference before null check

10 years agoosutil: improve error handling 76/18676/2
Kitae Kim [Mon, 10 Feb 2014 02:16:33 +0000 (11:16 +0900)]
osutil: improve error handling

 - check return value and write an error message.

Change-Id: Iad444a885b729e5b9d3027b87de1276433b305cc
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobrillcodec: fix dereference after null check and initialize variables. 75/18675/2
Kitae Kim [Fri, 28 Mar 2014 01:54:13 +0000 (10:54 +0900)]
brillcodec: fix dereference after null check and initialize variables.

Change-Id: Iab4650aaf32a554caef6752b570c1874ba6d1ab0
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoqemu: fix dereference before null check 74/18674/2
Kitae Kim [Fri, 28 Mar 2014 01:27:53 +0000 (10:27 +0900)]
qemu: fix dereference before null check

Change-Id: I750bf92f87ed2103f696ba3f8812075744941722
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoconfigure: add enable-libav option 83/18683/1
Kitae Kim [Wed, 26 Mar 2014 11:59:03 +0000 (20:59 +0900)]
configure: add enable-libav option

qemu compiles codec module, depending on enable-libav option

Change-Id: If0faa7656ee8d0eff0ebb004cb3f369a755a269e
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoECS: removed unused code & added error handling 80/18680/1
Jinhyung Choi [Fri, 28 Mar 2014 04:43:58 +0000 (13:43 +0900)]
ECS: removed unused code & added error handling

Change-Id: I5d3e738d12b993ebdc8760702b625a3c0094f532
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoVirtGL : Bug fixes 21/18621/1
jinhyung.jo [Thu, 27 Mar 2014 07:21:39 +0000 (16:21 +0900)]
VirtGL : Bug fixes

prevent memory leaks, release the memory that allocated internally when go out it's scope
add a processing when the current_qsurface pointer is NULL
fix incorrect error handling that causes a null pointer dereferencing

Change-Id: I0ded58fb33ec234d42f3b5f890b77f50ed75a198
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agoMerge "brillcodec: upgrade libav version linked to qemu" into tizen
Sangho Park [Thu, 27 Mar 2014 05:56:51 +0000 (22:56 -0700)]
Merge "brillcodec: upgrade libav version linked to qemu" into tizen

10 years agoMerge "libav: remove libav from qemu" into tizen
Sangho Park [Thu, 27 Mar 2014 05:56:07 +0000 (22:56 -0700)]
Merge "libav: remove libav from qemu" into tizen

10 years agoMerge "VirtGL : Modified source files" into tizen
Sangho Park [Thu, 27 Mar 2014 05:55:34 +0000 (22:55 -0700)]
Merge "VirtGL : Modified source files" into tizen

10 years agoECS: added device_ans message 01/18601/1
Jinhyung Choi [Thu, 27 Mar 2014 05:36:52 +0000 (14:36 +0900)]
ECS: added device_ans message

Change-Id: Iebce75827f3da1778e3f38c1bdc3c56efd40b5cf
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoVirtGL : Modified source files 76/18576/1
jinhyung.jo [Wed, 26 Mar 2014 08:20:03 +0000 (17:20 +0900)]
VirtGL : Modified source files

as the QEMU coding style

Change-Id: If1134995efeaabc9502cfec5bd0f2005f6d43af1
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agopackage: vesrion up 68/18568/1
GiWoong Kim [Wed, 26 Mar 2014 07:36:25 +0000 (16:36 +0900)]
package: vesrion up

1.7.28

Change-Id: Ic1ef024479d0350730e8fbd231b3c388d4e25905
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agobrillcodec: upgrade libav version linked to qemu 80/18580/1
Kitae Kim [Thu, 20 Mar 2014 12:00:05 +0000 (21:00 +0900)]
brillcodec: upgrade libav version linked to qemu

Libav linked to qemu has been upgraded into 9.8 version from 0.7.2.
There are some changes because of this upgrade.
 - Libav is linked to qemu as a shared library
 - Encoding video and audio function are modified because of libav APIs.

Change-Id: Ibb1c7753f0ffa9b5d451ffd903fee040cc5d3ec0
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agolibav: remove libav from qemu 79/18579/1
Kitae Kim [Wed, 19 Mar 2014 07:38:53 +0000 (16:38 +0900)]
libav: remove libav from qemu

As separate libav from qemu, it is easy to maintain qemu source.
In addition to this, as libav will be linked dynamically to qemu,
the size of qemu binary will be reduced.

Change-Id: I5d2a7d3657abf9797a47a1055afc39fe1bfeb56b
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agodisplay: include header for Windows 67/18567/1
GiWoong Kim [Wed, 26 Mar 2014 07:19:47 +0000 (16:19 +0900)]
display: include header for Windows

Change-Id: I4ffa19aa47f7be39db388f93fcd39e929065a9bc
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "package: version up" into tizen
SeokYeon Hwang [Wed, 26 Mar 2014 06:47:28 +0000 (23:47 -0700)]
Merge "package: version up" into tizen

10 years agoMerge "VIGS: Fix bad DisplaySurface access" into tizen
SeokYeon Hwang [Wed, 26 Mar 2014 06:46:17 +0000 (23:46 -0700)]
Merge "VIGS: Fix bad DisplaySurface access" into tizen

10 years agopackage: version up 63/18563/1
GiWoong Kim [Wed, 26 Mar 2014 06:37:05 +0000 (15:37 +0900)]
package: version up

1.7.27

Change-Id: I4f780471cb67de6c2df7d53276b2c8be9ab88d90
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "LOG: changed log printing option from INFO to TRACE" into tizen
SeokYeon Hwang [Wed, 26 Mar 2014 06:41:20 +0000 (23:41 -0700)]
Merge "LOG: changed log printing option from INFO to TRACE" into tizen

10 years agoMerge changes I6cb2ed95,If7a44181 into tizen
SeokYeon Hwang [Wed, 26 Mar 2014 06:40:44 +0000 (23:40 -0700)]
Merge changes I6cb2ed95,If7a44181 into tizen

* changes:
  skin: dereference after null check
  display: block the updating while surface switching

10 years agoMerge "VIGS/YaGL: fixes some code" into tizen
Sangho Park [Wed, 26 Mar 2014 06:30:25 +0000 (23:30 -0700)]
Merge "VIGS/YaGL: fixes some code" into tizen

10 years agoVIGS: Fix bad DisplaySurface access 58/18558/1
Stanislav Vorobiov [Wed, 26 Mar 2014 06:01:04 +0000 (10:01 +0400)]
VIGS: Fix bad DisplaySurface access

vigs_server_update_display may update DisplaySurface,
so vigs_hw_update must fetch it again

Change-Id: Iaabe9be4d3467d96a0b8c5360360437bc9dbb2a2
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoLOG: changed log printing option from INFO to TRACE 54/18554/1
Jinhyung Choi [Wed, 26 Mar 2014 04:48:01 +0000 (13:48 +0900)]
LOG: changed log printing option from INFO to TRACE

Change-Id: I976d34674e42a42aea5bd47d48785a8005bfc82b
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoskin: dereference after null check 53/18553/1
GiWoong Kim [Wed, 26 Mar 2014 04:14:19 +0000 (13:14 +0900)]
skin: dereference after null check

Change-Id: I6cb2ed95c031ca6dadbd5404e0b31228e772b3f4
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: block the updating while surface switching 52/18552/1
GiWoong Kim [Tue, 25 Mar 2014 10:04:07 +0000 (19:04 +0900)]
display: block the updating while surface switching

block the display updating while surface switching
on maru_sdl

Change-Id: If7a44181d1fe2c80c1fb19842746427486973774
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "YaGL: Workaround broken UBO on some platforms" into tizen
SeokYeon Hwang [Tue, 25 Mar 2014 09:21:44 +0000 (02:21 -0700)]
Merge "YaGL: Workaround broken UBO on some platforms" into tizen

10 years agoMerge changes I53c4cbc0,I73dec458,Idb5215ee into tizen
SeokYeon Hwang [Tue, 25 Mar 2014 09:20:55 +0000 (02:20 -0700)]
Merge changes I53c4cbc0,I73dec458,Idb5215ee into tizen

* changes:
  menu: fixed size is not necessary on About dialog
  touch: move log printing line
  display: modified qemu_ds_sdl_switch func

10 years agoMerge "display: display re-painting on Ubuntu" into tizen
SeokYeon Hwang [Tue, 25 Mar 2014 09:20:30 +0000 (02:20 -0700)]
Merge "display: display re-painting on Ubuntu" into tizen

10 years agoemulator: improve error handling 07/18507/1
Kitae Kim [Mon, 10 Feb 2014 02:29:21 +0000 (11:29 +0900)]
emulator: improve error handling

 - check return value and write an error message.

Change-Id: Ic92635ac19825dd2eb3899f15cf3f3da5a923f13
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agotethering: improve error handling 06/18506/1
Kitae Kim [Tue, 25 Mar 2014 02:16:58 +0000 (11:16 +0900)]
tethering: improve error handling

check return value when using socket api

Change-Id: I0ef78504cd616457bbc112a7c14c3f7972972fb3
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agomenu: fixed size is not necessary on About dialog 03/18503/1
GiWoong Kim [Thu, 27 Feb 2014 10:17:43 +0000 (19:17 +0900)]
menu: fixed size is not necessary on About dialog

Change-Id: I53c4cbc019ed0aaf090d8da58d98644456f8c6da
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: display re-painting on Ubuntu 00/18500/1
GiWoong Kim [Mon, 17 Mar 2014 09:37:55 +0000 (18:37 +0900)]
display: display re-painting on Ubuntu

display should be redrawn When host OS wakes up from suspend
on Ubuntu

Change-Id: I3a2505337574617f05189cf679728a86afe4715a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agotouch: move log printing line 02/18502/1
GiWoong Kim [Thu, 20 Mar 2014 03:48:26 +0000 (12:48 +0900)]
touch: move log printing line

Change-Id: I73dec458468375477ec3eb8b38a55811e5aa0443
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: modified qemu_ds_sdl_switch func 01/18501/1
GiWoong Kim [Mon, 17 Mar 2014 09:38:43 +0000 (18:38 +0900)]
display: modified qemu_ds_sdl_switch func

display surface must be replaced within lock period

Change-Id: Idb5215ee1f4eb4400615a04be7b627429a4394bf
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoYaGL: Workaround broken UBO on some platforms 82/18482/1
Stanislav Vorobiov [Mon, 24 Mar 2014 07:52:52 +0000 (11:52 +0400)]
YaGL: Workaround broken UBO on some platforms

Some platforms (like Mac OS X 10.8) have broken UBO support.
The problem is that if an UB is unnamed it still requires a name, i.e.:

uniform myUB
{
    mat4 myMatrix;
};

API should be able to reference myMatrix as "myMatrix", but broken
UBO platform expects "myUB.myMatrix".
For named UBs there's no error however:

uniform myUB
{
    mat4 myMatrix;
} myUBName;

Here myMatrix is referenced as "myUB.myMatrix" (yes, myUB, not myUBName)
and this is correct.

To work around the problem we must patch index lookups
by UB name when needed

Change-Id: I0e73f32b116469d2bffbf8fee2a2129f7cff8cb7
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agodump backtrace : disable to compile followings 84/18284/1
Geunhae LEE [Thu, 20 Mar 2014 05:04:52 +0000 (14:04 +0900)]
dump backtrace : disable to compile followings
- signal handler registeration-relatives

Change-Id: I88bb971c56d2b3063b65e81be2b1a7a537358b15
Signed-off-by: Geunhae LEE <geunhae.lee@samsung.com>
10 years agoDevice ARGS: added device properties option for sensors & jacks 81/18281/1
Jinhyung Choi [Thu, 20 Mar 2014 02:13:18 +0000 (11:13 +0900)]
Device ARGS: added device properties option for sensors & jacks

Sensor devices contains accel, geo, gyro, light and proxi sensors.
By device properties, sensor device turn on sensors selectively.
The option is now changed to

"-device virtio-sensor-pci,sensors=accel&geo&gyro&light&proxi"

Jack device is very similar to sensor device.
It contains earjack, earkey, charger, usb and hdmi.
Jack device's option is

"-device virtio-jack-pci,jacks=earjack&usb&charger"

Change-Id: If67ce1adf64a22225fe6f28e1ddb16d558e87c7a
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agomloop_event: remove unused codes. 15/18015/3
Kitae Kim [Fri, 24 Jan 2014 02:30:22 +0000 (11:30 +0900)]
mloop_event: remove unused codes.

Since keyboard device start to handle input event using qemu_bh_schedule(),
the removed source are not used any more.

Change-Id: I7add7c974a33b22b6dd96c1055b893edf856be52
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge "mloop_event: remove memory illegal accesses improve error handling" into tizen
SeokYeon Hwang [Wed, 19 Mar 2014 07:04:03 +0000 (00:04 -0700)]
Merge "mloop_event: remove memory illegal accesses improve error handling" into tizen

10 years agoVIGS/YaGL: fixes some code 32/18232/1
jinhyung.jo [Wed, 19 Mar 2014 02:22:30 +0000 (11:22 +0900)]
VIGS/YaGL: fixes some code

yagl_server.c
    Add a null-pointer checking statement
yagl_device.c & vigs_gl_backend.c
    Remove statements that is not used, because the conditions cannot be true.

Change-Id: Iee478bf6caafe5dab352f26afc4c3ac1413f6ef4
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agomloop_event: remove memory illegal accesses improve error handling 14/18014/5
Kitae Kim [Fri, 24 Jan 2014 01:37:51 +0000 (10:37 +0900)]
mloop_event: remove memory illegal accesses improve error handling

Change-Id: I6804ac4c720cbc458c02e84494d14c64d2f98730
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge changes I84207576,I988276c6 into tizen
SeokYeon Hwang [Wed, 19 Mar 2014 04:45:17 +0000 (21:45 -0700)]
Merge changes I84207576,I988276c6 into tizen

* changes:
  mloop_event: fix insecure data handling
  osutil: fix buffer overflow case on linux.

10 years agoMerge "Emulator Manager : Add function to ECS for monitoring of running VM." into...
SeokYeon Hwang [Wed, 19 Mar 2014 04:43:13 +0000 (21:43 -0700)]
Merge "Emulator Manager : Add function to ECS for monitoring of running VM." into tizen

10 years agoEmulator Manager : Add function to ECS for monitoring of running VM. 43/18043/4
minkee.lee [Fri, 14 Mar 2014 09:11:54 +0000 (18:11 +0900)]
Emulator Manager : Add function to ECS for monitoring of running VM.

Change-Id: I6959a3e77b4186cda6609b37517be7c57b8ed3cb
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
10 years agoMerge "dump backtrace: minor fixs. - remove misleading log msg - enable to pop up...
SeokYeon Hwang [Tue, 18 Mar 2014 05:27:59 +0000 (22:27 -0700)]
Merge "dump backtrace: minor fixs. - remove misleading log msg - enable to pop up err msg box under registered error circumstances on atexit" into tizen

10 years agomloop_event: fix insecure data handling 13/18013/2
Kitae Kim [Thu, 23 Jan 2014 10:39:38 +0000 (19:39 +0900)]
mloop_event: fix insecure data handling

When casting keyboard opaque with uint64,
its value might be corrupted on 32bit OS.

Change-Id: I84207576c5b0b784ff8e28f2aaea1346d9dea4bb
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoosutil: fix buffer overflow case on linux. 12/18012/2
Kitae Kim [Wed, 22 Jan 2014 02:43:59 +0000 (11:43 +0900)]
osutil: fix buffer overflow case on linux.

The buffer that indicates the path of emulator log is bigger than
a command buffer that contains log path and a linux command.

Change-Id: I988276c650311ffb5c1d0f820eb82bd8728e6c2e
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge changes Ia38ed7a3,I26c1844a into tizen
SeokYeon Hwang [Tue, 18 Mar 2014 02:59:58 +0000 (19:59 -0700)]
Merge changes Ia38ed7a3,I26c1844a into tizen

* changes:
  brillcodec: fix encoding audio routine
  brillcodec: fix broken image when seeking encoded frames.

10 years agodump backtrace: minor fixs. 57/18157/1
Geunhae LEE [Mon, 17 Mar 2014 11:53:44 +0000 (20:53 +0900)]
dump backtrace: minor fixs.
- remove misleading log msg
- enable to pop up err msg box under registered error circumstances on atexit

Change-Id: Icefd2c691ea0653123a16ce9db202cd4e594530b
Signed-off-by: Geunhae LEE <geunhae.lee@samsung.com>
10 years agoMerge "debug utility : dump backtrace whenever exit called or signal catched - teste...
SeokYeon Hwang [Mon, 17 Mar 2014 07:11:52 +0000 (00:11 -0700)]
Merge "debug utility : dump backtrace whenever exit called or signal catched  - tested on both Linux and Windows  - stack trace is printed out in emulator.log by class of err  - it only print stack trace for thread which either calls exit or catchs signals" into tizen

10 years agodebug utility : dump backtrace whenever exit called or signal catched 95/17895/4
Geunhae LEE [Wed, 12 Mar 2014 06:44:58 +0000 (15:44 +0900)]
debug utility : dump backtrace whenever exit called or signal catched
 - tested on both Linux and Windows
 - stack trace is printed out in emulator.log by class of err
 - it only print stack trace for thread which either calls exit or catchs signals

Change-Id: I45258234af329889226badb8e8455d355ded4de6
Signed-off-by: Geunhae LEE <geunhae.lee@samsung.com>
10 years agobrillcodec: fix encoding audio routine 23/18023/1
Kitae Kim [Fri, 7 Mar 2014 02:47:10 +0000 (11:47 +0900)]
brillcodec: fix encoding audio routine

When encoding, extradata is allocated by libavcodec,
and its data have to be given to gstreamer encoder plugin.
In addition to this, modify log messages.

Change-Id: Ia38ed7a37075283d3f75e0efae79f96c9a0a81a4
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobrillcodec: fix broken image when seeking encoded frames. 22/18022/1
Kitae Kim [Thu, 13 Mar 2014 02:40:18 +0000 (11:40 +0900)]
brillcodec: fix broken image when seeking encoded frames.

When encoding video, gstreamer has to set a specific flag into output
buffer whether is keyframe or not. For those information, additional
values have to be given to gstreamer plugin.

Change-Id: I26c1844aad746d701762735de8393efa7de1b580
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoremote: added build/install dependency for spice server 98/17898/1
sungmin ha [Wed, 12 Mar 2014 08:16:33 +0000 (17:16 +0900)]
remote: added build/install dependency for spice server

Change-Id: If2f9a99e276c0cae9b02e0ae568f89d06f0aef97
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge "configure: use -Wl,--large-address-aware on windows" into tizen
SeokYeon Hwang [Wed, 12 Mar 2014 08:10:35 +0000 (01:10 -0700)]
Merge "configure: use -Wl,--large-address-aware on windows" into tizen

10 years agoskin: source clean-up 34/17834/2
GiWoong Kim [Tue, 11 Mar 2014 08:07:53 +0000 (17:07 +0900)]
skin: source clean-up

add HW key informations to SkinRotations
modified some variable names
move HWKeyRegion to layout package

Change-Id: Icdd777654030f3ac4cd564ca91bf633d46913329
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge changes I72afd762,I213542ce into tizen
SeokYeon Hwang [Wed, 12 Mar 2014 08:06:01 +0000 (01:06 -0700)]
Merge changes I72afd762,I213542ce into tizen

* changes:
  Emulator : Enables host GL information to log file
  maru_camera : Fixed some problems

10 years agoMerge "maru_brightness : Prevent illegal accesses memory" into tizen
SeokYeon Hwang [Wed, 12 Mar 2014 08:04:04 +0000 (01:04 -0700)]
Merge "maru_brightness : Prevent illegal accesses memory" into tizen

10 years agoMerge "skin: modified SkinRotation class name" into tizen
SeokYeon Hwang [Wed, 12 Mar 2014 08:03:46 +0000 (01:03 -0700)]
Merge "skin: modified SkinRotation class name" into tizen

10 years agoMerge changes Ic2fbd51e,Icdbb6e75 into tizen
SeokYeon Hwang [Wed, 12 Mar 2014 08:02:48 +0000 (01:02 -0700)]
Merge changes Ic2fbd51e,Icdbb6e75 into tizen

* changes:
  maru_overlay : Fixed unintended sign extension
  maru_sdl : Modified the logging function.

10 years agoskin: modified SkinRotation class name 98/17798/2
GiWoong Kim [Tue, 11 Mar 2014 01:59:51 +0000 (10:59 +0900)]
skin: modified SkinRotation class name

SkinRotation -> SkinRotations
and move class to layout.rotation package

Change-Id: Ie8c6646b09f2122498a6f28a75b613b2986e8daf
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoconfigure: use -Wl,--large-address-aware on windows 29/17829/1
Stanislav Vorobiov [Tue, 11 Mar 2014 07:53:35 +0000 (10:53 +0300)]
configure: use -Wl,--large-address-aware on windows

On windows we always build 32-bit binary even if
host os is 64-bit. This limits emulator virtual memory
size to 2GB. -Wl,--large-address-aware linker flag
allows us to use up to 4GB of virtual memory on 64-bit
host os and up to 3GB on 32-bit host os

Change-Id: I2352a89850a72d331e3e54f6662ff76adc22868d

10 years agoskin: refactoring for rotation 97/17797/1
GiWoong Kim [Mon, 10 Mar 2014 10:28:44 +0000 (19:28 +0900)]
skin: refactoring for rotation

remove RotationInfo class & add Rotation class
use ID for rotation checking

Change-Id: I5f1d224ffaeb4c9018077d8cba4d95fa4c710888
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoEmulator : Enables host GL information to log file 90/17590/2
jinhyung.jo [Thu, 6 Mar 2014 06:14:51 +0000 (15:14 +0900)]
Emulator : Enables host GL information to log file

Modified execution oder of the prepare feature.
For the following reason,
ECS intercept the log.
Thus, changed to prepare the ECS after write GL information to the log file.

Change-Id: I72afd76294ed5d78a8b9fc9ebff62600d04dadfa
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agomaru_camera : Fixed some problems 89/17589/3
jinhyung.jo [Thu, 6 Mar 2014 06:05:39 +0000 (15:05 +0900)]
maru_camera : Fixed some problems

Change the logging function to suit the log format.
Reset the camera state when the emualtor is resetting.
Modified functions from memcpy to strcpy, because of out-of-bounds access.

Change-Id: I213542ce5a02b81ce9adb625f486d75e830aef17
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agomaru_brightness : Prevent illegal accesses memory 88/17588/2
jinhyung.jo [Thu, 6 Mar 2014 06:01:53 +0000 (15:01 +0900)]
maru_brightness : Prevent illegal accesses memory

Modified the array of the brightness level,
added one more item for level 100, to avoid illegal access.

Change-Id: I2c7c8b6899d27b7107d4c6cddeb40ece416812a6
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>