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

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

10 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

10 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

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

10 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

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

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

10 years agotizen: Makefile clean-up.
Kitae Kim [Wed, 21 Aug 2013 07:48:14 +0000 (16:48 +0900)]
tizen: Makefile clean-up.

There were duplicated commands in the Makefile because of host OS.

Change-Id: Ie40bf12b538b30f4b67f7c91f26b8b58d9605efa
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoskin: remove previous hwkey hover always
GiWoong Kim [Thu, 22 Aug 2013 00:58:22 +0000 (09:58 +0900)]
skin: remove previous hwkey hover always

Change-Id: I26a30dbb5f59d5b3b5d1b4f32a61f1e3767957b4
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: blank guide image processing & align
GiWoong Kim [Wed, 21 Aug 2013 09:07:38 +0000 (18:07 +0900)]
display: blank guide image processing & align

Change-Id: Iafe298eec18a7034f058e2f5397f5257f958f497
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agopackage: version up
GiWoong Kim [Tue, 20 Aug 2013 10:03:18 +0000 (19:03 +0900)]
package: version up

1.5.80

Change-Id: I206027160f073ed14d8d0f7ed614fb66a0b68c4b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: modified skin info.ini
GiWoong Kim [Tue, 20 Aug 2013 09:41:07 +0000 (18:41 +0900)]
skin: modified skin info.ini

added skin.profile property

Change-Id: Ifd4175c548aac3af75a1dc9a61b6b22b754274d4
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: modified skin folder name
GiWoong Kim [Tue, 20 Aug 2013 09:18:53 +0000 (18:18 +0900)]
skin: modified skin folder name

emul-720x1280-3btn -> mobile-720x1280-3btn

Change-Id: I87aaf23e01d0e9e1880708f7afd4959213c1b66a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoguest_server: unified string utility functions as glib.
Kitae Kim [Tue, 20 Aug 2013 07:58:55 +0000 (16:58 +0900)]
guest_server: unified string utility functions as glib.

c and glib string functions were mixed.

Change-Id: I39dc97ecabe73bada566dc5d27633a7a61428fe6
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoFix bug when detect sdk data path in sdk.info
SeokYeon Hwang [Tue, 20 Aug 2013 05:28:41 +0000 (14:28 +0900)]
Fix bug when detect sdk data path in sdk.info

Change-Id: I9e59b916669a5af2fff9f38bc1706164dfa2ceaa
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoskin: set states before menu creating
GiWoong Kim [Tue, 20 Aug 2013 07:23:22 +0000 (16:23 +0900)]
skin: set states before menu creating

Change-Id: I1642ed96fc1e2a2ae715db8a42841a97d3825c38
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: modified qHD skin name
GiWoong Kim [Tue, 20 Aug 2013 05:13:05 +0000 (14:13 +0900)]
skin: modified qHD skin name

Phone 3btn 540x960 -> Phone 540x960

Change-Id: Idab6c65504d7f59d299c3d81202bb57484e75626
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoUpdate version for 1.6.0
Anthony Liguori [Thu, 15 Aug 2013 15:40:51 +0000 (10:40 -0500)]
Update version for 1.6.0

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
10 years agomips_malta: do not raise exceptions when accessing invalid memory
Aurelien Jarno [Mon, 12 Aug 2013 19:34:53 +0000 (21:34 +0200)]
mips_malta: do not raise exceptions when accessing invalid memory

Since commit c658b94f6e8c206c59d02aa6fbac285b86b53d2c, MIPS raises
exceptions when accessing invalid memory. This is not the correct
behaviour for MIPS Malta Core LV, as the GT-64120A system controller
just ignore undecoded access. This feature is used by the Linux kernel
to probe for some devices.

Emulate the correct behaviour in QEMU by adding an empty slot covering
the entire memory space decoded by the GT-64120A.

