sdk/emulator/qemu.git
11 years agoMerge "skin: added SpecialKeyWindow layout schema" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:29:37 +0000 (23:29 -0700)]
Merge "skin: added SpecialKeyWindow layout schema" into tizen

11 years agoMerge "touch: menu blocking while touching" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:29:24 +0000 (23:29 -0700)]
Merge "touch: menu blocking while touching" into tizen

11 years agoMerge "menu: do not start ECP before ECS starting" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:29:11 +0000 (23:29 -0700)]
Merge "menu: do not start ECP before ECS starting" into tizen

11 years agoskin: added SpecialKeyWindow layout schema 36/10636/1
GiWoong Kim [Mon, 30 Sep 2013 08:55:20 +0000 (17:55 +0900)]
skin: added SpecialKeyWindow layout schema

Change-Id: If2339d5edb71996c546f8ad9db78eb09375f78b5
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agotouch: menu blocking while touching 35/10635/1
GiWoong Kim [Fri, 27 Sep 2013 12:31:12 +0000 (21:31 +0900)]
touch: menu blocking while touching

Change-Id: I4d9fe09507d4f145faf3dacf772c330cd69424aa
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agomenu: do not start ECP before ECS starting 34/10634/1
GiWoong Kim [Thu, 26 Sep 2013 06:51:13 +0000 (15:51 +0900)]
menu: do not start ECP before ECS starting

Change-Id: Idba8088b912b094aa1ca02453a00edcd8f69cd0a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agobrillcodec: fixed sync problem when closing avcodec. 32/10632/1
Kitae Kim [Sat, 28 Sep 2013 12:38:24 +0000 (21:38 +0900)]
brillcodec: fixed sync problem when closing avcodec.

codec_deinit function didn't raise an interrupt unlike other functions
because the function didn't need to write the result of avcodec_close.
That's why deinit call from driver and codec plugin could be accessed simultaneouly,
and in case of that, synchronous problem causes SEGV problem.

Change-Id: I290bd03446a3b43a9c87b960241317b9cfbc5119
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agobrillcodec: enable brillcodec device and disable old codec_device. 31/10631/1
Kitae Kim [Thu, 26 Sep 2013 01:21:57 +0000 (10:21 +0900)]
brillcodec: enable brillcodec device and disable old codec_device.

Change-Id: I8c7ced5e9070bb69821b4a4a8f723fabb1379fd3
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agopackage : update the package version 94/10394/1
jinhyung.jo [Tue, 1 Oct 2013 09:18:05 +0000 (18:18 +0900)]
package : update the package version

1.5.96 -> 1.5.97

Change-Id: I98a3bfc22494826b28c5430d801fd6f25eab6d7f
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agobuild : YAGL module is excluded from the build on MacOS in temparary. 93/10393/1
jinhyung.jo [Tue, 1 Oct 2013 09:16:45 +0000 (18:16 +0900)]
build : YAGL module is excluded from the build on MacOS in temparary.

This modification is temporary.
The reason is that compilation error occurs when using the clang compiler.
It caused by __thread attribute in yagl_thread, clang does not support the attribute in MacOS.

Change-Id: Id4fd6c8f0ad33e98d178a3cce5a954601e35142b
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agoMerge branch 'tizen' into sdk-develop
Yeongkyoon Lee [Thu, 26 Sep 2013 09:10:47 +0000 (18:10 +0900)]
Merge branch 'tizen' into sdk-develop

11 years agoskin: delete unused code
GiWoong Kim [Thu, 26 Sep 2013 03:19:28 +0000 (12:19 +0900)]
skin: delete unused code

Change-Id: Ice43b09a9dcb7da146cd103e4caa85ccfbf7df59
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agosensor: added legacy do_rotation_event function
GiWoong Kim [Wed, 25 Sep 2013 08:30:39 +0000 (17:30 +0900)]
sensor: added legacy do_rotation_event function

Change-Id: I3e7082740c2c480efa435201e5df0eb6a232fc36
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agosensor: replace emuld to ECS when rotating
GiWoong Kim [Wed, 25 Sep 2013 08:23:06 +0000 (17:23 +0900)]
sensor: replace emuld to ECS when rotating

replace emuld to EmulatorControlServer when skin rotating

Change-Id: I599eb8dd3b8460dc0a017bca3c508ac914fbd368
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoqemu: added ecp icon to popup menu
Jinhyung Choi [Tue, 24 Sep 2013 07:38:40 +0000 (16:38 +0900)]
qemu: added ecp icon to popup menu

