sdk/emulator/qemu.git
10 years agoVIGS/YaGL: Use glMapBufferRange instead of glBufferSubData 54/16754/1
Stanislav Vorobiov [Mon, 24 Feb 2014 08:40:08 +0000 (12:40 +0400)]
VIGS/YaGL: Use glMapBufferRange instead of glBufferSubData

glBufferSubData is broken on windows, it cannot be used to
subsequently replace part of buffer data between drawing
calls, so use glMapBufferRange instead. If glMapBufferRange
is not available then use glFinish + glBufferSubData to
guarantee synchronization

Change-Id: Ic9ff0ad0ca0f18f38c92dddfc382e504b3573761

10 years agoVIGS/YaGL: Use CGL instead of AGL 01/16701/1
Stanislav Vorobiov [Sat, 22 Feb 2014 13:39:08 +0000 (17:39 +0400)]
VIGS/YaGL: Use CGL instead of AGL

AGL is a deprecated API and it doesn't
allow one to create OpenGL 3.2 contexts, so
use CGL instead

Change-Id: Iaa63fee0aeda7348c256f177b3a96b10142870d4

10 years agoYaGL: Respect OpenGL ES context version 88/16688/1
Stanislav Vorobiov [Fri, 21 Feb 2014 12:50:39 +0000 (16:50 +0400)]
YaGL: Respect OpenGL ES context version

In order to be able to run OpenGL ES 1.0
applications with OpenGL 3.1+ core on host we
must create legacy context for it. The better solution
is to reimplement entire OpenGL ES 1.0 API using
shaders, but that's the task for the future

Change-Id: Id02dd83bc45cb78d70a1d208ce1d6e3109a181c7

10 years agoVIGS/YaGL: Using same OpenGL env variable 87/16687/1
Stanislav Vorobiov [Fri, 21 Feb 2014 12:19:31 +0000 (16:19 +0400)]
VIGS/YaGL: Using same OpenGL env variable

VIGS and YaGL should use the same env variable,
so that they could create compatible contexts

Change-Id: Ibe63f5d8abdb281a71f62118af0d0413ea8c8a7d

10 years agoVIGS: Fixed for OpenGL 3.1+ core 62/16662/1
Stanislav Vorobiov [Thu, 20 Feb 2014 16:51:02 +0000 (20:51 +0400)]
VIGS: Fixed for OpenGL 3.1+ core

We've reimplemented everything using shaders
and VBOs, since this is the only way to go
in OpenGL 3.1+ core

Change-Id: I7a6787c74910e52fe06242499535d1be9137b3ef

10 years agoVIGS: Add 'draw_pixels' operation to winsys_surface 56/16656/1
Stanislav Vorobiov [Mon, 17 Feb 2014 15:49:27 +0000 (19:49 +0400)]
VIGS: Add 'draw_pixels' operation to winsys_surface

We introduce new method to winsys_surface - draw_pixels,
some winsys_interface users just want to write raw pixel data
to surfaces, they don't care if it's OpenGL texture
or some memory chunk or something else, so we provide
a generic way to write pixel data to winsys surfaces

Change-Id: I9d2e2ac17c88ea844c02d2160986c44642285735

10 years agoVIGS: Implemented plane support 55/16655/1
Stanislav Vorobiov [Mon, 10 Feb 2014 16:50:35 +0000 (20:50 +0400)]
VIGS: Implemented plane support

We now support up to 2 hardware planes
with z-ordering and scaling. This patch also
adds surface scanout flag support. Surface scanout
flag is used as a hint that helps the host to decide
how to process the surface - either upload it to texture
or continously scanout data out of surface's VRAM

Change-Id: Ia5ac6014cfd0b49f80c4593763ee86966cf23c2a

10 years agoMerge branch 'tizen' into glesv3 45/16645/1
Stanislav Vorobiov [Thu, 20 Feb 2014 08:15:56 +0000 (12:15 +0400)]
Merge branch 'tizen' into glesv3

Change-Id: I69a1dd3c0cbbea7b7fd19e86e6c726feb785c1cb

10 years agoVIGS: Fix fence ack losses 41/16641/1
Stanislav Vorobiov [Thu, 20 Feb 2014 07:57:39 +0000 (11:57 +0400)]
VIGS: Fix fence ack losses

It's incorrect to have vblank enable/disable flag
in INT register, it can cause fence ack losses, consider
the following scenario:
1. Fence interrupt is set on host, fence_pending bit is
   set in INT register
2. vblank is turned off on guest, INT register is being
   written to and since fence_pending bit is 1 it's
   CLEARED on host
