sdk/emulator/qemu.git
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 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 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>
10 years agomaru_overlay : Fixed unintended sign extension 87/17587/2
jinhyung.jo [Thu, 6 Mar 2014 05:57:05 +0000 (14:57 +0900)]
maru_overlay : Fixed unintended sign extension

Modified composite statement to avoid sign extension.

Change-Id: Ic2fbd51efae429a3f872d2db695808a17fd2e4fa
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agoMerge "brillcodec: fix encoding video routine" into tizen
SeokYeon Hwang [Fri, 7 Mar 2014 11:28:18 +0000 (03:28 -0800)]
Merge "brillcodec: fix encoding video routine" into tizen

10 years agoMerge "brillcodec: fix segv problem on 64bit and Windows." into tizen
SeokYeon Hwang [Fri, 7 Mar 2014 11:28:02 +0000 (03:28 -0800)]
Merge "brillcodec: fix segv problem on 64bit and Windows." into tizen

10 years agoMerge "brillcodec: modify the close routine when codec operation has to be stopped...
SeokYeon Hwang [Fri, 7 Mar 2014 11:27:38 +0000 (03:27 -0800)]
Merge "brillcodec: modify the close routine when codec operation has to be stopped." into tizen

10 years agomaru_sdl : Modified the logging function. 86/17586/1
jinhyung.jo [Thu, 6 Mar 2014 05:12:55 +0000 (14:12 +0900)]
maru_sdl : Modified the logging function.

Replace the function, fprintf -> debug_ch macro(ERR).
Remove unused code.

Change-Id: Icdbb6e75dece2517210604fd83839e84ca955324
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agoMerge branch 'glesv3' into tizen 73/17373/1
Stanislav Vorobiov [Thu, 6 Mar 2014 14:26:32 +0000 (18:26 +0400)]
Merge branch 'glesv3' into tizen

Change-Id: Ic1a616ee634d6467986a1e5e33d78f66801c1b1e

10 years agoYaGL/VIGS: Version bump 63/17363/1 glesv3
Stanislav Vorobiov [Thu, 6 Mar 2014 13:49:08 +0000 (17:49 +0400)]
YaGL/VIGS: Version bump

GLESv3 merge version bump

Change-Id: Ic270b317b943ff082a4c1580845cc01a8a655173

10 years agoYaGL/VIGS: Set log level to info by default 62/17362/1
Stanislav Vorobiov [Thu, 6 Mar 2014 13:21:30 +0000 (17:21 +0400)]
YaGL/VIGS: Set log level to info by default

Change-Id: I42617a10c8cfc7535aefd633d9d95571c5106804

10 years agobrillcodec: fix encoding video routine 19/17319/1
Kitae Kim [Wed, 19 Feb 2014 03:26:35 +0000 (12:26 +0900)]
brillcodec: fix encoding video routine

Checking the length of encoded video was wrong.
It causes that emulator gets SEGV when encoding video.

Change-Id: Ic2a175dbb01b9f3d9867d4d79dc2c7598151b34a
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobrillcodec: fix segv problem on 64bit and Windows. 18/17318/1
Kitae Kim [Mon, 17 Feb 2014 02:47:43 +0000 (11:47 +0900)]
brillcodec: fix segv problem on 64bit and Windows.

The size of defined structure can be different on each OS.
That's why it causes seg problem on 64bit and Windows.

Change-Id: If6156c480b0cfe1ed13b891dbbb5296e3338a094
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobrillcodec: modify the close routine when codec operation has to be stopped. 17/17317/1
Kitae Kim [Fri, 7 Feb 2014 11:09:20 +0000 (20:09 +0900)]
brillcodec: modify the close routine when codec operation has to be stopped.

When media apps terminate their processes as moving backwards,
deinit function is not used but release_context function.

Change-Id: Ic341f2ad1e56d6ec38b9aacafe7d76ae662022d9
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobrillcodec: fix a bug when guest wants to close CodecContext instantaneously 16/17316/1
Kitae Kim [Fri, 7 Feb 2014 02:31:53 +0000 (11:31 +0900)]
brillcodec: fix a bug when guest wants to close CodecContext instantaneously

A CodecContext has to be handled by one thread in consecutive order.
However, there is an exception case when guest wants to close the context,
which is running by a worker thread.
In case, closing request will be abandoned and then,
the running thread will close the context after finishing its job.

Change-Id: Ic0e9f24661062ba6237f2952e4de332548c8de73
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge "touch: if window lose focus, turn off the multi-touch" into tizen
SeokYeon Hwang [Thu, 6 Mar 2014 08:47:54 +0000 (00:47 -0800)]
Merge "touch: if window lose focus, turn off the multi-touch" into tizen

10 years agoMerge "display: optimize a paint listener on maru_shm" into tizen
SeokYeon Hwang [Thu, 6 Mar 2014 08:47:10 +0000 (00:47 -0800)]
Merge "display: optimize a paint listener on maru_shm" into tizen

10 years agoMerge "display: no need to draw frame when blank guide is set." into tizen
SeokYeon Hwang [Thu, 6 Mar 2014 08:46:49 +0000 (00:46 -0800)]
Merge "display: no need to draw frame when blank guide is set." into tizen

10 years agotouch: if window lose focus, turn off the multi-touch 06/17306/2
GiWoong Kim [Thu, 6 Mar 2014 05:57:55 +0000 (14:57 +0900)]
touch: if window lose focus, turn off the multi-touch

