sdk/emulator/qemu.git
10 years agoEmulator Manager : Add function to ECS for monitoring of running VM. 43/18043/4
minkee.lee [Fri, 14 Mar 2014 09:11:54 +0000 (18:11 +0900)]
Emulator Manager : Add function to ECS for monitoring of running VM.

Change-Id: I6959a3e77b4186cda6609b37517be7c57b8ed3cb
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
10 years agoremote: added build/install dependency for spice server 98/17898/1
sungmin ha [Wed, 12 Mar 2014 08:16:33 +0000 (17:16 +0900)]
remote: added build/install dependency for spice server

Change-Id: If2f9a99e276c0cae9b02e0ae568f89d06f0aef97
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge "configure: use -Wl,--large-address-aware on windows" into tizen
SeokYeon Hwang [Wed, 12 Mar 2014 08:10:35 +0000 (01:10 -0700)]
Merge "configure: use -Wl,--large-address-aware on windows" into tizen

10 years agoskin: source clean-up 34/17834/2
GiWoong Kim [Tue, 11 Mar 2014 08:07:53 +0000 (17:07 +0900)]
skin: source clean-up

add HW key informations to SkinRotations
modified some variable names
move HWKeyRegion to layout package

Change-Id: Icdd777654030f3ac4cd564ca91bf633d46913329
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge changes I72afd762,I213542ce into tizen
SeokYeon Hwang [Wed, 12 Mar 2014 08:06:01 +0000 (01:06 -0700)]
Merge changes I72afd762,I213542ce into tizen

* changes:
  Emulator : Enables host GL information to log file
  maru_camera : Fixed some problems

10 years agoMerge "maru_brightness : Prevent illegal accesses memory" into tizen
SeokYeon Hwang [Wed, 12 Mar 2014 08:04:04 +0000 (01:04 -0700)]
Merge "maru_brightness : Prevent illegal accesses memory" into tizen

10 years agoMerge "skin: modified SkinRotation class name" into tizen
SeokYeon Hwang [Wed, 12 Mar 2014 08:03:46 +0000 (01:03 -0700)]
Merge "skin: modified SkinRotation class name" into tizen

10 years agoMerge changes Ic2fbd51e,Icdbb6e75 into tizen
SeokYeon Hwang [Wed, 12 Mar 2014 08:02:48 +0000 (01:02 -0700)]
Merge changes Ic2fbd51e,Icdbb6e75 into tizen

* changes:
  maru_overlay : Fixed unintended sign extension
  maru_sdl : Modified the logging function.

10 years agoskin: modified SkinRotation class name 98/17798/2
GiWoong Kim [Tue, 11 Mar 2014 01:59:51 +0000 (10:59 +0900)]
skin: modified SkinRotation class name

SkinRotation -> SkinRotations
and move class to layout.rotation package

Change-Id: Ie8c6646b09f2122498a6f28a75b613b2986e8daf
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoconfigure: use -Wl,--large-address-aware on windows 29/17829/1
Stanislav Vorobiov [Tue, 11 Mar 2014 07:53:35 +0000 (10:53 +0300)]
configure: use -Wl,--large-address-aware on windows

On windows we always build 32-bit binary even if
host os is 64-bit. This limits emulator virtual memory
size to 2GB. -Wl,--large-address-aware linker flag
allows us to use up to 4GB of virtual memory on 64-bit
host os and up to 3GB on 32-bit host os

Change-Id: I2352a89850a72d331e3e54f6662ff76adc22868d

10 years agoskin: refactoring for rotation 97/17797/1
GiWoong Kim [Mon, 10 Mar 2014 10:28:44 +0000 (19:28 +0900)]
skin: refactoring for rotation

remove RotationInfo class & add Rotation class
use ID for rotation checking

Change-Id: I5f1d224ffaeb4c9018077d8cba4d95fa4c710888
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoEmulator : Enables host GL information to log file 90/17590/2
jinhyung.jo [Thu, 6 Mar 2014 06:14:51 +0000 (15:14 +0900)]
Emulator : Enables host GL information to log file

Modified execution oder of the prepare feature.
For the following reason,
ECS intercept the log.
Thus, changed to prepare the ECS after write GL information to the log file.

Change-Id: I72afd76294ed5d78a8b9fc9ebff62600d04dadfa
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agomaru_camera : Fixed some problems 89/17589/3
jinhyung.jo [Thu, 6 Mar 2014 06:05:39 +0000 (15:05 +0900)]
maru_camera : Fixed some problems

Change the logging function to suit the log format.
Reset the camera state when the emualtor is resetting.
Modified functions from memcpy to strcpy, because of out-of-bounds access.