Change-Id: Ib794957a9d13db11eb81d88b732c43f1c69284fa
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoMerge changes I76e3fa57,I550a0dfc into develop
daiyoung kim [Tue, 24 Sep 2013 07:05:41 +0000 (16:05 +0900)]
Merge changes I76e3fa57,I550a0dfc into develop

* changes:
  Correct formatting on Mac YaGL and Vigs modules
  Initial revision of the VIGS module for OS X

11 years agoMerge "touch: release the touch event automatically" into develop
daiyoung kim [Tue, 24 Sep 2013 06:51:34 +0000 (15:51 +0900)]
Merge "touch: release the touch event automatically" into develop

11 years agoCorrect formatting on Mac YaGL and Vigs modules
Patrick Porlan [Mon, 23 Sep 2013 13:34:35 +0000 (15:34 +0200)]
Correct formatting on Mac YaGL and Vigs modules

indent -linux -i4 -nut -ts4

11 years agoInitial revision of the VIGS module for OS X
Patrick Porlan [Wed, 18 Sep 2013 13:14:49 +0000 (15:14 +0200)]
Initial revision of the VIGS module for OS X

11 years agotouch: release the touch event automatically
GiWoong Kim [Mon, 23 Sep 2013 11:32:04 +0000 (20:32 +0900)]
touch: release the touch event automatically

release the touch event automatically when
display is switched off

Change-Id: Icf1c8660f96206492a7a553e950e11da9ceee972
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoemul_state: add vm_name
munkyu.im [Mon, 23 Sep 2013 06:31:30 +0000 (15:31 +0900)]
emul_state: add vm_name

Change-Id: I736201c05fee855420e8e6a610e8a6c513e1591f
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agoMerge "qemu: added NULL value after free for sure" into develop
daiyoung kim [Mon, 23 Sep 2013 04:29:31 +0000 (13:29 +0900)]
Merge "qemu: added NULL value after free for sure" into develop

11 years agoremove Wow6432Node
jihye kim [Tue, 17 Sep 2013 05:06:17 +0000 (14:06 +0900)]
remove Wow6432Node

Change-Id: I9cbb771034a98a763f480642a4dbdc4cdb6e3af9
Signed-off-by: jihye kim <jihye1128.kim@samsung.com>
11 years agoMerge "YaGL: Fix QEMU 1.6 merge cpu state related bugs" into develop
daiyoung kim [Tue, 17 Sep 2013 01:02:19 +0000 (10:02 +0900)]
Merge "YaGL: Fix QEMU 1.6 merge cpu state related bugs" into develop

11 years agoYaGL: Fix QEMU 1.6 merge cpu state related bugs
Stanislav Vorobiov [Mon, 16 Sep 2013 13:47:41 +0000 (17:47 +0400)]
YaGL: Fix QEMU 1.6 merge cpu state related bugs

current_cpu is not CPUX86State,
CPUX86State is in current_cpu->env_ptr now

11 years agomaru_board: disable brillcodec for a while.
Kitae Kim [Mon, 16 Sep 2013 10:54:04 +0000 (19:54 +0900)]
maru_board: disable brillcodec for a while.

QEMU might not be launched normally because of out of memory on host.
That's why brillcodec is disabled for a while until codec plugins packages are upgraded.

Change-Id: I82f5ddb46965238734cd3a734d9cbcdd0e72c4d2
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agobrillcodec: write the result of decoding audio.
Kitae Kim [Mon, 16 Sep 2013 10:52:52 +0000 (19:52 +0900)]
brillcodec: write the result of decoding audio.

Some values such as sample_rate, channels and etc. have to be returned
because of caps negotiation in the gstreamer plugin.

Change-Id: I66b19555514098c11c7d0889a7b746ef9c7bd1f8
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agopackage: version up
GiWoong Kim [Mon, 16 Sep 2013 09:26:05 +0000 (18:26 +0900)]
package: version up

1.5.95

Change-Id: If1786f63a6e1ae3a9e76bf433a335cd72c19d7e0
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: modified skin info
GiWoong Kim [Mon, 16 Sep 2013 09:24:44 +0000 (18:24 +0900)]
skin: modified skin info

delete profile property
Emulator Manager skin priority reordering

