sdk/emulator/qemu.git
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 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

10 years agoVIGS: Fixed for windows build 55/16755/1
Stanislav Vorobiov [Mon, 24 Feb 2014 10:01:17 +0000 (13:01 +0300)]
VIGS: Fixed for windows build

Change-Id: Ib6e053a9680832c1651798f688d74ce4f47c98fb

10 years agoVIGS/YaGL: Use glMapBufferRange instead of glBufferSubData 54/16754/1
Stanislav Vorobiov [Mon, 24 Feb 2014 08:40:08 +0000 (12:40 +0400)]
VIGS/YaGL: Use glMapBufferRange instead of glBufferSubData

glBufferSubData is broken on windows, it cannot be used to
subsequently replace part of buffer data between drawing
calls, so use glMapBufferRange instead. If glMapBufferRange
is not available then use glFinish + glBufferSubData to
guarantee synchronization

Change-Id: Ic9ff0ad0ca0f18f38c92dddfc382e504b3573761

10 years agocommunication: some optimization for packet parsing 22/16722/1
GiWoong Kim [Mon, 24 Feb 2014 06:33:01 +0000 (15:33 +0900)]
communication: some optimization for packet parsing

In skin, take out the variable declaration from while loop.
To improve efficiency, delete a RecieveCommand class.

Change-Id: Icaaaee5a1d6c83000bcc91980fcff598fe842284
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoremote: removed remote sources for git separation 14/16714/1
sungmin ha [Mon, 24 Feb 2014 05:52:53 +0000 (14:52 +0900)]
remote: removed remote sources for git separation

Change-Id: Ief8618da6d4cd7bcfc12b40640af45822c042fdc
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoVIGS/YaGL: Use CGL instead of AGL 01/16701/1
Stanislav Vorobiov [Sat, 22 Feb 2014 13:39:08 +0000 (17:39 +0400)]
VIGS/YaGL: Use CGL instead of AGL

AGL is a deprecated API and it doesn't
allow one to create OpenGL 3.2 contexts, so
use CGL instead

Change-Id: Iaa63fee0aeda7348c256f177b3a96b10142870d4

10 years agoYaGL: Respect OpenGL ES context version 88/16688/1
Stanislav Vorobiov [Fri, 21 Feb 2014 12:50:39 +0000 (16:50 +0400)]
YaGL: Respect OpenGL ES context version

In order to be able to run OpenGL ES 1.0
applications with OpenGL 3.1+ core on host we
must create legacy context for it. The better solution
is to reimplement entire OpenGL ES 1.0 API using
shaders, but that's the task for the future

Change-Id: Id02dd83bc45cb78d70a1d208ce1d6e3109a181c7

10 years agoVIGS/YaGL: Using same OpenGL env variable 87/16687/1
Stanislav Vorobiov [Fri, 21 Feb 2014 12:19:31 +0000 (16:19 +0400)]
VIGS/YaGL: Using same OpenGL env variable

VIGS and YaGL should use the same env variable,
so that they could create compatible contexts

Change-Id: Ibe63f5d8abdb281a71f62118af0d0413ea8c8a7d

10 years agoskin: added some logs 82/16682/1
GiWoong Kim [Thu, 20 Feb 2014 06:00:33 +0000 (15:00 +0900)]
skin: added some logs

Change-Id: If721ffb7de1f84c1e56253371d5b2185ac7fd8f3
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocommunication: source clean-up 81/16681/1
GiWoong Kim [Wed, 12 Feb 2014 06:44:15 +0000 (15:44 +0900)]
communication: source clean-up

delete unused code, fix indenting and
add some logs

Change-Id: Idcf067d1556249a53f853d36fb32b9dabc9879af
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: no need to create toggle button 28/16628/4
GiWoong Kim [Thu, 20 Feb 2014 03:22:17 +0000 (12:22 +0900)]
skin: no need to create toggle button

no need to create toggle button when HW key
does not exist on General Purpose skin.
& clean up some codes

