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

10 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>
10 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

10 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>
10 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>
10 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>
10 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

10 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>
10 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>
10 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>
10 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>
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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’

10 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’

10 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

10 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

10 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.

10 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.

10 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.

10 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

10 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.

10 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.

10 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.

10 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

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

10 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.

10 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.

10 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

10 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

10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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

10 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

10 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

10 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

10 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

10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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

10 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>
10 years agoMerge "emulator: indenting" into develop
daiyoung kim [Tue, 10 Sep 2013 02:41:29 +0000 (11:41 +0900)]
Merge "emulator: indenting" into develop

10 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

10 years agoMerge "Add missing include in Mac VirtGL code" into develop
daiyoung kim [Tue, 10 Sep 2013 02:40:21 +0000 (11:40 +0900)]
Merge "Add missing include in Mac VirtGL code" into develop

10 years agoemulator: indenting
GiWoong Kim [Mon, 9 Sep 2013 08:36:46 +0000 (17:36 +0900)]
emulator: indenting

debug_ch

Change-Id: I15d1d936f7a52640e51e1ae22679a384ec3e6140
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agopackage: make skins package for ubuntu
GiWoong Kim [Mon, 9 Sep 2013 03:07:48 +0000 (12:07 +0900)]
package: make skins package for ubuntu

Change-Id: Ie547e187b065c5368bb0c9f76bf5dcde50e6f450
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoAdd missing include in Mac VirtGL code
Patrick Porlan [Fri, 6 Sep 2013 14:55:55 +0000 (16:55 +0200)]
Add missing include in Mac VirtGL code

g_malloc was truncating a 64 bits address because of it

10 years agoskin: no need to shell pack while layout changing
GiWoong Kim [Fri, 6 Sep 2013 05:16:46 +0000 (14:16 +0900)]
skin: no need to shell pack while layout changing

no need to shell pack while layout changing
And set Display parent to screenshot shell on Mac

Change-Id: I0746ca1e2df46e1441c2aca5d7610ca7ac7f074f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: change a parent of screenshot shell
GiWoong Kim [Wed, 4 Sep 2013 08:35:54 +0000 (17:35 +0900)]
menu: change a parent of screenshot shell

change a parent of screenshot shell
and modified the init position

Change-Id: Ia0b1e7d314d918d963815fe399de7564a40aab44
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoAdd Input Device for mouse
hyunjin816.lee [Tue, 3 Sep 2013 07:02:49 +0000 (16:02 +0900)]
Add Input Device for mouse

- modify ps2 mouse point, ABS to REL
- modify typo
- add input.mouse parameter

Change-Id: I15d01cc6e49dc0a9b36e80a090da70ed80824b1f
Signed-off-by: hyunjin816.lee <hyunjin816.lee@samsung.com>
10 years agoskin: modified test.hb.ignore to hb.ignore
sungmin ha [Wed, 4 Sep 2013 02:11:54 +0000 (11:11 +0900)]
skin: modified test.hb.ignore to hb.ignore

remote: add conditional sentence for remote excution

Change-Id: I837b12fdf49a0cc56fe4b16e40d93367629175d1
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agodisplay: added mutex lock to SDL_Quit
GiWoong Kim [Wed, 4 Sep 2013 04:47:47 +0000 (13:47 +0900)]
display: added mutex lock to SDL_Quit

Change-Id: Ic140a01c78660fc0a46c751ea70acbd3061b1c0d
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agopackage: version up
GiWoong Kim [Tue, 3 Sep 2013 10:17:24 +0000 (19:17 +0900)]
package: version up

1.5.87

Change-Id: I1a5e5f734c240cd74b3c79a62347af4ce6cdaec5
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: modified SDL logic
GiWoong Kim [Tue, 3 Sep 2013 09:06:37 +0000 (18:06 +0900)]
display: modified SDL logic

SDL_SetVideoMode should be called in the main thread

Change-Id: Icade58c46b3af0ec972158d2e750deec98363967
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: removed sdl_opengl source code
GiWoong Kim [Tue, 3 Sep 2013 02:50:02 +0000 (11:50 +0900)]
display: removed sdl_opengl source code

Change-Id: Ia2a571ae7aa439c566cca680f64990ddb220cb1c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agobuild: change space to tab
munkyu.im [Mon, 2 Sep 2013 09:10:05 +0000 (18:10 +0900)]
build: change space to tab

Change-Id: Id0f8dc69262456232cbe42d95c8002f0d331aedf
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agobuild: modify build script for macosx
munkyu.im [Mon, 2 Sep 2013 08:47:36 +0000 (17:47 +0900)]
build: modify build script for macosx

add libraries and header files
add file modification by sed

Change-Id: Ia53edc7db267d93109b60ce699a12677db8eee19
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoqemu: removed warnings & unnecessary logs, and changed log location.
Jinhyung Choi [Mon, 2 Sep 2013 02:16:00 +0000 (11:16 +0900)]
qemu: removed warnings & unnecessary logs, and changed log location.
replaced tab to 4 white space

Change-Id: I62e9ea53021d8e74511d2231ae82adbd3fa15cf3
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>