sdk/emulator/qemu.git
5 weeks agofixup! *rest of the owl* sandbox/mmajewski2/virgl-cleanup
Mateusz Majewski [Wed, 7 May 2025 10:17:11 +0000 (12:17 +0200)]
fixup! *rest of the owl*

6 weeks agohax: Support guest RAM sizes of 4GB or more
Yu Ning [Fri, 12 Jan 2018 10:22:35 +0000 (18:22 +0800)]
hax: Support guest RAM sizes of 4GB or more

Since HAX_VM_IOCTL_ALLOC_RAM takes a 32-bit size, it cannot handle
RAM blocks of 4GB or larger, which is why HAXM can only run guests
with less than 4GB of RAM. Solve this problem by utilizing the new
HAXM API, HAX_VM_IOCTL_ADD_RAMBLOCK, which takes a 64-bit size, to
register RAM blocks with the HAXM kernel module. The new API is
first added in HAXM 7.0.0, and its availablility and be confirmed
by the presence of the HAX_CAP_64BIT_RAMBLOCK capability flag.

When the guest RAM size reaches 7GB, QEMU will ask HAXM to set up a
memory mapping that covers a 4GB region, which will fail, because
HAX_VM_IOCTL_SET_RAM also takes a 32-bit size. Work around this
limitation by splitting the large mapping into small ones and
calling HAX_VM_IOCTL_SET_RAM multiple times.

Bug: https://bugs.launchpad.net/qemu/+bug/1735576

Change-Id: Ide245bffe3ea78eb602a8637eea99537acccfedd
Signed-off-by: Yu Ning <yu.ning@intel.com>
Message-Id: <1515752555-12784-1-git-send-email-yu.ning@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 7a5235c9e679c58be41c7f0d2f4092ded8bd01f2)

2 months ago*rest of the owl*
Mateusz Majewski [Tue, 25 Mar 2025 13:39:30 +0000 (14:39 +0100)]
*rest of the owl*

Change-Id: I825083e7e8a83b35877894a1809bccc0bcc09f8f

2 months agoRemove some unnecessary dependencies
Mateusz Majewski [Tue, 25 Mar 2025 13:13:50 +0000 (14:13 +0100)]
Remove some unnecessary dependencies

We remove all DMABUF support. We do not use it, and we cannot use it at
all, since we want to support non-Linux platforms. We also remove GBM,
as it is used only together with DMABUFs. Additionally we remove X11,
since we have no need to access it directly even on Linux.

While it would be preferable to embrace the conditional support, I could
not get this to work (building DMABUF-code resulted in immediate linker
errors for me, for example), and I felt like this is the cleanest way of
not building the code we aren't using.

Change-Id: I3afa07b2631ba81ecaca7ce9d6a3a7b9aec4e596

2 months agoOnly include gbm.h when DMABUFs are being used
Mateusz Majewski [Tue, 25 Mar 2025 13:13:01 +0000 (14:13 +0100)]
Only include gbm.h when DMABUFs are being used

Indeed, GBM is only used for DMABUF-specific operations.

Change-Id: Ic8a713038d431a20706286b8d36dc4d8454a702e

2 months agoRemove unnecessary glob.h include
Mateusz Majewski [Tue, 25 Mar 2025 13:06:30 +0000 (14:06 +0100)]
Remove unnecessary glob.h include

I don't think it actually is used anywhere, and it makes building on
non-Linux impossible.

Change-Id: I9be282ca48fbfebd888faec8bbfc2e84ae31828e

2 months agoOnly build qemu_egl_init_surface_x11 for GTK
Mateusz Majewski [Tue, 25 Mar 2025 12:08:06 +0000 (13:08 +0100)]
Only build qemu_egl_init_surface_x11 for GTK

This function is used only by GTK in this QEMU version. The function
causes issues for us, because it depends on the Window type, which is an
X11-specific EGL alias. Therefore, the signature as is causes a build
error on all non-Linux platforms. We could #define this type away, but
since the function is not used anyway, it is probably better to not care
about it at all.

Change-Id: I122e6976de88760bcaa762daa70e93e6162edc18

2 months agoUse GLSL non-ES version
Mateusz Majewski [Tue, 25 Mar 2025 10:28:26 +0000 (11:28 +0100)]
Use GLSL non-ES version

I could not get the ES version to work correctly on macOS. The shaders
are trivial anyway, ultimately the version does not really matter.

Change-Id: I15a323014626decd6b0e59be7296d4b050ff1da3

2 months agoStore Maru display type as an enum and not as a bool
Mateusz Majewski [Tue, 25 Mar 2025 10:06:02 +0000 (11:06 +0100)]
Store Maru display type as an enum and not as a bool

This will be necessary to introduce a third value.

Change-Id: I27d79cf6f647bfcd87418f7eaabc08a56aea35b8