Change-Id: Ia0b1d33fbf7806b6cd6b838ca4f757a8ab52eeb7
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge "display: draw black screen on maru_shm" into develop
daiyoung kim [Mon, 16 Sep 2013 07:58:33 +0000 (16:58 +0900)]
Merge "display: draw black screen on maru_shm" into develop

11 years agoMerge "display: define optional blank-guide schema" into develop
daiyoung kim [Mon, 16 Sep 2013 07:58:24 +0000 (16:58 +0900)]
Merge "display: define optional blank-guide schema" into develop

11 years agofixed the bug
jihye kim [Mon, 16 Sep 2013 08:02:40 +0000 (17:02 +0900)]
fixed the bug
- change finding java path routine at 64bit windows (add Wow6432Node)

Change-Id: I4ff061df05059a6b260d1862b3311da0e201de26
Signed-off-by: jihye kim <jihye1128.kim@samsung.com>
11 years agodisplay: draw black screen on maru_shm
GiWoong Kim [Mon, 16 Sep 2013 06:08:32 +0000 (15:08 +0900)]
display: draw black screen on maru_shm

draw black screen until the display get a fit
console size.

Change-Id: Ieb4a41956d978692c368cf3ebae800c1d7e13043
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agodisplay: define optional blank-guide schema
GiWoong Kim [Mon, 16 Sep 2013 03:06:29 +0000 (12:06 +0900)]
display: define optional blank-guide schema

Change-Id: Ibd7814362b243d85a839bdfc98bff17c9ee56687
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge "brillcodec: changed memory allocation function." into develop
daiyoung kim [Mon, 16 Sep 2013 04:47:57 +0000 (13:47 +0900)]
Merge "brillcodec: changed memory allocation function." into develop

11 years agocommunication: expand the initial protocol for blank-guide
GiWoong Kim [Wed, 11 Sep 2013 12:54:56 +0000 (21:54 +0900)]
communication: expand the initial protocol for blank-guide

Change-Id: I86f3ebf00516c7d7d16d0b3f255be3d61e819957
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoqemu: added NULL value after free for sure
Jinhyung Choi [Fri, 13 Sep 2013 10:23:01 +0000 (19:23 +0900)]
qemu: added NULL value after free for sure

Change-Id: I3acca01644205b2aafe1bd95fa918aabedd10cc9
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agobrillcodec: changed memory allocation function.
Kitae Kim [Fri, 13 Sep 2013 10:08:09 +0000 (19:08 +0900)]
brillcodec: changed memory allocation function.

Allocate memory with g_malloc and then deallocate it with av_free for FFmpeg.
The above case causes segv problem on Windows.

Change-Id: I163fbd07228b40a6bfc2edd66a9aafe3abb9d4c4
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoVIGS : fixed a coding mistake
jinhyung.jo [Fri, 13 Sep 2013 06:38:28 +0000 (15:38 +0900)]
VIGS : fixed a coding mistake

Add a character on end of struct, ';'
It causes a build errors on MacOS.

Change-Id: Ibb68be170a39b0987f81423b9f9ceef3959c1103
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agoqemu: removed warning and unused files
Jinhyung Choi [Fri, 13 Sep 2013 06:30:17 +0000 (15:30 +0900)]
qemu: removed warning and unused files

Change-Id: I380fc53af611faada1382055736de9f89341a63f
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoMerge "qemu: removed warning and unused files" into develop
SeokYeon Hwang [Fri, 13 Sep 2013 06:23:17 +0000 (15:23 +0900)]
Merge "qemu: removed warning and unused files" into develop

11 years agoMerge changes Ie7d91400,I27431b3f into develop
SeokYeon Hwang [Fri, 13 Sep 2013 05:41:08 +0000 (14:41 +0900)]
Merge changes Ie7d91400,I27431b3f into develop

* changes:
  Change configure append position
  Fix compilation warnings on Ubuntu-64

11 years agoChange configure append position
SeokYeon Hwang [Fri, 13 Sep 2013 05:48:54 +0000 (14:48 +0900)]
Change configure append position

To override basic options

Change-Id: Ie7d91400bef7831752302a0f81463af5a693d8fc
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoFix compilation warnings on Ubuntu-64
SeokYeon Hwang [Fri, 13 Sep 2013 05:47:26 +0000 (14:47 +0900)]
Fix compilation warnings on Ubuntu-64