3. Now guest handles fence IRQ, but fence_pending bit
   is 0, thus, fence ack is lost

The solution is to have separate register - CON and
vblank enable/disable bit should be there

Change-Id: I1ff97d4cf8cddaec65dfe9d4c1afef3d901b4825

10 years agoMerge "ecs: remove ecs port option" into tizen
SeokYeon Hwang [Thu, 20 Feb 2014 06:58:21 +0000 (22:58 -0800)]
Merge "ecs: remove ecs port option" into tizen

10 years agoMerge "brillcodec: fix null pointer dereferences" into tizen
SeokYeon Hwang [Thu, 13 Feb 2014 06:44:05 +0000 (22:44 -0800)]
Merge "brillcodec: fix null pointer dereferences" into tizen

10 years agoMerge "codec: initialize uninitialized variables" into tizen
SeokYeon Hwang [Thu, 13 Feb 2014 06:43:32 +0000 (22:43 -0800)]
Merge "codec: initialize uninitialized variables" into tizen

10 years agoMerge "brillcodec: Improve error handling and source clean-up" into tizen
SeokYeon Hwang [Thu, 13 Feb 2014 06:43:01 +0000 (22:43 -0800)]
Merge "brillcodec: Improve error handling and source clean-up" into tizen

10 years agoMerge "brillcodec: remove concurrent data access violation case." into tizen
SeokYeon Hwang [Thu, 13 Feb 2014 06:42:43 +0000 (22:42 -0800)]
Merge "brillcodec: remove concurrent data access violation case." into tizen

10 years agoecs: remove ecs port option 18/16318/3
Munkyu Im [Thu, 6 Feb 2014 11:56:08 +0000 (20:56 +0900)]
ecs: remove ecs port option

It was set dynamically.
From now on, ecs port is set "base port + 3"
Removed ecp launching command option.

Change-Id: I164865f5b6d7bd6d1f017d95c904bcf9171d9207
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agocommunication: do not mingle DataInputStream with BufferedInputStream 59/16259/2
GiWoong Kim [Tue, 11 Feb 2014 02:21:33 +0000 (11:21 +0900)]
communication: do not mingle DataInputStream with BufferedInputStream

do not mingle DataInputStream with BufferedInputStream
use asyncExec for framebuffer swapping in Skin

Change-Id: If47a617dc0e09d24c126f652c9b309c19c0e6807
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agobrillcodec: fix null pointer dereferences 21/16221/1
Kitae Kim [Fri, 7 Feb 2014 02:16:51 +0000 (11:16 +0900)]
brillcodec: fix null pointer dereferences

 - add checking routine if output buffer is null or not
 - initialize uninitialized variables.

Change-Id: Ia494b4c3bacc37122f4c6668efaa86e5ad849be6
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agocodec: initialize uninitialized variables 20/16220/1
Munkyu Im [Thu, 6 Feb 2014 09:54:45 +0000 (18:54 +0900)]
codec: initialize uninitialized variables

some gcc version causes build error

Change-Id: I8ee3344337dc6b79ac9147298e3e22737917807f
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agobrillcodec: Improve error handling and source clean-up 19/16219/1
Kitae Kim [Wed, 5 Feb 2014 12:37:50 +0000 (21:37 +0900)]
brillcodec: Improve error handling and source clean-up

 - Remove a memory region for meta data such video resolution, frame rate and etc.
 - The way to copy data between gstreamer plugin and qemu has been changed
 - Fix null pointer access in flush_buffer
 - Update device verion (1 -> 2)

Change-Id: I17a7b41c6a26d97e05baba44266bee6b1b980655
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobrillcodec: remove concurrent data access violation case. 18/16218/1
Kitae Kim [Tue, 21 Jan 2014 11:20:25 +0000 (20:20 +0900)]
brillcodec: remove concurrent data access violation case.

Although the data is not accessed by multi-threads logically,
it has to be covered with lock mechanism.

Change-Id: Ica3c196b6522a4b371e3fcdd39a92674b0d9ee43
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agomenu: check the disposing before Ram Dump is closed 72/16072/1
GiWoong Kim [Thu, 6 Feb 2014 02:17:32 +0000 (11:17 +0900)]
menu: check the disposing before Ram Dump is closed

check the shell disposing before Ram Dump dialog is closed
And delete unused variable

Change-Id: Ib83d434e22c8f2db69a0626f4d8775df34d6284f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: keep window region while host OS theme changing 88/15988/1
GiWoong Kim [Mon, 3 Feb 2014 08:24:04 +0000 (17:24 +0900)]
skin: keep window region while host OS theme changing