Change-Id: I213542ce5a02b81ce9adb625f486d75e830aef17
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agomaru_brightness : Prevent illegal accesses memory 88/17588/2
jinhyung.jo [Thu, 6 Mar 2014 06:01:53 +0000 (15:01 +0900)]
maru_brightness : Prevent illegal accesses memory

Modified the array of the brightness level,
added one more item for level 100, to avoid illegal access.

Change-Id: I2c7c8b6899d27b7107d4c6cddeb40ece416812a6
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agomaru_overlay : Fixed unintended sign extension 87/17587/2
jinhyung.jo [Thu, 6 Mar 2014 05:57:05 +0000 (14:57 +0900)]
maru_overlay : Fixed unintended sign extension

Modified composite statement to avoid sign extension.

Change-Id: Ic2fbd51efae429a3f872d2db695808a17fd2e4fa
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agoMerge "brillcodec: fix encoding video routine" into tizen
SeokYeon Hwang [Fri, 7 Mar 2014 11:28:18 +0000 (03:28 -0800)]
Merge "brillcodec: fix encoding video routine" into tizen

10 years agoMerge "brillcodec: fix segv problem on 64bit and Windows." into tizen
SeokYeon Hwang [Fri, 7 Mar 2014 11:28:02 +0000 (03:28 -0800)]
Merge "brillcodec: fix segv problem on 64bit and Windows." into tizen

10 years agoMerge "brillcodec: modify the close routine when codec operation has to be stopped...
SeokYeon Hwang [Fri, 7 Mar 2014 11:27:38 +0000 (03:27 -0800)]
Merge "brillcodec: modify the close routine when codec operation has to be stopped." into tizen

10 years agomaru_sdl : Modified the logging function. 86/17586/1
jinhyung.jo [Thu, 6 Mar 2014 05:12:55 +0000 (14:12 +0900)]
maru_sdl : Modified the logging function.

Replace the function, fprintf -> debug_ch macro(ERR).
Remove unused code.

Change-Id: Icdbb6e75dece2517210604fd83839e84ca955324
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agoMerge branch 'glesv3' into tizen 73/17373/1
Stanislav Vorobiov [Thu, 6 Mar 2014 14:26:32 +0000 (18:26 +0400)]
Merge branch 'glesv3' into tizen

Change-Id: Ic1a616ee634d6467986a1e5e33d78f66801c1b1e

10 years agoYaGL/VIGS: Version bump 63/17363/1 glesv3
Stanislav Vorobiov [Thu, 6 Mar 2014 13:49:08 +0000 (17:49 +0400)]
YaGL/VIGS: Version bump

GLESv3 merge version bump

Change-Id: Ic270b317b943ff082a4c1580845cc01a8a655173

10 years agoYaGL/VIGS: Set log level to info by default 62/17362/1
Stanislav Vorobiov [Thu, 6 Mar 2014 13:21:30 +0000 (17:21 +0400)]
YaGL/VIGS: Set log level to info by default

Change-Id: I42617a10c8cfc7535aefd633d9d95571c5106804

10 years agobrillcodec: fix encoding video routine 19/17319/1
Kitae Kim [Wed, 19 Feb 2014 03:26:35 +0000 (12:26 +0900)]
brillcodec: fix encoding video routine

Checking the length of encoded video was wrong.
It causes that emulator gets SEGV when encoding video.

Change-Id: Ic2a175dbb01b9f3d9867d4d79dc2c7598151b34a
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobrillcodec: fix segv problem on 64bit and Windows. 18/17318/1
Kitae Kim [Mon, 17 Feb 2014 02:47:43 +0000 (11:47 +0900)]
brillcodec: fix segv problem on 64bit and Windows.

The size of defined structure can be different on each OS.
That's why it causes seg problem on 64bit and Windows.

Change-Id: If6156c480b0cfe1ed13b891dbbb5296e3338a094
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobrillcodec: modify the close routine when codec operation has to be stopped. 17/17317/1
Kitae Kim [Fri, 7 Feb 2014 11:09:20 +0000 (20:09 +0900)]
brillcodec: modify the close routine when codec operation has to be stopped.

When media apps terminate their processes as moving backwards,
deinit function is not used but release_context function.

Change-Id: Ic341f2ad1e56d6ec38b9aacafe7d76ae662022d9
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobrillcodec: fix a bug when guest wants to close CodecContext instantaneously 16/17316/1
Kitae Kim [Fri, 7 Feb 2014 02:31:53 +0000 (11:31 +0900)]
brillcodec: fix a bug when guest wants to close CodecContext instantaneously

A CodecContext has to be handled by one thread in consecutive order.
However, there is an exception case when guest wants to close the context,
which is running by a worker thread.
In case, closing request will be abandoned and then,
the running thread will close the context after finishing its job.