Change-Id: I27431b3ffe1d925281ae0392443c863ac719ea38
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agopackage: version up
Kitae Kim [Fri, 13 Sep 2013 04:12:36 +0000 (13:12 +0900)]
package: version up

Update package version.

Change-Id: I145450ec6752dcaf115e79f3ad4f268d3edaccf8
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agobrillcodec: fix a booting problem on Windows and Mac.
Kitae Kim [Thu, 12 Sep 2013 18:55:20 +0000 (03:55 +0900)]
brillcodec: fix a booting problem on Windows and Mac.

pthread_mutex variables were not used before initializing them.

Change-Id: Ibc70a6f3fe403f8849f35a3706bef11516f8d9e3
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoosutil: fixed compile error.
Kitae Kim [Thu, 12 Sep 2013 08:47:30 +0000 (17:47 +0900)]
osutil: fixed compile error.

Wrong local variable was defined.

Change-Id: I5960d70da76e5da9202be573bcf602b39c4ce249
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agofix compilation error and some warnings
munkyu.im [Thu, 12 Sep 2013 08:12:24 +0000 (17:12 +0900)]
fix compilation error and some warnings

Change-Id: Icd02a6eff474b9f7bb8adf70e57ae7255cc61b5c
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agoFix compilation error on maru_brill_codec.c
SeokYeon Hwang [Thu, 12 Sep 2013 08:30:21 +0000 (17:30 +0900)]
Fix compilation error on maru_brill_codec.c

Change-Id: Id57b12962a70c96886832ff7956dcad8e06f8510
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoMerge branch 'tizen_qemu_1.6' into develop
SeokYeon Hwang [Thu, 12 Sep 2013 08:22:11 +0000 (17:22 +0900)]
Merge branch 'tizen_qemu_1.6' into develop

11 years agoFix compilation error and some warnings for HAX
SeokYeon Hwang [Thu, 12 Sep 2013 07:18:16 +0000 (16:18 +0900)]
Fix compilation error and some warnings for HAX

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoMerge "apply modification of piix4.c to maru_pm.c" into tizen_qemu_1.6
SeokYeon Hwang [Thu, 12 Sep 2013 05:52:45 +0000 (14:52 +0900)]
Merge "apply modification of piix4.c to maru_pm.c" into tizen_qemu_1.6

11 years agoapply modification of piix4.c to maru_pm.c
jihye kim [Thu, 12 Sep 2013 05:58:59 +0000 (14:58 +0900)]
apply modification of piix4.c to maru_pm.c

Change-Id: Ib611c6afb30802818389ec59c3bdba109634fffd
Signed-off-by: jihye kim <jihye1128.kim@samsung.com>
11 years agoEnable "-Werror" compilation flag on linux.
SeokYeon Hwang [Thu, 12 Sep 2013 05:46:36 +0000 (14:46 +0900)]
Enable "-Werror" compilation flag on linux.

Now, all compilation warnings treated as errors.

Change-Id: I9538e27d8556b465dd576d8ec5f2d3fa1e7baeb7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoFix compilation warning on qemu_handler.c
SeokYeon Hwang [Thu, 12 Sep 2013 05:44:50 +0000 (14:44 +0900)]
Fix compilation warning on qemu_handler.c

Add function declaration.

Change-Id: I1223a84513497abc8402bf864f34d733889481f6
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoMerge "Add Execution permission to some scripts." into develop
daiyoung kim [Thu, 12 Sep 2013 05:39:30 +0000 (14:39 +0900)]
Merge "Add Execution permission to some scripts." into develop

11 years agoqemu: remove protobuf warning & ecs epoll_wait signal error
Jinhyung Choi [Thu, 12 Sep 2013 05:35:32 +0000 (14:35 +0900)]
qemu: remove protobuf warning & ecs epoll_wait signal error

Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoVirtGL : remove compilation warning about mipmap
jinhyung.jo [Thu, 12 Sep 2013 04:07:49 +0000 (13:07 +0900)]
VirtGL : remove compilation warning about mipmap

modified the header file and including that in source file

Change-Id: I0e19a40020a5d6ed995353e06a7068de81bc5057
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agoVirtGL : remove compilation warning
jinhyung.jo [Thu, 12 Sep 2013 03:12:23 +0000 (12:12 +0900)]
VirtGL : remove compilation warning

commented out some code that defined but not used

