sdk/emulator/qemu.git
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 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 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 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 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>
11 years agoosutil: Added a function that get the number of host processors.
Kitae Kim [Wed, 4 Sep 2013 03:03:41 +0000 (12:03 +0900)]
osutil: Added a function that get the number of host processors.

Separate the implementation from print_system_info_os function,
because the function could be useful when creating threads.

Change-Id: Ibb6d937b810c68505a64097c0b1f539b3ace45dd
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agonew_codec: changed a way to use device memory effectively.
Kitae Kim [Sun, 1 Sep 2013 13:00:33 +0000 (22:00 +0900)]
new_codec: changed a way to use device memory effectively.

Divide device memory into small, medium and large size of buffer
to use the memory effectively when decoding many contexts.

In case of meta data such as width, height, framerate and etc,
each context uses 256byte memory region and utilizes the large size of memory
when copying video and audio buffer,

Change-Id: I735849d3c8291e7b8922aff2b9a47f12edf35a85
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agonew_codec: source clean-up and remove unnecessary interrupt raise.
Kitae Kim [Thu, 22 Aug 2013 06:08:11 +0000 (15:08 +0900)]
new_codec: source clean-up and remove unnecessary interrupt raise.

in case of closing context, no need to raise interrupt,
because there is no copying data during close.

Change-Id: I14ec594b1afaa73d9eff629269ec94e703a11fb4
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agonew_codec: source clean-up.
Kitae Kim [Thu, 16 May 2013 01:33:42 +0000 (10:33 +0900)]
new_codec: source clean-up.

Used host cpu core number to create threads and did source refactoring.

Change-Id: Icc31088b454ea6059a1663810f3171ecb0c26008
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agonew_codec: fixed synchronous problem among contexts.
SeokYeon Hwang [Wed, 15 May 2013 08:02:49 +0000 (17:02 +0900)]
new_codec: fixed synchronous problem among contexts.

Used context_id as a identifier between device and driver.

Change-Id: I37f5e12ab0af0ad274f59b46ab96137df8bc5c3c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agonew_codec: resolve a bug fix while decoding audio.
Kitae Kim [Fri, 10 May 2013 06:53:57 +0000 (15:53 +0900)]
new_codec: resolve a bug fix while decoding audio.

solve the memory problem when codec device copies
the decoded audio buffer from host to guest.

Change-Id: I86185f672bd8ea0d097ca58cabc0097cbb240c5e
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agonew_codec: resolve a bug fix that caused segv error during memcpy.
Kitae Kim [Fri, 10 May 2013 06:16:39 +0000 (15:16 +0900)]
new_codec: resolve a bug fix that caused segv error during memcpy.

Change-Id: I7840a8a763d011dc21928d0b6e1c7b1f267e344a
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoqemu: gathering ecs modules into a ecs folder
GiWoong Kim [Tue, 10 Sep 2013 01:54:32 +0000 (10:54 +0900)]
qemu: gathering ecs modules into a ecs folder

Change-Id: I051b3af3646c9b46ab178cd9ae50038ef8a3d908
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoMerge "new_codec: modified a routine to get codec meta data." into develop
SeokYeon Hwang [Wed, 11 Sep 2013 03:17:02 +0000 (12:17 +0900)]
Merge "new_codec: modified a routine to get codec meta data." into develop

11 years agoMerge "new_codec: changed a way to copy data between guest and host." into develop
SeokYeon Hwang [Wed, 11 Sep 2013 03:16:53 +0000 (12:16 +0900)]
Merge "new_codec: changed a way to copy data between guest and host." into develop

11 years agoMerge "new_codec: source clean up" into develop
SeokYeon Hwang [Wed, 11 Sep 2013 03:16:43 +0000 (12:16 +0900)]
Merge "new_codec: source clean up" into develop

11 years agoMerge "new_codec: added new codec device." into develop
SeokYeon Hwang [Wed, 11 Sep 2013 03:16:32 +0000 (12:16 +0900)]
Merge "new_codec: added new codec device." into develop

11 years agoInitial version of YaGL Mac support module
Patrick Porlan [Fri, 6 Sep 2013 15:05:13 +0000 (17:05 +0200)]
Initial version of YaGL Mac support module

This adds a preliminary AGL based implementation of YaGL
platform-specific routines, as well as a few additional changes:
- base EGL types suitables of OS X in eglplatform.h
- changes to both configure and makefiles to enable YaGL and VIGS
- an empty VIGS support module

Both YaGL and VIGS files compile and link, however only YaGL runs
for now. To try it, replace -enable-gl by enable-yagl in the qemu
command line, after installing adequate emulator-yagl and libdrm
packages in the root FS. /etc/virtgl.sh should detect that YaGL
is enabled and switch the EGL libs to the YaGL version

11 years agonew_codec: modified a routine to get codec meta data.
Kitae Kim [Fri, 10 May 2013 05:04:52 +0000 (14:04 +0900)]
new_codec: modified a routine to get codec meta data.

Change-Id: I405f6a26e767d2d4369078545dd2c52882293f79
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agonew_codec: changed a way to copy data between guest and host.
Kitae Kim [Fri, 10 May 2013 02:37:07 +0000 (11:37 +0900)]
new_codec: changed a way to copy data between guest and host.