2 months agoPropagate an int instead of a bool through the event loop on Mac
Mateusz Majewski [Tue, 25 Mar 2025 09:52:01 +0000 (10:52 +0100)]
Propagate an int instead of a bool through the event loop on Mac

This will be needed when the ns_run_in_event_loop_with_int call will
need to provide three values instead of two, using an enum.

Change-Id: I542dcb2ca49bd373e146210f92e61e496f3fd371

2 months agoUse YaGL and VIGS headers explicitly
Mateusz Majewski [Wed, 5 Feb 2025 06:22:29 +0000 (07:22 +0100)]
Use YaGL and VIGS headers explicitly

Those headers are named the same as the standard headers of various
graphical libraries, but are not compatible with them. In order to
build QEMU against those libraries, we need to make sure we won't
include those headers accidentally.

Change-Id: Id50cc1c4617bbb36c17f7613cf2cdb94dad4659d

2 months agoAdd a missing include
Mateusz Majewski [Tue, 25 Mar 2025 09:04:33 +0000 (10:04 +0100)]
Add a missing include

In some configurations, this missing include results in a fatal build
error. The include is needed for the qcrypto_random_bytes function.

Change-Id: I52636ba03c2a371d816701601843f153ffc589a2

2 months agoui: do not build-depend or link with libdrm, it is not needed
Michael Tokarev [Sat, 30 Jun 2018 16:54:48 +0000 (19:54 +0300)]
ui: do not build-depend or link with libdrm, it is not needed

Opengl support brings up libdrm. But actually nothing uses this library
or includes any of its headers. Just remove checking for it from configure.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180630165448.30795-1-mjt@msgid.tls.msk.ru
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 4939a1df7d60b4a24458544557ae262852e28567)

Change-Id: I1b3b633202f0f9ecf6500dbbdb547a37b87621c7

2 months agovirtio-gpu-3d: add support for second capability set (v4)
Dave Airlie [Fri, 23 Feb 2018 02:38:14 +0000 (12:38 +1000)]
virtio-gpu-3d: add support for second capability set (v4)

Due to a kernel bug we can never increase the size of capability
set 1, so introduce a new capability set in parallel, old userspace
will continue to use the old set, new userspace will start using
the new one when it detects a fixed kernel.

v2: don't use a define from virglrenderer, just probe it.
v3: fix compilation when virglrenderer disabled
v4: fix style warning, just use ?: op instead.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Message-id: 20180223023814.24459-1-airlied@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 5643cc94ac1cbc23e1ba6b16b6a88e1ce7b3f6a9)

2 months agovirtio-gpu: add xres and yres properties
Gerd Hoffmann [Fri, 21 Apr 2017 09:22:14 +0000 (11:22 +0200)]
virtio-gpu: add xres and yres properties

So the default resolution is configurable.

Change-Id: Id022201a40c2ac682d7868de22f6562f1e177e79
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20170421092214.8176-1-kraxel@redhat.com
(cherry picked from commit 729abb6a920e80c3866f60d1638f08f2eba98a9a)

16 months agoVersion up: Added for tizen_studio_6.0_riscv distribution 03/305703/1 tizen_studio_6.0_p9.0
Kunal Sinha [Tue, 6 Feb 2024 14:27:58 +0000 (19:57 +0530)]
Version up: Added for tizen_studio_6.0_riscv distribution

Change-Id: I66a3ddc93c689b20b7e9fa60159484e385f43a0a
Signed-off-by: Kunal Sinha <kunal.sinha@samsung.com>
16 months agoAdd Tizen-9.0 platform 72/305272/1
Kunal Sinha [Tue, 30 Jan 2024 12:04:11 +0000 (17:34 +0530)]
Add Tizen-9.0 platform

Change-Id: I41cf6b213de4f68a9fc0026e1e8de5d67471d266
Signed-off-by: Kunal Sinha <kunal.sinha@samsung.com>
2 years agoVersionUp tizen_studio_5.5_p8.0
sangwook lee [Wed, 7 Jun 2023 04:10:48 +0000 (13:10 +0900)]
VersionUp

Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
2 years agoYaGL: Add missing glGetInternalformativ GLESv3 function 67/293767/1
Paweł Stawicki [Wed, 19 Apr 2023 17:23:53 +0000 (19:23 +0200)]
YaGL: Add missing glGetInternalformativ GLESv3 function

Change-Id: I178e4440ef153729b1fdad94e1d4d089fc72d04b

2 years agoAdd 8.0
sangwook lee [Tue, 16 May 2023 02:08:04 +0000 (11:08 +0900)]
Add 8.0

Change-Id: Idc707292394ad7cd0b482dc75353a619f0a1509f
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
2 years agoFixed WHPX build for Ubuntu and MacOS 82/288982/1
Varinder Pratap [Fri, 24 Feb 2023 12:08:21 +0000 (17:38 +0530)]
Fixed WHPX build for Ubuntu and MacOS