Change-Id: I3cfe49be09b43a8c3b87e7697279944646a19f98
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agoVirtGL : remove compilation warning
jinhyung.jo [Thu, 12 Sep 2013 03:07:07 +0000 (12:07 +0900)]
VirtGL : remove compilation warning

'void' missing in argument

Change-Id: I0f8ccc7633db4fe1fb4a306eb05759931618629b
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agoVirtGL: Continuation fix for N_SE-48185
Frédéric Dalleau [Wed, 4 Sep 2013 12:04:31 +0000 (14:04 +0200)]
VirtGL: Continuation fix for N_SE-48185

Check Buffer creation result on Windows for Pixmap and PBuffers

Change-Id: I60d82a7292e68f43235ef1283228c67ec7a5369d

Conflicts:

tizen/src/hw/opengl_exec.c

11 years agoVirtGL: Fix warnings in helper_opengl.c
Frédéric Dalleau [Wed, 4 Sep 2013 10:48:50 +0000 (12:48 +0200)]
VirtGL: Fix warnings in helper_opengl.c

Pointer to int conversions

Change-Id: Ifc1dd08d71b7a85c99b00ace353954a30f5dcdeb

11 years agoVirtGL: Fix warnings in helper_opengl.h
Frédéric Dalleau [Wed, 4 Sep 2013 10:16:17 +0000 (12:16 +0200)]
VirtGL: Fix warnings in helper_opengl.h

Declare decode_call_int in a dedicated header file helper_opengl.h
Use it from files that need it.
Since decode_call_int declaration required ProcessStruct, opengl_process.h
must be protected from multiple inclusions.

Change-Id: I3329eaf5e4de8882ebb21dc50c2c5040cbbadb9d

Conflicts:

tizen/src/hw/virtio-gl.c

11 years agoVirtGL: Fix warning about TARGET_PHYS_ADDR_BITS
Frédéric Dalleau [Wed, 4 Sep 2013 10:03:01 +0000 (12:03 +0200)]
VirtGL: Fix warning about TARGET_PHYS_ADDR_BITS

opengl_func.h:39:0: warning: « TARGET_PHYS_ADDR_BITS » redefined
qemu/i386-softmmu/config-target.h:16:0: previous definition

Change-Id: I33eda2f824d3cd9cc3d1e855f32a8401647f9ae7

11 years agoVirtGL: Fix warnings about g_malloc, g_free, g_realloc.
Frédéric Dalleau [Wed, 4 Sep 2013 09:51:46 +0000 (11:51 +0200)]
VirtGL: Fix warnings about g_malloc, g_free, g_realloc.

There are multiple definitions of these funcs, it induces warnings.
In file included from opengl_exec.c:64:0:
range_alloc.h:29:7: attention : redundant redeclaration of ‘g_malloc’ [-Wredundant-decls]
/usr/include/glib-2.0/glib/gmem.h:72:10: note: previous declaration of ‘g_malloc’ was here
tizen/src/hw/range_alloc.h:30:7: attention : redundant redeclaration of ‘g_realloc’ [-Wredundant-decls]
/usr/include/glib-2.0/glib/gmem.h:74:10: note: previous declaration of ‘g_realloc’ was here
tizen/src/hw/range_alloc.h:31:6: attention : redundant redeclaration of ‘g_free’ [-Wredundant-decls]
/usr/include/glib-2.0/glib/gmem.h:70:7: note: previous declaration of ‘g_free’ was here
tizen/src/hw/opengl_exec.c:114:7: attention : redundant redeclaration of ‘g_malloc’ [-Wredundant-decls]
tizen/src/hw/range_alloc.h:29:7: note: previous declaration of ‘g_malloc’ was here
tizen/src/hw/opengl_exec.c:115:7: attention : redundant redeclaration of ‘g_realloc’ [-Wredundant-decls]
tizen/src/hw/range_alloc.h:30:7: note: previous declaration of ‘g_realloc’ was here
tizen/src/hw/opengl_exec.c:116:6: attention : redundant redeclaration of ‘g_free’ [-Wredundant-decls]
tizen/src/hw/range_alloc.h:31:6: note: previous declaration of ‘g_free’ was here

Change-Id: I9e2557851216a44f970e83dd8ed16cb0e5e5f0d6

11 years agoVirtGL: Fix warnings in helper_opengl.c
Frédéric Dalleau [Wed, 4 Sep 2013 09:42:43 +0000 (11:42 +0200)]
VirtGL: Fix warnings in helper_opengl.c

