sdk/emulator/qemu.git
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 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 "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 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 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 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 years agoMerge "build-script: apply emulator-lib-dev package for windows-32" into develop
daiyoung kim [Fri, 30 Aug 2013 05:47:33 +0000 (14:47 +0900)]
Merge "build-script: apply emulator-lib-dev package for windows-32" into develop

11 years agobuild-script: apply emulator-lib-dev package for windows-32
sungmin ha [Thu, 29 Aug 2013 06:16:48 +0000 (15:16 +0900)]
build-script: apply emulator-lib-dev package for windows-32

Change-Id: I958ab34eb38ec846fca8f65ee33d5565dada7e09
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
11 years agokeyboard: seperate a key event on Windows
GiWoong Kim [Thu, 29 Aug 2013 03:34:59 +0000 (12:34 +0900)]
keyboard: seperate a key event on Windows

seperate a key event if the release events
were superimposed

Change-Id: I48aa5d9332c68e7efec54dc331085bd8fdeb1d81
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: apply emulator-lib-dev package
munkyu.im [Wed, 28 Aug 2013 07:41:38 +0000 (16:41 +0900)]
package: apply emulator-lib-dev package

Change-Id: Ie0c59c492a78373472472df38a50bf5c7514a874
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agoVIGS: Make a single memcpy call inside vigs_server_update_display when possible
Stanislav Vorobiov [Tue, 27 Aug 2013 10:47:21 +0000 (14:47 +0400)]
VIGS: Make a single memcpy call inside vigs_server_update_display when possible

If display stride == root surface stride one memcpy will suffice

11 years agoYaGL: Cache minmax index query result in yagl_gles_buffer
Stanislav Vorobiov [Tue, 27 Aug 2013 08:21:03 +0000 (12:21 +0400)]
YaGL: Cache minmax index query result in yagl_gles_buffer

This seemed to be a bottleneck, according to perf. With
this fix minmax index query is no longer "red" in perf report

11 years agoMerge "qemu: set 100ms timeout to epoll_wait function" into develop
daiyoung kim [Tue, 27 Aug 2013 07:34:35 +0000 (16:34 +0900)]
Merge "qemu: set 100ms timeout to epoll_wait function" into develop

11 years agoqemu: set 100ms timeout to epoll_wait function
Jinhyung Choi [Tue, 27 Aug 2013 07:42:12 +0000 (16:42 +0900)]
qemu: set 100ms timeout to epoll_wait function

Change-Id: I4ee1bcfe927fc8deee584f077eea7ee5a87b1343
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agovga: added CONFIG_MARU
GiWoong Kim [Tue, 27 Aug 2013 05:32:55 +0000 (14:32 +0900)]
vga: added CONFIG_MARU

Change-Id: Ida5b7d9d9e2ad2157fe511c9a17a1ec9cf1de4f5
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agodisplay: blank-guide image is replaced
GiWoong Kim [Tue, 27 Aug 2013 05:05:03 +0000 (14:05 +0900)]
display: blank-guide image is replaced

Change-Id: Iaa1593986509adab3566f13312f150d9d80a37d2
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agomenu: modified about image loading & etc
GiWoong Kim [Mon, 26 Aug 2013 11:29:15 +0000 (20:29 +0900)]
menu: modified about image loading & etc

Change-Id: I26b990af4ad169935c5a7b0bee16ad2f6246e81f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agodisplay: enable blank guide on maru_shm
GiWoong Kim [Mon, 26 Aug 2013 08:09:35 +0000 (17:09 +0900)]
display: enable blank guide on maru_shm

Change-Id: Ie172e1e7396cb0a439e9b4a8b87ade8cc0adca4e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge "semaphore: fix a hangup problem under load on NetBSD hosts." into develop
daiyoung kim [Mon, 26 Aug 2013 07:33:27 +0000 (16:33 +0900)]
Merge "semaphore: fix a hangup problem under load on NetBSD hosts." into develop

11 years agoMerge "package: version up" into develop
daiyoung kim [Mon, 26 Aug 2013 07:31:41 +0000 (16:31 +0900)]
Merge "package: version up" into develop