Change-Id: Ic4062c3593b0120097a41a25dfbfc91cea32d4d4
Signed-off-by: Varinder Pratap <varinder.p@samsung.com>
2 years agoVersion Up
sangwook lee [Thu, 23 Feb 2023 10:32:59 +0000 (19:32 +0900)]
Version Up

Change-Id: I29cc311bd73d1828f2cc1beace72b8d3430704ab
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
2 years agoVersio up
sangwook lee [Thu, 23 Feb 2023 10:02:10 +0000 (19:02 +0900)]
Versio up

Change-Id: Ic34498d185e25858ba963fac99fd9d545f76ccfa
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
2 years agoVersion up: Added virtioRNG and WHPX support for windows in Qemu 47/282047/1
Varinder Pratap [Mon, 26 Sep 2022 10:19:13 +0000 (15:49 +0530)]
Version up: Added virtioRNG  and WHPX support for windows in Qemu

Change-Id: I2f5e44fb43d9f66b9b14c74c1c8ac7cee7e4add2
Signed-off-by: Varinder Pratap <varinder.p@samsung.com>
2 years agoAdded virtioRNG support for windows in Qemu 77/281977/1
Varinder Pratap [Sun, 25 Sep 2022 17:08:08 +0000 (22:38 +0530)]
Added virtioRNG support for windows in Qemu

Change-Id: Icbc5307fe60a207d6a632ec550c8b2b01fcae322
Signed-off-by: Varinder Pratap <varinder.p@samsung.com>
2 years agoEnabled WHPX in 2.8 qemu emulator. 76/281976/1
Varinder Pratap [Sun, 25 Sep 2022 12:32:56 +0000 (18:02 +0530)]
Enabled WHPX in 2.8 qemu emulator.

Change-Id: Ic7ed0d184622042cc3b8156c0734ae4316c80673
Signed-off-by: Varinder Pratap <varinder.p@samsung.com>
2 years agoAdded logs to capture Last error for opengl32.dll on windows. 56/281856/1
Varinder Pratap [Thu, 22 Sep 2022 11:35:00 +0000 (17:05 +0530)]
Added logs to capture Last error for opengl32.dll on windows.

Change-Id: I47b52d60a69dd584ff4492d104a7bd9ba351aff7
Signed-off-by: Varinder Pratap <varinder.p@samsung.com>
2 years agoVersion Up: Match version to WHPX emulator package. 71/281671/1
Varinder Pratap [Tue, 20 Sep 2022 10:49:39 +0000 (16:19 +0530)]
Version Up: Match version to WHPX emulator package.

Change-Id: I15de2df15c81a5a19e23fabdd6a3c2e621468991
Signed-off-by: Varinder Pratap <varinder.p@samsung.com>
2 years agoVersion Up 40/278740/1
Aditya Aswani [Mon, 25 Jul 2022 14:08:32 +0000 (19:38 +0530)]
Version Up

Change-Id: Iebec2f9f9a2fa547e9c8356865cf616a1971fd90
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
2 years agoConnect immediately if emulator is booted up 39/278739/1
Aditya Aswani [Mon, 25 Jul 2022 14:07:30 +0000 (19:37 +0530)]
Connect immediately if emulator is booted up

Change-Id: I136fc716669c76c6946598df5b2c555dee295b7b
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
2 years agoVersion Up 80/278680/2
Aditya Aswani [Mon, 25 Jul 2022 05:24:18 +0000 (10:54 +0530)]
Version Up

Change-Id: I52adca5e5ee8b96be25679077e0544ca097af2dd
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
2 years agoAdded sdb connect file for bridge connection 79/278679/2
Aditya Aswani [Mon, 25 Jul 2022 05:24:05 +0000 (10:54 +0530)]
Added sdb connect file for bridge connection

Change-Id: I81ecd0b4ba0366125afbb058452c0bfdbde6a6dd
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
2 years agoVersion Up 36/278536/1
Aditya Aswani [Thu, 21 Jul 2022 15:59:10 +0000 (21:29 +0530)]
Version Up

Change-Id: I4c3fe016a66e86fe36c49c962f10054df3d38894
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
2 years agoRemoved iptables rules for every launch of emulators 35/278535/1
Aditya Aswani [Thu, 21 Jul 2022 15:58:58 +0000 (21:28 +0530)]
Removed iptables rules for every launch of emulators

Change-Id: Ic25ce4aa50b769921bcc0a00bb82ecbabc72af9e
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
2 years agoRevert "Added sdb connect file for bridge connection" 34/278534/1
Aditya Aswani [Thu, 21 Jul 2022 16:01:58 +0000 (21:31 +0530)]
Revert "Added sdb connect file for bridge connection"