Change-Id: I56e0309075cee9f4b3e1558bdf5c068090ae6188
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoYaGL: glDrawRangeElements implemented 47/15947/1
Stanislav Vorobiov [Fri, 31 Jan 2014 11:04:04 +0000 (15:04 +0400)]
YaGL: glDrawRangeElements implemented

Change-Id: Iabbb94cb362af52a498017d8fe3892ac54fa8d37

10 years agoYaGL: glGetFragDataLocation implemented 46/15946/1
Stanislav Vorobiov [Fri, 31 Jan 2014 10:23:58 +0000 (14:23 +0400)]
YaGL: glGetFragDataLocation implemented

Change-Id: I2e0a9e22578e4cbbc4f40fd626e3e97485b2c541

10 years agoYaGL: Implemented glUniformMatrixAxBfv 45/15945/1
Stanislav Vorobiov [Fri, 31 Jan 2014 09:51:06 +0000 (13:51 +0400)]
YaGL: Implemented glUniformMatrixAxBfv

Change-Id: I5d9597d9862410d69b8058a5c16b970bc8af100a

10 years agoYaGL: glClearBuffer implemented 44/15944/1
Stanislav Vorobiov [Fri, 31 Jan 2014 09:14:29 +0000 (13:14 +0400)]
YaGL: glClearBuffer implemented

Change-Id: Iec15d54b9b4276fd8b669d978551c12ed8141359

10 years agoYaGL: Integer vertex attributes and uniforms supported 43/15943/1
Stanislav Vorobiov [Fri, 31 Jan 2014 08:22:07 +0000 (12:22 +0400)]
YaGL: Integer vertex attributes and uniforms supported

Change-Id: I70012104cc4247d65e056f563ed206d37d334852

10 years agopacakge: version up 88/15688/1
GiWoong Kim [Mon, 27 Jan 2014 02:57:12 +0000 (11:57 +0900)]
pacakge: version up

1.7.20

Change-Id: I117ec32704366ee1aae194baa59df46c0ca13456
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: modified the routine for framebuffer swapping 87/15687/1
GiWoong Kim [Mon, 27 Jan 2014 02:40:48 +0000 (11:40 +0900)]
display: modified the routine for framebuffer swapping

In skin, modified the routine for framebuffer image swapping
on maru_shm

Change-Id: Iab1168b55b59e64838757bbe86d36eec6c912b56
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: added exeption throwing 86/15686/1
GiWoong Kim [Fri, 24 Jan 2014 02:40:38 +0000 (11:40 +0900)]
skin: added exeption throwing

Returns the canonical name of the underlying class as
defined by the Java Language Specification. Returns
null if the underlying class does not have a canonical name.

Change-Id: I3f7cd96eceb43f58e346297f01d09a431f99817d
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoemulator: string should null terminated 85/15685/1
GiWoong Kim [Thu, 23 Jan 2014 10:30:05 +0000 (19:30 +0900)]
emulator: string should null terminated

Change-Id: I4cb15d7f68856e19bb9399aa106358c40b876ad9
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: remove dubious method used 84/15684/1
GiWoong Kim [Thu, 23 Jan 2014 06:43:17 +0000 (15:43 +0900)]
menu: remove dubious method used

Change-Id: I0e5ad322414cae111159086c696cf2f1546e5bc5
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoYaGL: Support GL_EXT_unpack_subimage and GL_NV_pack_subimage 84/15584/1
Stanislav Vorobiov [Thu, 23 Jan 2014 16:49:32 +0000 (20:49 +0400)]
YaGL: Support GL_EXT_unpack_subimage and GL_NV_pack_subimage

Change-Id: I0dfd41ecae60e1dfffb4b9feea4e289c9f139dda

10 years agoMerge "hwkey: modified missing lock" into tizen
SeokYeon Hwang [Thu, 23 Jan 2014 07:51:48 +0000 (23:51 -0800)]
Merge "hwkey: modified missing lock" into tizen

10 years agoMerge changes Ib3011b47,I420cef20 into tizen
SeokYeon Hwang [Thu, 23 Jan 2014 02:28:22 +0000 (18:28 -0800)]
Merge changes Ib3011b47,I420cef20 into tizen

* changes:
  touch: clean up the multitouch when context menu pops up
  skin: remove null pointer dereferences

10 years agohwkey: modified missing lock 30/15530/1
sungmin ha [Thu, 23 Jan 2014 02:14:03 +0000 (11:14 +0900)]
hwkey: modified missing lock