11 years agoMerge "sdb: remove calling sdb notification" into develop
daiyoung kim [Mon, 26 Aug 2013 07:31:18 +0000 (16:31 +0900)]
Merge "sdb: remove calling sdb notification" into develop

11 years agoMerge "mac: change directory for temp file" into develop
daiyoung kim [Mon, 26 Aug 2013 07:30:39 +0000 (16:30 +0900)]
Merge "mac: change directory for temp file" into develop

11 years agopackage: version up
munkyu.im [Mon, 26 Aug 2013 05:41:39 +0000 (14:41 +0900)]
package: version up

Change-Id: Icd1d381f91d5941db73fb66e03fcf0ac3e9d0359
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agosdb: remove calling sdb notification
munkyu.im [Mon, 26 Aug 2013 05:38:10 +0000 (14:38 +0900)]
sdb: remove calling sdb notification

Change-Id: Ibdb0f6bd5d0369dd17bd2e4039b41ffb6c6f9f7d
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agomac: change directory for temp file
munkyu.im [Mon, 26 Aug 2013 05:34:23 +0000 (14:34 +0900)]
mac: change directory for temp file

Change-Id: I4ccfb9395d80befce301115ce69ea4eb8f1d1560
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agosemaphore: fix a hangup problem under load on NetBSD hosts.
Izumi Tsutsui [Wed, 3 Jul 2013 08:58:14 +0000 (17:58 +0900)]
semaphore: fix a hangup problem under load on NetBSD hosts.

Fix following bugs in "fallback implementation of counting semaphores
with mutex+condvar" added in c166cb72f1676855816340666c3b618beef4b976:
 - waiting threads are not restarted properly if more than one threads
   are waiting unblock signals in qemu_sem_timedwait()
 - possible missing pthread_cond_signal(3) calls when waiting threads
   are returned by ETIMEDOUT
 - fix an uninitialized variable
The problem is analyzed by and fix is provided by Noriyuki Soda.