This reverts commit 480e23caf5547e43d9f5bb878eb7eb9d6391de5c.

Change-Id: I01e783d3f74cded4e6774b57f2b1d2fed100f4a9

2 years agoVersion Up 60/277460/1
Aditya Aswani [Thu, 7 Jul 2022 07:33:26 +0000 (13:03 +0530)]
Version Up

Change-Id: Id2013f44030f2a9fedbb8d619677c8d0265e0009
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
2 years agochmod 666 for /dev/vhost-net 59/277459/1
Aditya Aswani [Thu, 7 Jul 2022 07:31:45 +0000 (13:01 +0530)]
chmod 666 for /dev/vhost-net

Change-Id: I2be4e2b3589bfb5c0daaa4ecf88df0182243c5a4
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
2 years agoRevert Apply permissions to /dev/vhost-net without the need to restart the machine 58/277458/1
Aditya Aswani [Thu, 7 Jul 2022 08:19:07 +0000 (13:49 +0530)]
Revert Apply permissions to /dev/vhost-net without the need to restart the machine

Change-Id: I44246aa49ef484adea0250e0c220d495c2ffcf15
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
2 years agoVersion Up 39/277439/1
Aditya Aswani [Thu, 7 Jul 2022 03:48:51 +0000 (09:18 +0530)]
Version Up

Change-Id: Ic6b85d5ae48fd5f6285ca08c9293770bcaec49e2
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
2 years agoApply permissions to /dev/vhost-net without the need to restart the machine 38/277438/1
Aditya Aswani [Thu, 7 Jul 2022 03:47:32 +0000 (09:17 +0530)]
Apply permissions to /dev/vhost-net without the need to restart the machine

Change-Id: Iefbfdfb4a1c1c35a0fcb52bfe8e8bda68960a1e5
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
2 years agoVersion Up 11/277411/1
Aditya Aswani [Wed, 6 Jul 2022 10:01:15 +0000 (15:31 +0530)]
Version Up

Change-Id: I8f944ebf4d669c8107a0ab9bf6a46e9aeac546a2
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
2 years agoFixed manual update of permissions for /dev/vhost-net for robot emulators 10/277410/1
Aditya Aswani [Wed, 6 Jul 2022 10:00:14 +0000 (15:30 +0530)]
Fixed manual update of permissions for /dev/vhost-net for robot emulators

Change-Id: I466731f44f82b2da74a41a514d800855273f04fa
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
3 years agoVersion Up 03/275803/1
Aditya Aswani [Thu, 2 Jun 2022 03:36:57 +0000 (09:06 +0530)]
Version Up

Change-Id: I15939dfdb774ec65042380fce541298d2b892837
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
3 years agoAdded sdb connect file for bridge connection 02/275802/2
Aditya Aswani [Thu, 2 Jun 2022 03:22:28 +0000 (08:52 +0530)]
Added sdb connect file for bridge connection

Change-Id: Iaa6ecb4aa0df383a9ea888affac755bd58ac0b19
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
3 years agoAdded Robot Bridge support to connect 2 or more emulator. 56/275756/2
Varinder Pratap Singh [Tue, 31 May 2022 12:33:03 +0000 (18:03 +0530)]
Added Robot Bridge support to connect 2 or more emulator.

Change-Id: Iaaf91d62ab7b5745ce01cf6c12261655b2268bc9
Signed-off-by: Varinder Pratap Singh <varinder.p@samsung.com>
3 years agoRemove no_weak_imports ld option to build darwin 16/273616/1
varinder.p [Fri, 8 Apr 2022 13:03:01 +0000 (18:33 +0530)]
Remove no_weak_imports ld option to build darwin

Change-Id: I034378a70d8a1ccb924c36563e26f2a13efb5beb
Signed-off-by: varinder.p <varinder.p@samsung.com>
3 years agoFixed focal glibc build issues for ubuntu and windows 15/273615/1
varinder.p [Fri, 8 Apr 2022 12:25:57 +0000 (17:55 +0530)]
Fixed focal glibc build issues for ubuntu and windows

Change-Id: I01c0787973d3e25544a7f793b5ea819dbfa5d5ec
Signed-off-by: varinder.p <varinder.p@samsung.com>
3 years agoFixed focal PKG_CONFIG_LIBDIR issue for cross build 93/273593/1
varinder.p [Fri, 8 Apr 2022 06:49:48 +0000 (12:19 +0530)]
Fixed focal PKG_CONFIG_LIBDIR issue for cross build

Change-Id: Iff5c778f5c309f4597419884d83376d36cfac31f
Signed-off-by: varinder.p <varinder.p@samsung.com>
3 years agoVersionUp 70/273370/1
sangwook lee [Tue, 5 Apr 2022 22:51:20 +0000 (07:51 +0900)]
VersionUp