Change-Id: I789236fa229d274dd9efe8f2bd6f6e1125b031bb
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoYaGL: Buffer object copying implemented 14/15514/1
Stanislav Vorobiov [Wed, 22 Jan 2014 13:01:19 +0000 (17:01 +0400)]
YaGL: Buffer object copying implemented

Change-Id: Ib84ac170a162cdb0dd016fbcaef67f0654b54ef1

10 years agoYaGL: Multisampled renderbuffer implemented 06/15506/1
Stanislav Vorobiov [Wed, 22 Jan 2014 11:09:41 +0000 (15:09 +0400)]
YaGL: Multisampled renderbuffer implemented

Change-Id: I371e6bd04bbc5ffd26200c52addc1947b26dd1b6

10 years agoYaGL: GL_NV_read_buffer implemented 05/15505/1
Stanislav Vorobiov [Wed, 22 Jan 2014 10:49:51 +0000 (14:49 +0400)]
YaGL: GL_NV_read_buffer implemented

Change-Id: I08f3cc49e118800881d879ccf518eca56393793f

10 years agoYaGL: glMapBuffer implemented 98/15498/1
Stanislav Vorobiov [Wed, 22 Jan 2014 09:16:18 +0000 (13:16 +0400)]
YaGL: glMapBuffer implemented

To fully support GL_NV_pixel_buffer_object on
target

Change-Id: I74e3d47ec5b16242fb9213b1383e8c303c80e95f

10 years agohwkey, keyboard: modified defects 48/15448/2
sungmin ha [Tue, 21 Jan 2014 09:39:22 +0000 (18:39 +0900)]
hwkey, keyboard: modified defects

1. missing lock
2. null checking
3. uninitialized scalar variable

Change-Id: Ib84e9592ecae4cf6682c183245eb60f61ed77242
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agotouch: clean up the multitouch when context menu pops up 59/15459/1
GiWoong Kim [Tue, 21 Jan 2014 05:45:10 +0000 (14:45 +0900)]
touch: clean up the multitouch when context menu pops up

Change-Id: Ib3011b4783f5b4757d4381a3c8e6d0cfa6fc1d8c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: remove null pointer dereferences 58/15458/1
GiWoong Kim [Tue, 21 Jan 2014 02:18:14 +0000 (11:18 +0900)]
skin: remove null pointer dereferences

Change-Id: I420cef201f172ca88aa06431aba3e63bcb44182c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoYaGL: GL_NV_pixel_buffer_object implemented 56/15456/1
Stanislav Vorobiov [Tue, 21 Jan 2014 08:03:29 +0000 (12:03 +0400)]
YaGL: GL_NV_pixel_buffer_object implemented

Change-Id: I6f402f8e59cbdf6bbc8b397d26b04894cf7059c9

10 years agoMerge "removed platform information of install dependency in emulator-qemu-x86" into...
SeokYeon Hwang [Tue, 21 Jan 2014 06:16:34 +0000 (22:16 -0800)]
Merge "removed platform information of install dependency in emulator-qemu-x86" into tizen

10 years agoECS: log path is moved to under coresponding instance's logs folder 27/15427/1
Jinhyung Choi [Tue, 21 Jan 2014 05:21:05 +0000 (14:21 +0900)]
ECS: log path is moved to under coresponding instance's logs folder

Change-Id: Ie3e5e961b00d8e6f96176844ebceef7011eed928
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoYaGL: glCompressedXXX removed 55/15455/1
Stanislav Vorobiov [Mon, 20 Jan 2014 14:13:20 +0000 (18:13 +0400)]
YaGL: glCompressedXXX removed

Texture compression is done entirely
inside target from now on

Change-Id: I7e3c1813cd081145832a1c304b4817fdfd9eb8e9

10 years agoremoved platform information of install dependency in emulator-qemu-x86 46/15346/1
sungmin ha [Mon, 20 Jan 2014 05:33:44 +0000 (14:33 +0900)]
removed platform information of install dependency in emulator-qemu-x86

Change-Id: I367172963ab79e8cd5e89d8c5c9db7b334721ee8
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoYaGL: Samplers implemented 77/15277/1
Stanislav Vorobiov [Fri, 17 Jan 2014 16:02:25 +0000 (20:02 +0400)]
YaGL: Samplers implemented

Change-Id: I89f16e090023b37b3b2447d5f1c1e62dea3fc29c

10 years agoYaGL: 2D array textures implemented 79/15179/1
Stanislav Vorobiov [Thu, 16 Jan 2014 16:28:14 +0000 (20:28 +0400)]
YaGL: 2D array textures implemented