Change-Id: Ic0e9f24661062ba6237f2952e4de332548c8de73
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge "touch: if window lose focus, turn off the multi-touch" into tizen
SeokYeon Hwang [Thu, 6 Mar 2014 08:47:54 +0000 (00:47 -0800)]
Merge "touch: if window lose focus, turn off the multi-touch" into tizen

10 years agoMerge "display: optimize a paint listener on maru_shm" into tizen
SeokYeon Hwang [Thu, 6 Mar 2014 08:47:10 +0000 (00:47 -0800)]
Merge "display: optimize a paint listener on maru_shm" into tizen

10 years agoMerge "display: no need to draw frame when blank guide is set." into tizen
SeokYeon Hwang [Thu, 6 Mar 2014 08:46:49 +0000 (00:46 -0800)]
Merge "display: no need to draw frame when blank guide is set." into tizen

10 years agotouch: if window lose focus, turn off the multi-touch 06/17306/2
GiWoong Kim [Thu, 6 Mar 2014 05:57:55 +0000 (14:57 +0900)]
touch: if window lose focus, turn off the multi-touch

When window lose its focus, turn off the multi-touch mode
on maru_shm

Change-Id: Ib5885be11fc68b175f0e60e0863cf9576a0136d3
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoDevices: data is moved into qemu from kernel 42/17242/2
Jinhyung Choi [Thu, 6 Mar 2014 05:24:49 +0000 (14:24 +0900)]
Devices: data is moved into qemu from kernel

- virtio devices: Jacks, battery, and sensor

Change-Id: I846717a99cfdac02b3d57336d385fb2c03ed08f3
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agodisplay: optimize a paint listener on maru_shm 05/17305/1
GiWoong Kim [Thu, 6 Mar 2014 04:14:33 +0000 (13:14 +0900)]
display: optimize a paint listener on maru_shm

no need to create transforms at every repaint event
no need to rearrange the touch points at every repaint event

Change-Id: I10bee8b88a39b941287eb5b2f6fd88c65418bc98
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: no need to draw frame when blank guide is set. 04/17304/1
GiWoong Kim [Wed, 5 Mar 2014 07:25:40 +0000 (16:25 +0900)]
display: no need to draw frame when blank guide is set.

There is no need to draw frame when blank guide is set.
And some variables and class names are modified.

Change-Id: I6df62aa5ff5090677c7adea2b64ab3c1823fa2ed
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoYaGL: Allow using EGL_DONT_CARE in eglChooseConfig 03/17203/1
Stanislav Vorobiov [Wed, 5 Mar 2014 08:55:45 +0000 (12:55 +0400)]
YaGL: Allow using EGL_DONT_CARE in eglChooseConfig

EGL_DONT_CARE must be allowed to be used in config
attributes

Change-Id: If20440b863a5525d8f0d63c4d778db65f7959ff6

10 years agopackage: version up 37/17137/1
GiWoong Kim [Tue, 4 Mar 2014 08:10:32 +0000 (17:10 +0900)]
package: version up

1.7.23

Change-Id: I10575d9ec4221ab60c1a26daf4c283ee42895c19
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: modified SDK version loading 36/17136/1
GiWoong Kim [Tue, 4 Mar 2014 07:52:05 +0000 (16:52 +0900)]
skin: modified SDK version loading

As the Version Manager changes, version file path was changed.
([SDK_ROOT]/tools/emulator/etc/version -> [SDK_ROOT]/sdk.version)
And file format was changed also.
(text -> property)

Change-Id: I88578a653e6f4ca02f93cfb13cc258593d3cdb65
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomouse: disable wheel emulation when TSP is added 35/17135/1
GiWoong Kim [Thu, 27 Feb 2014 03:00:23 +0000 (12:00 +0900)]
mouse: disable wheel emulation when TSP is added

Change-Id: I6279c267699c884382b5fd88b16a26cf3dbac2e3
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: no need to load png icon file 34/17134/1
GiWoong Kim [Tue, 4 Mar 2014 05:22:13 +0000 (14:22 +0900)]
skin: no need to load png icon file

Change-Id: If14516cbffd9c8c4c1b3d0a4bdc33e9794b4e567
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoYaGL: Always use EBO with glDrawElementsXXX 29/17029/1
Stanislav Vorobiov [Sat, 1 Mar 2014 16:12:34 +0000 (20:12 +0400)]
YaGL: Always use EBO with glDrawElementsXXX

OpenGL 3.1+ core requires that glDrawElementsXXX
be called with EBO bound

Change-Id: Id553c682407ae9da2d0a21fe9065d9eb95122c00

10 years agoVIGS: Try harder to get OpenGL 3.2 core context 25/17025/1
Stanislav Vorobiov [Sat, 1 Mar 2014 09:38:41 +0000 (13:38 +0400)]
VIGS: Try harder to get OpenGL 3.2 core context