Change-Id: I4cc2bd5b8b910c3326fb09aa149600a49800ab95
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
3 years agoVersion Up 62/271262/1 tizen_studio_4.5_p6.5
sangwook lee [Thu, 17 Feb 2022 09:41:26 +0000 (18:41 +0900)]
Version Up

Change-Id: I1ff7baf6381aac128d884633c260359b6b8a0b33
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
3 years agoVersion Up 32/263732/1
Karthik [Thu, 9 Sep 2021 04:25:32 +0000 (09:55 +0530)]
Version Up

Change-Id: I4ac4b9a70c29ba5936d26d52d1d12701beec22fe
Signed-off-by: Karthik <kv.bhat@samsung.com>
3 years agoFix DIBS build error on macos 31/263731/1
Karthik [Thu, 9 Sep 2021 04:18:12 +0000 (09:48 +0530)]
Fix DIBS build error on macos

Change-Id: Ieba90f16baee53f785e56f1dd5ce5d34d5028c8f
Signed-off-by: Karthik <kv.bhat@samsung.com>
3 years ago"Add code to avoid Segfault" 02/263602/1
sangwook lee [Tue, 7 Sep 2021 20:14:18 +0000 (05:14 +0900)]
"Add code to avoid Segfault"

Change-Id: I700fce68af03612f101561f3ac8efd679b2e623b
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
3 years agoAdd checking null pointer to prevent Segmnetation fault 63/262963/2
sangwook lee [Tue, 24 Aug 2021 05:11:38 +0000 (14:11 +0900)]
Add checking null pointer to prevent Segmnetation fault

Change-Id: Iec4c8ed51e0427454882e475313dd06b027499b5
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
3 years agoVersion Up 53/262253/1
Karthik [Sat, 31 Jul 2021 09:10:23 +0000 (14:40 +0530)]
Version Up

Change-Id: Icbe9fc9e677a4f3798e20dc4e830dd8d2506278d
Signed-off-by: Karthik <kv.bhat@samsung.com>
3 years agoFix on-demand installation failure 18/262018/1
Karthik [Fri, 30 Jul 2021 11:56:51 +0000 (17:26 +0530)]
Fix on-demand installation failure

Change-Id: Ic9bd76cd874d395593f0a46a322f394f890a6055
Signed-off-by: Karthik <kv.bhat@samsung.com>
4 years ago"Update Tizen 6.5 version" 71/249971/1 sandbox/byungchul.so/tizen
sangwook lee [Fri, 18 Dec 2020 23:15:46 +0000 (08:15 +0900)]
"Update Tizen 6.5 version"

Change-Id: Ice5b439d5d40eca03e8bc1ef598a21f151177f40
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
4 years agoUpdating version to 6.5 01/248501/1
manish.r [Fri, 27 Nov 2020 07:18:29 +0000 (12:48 +0530)]
Updating version to 6.5

Change-Id: I7352f8f18f7ee504a9f3988294f5dc88a8e28761
Signed-off-by: manish.r <manish.r@samsung.com>
4 years agoYaGL: Prevent potential null pointer dereference in yagl_egl_release_current_context() 06/245906/1
Sylwester Nawrocki [Wed, 14 Oct 2020 12:05:15 +0000 (14:05 +0200)]
YaGL: Prevent potential null pointer dereference in yagl_egl_release_current_context()

This fixes a potential NULL pointer dereference issue as pointed out
by SVACE warning:

* DEREF_OF_NULL.ASSIGN: Pointer 'egl_api_ts', which is dereferenced
   at yagl_host_egl_calls.c:184, may have NULL value.
   [dereference] Dereference at hw/yagl/yagl_apis/egl/yagl_host_egl_calls.c:184
   [null] Assign null at hw/yagl/yagl_apis/egl/yagl_host_egl_calls.c:182

Change-Id: I5003403ebc881fb2ebc91d9e1be132ff4d87f2e3
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
4 years agoVersion up 32/244632/1
Alka Sethi/Tizen Platform /SRI-Bangalore/Engineer/Samsung Electronics [Tue, 22 Sep 2020 12:36:40 +0000 (18:06 +0530)]
Version up

Change-Id: Ib1c61ae50dad84debf43b83e40463eced27929c1
Signed-off-by: Alka Sethi/Tizen Platform /SRI-Bangalore/Engineer/Samsung Electronics <alka.sethi@samsung.com>
4 years ago[SPTSDKUX-5571] changing screenshot save logic 32/244532/1
Rahul Dadhich [Fri, 3 Jul 2020 09:02:26 +0000 (14:32 +0530)]
[SPTSDKUX-5571] changing screenshot save logic