Change-Id: I3d04e488ef7b27b9550b5305b155e903bc81e97a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocommunication: block the Alt+F4 event for a while 61/16561/2
GiWoong Kim [Fri, 14 Feb 2014 09:35:32 +0000 (18:35 +0900)]
communication: block the Alt+F4 event for a while

When short cut(Alt+F4) key repeating, block the event for a while

Change-Id: I781b5be4b40600c95f6ece2324c20bb40f560994
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: added schema for Ram Dump menu 60/16560/2
GiWoong Kim [Thu, 13 Feb 2014 11:52:04 +0000 (20:52 +0900)]
menu: added schema for Ram Dump menu

Now, user can configure the Ram Dump menu
(Right click popup>Advanced>Diagnosis>Ram Dump)
by skin layout XML file.

Change-Id: I215457bf84ef2aaa5344da6113cf2db2a95e7ae6
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: refactoring for popup menu creation 59/16559/2
GiWoong Kim [Thu, 13 Feb 2014 04:25:11 +0000 (13:25 +0900)]
menu: refactoring for popup menu creation

define return value for item creation
delete unused code & etc

Change-Id: Id22405af6308e1a9a5ae95282c03f67ba561be1b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoVIGS: Fixed for OpenGL 3.1+ core 62/16662/1
Stanislav Vorobiov [Thu, 20 Feb 2014 16:51:02 +0000 (20:51 +0400)]
VIGS: Fixed for OpenGL 3.1+ core

We've reimplemented everything using shaders
and VBOs, since this is the only way to go
in OpenGL 3.1+ core

Change-Id: I7a6787c74910e52fe06242499535d1be9137b3ef

10 years agoVIGS: Add 'draw_pixels' operation to winsys_surface 56/16656/1
Stanislav Vorobiov [Mon, 17 Feb 2014 15:49:27 +0000 (19:49 +0400)]
VIGS: Add 'draw_pixels' operation to winsys_surface

We introduce new method to winsys_surface - draw_pixels,
some winsys_interface users just want to write raw pixel data
to surfaces, they don't care if it's OpenGL texture
or some memory chunk or something else, so we provide
a generic way to write pixel data to winsys surfaces

Change-Id: I9d2e2ac17c88ea844c02d2160986c44642285735

10 years agoVIGS: Implemented plane support 55/16655/1
Stanislav Vorobiov [Mon, 10 Feb 2014 16:50:35 +0000 (20:50 +0400)]
VIGS: Implemented plane support

We now support up to 2 hardware planes
with z-ordering and scaling. This patch also
adds surface scanout flag support. Surface scanout
flag is used as a hint that helps the host to decide
how to process the surface - either upload it to texture
or continously scanout data out of surface's VRAM

Change-Id: Ia5ac6014cfd0b49f80c4593763ee86966cf23c2a

10 years agoMerge branch 'tizen' into glesv3 45/16645/1
Stanislav Vorobiov [Thu, 20 Feb 2014 08:15:56 +0000 (12:15 +0400)]
Merge branch 'tizen' into glesv3

Change-Id: I69a1dd3c0cbbea7b7fd19e86e6c726feb785c1cb

10 years agoVIGS: Fix fence ack losses 41/16641/1
Stanislav Vorobiov [Thu, 20 Feb 2014 07:57:39 +0000 (11:57 +0400)]
VIGS: Fix fence ack losses

It's incorrect to have vblank enable/disable flag
in INT register, it can cause fence ack losses, consider
the following scenario:
1. Fence interrupt is set on host, fence_pending bit is
   set in INT register
2. vblank is turned off on guest, INT register is being
   written to and since fence_pending bit is 1 it's
   CLEARED on host
3. Now guest handles fence IRQ, but fence_pending bit
   is 0, thus, fence ack is lost

The solution is to have separate register - CON and
vblank enable/disable bit should be there

Change-Id: I1ff97d4cf8cddaec65dfe9d4c1afef3d901b4825