Tested-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
10 years agoblock: Dont ignore previously set bdrv_flags
M. Mohan Kumar [Wed, 14 Aug 2013 12:26:41 +0000 (17:56 +0530)]
block: Dont ignore previously set bdrv_flags

bdrv_flags is set by bdrv_parse_discard_flags(), but later it is reset
to zero.

Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>
Message-id: 1376483201-13466-1-git-send-email-mohan@in.ibm.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
10 years agoqemu-char: fix infinite recursion connecting to monitor pty
James Hogan [Thu, 8 Aug 2013 11:09:38 +0000 (12:09 +0100)]
qemu-char: fix infinite recursion connecting to monitor pty

Since commit bd5c51e (qemu-char: don't issue CHR_EVENT_OPEN in a BH), an
infinite recursion occurs when putting the monitor on a pty (-monitor
pty) and connecting a terminal to the slave port.

This is because of the qemu_chr_be_event(s, CHR_EVENT_OPENED) added to
qemu_chr_be_generic_open(). This event is captured by monitor_event()
which prints a welcome message to the character device. The flush of
that welcome message retriggers another open event in pty_chr_state()
because it checks s->connected, but only sets it to 1 after calling
qemu_chr_be_generic_open().

I've fixed this by setting s->connected = 1 before the call to
qemu_chr_be_generic_open() instead of after, so that the recursive
pty_chr_state() doesn't call it again.

An example snippet of repeating backtrace:
 ...
 #107486 0x007aec58 in monitor_flush (mon=0xf418b0) at qemu/monitor.c:288
 #107487 0x007aee7c in monitor_puts (mon=0xf418b0, str=0x1176d07 "") at qemu/monitor.c:322
 #107488 0x007aef20 in monitor_vprintf (mon=0xf418b0, fmt=0x8d4820 "QEMU %s monitor - type 'help' for more information\n",
     ap=0x7f432be0) at qemu/monitor.c:339
 #107489 0x007aefac in monitor_printf (mon=0xf418b0, fmt=0x8d4820 "QEMU %s monitor - type 'help' for more information\n")
     at qemu/monitor.c:347
 #107490 0x007ba4bc in monitor_event (opaque=0xf418b0, event=2) at qemu/monitor.c:4699
 #107491 0x00684c28 in qemu_chr_be_event (s=0xf37788, event=2) at qemu/qemu-char.c:108
 #107492 0x00684c70 in qemu_chr_be_generic_open (s=0xf37788) at qemu/qemu-char.c:113
 #107493 0x006880a4 in pty_chr_state (chr=0xf37788, connected=1) at qemu/qemu-char.c:1145
 #107494 0x00687fa4 in pty_chr_update_read_handler (chr=0xf37788) at qemu/qemu-char.c:1121
 #107495 0x00687c9c in pty_chr_write (chr=0xf37788, buf=0x70b3c008 <Address 0x70b3c008 out of bounds>, len=538720)
     at qemu/qemu-char.c:1063
 #107496 0x00684cc4 in qemu_chr_fe_write (s=0xf37788, buf=0x70b3c008 <Address 0x70b3c008 out of bounds>, len=538720)
     at qemu/qemu-char.c:118
 ...

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Tested-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Message-id: 1375960178-10882-1-git-send-email-james.hogan@imgtec.com
Cc: Michael Roth <mdroth@linux.vnet.ibm.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
10 years agopvpanic: fix bad merge
Anthony Liguori [Tue, 13 Aug 2013 14:02:52 +0000 (09:02 -0500)]
pvpanic: fix bad merge

Context matching caused the 'has_pvpanic = true' to be applied to
the 1.6 machine type instead of the 1.5 machine type.

Reported-by: Markus Armbruster <armbru@redhat.com>
Reported-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
10 years agoecs: fix select procedure
munkyu.im [Tue, 13 Aug 2013 08:08:56 +0000 (17:08 +0900)]
ecs: fix select procedure

Signed-off-by: munkyu.im <munkyu.im@samsung.com>