emoved a routine that occupies device memory exclusively.

Change-Id: Ifb5d011f77cccd04c3f3a797872d45707d74eb6c
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agonew_codec: source clean up
Kitae Kim [Thu, 18 Apr 2013 08:23:19 +0000 (17:23 +0900)]
new_codec: source clean up

Changed some variables's name and resolve a sync problem between each job.
In addition, added two ways to handle decoding or encoding data with device memory.

At first, each codec request uses 24MB memory size in a fixed way.
It means that each codec request occupies its own memory region.
If the device memory is used up to 24MB, other codec request uses other memory region in a shared way.
It means that more than 2 codec requests use the memory region sequentially.

Change-Id: I0497d607cf46b98e403ed0d6d7530ea2023212a8
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agonew_codec: added new codec device.
Kitae Kim [Tue, 12 Mar 2013 11:41:44 +0000 (20:41 +0900)]
new_codec: added new codec device.

This device is for improving performance and architecture of old codec device.

Change-Id: I719367741cb8481b68c4c3438069751955429116
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agocommunication: added ECS_SERVER_STARTED protocol
GiWoong Kim [Tue, 10 Sep 2013 10:38:14 +0000 (19:38 +0900)]
communication: added ECS_SERVER_STARTED protocol

Change-Id: I5c1ad9b39d4b3fc104bf7fac8f087e7cc6ab4953
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoqemu: gathering ecs modules into a ecs folder
GiWoong Kim [Tue, 10 Sep 2013 01:54:32 +0000 (10:54 +0900)]
qemu: gathering ecs modules into a ecs folder

Change-Id: I051b3af3646c9b46ab178cd9ae50038ef8a3d908
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoFix compilation errors on VIGS/YaGL sources
SeokYeon Hwang [Tue, 10 Sep 2013 07:33:24 +0000 (16:33 +0900)]
Fix compilation errors on VIGS/YaGL sources

Change-Id: Ib04d743fb8abc902a7b0d34fc2514ce6b2974939
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoFix compilation errors
SeokYeon Hwang [Tue, 10 Sep 2013 07:32:47 +0000 (16:32 +0900)]
Fix compilation errors

Change-Id: I03c31fe1680f65f4622e0a0c4e743790a61d48fe
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoFix compilation errors on maru specific sources
SeokYeon Hwang [Tue, 10 Sep 2013 07:30:12 +0000 (16:30 +0900)]
Fix compilation errors on maru specific sources

Change-Id: Icdedbc435b179a6da90d344c7b1c3dcdc55b15e9
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agopackage: version up
GiWoong Kim [Tue, 10 Sep 2013 06:09:49 +0000 (15:09 +0900)]
package: version up

1.5.92

Change-Id: I42bfb438881818cdae0c03f69127a577f0cff0ad
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: make skins package for windows/macos
GiWoong Kim [Tue, 10 Sep 2013 06:08:49 +0000 (15:08 +0900)]
package: make skins package for windows/macos

Change-Id: I85d214a849d9514cfa5b08e2c22554ec8e395aa9
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: modified pkginfo
GiWoong Kim [Tue, 10 Sep 2013 05:22:18 +0000 (14:22 +0900)]
package: modified pkginfo

added mobile-3.0-emulator-qemu-skins to ubuntu-64

Change-Id: I8bb406dc303a322708303e430e80d4b66a406de9
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agodisplay: blank guide appearance time is moved up
GiWoong Kim [Tue, 10 Sep 2013 04:42:46 +0000 (13:42 +0900)]
display: blank guide appearance time is moved up

Change-Id: I4c95a7614d1b592e52c837985dc46ca6d34b179b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge tag 'v1.6.0' into tizen_qemu_1.6
SeokYeon Hwang [Tue, 10 Sep 2013 03:18:05 +0000 (12:18 +0900)]
Merge tag 'v1.6.0' into tizen_qemu_1.6

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Conflicts:
VERSION
arch_init.c
block/vmdk.c
configure
cpu-exec.c
cpus.c
exec.c
hw/9pfs/virtio-9p-device.c
hw/display/vga-pci.c
hw/pci-host/q35.c
hw/usb/dev-storage.c
hw/virtio/virtio-mmio.c
include/exec/cpu-defs.h
include/qemu/error-report.h
include/qemu/log.h
include/sysemu/kvm.h
include/sysemu/sysemu.h
pc-bios/bios.bin
qapi-schema.json
qemu-char.c
ui/input.c
util/oslib-win32.c
vl.c

11 years agopackage: version up
GiWoong Kim [Tue, 10 Sep 2013 01:54:32 +0000 (10:54 +0900)]
package: version up

1.5.91

Change-Id: Ibaa9bc5d5415c02c26cb6ccf30f45a36512e63a1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge "emulator: indenting" into develop
daiyoung kim [Tue, 10 Sep 2013 02:41:29 +0000 (11:41 +0900)]
Merge "emulator: indenting" into develop

11 years agoMerge "package: make skins package for ubuntu" into develop
daiyoung kim [Tue, 10 Sep 2013 02:40:56 +0000 (11:40 +0900)]
Merge "package: make skins package for ubuntu" into develop