When window lose its focus, turn off the multi-touch mode
on maru_shm

Change-Id: Ib5885be11fc68b175f0e60e0863cf9576a0136d3
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoDevices: data is moved into qemu from kernel 42/17242/2
Jinhyung Choi [Thu, 6 Mar 2014 05:24:49 +0000 (14:24 +0900)]
Devices: data is moved into qemu from kernel

- virtio devices: Jacks, battery, and sensor

Change-Id: I846717a99cfdac02b3d57336d385fb2c03ed08f3
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agodisplay: optimize a paint listener on maru_shm 05/17305/1
GiWoong Kim [Thu, 6 Mar 2014 04:14:33 +0000 (13:14 +0900)]
display: optimize a paint listener on maru_shm

no need to create transforms at every repaint event
no need to rearrange the touch points at every repaint event

Change-Id: I10bee8b88a39b941287eb5b2f6fd88c65418bc98
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: no need to draw frame when blank guide is set. 04/17304/1
GiWoong Kim [Wed, 5 Mar 2014 07:25:40 +0000 (16:25 +0900)]
display: no need to draw frame when blank guide is set.

There is no need to draw frame when blank guide is set.
And some variables and class names are modified.

Change-Id: I6df62aa5ff5090677c7adea2b64ab3c1823fa2ed
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoYaGL: Allow using EGL_DONT_CARE in eglChooseConfig 03/17203/1
Stanislav Vorobiov [Wed, 5 Mar 2014 08:55:45 +0000 (12:55 +0400)]
YaGL: Allow using EGL_DONT_CARE in eglChooseConfig

EGL_DONT_CARE must be allowed to be used in config
attributes

Change-Id: If20440b863a5525d8f0d63c4d778db65f7959ff6

10 years agopackage: version up 37/17137/1
GiWoong Kim [Tue, 4 Mar 2014 08:10:32 +0000 (17:10 +0900)]
package: version up

1.7.23

Change-Id: I10575d9ec4221ab60c1a26daf4c283ee42895c19
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: modified SDK version loading 36/17136/1
GiWoong Kim [Tue, 4 Mar 2014 07:52:05 +0000 (16:52 +0900)]
skin: modified SDK version loading

As the Version Manager changes, version file path was changed.
([SDK_ROOT]/tools/emulator/etc/version -> [SDK_ROOT]/sdk.version)
And file format was changed also.
(text -> property)

Change-Id: I88578a653e6f4ca02f93cfb13cc258593d3cdb65
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomouse: disable wheel emulation when TSP is added 35/17135/1
GiWoong Kim [Thu, 27 Feb 2014 03:00:23 +0000 (12:00 +0900)]
mouse: disable wheel emulation when TSP is added

Change-Id: I6279c267699c884382b5fd88b16a26cf3dbac2e3
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: no need to load png icon file 34/17134/1
GiWoong Kim [Tue, 4 Mar 2014 05:22:13 +0000 (14:22 +0900)]
skin: no need to load png icon file

Change-Id: If14516cbffd9c8c4c1b3d0a4bdc33e9794b4e567
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoYaGL: Always use EBO with glDrawElementsXXX 29/17029/1
Stanislav Vorobiov [Sat, 1 Mar 2014 16:12:34 +0000 (20:12 +0400)]
YaGL: Always use EBO with glDrawElementsXXX

OpenGL 3.1+ core requires that glDrawElementsXXX
be called with EBO bound

Change-Id: Id553c682407ae9da2d0a21fe9065d9eb95122c00

10 years agoVIGS: Try harder to get OpenGL 3.2 core context 25/17025/1
Stanislav Vorobiov [Sat, 1 Mar 2014 09:38:41 +0000 (13:38 +0400)]
VIGS: Try harder to get OpenGL 3.2 core context

Querying for just OpenGL 3.1 isn't enough,
the implementation MAY return OpenGL 3.x where x > 1,
but it's not guaranteed. Thus, we must try to create
another context explicitly specifying OpenGL 3.2 core,
if that fails then we know for sure that OpenGL 3.2 core
isn't supported

Change-Id: I8625c65ed8f4781a94e03fff86ac737e514b0c69

10 years agoVIGS: Use proper shader versions 24/17024/1
Stanislav Vorobiov [Sat, 1 Mar 2014 09:11:16 +0000 (13:11 +0400)]
VIGS: Use proper shader versions

We need to use 120 shaders when in legacy mode and
140 shaders when in GL3 mode

Change-Id: Ic9cd8aee5a9dd936c57f40c9d255f7497f158c45

10 years agoVIGS/YaGL: Support OpenGL 3.1+ core on windows 35/16835/1
Stanislav Vorobiov [Mon, 24 Feb 2014 18:11:31 +0000 (22:11 +0400)]
VIGS/YaGL: Support OpenGL 3.1+ core on windows

On windows we use WGL_ARB_create_context for that

Change-Id: Ib032f4dc45d36d50b1af440f71d8d97ba5eb950a

10 years agoYaGL: Return nVidia GL_UNPACK_ALIGNMENT bug workaround 56/16756/1
Stanislav Vorobiov [Mon, 24 Feb 2014 10:53:08 +0000 (14:53 +0400)]
YaGL: Return nVidia GL_UNPACK_ALIGNMENT bug workaround

Since we will use GL_ALPHA format after all we must
return that nVidia GL_UNPACK_ALIGNMENT bug workaround

Change-Id: I5cac6722e4358178d27accf30b4d2b56417482be