Change-Id: I9dc024ecccf6f4087f49d9d478dbfbb30fd16c94
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
(cherry picked from commit 6c9bf40f3f2447a07c05c7c91eb53a034bde24b4)
(cherry picked from commit 7ea17725930d61b8a868d51324be47bc994f8141)

4 years agoVersion Up 22/243922/1
Lukasz Kostyra [Fri, 11 Sep 2020 07:42:18 +0000 (09:42 +0200)]
Version Up

Change-Id: Ia4b7aec55da4669428f6447ee483c660b85d15e3
Signed-off-by: Lukasz Kostyra <l.kostyra@samsung.com>
4 years agoyagl: Fix Windows build break 33/243233/1
Lukasz Kostyra [Fri, 4 Sep 2020 06:25:24 +0000 (08:25 +0200)]
yagl: Fix Windows build break

Change-Id: I0e019b1074cb468ca55aefba2a6f0450113ccbd2

4 years agoyagl: Print PID/TID where cur_ts is unavailable (3/3) 20/243120/1
Lukasz Kostyra [Tue, 18 Aug 2020 11:51:18 +0000 (13:51 +0200)]
yagl: Print PID/TID where cur_ts is unavailable (3/3)

In cases where yagl_thread_state pointer is unavailable (main server
thread, initialization, etc.) PID/TID for logs is extracted the slow
way - via yagl_get_pid/yagl_get_tid calls, which extract these IDs
via system-specific calls.

Change-Id: I63f35ff195793f1d0a363e754a8256083e8d0685

4 years agoyagl: Remove api-local and backend-local ts variables (2/3) 19/243119/1
Lukasz Kostyra [Mon, 17 Aug 2020 09:12:40 +0000 (11:12 +0200)]
yagl: Remove api-local and backend-local ts variables (2/3)

yagl_tls.h header was removed, as it is no longer necessary.

Change-Id: I037c8fb7dd0419dafd652396412a47224721de63

4 years agoyagl: Remove cur_ts global variable (1/3) 18/243118/1
Lukasz Kostyra [Tue, 11 Aug 2020 11:33:04 +0000 (13:33 +0200)]
yagl: Remove cur_ts global variable (1/3)

cur_ts was a global variable used for easy global access to currently
running thread's state. Access to the variable was not synchronized at
all. The variable was overwritten each time a thread started working
and NULLed each time a thread stopped working. This was a cause
of multitude of multithreading issues in yagl code. Some examples are:
- Thread A could NULLify cur_ts after finishing work while thread B
tries to dereference it during logging routine setup. This in turn can
result in a randomly occuring segmentation fault (ex. when calling
YAGL_LOG_FUNC_ENTER which accessed cur_ts for PID/TID info).
- Information in cur_ts could be misleading for thread A because
thread B set its own instance of cur_ts right after thread A.
- Memory leaks and other issues due to cur_ts being re-allocated on the
same global pointer.

Issues have to be resolved by removing cur_ts. Now every thread based
function has a first parameter cur_ts, which provides the same information
in a per-thread and reentrant-safe manner.

In situations where cur_ts could not be reached (ex. initialization or
main thread code) YAGL_LOG_NO_TS macro was introduced, which for now sets
pid/tid information to 0. Macro's proper implementation will be done in
upcoming changes.

Some yagl modules also used local _ts structures (ex. egl_api_ts or
egl_onscreen_ts) and used them in the same way cur_ts was managed.
These also provide thread/reentry dangers and will be removed in
consecutive commits.

Change-Id: I9c55371a522d8f06cb3ce8120f88946e9d246695

4 years agoVersion up 27/239727/2
Chanwoo Choi [Wed, 29 Jul 2020 08:23:55 +0000 (17:23 +0900)]
Version up

Change-Id: Ifbb72e20f0ed0603637c9732068b8a802c32ec53
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agoDon't look up pid/tid on YAGL_LOG_FUNC_SET 23/239723/2
Lukasz Kostyra [Mon, 27 Jul 2020 17:12:23 +0000 (19:12 +0200)]
Don't look up pid/tid on YAGL_LOG_FUNC_SET

YAGL_LOG_FUNC_SET looks into cur_ts global variable to read current
PID/TID. Unforutnately on multithreaded app scenarios, this can cause
a segmentation failure so was temporarily removed.

Change-Id: I253c9e38545b98d47dcdcd485966c5a838145ffb
Signed-off-by: Lukasz Kostyra <l.kostyra@samsung.com>
[cw00.choi: Apply it from tizen branch by using cherry-pick git command]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
5 years agoVersion Up 31/232631/1
Aditya Aswani [Thu, 7 May 2020 04:23:19 +0000 (09:53 +0530)]
Version Up

Change-Id: I0da9d4f7060d420dd4e5744994c14456ecacdf15
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
5 years agoRemoved c-prerequisite of libpng12 30/232630/1
Aditya Aswani [Wed, 6 May 2020 09:04:24 +0000 (14:34 +0530)]
Removed c-prerequisite of libpng12