variable ‘tmp’ set but not used

Change-Id: Ia5f062c0cc01ddecba381e5640049bb088a2bc88

11 years agoVirtGL: Fix warnings about void missing in params
Frédéric Dalleau [Wed, 4 Sep 2013 09:05:58 +0000 (11:05 +0200)]
VirtGL: Fix warnings about void missing in params

Change-Id: If1f785276f758bb750164a87443965d2ff10a1bf

11 years agoVirtGL: Fix warning about server_stub.c
Frédéric Dalleau [Wed, 4 Sep 2013 09:12:01 +0000 (11:12 +0200)]
VirtGL: Fix warning about server_stub.c

server_stub.c:3:6: warning: no previous prototype
for ‘execute_func’ [-Wmissing-prototypes]

Change-Id: I6c33eac3ff114398b2b602fbe69be664ee39796f

11 years agoVirtGL: Fix warning in server_stub.c
Frédéric Dalleau [Wed, 4 Sep 2013 09:09:43 +0000 (11:09 +0200)]
VirtGL: Fix warning in server_stub.c

server_stub.c:7812:7: warning: function declaration
isn’t a prototype [-Wstrict-prototypes]

Change-Id: I90f3a97be0ed401544239c64f9ab74cba27395b1

11 years agoVirtGL: Fix warnings about server_stub.c
Frédéric Dalleau [Wed, 4 Sep 2013 09:07:03 +0000 (11:07 +0200)]
VirtGL: Fix warnings about server_stub.c

Trigger by gcc option [-Wpointer-to-int-cast]

Change-Id: I90e86f3325bfa31a3f4add64e9c8bca9e6edf6e2

11 years agoVirtGL: Fix warning on MacOS X
Frédéric Dalleau [Tue, 3 Sep 2013 08:31:14 +0000 (10:31 +0200)]
VirtGL: Fix warning on MacOS X

11 years agoVirtGL: Fix warnings in gloffscreen_wgl.c
Frederic Dalleau [Tue, 3 Sep 2013 08:31:14 +0000 (10:31 +0200)]
VirtGL: Fix warnings in gloffscreen_wgl.c

11 years agoVirtGL: Fix warning about wrong type of pointer
Frédéric Dalleau [Tue, 3 Sep 2013 08:31:13 +0000 (10:31 +0200)]
VirtGL: Fix warning about wrong type of pointer

This could well be a bug!

Change-Id: I8bac1546290b85bd34f4b4abea8376bbc62549af

11 years agoVirtGL: Fix warning in debug traces
Frédéric Dalleau [Tue, 3 Sep 2013 08:31:13 +0000 (10:31 +0200)]
VirtGL: Fix warning in debug traces

Change-Id: I8715cbebc9cb60d2fb510259277cb0b0891c9a87

11 years agoVirtGL: Fix warnings in shadersrc_gles_to_gl
Frédéric Dalleau [Tue, 3 Sep 2013 08:31:13 +0000 (10:31 +0200)]
VirtGL: Fix warnings in shadersrc_gles_to_gl

Change-Id: Iba3adc23af24ca62d050865297aaeecbae411632

11 years agoVirtGL: Fix warnings about GlxClientDrawable
Frédéric Dalleau [Tue, 3 Sep 2013 08:31:13 +0000 (10:31 +0200)]
VirtGL: Fix warnings about GlxClientDrawable

GlxClientDrawable is defined as void *, but only 32 bits values are used.
Thus some weird warnings.

Change-Id: Ic936f42ccd29533fb31591d4594b91e3e5ac06a2

11 years agoVirtGL: Fix warning about missing prototypes
Frédéric Dalleau [Thu, 29 Aug 2013 09:32:17 +0000 (11:32 +0200)]
VirtGL: Fix warning about missing prototypes

11 years agoVirtGL: Fix warning about missing prototype
Frédéric Dalleau [Thu, 29 Aug 2013 09:32:17 +0000 (11:32 +0200)]
VirtGL: Fix warning about missing prototype

11 years agoVirtGL: Fix warnings about __APPLE__ not being defined
Frédéric Dalleau [Thu, 29 Aug 2013 09:32:16 +0000 (11:32 +0200)]
VirtGL: Fix warnings about __APPLE__ not being defined

gloffscreen_test.c:37:7: attention : « __APPLE__ » n'est pas défini
gloffscreen_common.c:33:7: attention : « __APPLE__ » n'est pas défini