Change-Id: I245aae2d335feda8ca7953a59daa77c88f2ede67

10 years agoYaGL: GL_OES_texture_3D implemented 78/15178/1
Stanislav Vorobiov [Thu, 16 Jan 2014 09:49:55 +0000 (13:49 +0400)]
YaGL: GL_OES_texture_3D implemented

Change-Id: I63a67beb459cda6e747e605d2319d067e589c48c

10 years agoYaGL: Avoid extra glBufferData call on glVertexAttribPointer 64/15064/1
Stanislav Vorobiov [Wed, 15 Jan 2014 11:41:54 +0000 (15:41 +0400)]
YaGL: Avoid extra glBufferData call on glVertexAttribPointer

If we just keep array size then it's possible to
avoid calling glBufferData before glBufferSubData, this
was the reason FPS dropped a bit comparing to old
glVertexAttribPointer implementation

Change-Id: I1a6cf8ff5f8f4a8a5f0f375259bff00d01e58b10

10 years agopackage: version up 55/15055/1
GiWoong Kim [Wed, 15 Jan 2014 10:53:23 +0000 (19:53 +0900)]
package: version up

1.7.16

Change-Id: If42532e13036803306d8d164f922249484e1fdf5
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: added schema for Control Panel menu 54/15054/1
GiWoong Kim [Wed, 15 Jan 2014 10:10:13 +0000 (19:10 +0900)]
menu: added schema for Control Panel menu

Now, user can configure the Control Panel menu
(Right click popup>Control Panel menu) by skin
layout XML file.

Change-Id: I43977590a281db0338f625d28a5534b8346bd4c0
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: modified sensord notification when rotating 53/15053/1
GiWoong Kim [Wed, 15 Jan 2014 07:52:57 +0000 (16:52 +0900)]
display: modified sensord notification when rotating

Change-Id: I8520d41f02f66728f50bde4e21917739d1c1986c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agogesture: no need to multitouch clearing at every injection 52/15052/1
GiWoong Kim [Tue, 14 Jan 2014 09:21:32 +0000 (18:21 +0900)]
gesture: no need to multitouch clearing at every injection

Change-Id: Ib5c39564257b66efbff9840fc5f74a4357f1dada
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agotouchscreen: modified reset function 51/15051/1
GiWoong Kim [Tue, 14 Jan 2014 09:09:20 +0000 (18:09 +0900)]
touchscreen: modified reset function

clean up the queues when emulator restarting

Change-Id: I28266a4ce863d160d793b45341ece4d8af42455c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge remote-tracking branch 'origin/tizen' into glesv3 63/15063/1
Stanislav Vorobiov [Wed, 15 Jan 2014 07:05:46 +0000 (11:05 +0400)]
Merge remote-tracking branch 'origin/tizen' into glesv3

Conflicts:
hw/vigs/vigs_gl_backend_glx.c
hw/yagl/yagl_apis/gles/yagl_gles_calls.c
hw/yagl/yagl_backends/egl_offscreen/yagl_egl_offscreen_context.c
hw/yagl/yagl_backends/egl_onscreen/yagl_egl_onscreen_surface.c
hw/yagl/yagl_inc/GLES/egl.h
hw/yagl/yagl_inc/GLES/gl.h
hw/yagl/yagl_inc/GLES/glext.h
hw/yagl/yagl_inc/GLES/glplatform.h
hw/yagl/yagl_inc/GLES2/gl2.h
hw/yagl/yagl_inc/GLES2/gl2ext.h
hw/yagl/yagl_inc/GLES2/gl2platform.h
hw/yagl_apis/gles/yagl_gles_api_ts.c
hw/yagl_apis/gles/yagl_gles_api_ts.h
hw/yagl_drivers/gles_ogl/yagl_gles_ogl.h
hw/yagl_egl_backend.c
hw/yagl_egl_driver.c
hw/yagl_egl_interface.h
hw/yagl_gles_driver.c
hw/yagl_transport.c
hw/yagl_transport.h
hw/yagl_types.h
hw/yagl_version.h

Change-Id: Icc72fbe2ff253ae282d3f2972e216b1fc42c1b02

10 years agoVIGS: Use glTexSubImage2D instead of glDrawPixels 46/14946/1
Stanislav Vorobiov [Mon, 13 Jan 2014 15:49:24 +0000 (19:49 +0400)]
VIGS: Use glTexSubImage2D instead of glDrawPixels

With some GPUs (like Intel HD Graphics 2000) glDrawPixels
with glPixelZoom doesn't work very well, it may do
software fallback or produce ban rendering, so it's
better to use glTexSubImage2D