Querying for just OpenGL 3.1 isn't enough,
the implementation MAY return OpenGL 3.x where x > 1,
but it's not guaranteed. Thus, we must try to create
another context explicitly specifying OpenGL 3.2 core,
if that fails then we know for sure that OpenGL 3.2 core
isn't supported

Change-Id: I8625c65ed8f4781a94e03fff86ac737e514b0c69

10 years agoVIGS: Use proper shader versions 24/17024/1
Stanislav Vorobiov [Sat, 1 Mar 2014 09:11:16 +0000 (13:11 +0400)]
VIGS: Use proper shader versions

We need to use 120 shaders when in legacy mode and
140 shaders when in GL3 mode

Change-Id: Ic9cd8aee5a9dd936c57f40c9d255f7497f158c45

10 years agoVIGS/YaGL: Support OpenGL 3.1+ core on windows 35/16835/1
Stanislav Vorobiov [Mon, 24 Feb 2014 18:11:31 +0000 (22:11 +0400)]
VIGS/YaGL: Support OpenGL 3.1+ core on windows

On windows we use WGL_ARB_create_context for that

Change-Id: Ib032f4dc45d36d50b1af440f71d8d97ba5eb950a

10 years agoYaGL: Return nVidia GL_UNPACK_ALIGNMENT bug workaround 56/16756/1
Stanislav Vorobiov [Mon, 24 Feb 2014 10:53:08 +0000 (14:53 +0400)]
YaGL: Return nVidia GL_UNPACK_ALIGNMENT bug workaround

Since we will use GL_ALPHA format after all we must
return that nVidia GL_UNPACK_ALIGNMENT bug workaround

Change-Id: I5cac6722e4358178d27accf30b4d2b56417482be

10 years agoVIGS: Fixed for windows build 55/16755/1
Stanislav Vorobiov [Mon, 24 Feb 2014 10:01:17 +0000 (13:01 +0300)]
VIGS: Fixed for windows build

Change-Id: Ib6e053a9680832c1651798f688d74ce4f47c98fb

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 agocommunication: some optimization for packet parsing 22/16722/1
GiWoong Kim [Mon, 24 Feb 2014 06:33:01 +0000 (15:33 +0900)]
communication: some optimization for packet parsing

In skin, take out the variable declaration from while loop.
To improve efficiency, delete a RecieveCommand class.

Change-Id: Icaaaee5a1d6c83000bcc91980fcff598fe842284
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoremote: removed remote sources for git separation 14/16714/1
sungmin ha [Mon, 24 Feb 2014 05:52:53 +0000 (14:52 +0900)]
remote: removed remote sources for git separation

Change-Id: Ief8618da6d4cd7bcfc12b40640af45822c042fdc
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
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 agoskin: added some logs 82/16682/1
GiWoong Kim [Thu, 20 Feb 2014 06:00:33 +0000 (15:00 +0900)]
skin: added some logs

Change-Id: If721ffb7de1f84c1e56253371d5b2185ac7fd8f3
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocommunication: source clean-up 81/16681/1
GiWoong Kim [Wed, 12 Feb 2014 06:44:15 +0000 (15:44 +0900)]
communication: source clean-up

delete unused code, fix indenting and
add some logs

Change-Id: Idcf067d1556249a53f853d36fb32b9dabc9879af
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: no need to create toggle button 28/16628/4
GiWoong Kim [Thu, 20 Feb 2014 03:22:17 +0000 (12:22 +0900)]
skin: no need to create toggle button

no need to create toggle button when HW key
does not exist on General Purpose skin.
& clean up some codes

Change-Id: I3d04e488ef7b27b9550b5305b155e903bc81e97a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocommunication: block the Alt+F4 event for a while 61/16561/2
GiWoong Kim [Fri, 14 Feb 2014 09:35:32 +0000 (18:35 +0900)]
communication: block the Alt+F4 event for a while

When short cut(Alt+F4) key repeating, block the event for a while

Change-Id: I781b5be4b40600c95f6ece2324c20bb40f560994
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: added schema for Ram Dump menu 60/16560/2
GiWoong Kim [Thu, 13 Feb 2014 11:52:04 +0000 (20:52 +0900)]
menu: added schema for Ram Dump menu

Now, user can configure the Ram Dump menu
(Right click popup>Advanced>Diagnosis>Ram Dump)
by skin layout XML file.

Change-Id: I215457bf84ef2aaa5344da6113cf2db2a95e7ae6
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: refactoring for popup menu creation 59/16559/2
GiWoong Kim [Thu, 13 Feb 2014 04:25:11 +0000 (13:25 +0900)]
menu: refactoring for popup menu creation

define return value for item creation
delete unused code & etc

Change-Id: Id22405af6308e1a9a5ae95282c03f67ba561be1b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
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>