11 years agoVirtGL: Fix warning about glo_surface_updatecontents
Frédéric Dalleau [Thu, 29 Aug 2013 09:32:16 +0000 (11:32 +0200)]
VirtGL: Fix warning about glo_surface_updatecontents

gloffscreen_xcomposite.c:406:6: attention : no previous prototype for
‘glo_surface_updatecontents’

11 years agoVirtGL: Fix warning about glo_surface_release_texture
Frédéric Dalleau [Thu, 29 Aug 2013 09:32:16 +0000 (11:32 +0200)]
VirtGL: Fix warning about glo_surface_release_texture

gloffscreen_xcomposite.c:543:6: attention : no previous prototype for
‘glo_surface_release_texture’

11 years agoVirtGL: Fix warning about glo_sanity_test
Frédéric Dalleau [Thu, 29 Aug 2013 09:32:16 +0000 (11:32 +0200)]
VirtGL: Fix warning about glo_sanity_test

11 years agoVirtGL: Fix compilation warning in opengl_strtok
Frédéric Dalleau [Thu, 29 Aug 2013 09:32:16 +0000 (11:32 +0200)]
VirtGL: Fix compilation warning in opengl_strtok

This is the first of a long series to fix compilation warning of VirtGL.
opengl_exec and serverstub first.

Conflicts:

tizen/src/hw/opengl_exec.c

Change-Id: I6aee1309337b27392fc4733cccb7190ac4045ef4

11 years agoVirtGL: N_SE-48185, Refactor glXCreate[New]Context error handling
Frédéric Dalleau [Wed, 28 Aug 2013 10:41:35 +0000 (12:41 +0200)]
VirtGL: N_SE-48185, Refactor glXCreate[New]Context error handling

There is an error in glXCreate*Context error handling:
It is possible that Open GL function failure are not reported in guest.
Thus guest would have incorrect function result and believe all is ok.
This can lead later in emulator crash sometime after error message
"Couldn't create the PBuffer" on Windows.

Note that this message appears on Windows, but the error in not handled on
any platform.

11 years agoVirtGL: Fix TDIS-7153 Emulator crashed with WebGL Conformance test
Frédéric Dalleau [Tue, 20 Aug 2013 14:09:40 +0000 (16:09 +0200)]
VirtGL: Fix TDIS-7153 Emulator crashed with WebGL Conformance test

This fix allows some of WebGL test to pass without crashing the emulator.

11 years agoVirtGL: Fix BUG N_SE-47982
Frédéric Dalleau [Thu, 8 Aug 2013 08:08:10 +0000 (10:08 +0200)]
VirtGL: Fix BUG N_SE-47982

Opening http://www.ro.me/film in browser then press "Begin"
makes Tizen emulator crash.
The crash is due to SwapBuffers being called with non window
parameter and non current pixmap. This parameter is provided
in client application.

11 years agoFix calling convention mismatch on Windows.
Patrick Porlan [Wed, 7 Aug 2013 09:50:35 +0000 (11:50 +0200)]
Fix calling convention mismatch on Windows.

Conflicts:

tizen/src/hw/opengl_exec.c

Change-Id: I7f8e980b105ba11a83279d5aa2bfb28b92143f24

11 years agoVirtGL: Fix Bug N_SE-43071.
Frédéric Dalleau [Thu, 11 Jul 2013 15:40:07 +0000 (17:40 +0200)]
VirtGL: Fix Bug N_SE-43071.

Reproduction scenario is :
CreatePixmap
CreateContext 1
CreateContext 2
MakeCurrent 1, Pixmap
MakeCurrent NULL, NULL
MakeCurrent 2, Pixmap => Segmentation fault in unbind_qsurface.
Pixmap has a dangling pointer to context 1 that has been destroyed.

11 years agoImprove GlXPixmap management using reference counter.
Frédéric Dalleau [Wed, 10 Jul 2013 16:31:23 +0000 (18:31 +0200)]
Improve GlXPixmap management using reference counter.

This patch add a reference counter to Pixmap surfaces. Other surfaces (Window,
PBuffer) are not modified.

11 years agoVirtGL: Fix memory leak in eglDestroyPixmap
Frédéric Dalleau [Mon, 8 Jul 2013 15:32:39 +0000 (17:32 +0200)]
VirtGL: Fix memory leak in eglDestroyPixmap