Change-Id: I827f0985d558493067954a95c05e227dc064fe88

10 years agoYaGL/VIGS: Use GL_UNSIGNED_INT_8_8_8_8_REV instead of GL_UNSIGNED_BYTE 78/14878/1
Stanislav Vorobiov [Mon, 13 Jan 2014 09:37:10 +0000 (13:37 +0400)]
YaGL/VIGS: Use GL_UNSIGNED_INT_8_8_8_8_REV instead of GL_UNSIGNED_BYTE

On Mac OS X glReadPixels with GL_UNSIGNED_BYTE may introduce stalls
even when it's used with PBO, so use
GL_UNSIGNED_INT_8_8_8_8_REV - it's the same
thing and it doesn't stall glReadPixels

Change-Id: I40ae1981579b3596f42f9a22604fd3d7fad8e335

10 years agoVIGS: Use GL_PACK_ALIGNMENT/GL_UNPACK_ALIGNMENT 1 instead of 4 45/14845/1
Stanislav Vorobiov [Thu, 9 Jan 2014 16:28:21 +0000 (20:28 +0400)]
VIGS: Use GL_PACK_ALIGNMENT/GL_UNPACK_ALIGNMENT 1 instead of 4

With some GPUs (like Intel HD Graphics 2000)
GL_PACK_ALIGNMENT == 4 may introduce glReadPixels stalls even when
it's used with PBO, so use GL_PACK_ALIGNMENT == 1 - it's the same
thing and it doesn't stall glReadPixels

Change-Id: Id34e7f0d00a9e65813859b4e9ad931db7149fa0d

10 years agoVIGS: Using asynchronous glReadPixels for display update 44/14844/1
Stanislav Vorobiov [Thu, 9 Jan 2014 14:13:35 +0000 (18:13 +0400)]
VIGS: Using asynchronous glReadPixels for display update

On somy GPUs like Intel HD Graphics 2000 glReadPixels is too
slow, so we use so called asynchronous version of
glReadPixels - it uses PBO for pixel storage and separate work
queue to read back results

Change-Id: I43f30daf57166a30cecf356fa2170da640de1ae3

10 years agoYaGL/VIGS: Implemented multicore rendering and fences 43/14843/1
Stanislav Vorobiov [Thu, 28 Nov 2013 10:49:48 +0000 (14:49 +0400)]
YaGL/VIGS: Implemented multicore rendering and fences

We now use multicore rendering, i.e. we offload all
rendering to a separate thread and use fences to wait
until certain parts of it are complete

Change-Id: I9e3f31d07d0a7e575e73996d7762f3a0300ca83d

10 years agoMerge "skin: move General skin to mobile-specific path" into tizen
daiyoung kim [Mon, 13 Jan 2014 06:36:48 +0000 (22:36 -0800)]
Merge "skin: move General skin to mobile-specific path" into tizen

10 years agohax: Fix CPU 100% usage issue 83/14783/1
Deng, Wei [Mon, 13 Jan 2014 02:58:44 +0000 (10:58 +0800)]
hax: Fix CPU 100% usage issue

Change-Id: I8e24b60b4a0b78f3bd76a5079e150dbf7f5eb396
Signed-off-by: Deng, Wei <wei.a.deng@intel.com>
10 years agoskin: move General skin to mobile-specific path 70/14770/1
GiWoong Kim [Fri, 10 Jan 2014 08:32:37 +0000 (17:32 +0900)]
skin: move General skin to mobile-specific path

tools/emulator/skins -> platforms/mobile-3.0/emulator-resources/skins

Change-Id: If28d1499ca23c67cb9c1851ff56902fc934668c4
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoconfigure: remove mixemu option on macosx 02/14702/1
munkyu.im [Thu, 9 Jan 2014 10:10:39 +0000 (19:10 +0900)]
configure: remove mixemu option on macosx

It's not used on macosx.

Change-Id: Ifcf541072fdff57def31f64ba631bb4da41c2e61
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
(cherry picked from commit 88bfa9bf00fceaef59714a136dab82c78304ee50)

10 years agoMerge branch 'tizen_qemu_1.7' into tizen
SeokYeon Hwang [Wed, 8 Jan 2014 03:54:54 +0000 (12:54 +0900)]
Merge branch 'tizen_qemu_1.7' into tizen

10 years agoremote: disabled unstable spice because runtime library dependency 19/14519/1
sungmin ha [Tue, 7 Jan 2014 04:50:07 +0000 (13:50 +0900)]
remote: disabled unstable spice because runtime library dependency