Change-Id: I065ee041cc4d077d9f34c0ad65fedac95cf74e66
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
5 years agoUpdated package version for tizen 6.0 37/224237/1
Rahul Dadhich [Fri, 7 Feb 2020 06:29:35 +0000 (11:59 +0530)]
Updated package version for tizen 6.0

Change-Id: If2ca9ed25f00297302c1e93f4a8addfe1d2958e4
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
6 years agoVersion Up 55/205555/1
Karthik Bhat [Tue, 7 May 2019 10:02:56 +0000 (15:32 +0530)]
Version Up

Change-Id: Ide0580e9221b70612da21247a0c9dcba6fc1cae3
Signed-off-by: Karthik Bhat <kv.bhat@samsung.com>
6 years agoFix emulator launch crash on MAC 40/205540/1
Karthik Bhat [Tue, 7 May 2019 08:39:48 +0000 (14:09 +0530)]
Fix emulator launch crash on MAC

Change-Id: I187f7b398993b52daa07203bb29a3093bbb12714
Signed-off-by: Karthik Bhat <kv.bhat@samsung.com>
6 years agoAdding tizen 5.5 packages 64/195964/1
Rahul Dadhich [Thu, 20 Dec 2018 06:22:31 +0000 (11:52 +0530)]
Adding tizen 5.5 packages

Change-Id: If488c455cdedd617defa9a21aeab41a6ff87d991
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
6 years agoMerge "version up" into tizen_studio_3.5_p5.0
Changseok Oh [Fri, 30 Nov 2018 08:28:43 +0000 (08:28 +0000)]
Merge "version up" into tizen_studio_3.5_p5.0

6 years agoversion up 49/194249/1
Rahul Dadhich [Fri, 30 Nov 2018 08:08:12 +0000 (13:38 +0530)]
version up

Change-Id: I9b7082dcaf33e27f94a456271f301030c53c588a
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
6 years agoBuild support for mac 35/194235/1
Rahul Dadhich [Fri, 30 Nov 2018 06:59:29 +0000 (12:29 +0530)]
Build support for mac

Change-Id: Iaf0ddb6be5115e956edce6d53aa9a336d35c78af
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
6 years agoMerge "Version Up" into tizen_studio_3.0_p5.0
Changseok Oh [Mon, 15 Oct 2018 06:59:54 +0000 (06:59 +0000)]
Merge "Version Up" into tizen_studio_3.0_p5.0

6 years agoVersion Up 24/191124/1
Rahul Dadhich [Thu, 11 Oct 2018 11:47:06 +0000 (17:17 +0530)]
Version Up

Change-Id: Ia7efd0579f94af86f2c11966c177f37f706cb9c9
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
6 years agoOpen source Vulnerability fixed 22/191122/1
Rahul Dadhich [Fri, 5 Oct 2018 10:56:50 +0000 (16:26 +0530)]
Open source Vulnerability fixed

Change-Id: I0a8b15c76ff603044b8bc50005bcc6ac27143d26
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
6 years agoMerge "Version Up" into tizen_studio_3.0_p5.0
Changseok Oh [Fri, 28 Sep 2018 02:01:17 +0000 (02:01 +0000)]
Merge "Version Up" into tizen_studio_3.0_p5.0

6 years agoVersion Up 35/189635/1
Rahul Dadhich [Wed, 19 Sep 2018 09:36:45 +0000 (15:06 +0530)]
Version Up

Change-Id: I9b246924e3cd900470ed92727225c7b7b5665182
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
6 years agofix SVACE issue [2] 33/189633/1
Rahul Dadhich [Tue, 18 Sep 2018 09:55:48 +0000 (15:25 +0530)]
fix SVACE issue [2]

Change-Id: Ia3f067e05199ee6529a286349a5fb15e11ce5088
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
(cherry picked from commit f976bff31d58f7965ca3e902c04c4d6e86660ef2)

6 years agoMerge "Version Up" into tizen_studio_3.0_p5.0
Changseok Oh [Tue, 11 Sep 2018 10:02:33 +0000 (10:02 +0000)]
Merge "Version Up" into tizen_studio_3.0_p5.0

6 years agoVersion Up 48/188848/1
Rahul Dadhich [Tue, 11 Sep 2018 05:46:49 +0000 (11:16 +0530)]
Version Up

Change-Id: Iaffde23845790c7ad021e0931897f72d733911f6
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
6 years agoresolved SVACE issue 43/188843/1
Rahul Dadhich [Mon, 3 Sep 2018 13:31:40 +0000 (19:01 +0530)]
resolved SVACE issue