The code in qemu for glXDestroyPixmap make some verifications that fails :
if ( qsurface &&
     qsurface != process->current_state->current_qsurface &&
     qsurface->glstate == NULL &&
     qsurface->type == SURFACE_PIXMAP)
    /* free  image data */

We can see that before freeing surface : qemu checks that it is pixmap, it is
not current and it is not bound.

I added some traces and this is a sample from output :
[trace:qemu:opengl][2225]> glXDestroyPixmap
[trace:qemu:opengl]glXDestroyPixmap: 0x7f6898fff150
[trace:qemu:opengl]process->current_state->current_qsurface: (nil)
[trace:qemu:opengl]qsurface->glstate: 0x7f689801eef0
[trace:qemu:opengl]qsurface->type: 1, SURFACE_PIXMAP: 1
[trace:qemu:opengl]process->current_state: 0x1627680, qsurface->glstate:
0x7f689801eef0

We can interpret this as : the application requested to free the surface, but
it was still bound in the context.

The two following reasons suggest to resolve the leak by forcing unbinding the
image from qemu.
* Having a destroyed image in a context doesn't really make sense,
* In this use case it is likely that the context will be destroyed soon after
the pixmap.

11 years agoReuse stored FB configs if possible instead of allocating new ones
Patrick Porlan [Fri, 5 Jul 2013 09:39:18 +0000 (11:39 +0200)]
Reuse stored FB configs if possible instead of allocating new ones

11 years agoremove unwanted debug traces
Frédéric Dalleau [Wed, 12 Jun 2013 10:58:00 +0000 (12:58 +0200)]
remove unwanted debug traces

11 years agoOn windows, wgl backend, remove usage of wglBindTexImageARB.
Frédéric Dalleau [Wed, 12 Jun 2013 09:07:11 +0000 (11:07 +0200)]
On windows, wgl backend, remove usage of wglBindTexImageARB.
This function is provided by extension WGL_ARB_render_texture. The extension is
not supported by Intel hardware. So instead, use glReadPixels/glTexImage2D

Additionnally do not flip pbuffer vertically when using them as textures.

11 years agoy-axis flipped issue when use evas gl backend got fixed.
Fengqian.Gao [Wed, 12 Jun 2013 09:07:11 +0000 (11:07 +0200)]
y-axis flipped issue when use evas gl backend got fixed.

11 years agoMerge "communication: added ECS_SERVER_STARTED protocol" into develop
daiyoung kim [Wed, 11 Sep 2013 06:42:22 +0000 (15:42 +0900)]
Merge "communication: added ECS_SERVER_STARTED protocol" into develop

11 years agoMerge "YaGL : modified the variable tpye" into tizen_qemu_1.6
SeokYeon Hwang [Wed, 11 Sep 2013 06:02:34 +0000 (15:02 +0900)]
Merge "YaGL : modified the variable tpye" into tizen_qemu_1.6

11 years agoYaGL : modified the variable tpye
jinhyung.jo [Wed, 11 Sep 2013 05:43:37 +0000 (14:43 +0900)]
YaGL : modified the variable tpye

Modified the variable type for CPUState used by yagl_thread, etc.
(CPUArchState * -> CPUState *)
It has satisfied for the changes of passing argument to QEMU 1.6,
i.e., compilation warnings disappear.

Change-Id: I9f6dbe45d5d2c09ea126509803acdbba2da145c0
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agoAdd Execution permission to some scripts.
SeokYeon Hwang [Wed, 11 Sep 2013 05:32:32 +0000 (14:32 +0900)]
Add Execution permission to some scripts.

Revert previous wrong commits.

Change-Id: If384ff4cf25ac90944960d7ff85241f3ec24582a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agobrillcodec: Source clean-up and rename device name.
Kitae Kim [Tue, 10 Sep 2013 11:32:44 +0000 (20:32 +0900)]
brillcodec: Source clean-up and rename device name.

Changed the device name from new_codec to brill_codec.

Change-Id: I34879a2acdd593540afb816fc94b6752c64b5914
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agonew_codec: modified this module because qemu has been upgraded into 1.5.1.
Kitae Kim [Wed, 4 Sep 2013 05:50:18 +0000 (14:50 +0900)]
new_codec: modified this module because qemu has been upgraded into 1.5.1.

Change-Id: I9c848919908dc0fd3da40a13eff22c32ea42c36d
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>