Change-Id: I4bc1f81ce602194854578a31d244adad6bbe2e1e
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoscreenshot: screen shot window enhancement 36/14336/1
GiWoong Kim [Thu, 26 Dec 2013 08:35:19 +0000 (17:35 +0900)]
screenshot: screen shot window enhancement

1. added mouse scrolling for screen
2. modified some variable names

Change-Id: I11ab28f18270a5badfb07b4c9e45a57e5c3ace44
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoremote: enabled spice 25/14325/1
sungmin ha [Fri, 3 Jan 2014 03:47:39 +0000 (12:47 +0900)]
remote: enabled spice

Change-Id: I5c1a8445515442a49629f762bac17d2c7f03c0b4
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoecs LOGS: replace from __TIME__ to get_timeofday() to print time for 24/14324/1
Jinhyung Choi [Fri, 3 Jan 2014 03:23:27 +0000 (12:23 +0900)]
ecs LOGS: replace from __TIME__ to get_timeofday() to print time for
logging

Change-Id: Ieeb88fa14cd817ff3b16efee4264503232eba215
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoMerge branch 'tizen' into tizen_qemu_1.7
SeokYeon Hwang [Fri, 3 Jan 2014 02:11:45 +0000 (11:11 +0900)]
Merge branch 'tizen' into tizen_qemu_1.7

10 years agoMerge "ecs: add checking error case" into tizen
daiyoung kim [Thu, 26 Dec 2013 09:45:28 +0000 (01:45 -0800)]
Merge "ecs: add checking error case" into tizen

10 years agoecs: add checking error case 71/14171/1
munkyu.im [Thu, 26 Dec 2013 07:59:28 +0000 (16:59 +0900)]
ecs: add checking error case

returns when occur error case

Change-Id: Ib2ad461e2bd99b73f3a22d72656a165d02bfa16c
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoMerge "update version (1.7.11 -> 1.7.12)" into tizen
daiyoung kim [Thu, 26 Dec 2013 07:48:13 +0000 (23:48 -0800)]
Merge "update version (1.7.11 -> 1.7.12)" into tizen

10 years agoupdate version (1.7.11 -> 1.7.12) 68/14168/1
jihye kim [Thu, 26 Dec 2013 07:48:07 +0000 (16:48 +0900)]
update version (1.7.11 -> 1.7.12)

Change-Id: Iff56baebc35b694919ac4bad37cd3043c77e37ff
Signed-off-by: jihye kim <jihye1128.kim@samsung.com>
10 years agoMerge "ecs: fix fd type" into tizen
daiyoung kim [Thu, 26 Dec 2013 07:35:35 +0000 (23:35 -0800)]
Merge "ecs: fix fd type" into tizen

10 years agoecs: fix fd type 65/14165/1
munkyu.im [Thu, 26 Dec 2013 07:35:05 +0000 (16:35 +0900)]
ecs: fix fd type

Fd type must be an integer type.

Change-Id: Iae3f1350b6442552a2736c62b0dcd1bc1ad85dc9
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoMerge "qemu: remove prevent issue" into tizen
daiyoung kim [Thu, 26 Dec 2013 07:34:12 +0000 (23:34 -0800)]
Merge "qemu: remove prevent issue" into tizen

10 years agoqemu: remove prevent issue 64/14164/1
munkyu.im [Thu, 26 Dec 2013 07:31:36 +0000 (16:31 +0900)]
qemu: remove prevent issue

added to check null pointer.
added to check lock/unlock.

Change-Id: I98e3fd8a297bb7a7df1149657606cf3d74522f2f
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoMerge "emulator: modified time logging" into tizen
daiyoung kim [Thu, 26 Dec 2013 07:22:11 +0000 (23:22 -0800)]
Merge "emulator: modified time logging" into tizen

10 years agoadd disable xen for linux 63/14163/1
jihye kim [Thu, 26 Dec 2013 07:21:27 +0000 (16:21 +0900)]
add disable xen for linux

Change-Id: I7cb147996e51065d6d2060a12b93a62fef8507f1
Signed-off-by: jihye kim <jihye1128.kim@samsung.com>
10 years agoemulator: modified time logging 58/14158/1
GiWoong Kim [Thu, 26 Dec 2013 03:22:00 +0000 (12:22 +0900)]
emulator: modified time logging

In latest MinGW, 'time_t' is defined to be 8-byte long

Change-Id: I05097185e452ba5a89b57c0490f7e96950604f7a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoremote: disabled unstable spice 45/14145/1
sungmin ha [Tue, 24 Dec 2013 12:25:11 +0000 (21:25 +0900)]
remote: disabled unstable spice