Change-Id: Iaed72b455946aaa6fb34914d045ca1e6eaf5b2e1
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
6 years agoVersion Up 40/186940/1
Gaurang Khanwalkar [Thu, 16 Aug 2018 12:13:26 +0000 (17:43 +0530)]
Version Up

Change-Id: I92eb35151c1c2e40fabf87147d4a6ed18730e596
Signed-off-by: Gaurang Khanwalkar <g.khanwalkar@samsung.com>
6 years agoVersion Up 02/185502/1
Karthik Bhat [Tue, 31 Jul 2018 07:32:06 +0000 (13:02 +0530)]
Version Up

Change-Id: If3eae04b868565a67256e613ea767e5fc18cf821
Signed-off-by: Karthik Bhat <kv.bhat@samsung.com>
6 years agoVIGS: add h/w conversion from ARGB to XBGR 01/185501/1
Vladislav Andresov [Wed, 20 Jun 2018 20:08:12 +0000 (23:08 +0300)]
VIGS: add h/w conversion from ARGB to XBGR

Change-Id: I8def07093fce07cf6f1e19d6319ea5468f8a8a35
Signed-off-by: Vladislav Andresov <v.andresov@partner.samsung.com>
6 years agoMerge "Version Up" into tizen_studio_3.0_p5.0
Changseok Oh [Mon, 25 Jun 2018 04:20:21 +0000 (04:20 +0000)]
Merge "Version Up" into tizen_studio_3.0_p5.0

6 years agoMerge "Added support to install addon rpms" into tizen_studio_3.0_p5.0
Changseok Oh [Mon, 25 Jun 2018 04:19:42 +0000 (04:19 +0000)]
Merge "Added support to install addon rpms" into tizen_studio_3.0_p5.0

6 years agoVersion Up 46/182346/1
Rahul Dadhich [Fri, 22 Jun 2018 06:02:27 +0000 (11:32 +0530)]
Version Up

Change-Id: Ia008d689c4933aba5f17c2fa396749fb3b925b75
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
6 years ago[SATDEVKIT-786]Open source security issues fix 45/182345/1
Rahul Dadhich [Wed, 13 Jun 2018 09:38:07 +0000 (15:08 +0530)]
[SATDEVKIT-786]Open source security issues fix

Change-Id: If3c955c4ff33114725dde8f38c118e0a25387727
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
(cherry picked from commit dc3848011053d7d8dd4eff5b1d4147dbd59b78ca)

6 years agoAdded support to install addon rpms 43/182343/1
Rahul Dadhich [Mon, 19 Feb 2018 11:15:04 +0000 (16:45 +0530)]
Added support to install addon rpms

Change-Id: Ibf370b82caf5f0e3fefd3e4874e1db27fbbea6f4
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
(cherry picked from commit 79f89e67b04bbcb584703657ea92d9b18dd7d5be)

7 years agoVersion Up 91/175891/1
Rahul Dadhich [Fri, 13 Apr 2018 06:53:22 +0000 (12:23 +0530)]
Version Up

Change-Id: If462d034e27f4a62ca34d650cf54dfa0dc79f117
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
7 years ago[TFIVE-232] Increased the timer for long press event as shutdown dialog require longe... 95/175695/3
Rahul Dadhich [Wed, 11 Apr 2018 12:26:39 +0000 (17:56 +0530)]
[TFIVE-232] Increased the timer for long press event as shutdown dialog require longer button delay

Change-Id: I311c39664b655fcdab7dd5b6328e44fa78e6213d
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
7 years agoMerge branch 'tizen' into tizen_studio_3.0_p5.0 41/165241/1
jihye424.kim [Wed, 27 Dec 2017 07:54:00 +0000 (16:54 +0900)]
Merge branch 'tizen' into tizen_studio_3.0_p5.0

Change-Id: If8e8c4073bbff859f2149c74dd9134b21c1ff2b6

7 years agopackage: create new packages for 5.0 platform (2.8.0.18) 18/165118/2
jihye424.kim [Tue, 26 Dec 2017 08:45:29 +0000 (17:45 +0900)]
package: create new packages for 5.0 platform (2.8.0.18)

Change-Id: Ib13323af11342487670265e6799aef098cf2220a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
7 years agoMerge branch 'tizen' into tizen_studio_2.0_p4.0 61/163261/1 tizen_studio_2.0_p5.0
Jinhyung Jo [Fri, 8 Dec 2017 07:50:46 +0000 (16:50 +0900)]
Merge branch 'tizen' into tizen_studio_2.0_p4.0

Change-Id: I87123b20ec856e52dc882a0af47c20322948f089
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agopackage: update version (2.8.0.17) 57/163257/1
Jinhyung Jo [Fri, 8 Dec 2017 07:48:51 +0000 (16:48 +0900)]
package: update version (2.8.0.17)

Change-Id: I00e5df3cba7985aaa762399aa82320315d050a45
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>