Also put additional cleanup suggested by Laszlo Ersek:
 - make QemuSemaphore.count unsigned (it won't be negative)
 - check a return value of in pthread_cond_wait() in qemu_sem_wait()

Change-Id: Ic785784de211427cd3d0db746dbc1dbac3c8bc33
Signed-off-by: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-id: 1372841894-10634-1-git-send-email-tsutsui@ceres.dti.ne.jp
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
11 years agoskin: ImageRegistry refactoring
GiWoong Kim [Fri, 23 Aug 2013 10:08:22 +0000 (19:08 +0900)]
skin: ImageRegistry refactoring

and added blank-guide image loading

Change-Id: Idcf8880664f4a351c377ed1c6f3c0ef3df14b6dd
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agocommunication: added DRAW_BLANK_GUIDE protocol
GiWoong Kim [Fri, 23 Aug 2013 08:47:39 +0000 (17:47 +0900)]
communication: added DRAW_BLANK_GUIDE protocol

Change-Id: I93d4a0d3afc42fe2879c016aea8d8c044f040d61
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge "YaGL: Fixed framebuffers and renderbuffers leak" into develop
Yeongkyoon Lee [Fri, 23 Aug 2013 10:35:46 +0000 (19:35 +0900)]
Merge "YaGL: Fixed framebuffers and renderbuffers leak" into develop

11 years agoMerge "YaGL: Support EGL_ALPHA_MASK_SIZE" into develop
Yeongkyoon Lee [Fri, 23 Aug 2013 10:35:37 +0000 (19:35 +0900)]
Merge "YaGL: Support EGL_ALPHA_MASK_SIZE" into develop

11 years agoMerge "YaGL: GL_EXT_texture_format_BGRA8888 implementation bug fixed" into develop
Yeongkyoon Lee [Fri, 23 Aug 2013 10:35:29 +0000 (19:35 +0900)]
Merge "YaGL: GL_EXT_texture_format_BGRA8888 implementation bug fixed" into develop

11 years agoMerge "YaGL: EGL_KHR_surfaceless_context implemented" into develop
Yeongkyoon Lee [Fri, 23 Aug 2013 10:35:18 +0000 (19:35 +0900)]
Merge "YaGL: EGL_KHR_surfaceless_context implemented" into develop

11 years agoMerge "YaGL: Don't check 'target' in eglCreateImageKHR" into develop
Yeongkyoon Lee [Fri, 23 Aug 2013 10:35:08 +0000 (19:35 +0900)]
Merge "YaGL: Don't check 'target' in eglCreateImageKHR" into develop

11 years agoMerge "YaGL: GL_EXT_texture_format_BGRA8888 implemented" into develop
Yeongkyoon Lee [Fri, 23 Aug 2013 10:34:56 +0000 (19:34 +0900)]
Merge "YaGL: GL_EXT_texture_format_BGRA8888 implemented" into develop

11 years agoMerge "YaGL: glFinish removed, using single render finish command winsys: added ...
Yeongkyoon Lee [Fri, 23 Aug 2013 10:34:45 +0000 (19:34 +0900)]
Merge "YaGL: glFinish removed, using single render finish command winsys: added 'set_dirty' to winsys_surface" into develop

11 years agoMerge "YaGL: Remove remaining X11 specific stuff from protocol" into develop
Yeongkyoon Lee [Fri, 23 Aug 2013 10:34:33 +0000 (19:34 +0900)]
Merge "YaGL: Remove remaining X11 specific stuff from protocol" into develop

11 years agoMerge "sdb: add device_serial_number" into develop
Yeongkyoon Lee [Fri, 23 Aug 2013 05:44:39 +0000 (14:44 +0900)]
Merge "sdb: add device_serial_number" into develop

11 years agosdb: add device_serial_number
munkyu.im [Thu, 22 Aug 2013 13:16:16 +0000 (22:16 +0900)]
sdb: add device_serial_number

device_serial_number = base_port + 1

Change-Id: I1cccf7f9135da3834dbf0f646f295b8564b97ee1
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agoemulator: remove double quotation marks from the build info
GiWoong Kim [Fri, 23 Aug 2013 02:15:32 +0000 (11:15 +0900)]
emulator: remove double quotation marks from the build info

Change-Id: Ie48001d23c3ec79d02d36306d050d441a64668d4
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoguest_server: Changed sdcard path.
Kitae Kim [Thu, 22 Aug 2013 12:01:03 +0000 (21:01 +0900)]
guest_server: Changed sdcard path.

Since emulator-vms path under the tizen-sdk-data has been changed as emulator,
qemu is required to modify the path.

Change-Id: I87db74642d1a89af4ce0124659b973b24982ea37
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoskin: optimize the hover drawing
GiWoong Kim [Thu, 22 Aug 2013 09:32:30 +0000 (18:32 +0900)]
skin: optimize the hover drawing

Change-Id: I59e726a9ada1cac4d8aef1ec50f708e22b1749c7
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoYaGL: Fixed framebuffers and renderbuffers leak
Stanislav Vorobiov [Thu, 22 Aug 2013 08:14:06 +0000 (12:14 +0400)]
YaGL: Fixed framebuffers and renderbuffers leak

11 years agopackage: version up
munkyu.im [Thu, 22 Aug 2013 07:39:54 +0000 (16:39 +0900)]
package: version up

Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agosdb: call sdb notify when get sensor server notification
munkyu.im [Thu, 22 Aug 2013 07:33:48 +0000 (16:33 +0900)]
sdb: call sdb notify when get sensor server notification

Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agoskin: modified qHD Hwkey region
GiWoong Kim [Thu, 22 Aug 2013 04:30:54 +0000 (13:30 +0900)]
skin: modified qHD Hwkey region

Change-Id: I73c9f4e3f3a258a82789fc859af3014bbcfae6f4
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: added special keyWindow
GiWoong Kim [Thu, 22 Aug 2013 04:26:51 +0000 (13:26 +0900)]
skin: added special keyWindow

Change-Id: Id8a5f048d26be3a80f9b58917e1412ba1c49353e
Signed-off-by: hyunjin816.lee <hyunjin816.lee@samsung.com>
11 years agoMerge "tizen: Makefile clean-up." into develop
Yeongkyoon Lee [Thu, 22 Aug 2013 02:34:08 +0000 (11:34 +0900)]
Merge "tizen: Makefile clean-up." into develop