Change-Id: I6462d767e875cc51c48c966302a7336df7b48b2b
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoremote: added spice-protocol configure 43/14143/1
sungmin ha [Tue, 24 Dec 2013 11:34:02 +0000 (20:34 +0900)]
remote: added spice-protocol configure

Change-Id: I4e1807cf233fb1f5011b9851477b4b1352b30e6a
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoremote: added test code in emulator_configure.sh 39/14139/1
sungmin ha [Tue, 24 Dec 2013 10:48:08 +0000 (19:48 +0900)]
remote: added test code in emulator_configure.sh

Change-Id: I364e1bed6db83c7e23a61a7afebb569a57483b29
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoremote: added configure option for gtk 3 31/14131/1
sungmin ha [Tue, 24 Dec 2013 10:20:52 +0000 (19:20 +0900)]
remote: added configure option for gtk 3

Change-Id: Iac125de7491711e39c0498e358550baf02cebc58
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoremote: modified export position in configure file 29/14129/2
sungmin ha [Tue, 24 Dec 2013 09:29:17 +0000 (18:29 +0900)]
remote: modified export position in configure file

removed unnecessary file
restored Makefile.in in virt-viewer

Change-Id: I8f0a899cad8b2d10344364bdcbbfb328e782662f
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoremote: removed reconfigure code in virt-viewer 28/14128/1
sungmin ha [Tue, 24 Dec 2013 07:59:17 +0000 (16:59 +0900)]
remote: removed reconfigure code in virt-viewer

Change-Id: Ic693dbdcf7a599b1edc1c84450373f273e1dc63e
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agogesture: release the multi-touch before gesture injecting 24/14124/1
GiWoong Kim [Tue, 24 Dec 2013 05:18:33 +0000 (14:18 +0900)]
gesture: release the multi-touch before gesture injecting

release the multi-touch before gesture event injecting
(maru_sdl)

Change-Id: Ib54dede198ab41a8739b29936986a1cfe6dac7a2
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoremote: added required package libvirt-dev for build 20/14120/1
sungmin ha [Tue, 24 Dec 2013 02:19:06 +0000 (11:19 +0900)]
remote: added required package libvirt-dev for build

modified prefix in build/clean script

Change-Id: Ic687a8df629e07221195e30df7d8cbaecda45c27
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoremote: modified scripts and Makefile 14/14114/1
sungmin ha [Mon, 23 Dec 2013 11:43:33 +0000 (20:43 +0900)]
remote: modified scripts and Makefile

1. deleted unnecessary files
2. added required package

Change-Id: I7f77b6223d25545f7cf253871cfb31a21cd49207
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoremote: included common header spice/enums.h 12/14112/1
sungmin ha [Mon, 23 Dec 2013 11:09:41 +0000 (20:09 +0900)]
remote: included common header spice/enums.h

Change-Id: I395c1ded5d1e41562fbeabfe595a59be233c78b5
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge "remote: modified define construction in ui/input.c" into tizen
daiyoung kim [Mon, 23 Dec 2013 10:59:09 +0000 (02:59 -0800)]
Merge "remote: modified define construction in ui/input.c" into tizen

10 years agoremote: modified define construction in ui/input.c 10/14110/1
sungmin ha [Mon, 23 Dec 2013 10:48:44 +0000 (19:48 +0900)]
remote: modified define construction in ui/input.c

Change-Id: I1535ed1bfe5d72102533c52144606a806ab272ca
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge "added execute permission keymap-gen.pl for build" into tizen
daiyoung kim [Mon, 23 Dec 2013 10:22:14 +0000 (02:22 -0800)]
Merge "added execute permission keymap-gen.pl for build" into tizen

10 years agoadded execute permission keymap-gen.pl for build 09/14109/1
sungmin ha [Mon, 23 Dec 2013 10:21:35 +0000 (19:21 +0900)]
added execute permission keymap-gen.pl for build

Change-Id: I1f352a8790bf7d58d5a4bae56f4bf397936bb1f2
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge "added execute permission spice_codegen.py for build" into tizen
daiyoung kim [Mon, 23 Dec 2013 10:16:46 +0000 (02:16 -0800)]
Merge "added execute permission spice_codegen.py for build" into tizen

10 years agoadded execute permission spice_codegen.py for build 07/14107/2
sungmin ha [Mon, 23 Dec 2013 10:05:17 +0000 (19:05 +0900)]
added execute permission spice_codegen.py for build

Change-Id: I24ce8cff1d52652bda3de592c6b3902440d115d5
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>