sdk/emulator/qemu.git
11 years agoVIGS: Replace glRasterPos with glWindowPos
Stanislav Vorobiov [Thu, 6 Jun 2013 06:36:23 +0000 (10:36 +0400)]
VIGS: Replace glRasterPos with glWindowPos

We should always use glWindowPos instead of glRasterPos, because
values passed to glWindowPos are neither transformed by the current
modelview and projection matrices, nor by the viewport-to-window transform. This
yields more accurate results, unlike glRasterPos, which may have
rounding errors and as a result raster position may become invalid and
entire drawing operation will have no effect

11 years agoMerge remote-tracking branch 'score/develop' into tizen-vigs-develop
Stanislav Vorobiov [Fri, 31 May 2013 09:23:51 +0000 (13:23 +0400)]
Merge remote-tracking branch 'score/develop' into tizen-vigs-develop

Conflicts:
package/changelog
package/pkginfo.manifest

11 years agoskin: added 3btn skins
giwoong.kim [Fri, 31 May 2013 02:07:10 +0000 (11:07 +0900)]
skin: added 3btn skins

added 3btn skins

Change-Id: I358de5066f5d81d45b9b606080297a1c9788f1b8
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoVIGS: Fixed update_gpu command
Stanislav Vorobiov [Thu, 30 May 2013 18:09:32 +0000 (22:09 +0400)]
VIGS: Fixed update_gpu command

update_gpu command was setting glRasterPos incorrectly

11 years agomaru_camera : Fixed a bug that appears a horizontal flip image on Windows.
jinhyung.jo [Wed, 29 May 2013 02:12:45 +0000 (11:12 +0900)]
maru_camera : Fixed a bug that appears a horizontal flip image on Windows.

This issue is caused by image converting functions,
such as RGB24->YU12, RGB24->YV12, RGB24->YUYV.

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agocheck-cam : add new sources to check the webcam
jinhyung.jo [Tue, 28 May 2013 08:13:21 +0000 (17:13 +0900)]
check-cam : add new sources to check the webcam

Check the availability of a host webcam.

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agoVIGS: Improved update_gpu command
Stanislav Vorobiov [Mon, 27 May 2013 15:36:52 +0000 (19:36 +0400)]
VIGS: Improved update_gpu command

update_gpu can now update parts of surface

11 years agoYaGL: Set proper texture filtering for offscreen glEGLImageTargetTexture2DOES
Stanislav Vorobiov [Mon, 27 May 2013 07:37:55 +0000 (11:37 +0400)]
YaGL: Set proper texture filtering for offscreen glEGLImageTargetTexture2DOES

In offscreen case we need to setup proper texture filtering for
EGLImage texture before calling glTexImage2D

11 years agoskin: modified initail position of the KeyWindow
giwoong.kim [Thu, 23 May 2013 03:10:12 +0000 (12:10 +0900)]
skin: modified initail position of the KeyWindow

The initail position of the KeyWindow shifted to
the inside of monitor bounds.

Change-Id: I744e204f5f7792dde3d64815c64590726a502c8f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: modified the z-order of window when AlwaysOnTop
giwoong.kim [Wed, 22 May 2013 07:56:08 +0000 (16:56 +0900)]
skin: modified the z-order of window when AlwaysOnTop

modified the z-order of window when AlwaysOnTop

Change-Id: Ib74fb1a51c212dc4705b3f3298f4bf6126565036
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: The KeyWindow has extended its docking area
giwoong.kim [Wed, 22 May 2013 07:38:12 +0000 (16:38 +0900)]
skin: The KeyWindow has extended its docking area

The KeyWindow has extended its docking area.

Change-Id: I8c3e7797bb18ffb547ecad5ba03534e239e61652
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoYaGL: Shader precision test removed, it's not needed, we just assume that it always...
Stanislav Vorobiov [Wed, 22 May 2013 06:58:53 +0000 (10:58 +0400)]
YaGL: Shader precision test removed, it's not needed, we just assume that it always fails
YaGL: Add #version directive to shaders when it's not already present

11 years agoskin: manage a most recently used position
giwoong.kim [Wed, 22 May 2013 06:27:27 +0000 (15:27 +0900)]
skin: manage a most recently used position

manage a most recently used position of docked KeyWindow

Change-Id: Ibe41b150b1e07ca98858fa042b146df691ff4c34
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agovirtio-keyboard: erase unused variable
sungmin ha [Tue, 21 May 2013 08:49:05 +0000 (17:49 +0900)]
virtio-keyboard: erase unused variable

Signed-off-by: Sungmin Ha <sungmin82.ha@samsung.com>
11 years agoPackage version up.
SeokYeon Hwang [Tue, 21 May 2013 06:38:51 +0000 (15:38 +0900)]
Package version up.

Change-Id: I25f1d7a2fa795ec0e19cf25c172382cd3dca8a1a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoDefault enable virtio sdcard.
SeokYeon Hwang [Tue, 21 May 2013 06:27:47 +0000 (15:27 +0900)]
Default enable virtio sdcard.

Change-Id: Id82d9238bee1d4097c5275d3245ba250bd73f2cc
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoFix linking error on Ubuntu 13.04
SeokYeon Hwang [Tue, 21 May 2013 05:40:10 +0000 (14:40 +0900)]
Fix linking error on Ubuntu 13.04

Change-Id: Ia75046455fc439a294b0aaf3ecfd51c435749c8c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoYaGL: Added support for GL_FLOAT and GL_HALF_FLOAT_OES textures
Stanislav Vorobiov [Mon, 20 May 2013 14:53:33 +0000 (18:53 +0400)]
YaGL: Added support for GL_FLOAT and GL_HALF_FLOAT_OES textures

11 years agoYaGL: Fix for Tizen's WebKit incorrect EGL config choice
Stanislav Vorobiov [Fri, 17 May 2013 09:36:23 +0000 (13:36 +0400)]
YaGL: Fix for Tizen's WebKit incorrect EGL config choice
YaGL: Enable stencil buffer attachment in GL framebuffers

Tizen's WebKit doesn't choose EGL config the right way, we
fix it inside YaGL

We enable stencil buffer attachment in GL framebuffers, it was
disabled long ago because of the problems with WebGL gallery, I
guess now they're gone, and we can restore things as they should be

11 years agoYaGL: wait_native removed
Stanislav Vorobiov [Thu, 16 May 2013 16:09:16 +0000 (20:09 +0400)]
YaGL: wait_native removed

wait_native is useless on host, this must be
done on target

11 years agoYaGL: Fixed logging for winsys_id
Stanislav Vorobiov [Thu, 16 May 2013 11:07:16 +0000 (15:07 +0400)]
YaGL: Fixed logging for winsys_id

11 years agoYaGL: Added missed invalidate hooks
Stanislav Vorobiov [Wed, 15 May 2013 09:24:28 +0000 (13:24 +0400)]
YaGL: Added missed invalidate hooks

11 years agoYaGL: We now use DRI2
Stanislav Vorobiov [Wed, 15 May 2013 08:58:01 +0000 (12:58 +0400)]
YaGL: We now use DRI2

DRI2 in its basic form is implemented and working for both 2D
and 3D rendering

11 years agovirtio-keyboard: problems related key release event
sungmin ha [Tue, 14 May 2013 07:34:42 +0000 (16:34 +0900)]
virtio-keyboard: problems related key release event

modified process of using virtio keyboard queue and added key release event when context menu is activated

Signed-off-by: Sungmin Ha <sungmin82.ha@samsung.com>
11 years agoMerge "emulator:remove Open_Source_Announcement.txt file" into develop
Yeongkyoon Lee [Fri, 10 May 2013 01:00:32 +0000 (10:00 +0900)]
Merge "emulator:remove Open_Source_Announcement.txt file" into develop

11 years agoMerge "display : Modified to avoid to appear a white region when screen is rotated...
Yeongkyoon Lee [Thu, 9 May 2013 02:59:05 +0000 (11:59 +0900)]
Merge "display : Modified to avoid to appear a white region when screen is rotated or scaled up/down while powered off." into develop

11 years agoemulator:remove Open_Source_Announcement.txt file
jihye [Thu, 9 May 2013 02:13:23 +0000 (11:13 +0900)]
emulator:remove Open_Source_Announcement.txt file

Change-Id: Ib6d815ccbdd3731bede0042f9d145c80c33c1781

Conflicts:

package/changelog

11 years agomenu: deleted a license button at About dialog
giwoong.kim [Thu, 9 May 2013 02:12:47 +0000 (11:12 +0900)]
menu: deleted a license button at About dialog

deleted a license button at About dialog

Change-Id: I863c78b7d4707284423c43e7d7a8bd0198933605
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoYaGL: Renamed 'invalidate' to 'reset'
Stanislav Vorobiov [Wed, 8 May 2013 13:47:28 +0000 (17:47 +0400)]
YaGL: Renamed 'invalidate' to 'reset'

When EGLSurface is destroyed we call 'reset' on it.
'invalidate' will have different meaning in DRI2, it'll mean
'surface backing pixmap changed'

11 years agoYaGL/VIGS: Removed all legacy locking code
Stanislav Vorobiov [Wed, 8 May 2013 13:33:54 +0000 (17:33 +0400)]
YaGL/VIGS: Removed all legacy locking code

11 years agodisplay : Modified to avoid to appear a white region when screen is rotated or scaled...
jinhyung.jo [Tue, 7 May 2013 08:48:00 +0000 (17:48 +0900)]
display : Modified to avoid to appear a white region when screen is rotated or scaled up/down while powered off.

draw ten more blank screen when the skin is rotated or scaled up/down while powered off.

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agoVIGS: Fixed root surface synchronization bug
Stanislav Vorobiov [Mon, 6 May 2013 14:51:53 +0000 (18:51 +0400)]
VIGS: Fixed root surface synchronization bug
VIGS: Simplified update_vram and update_gpu commands

11 years agopackage: version up
giwoong.kim [Mon, 6 May 2013 02:39:05 +0000 (11:39 +0900)]
package: version up

1.5.37

Change-Id: Ia27556183d195524d19094c8604521f275e31545
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: call setBounds of display in arrangeSkin on only mac
giwoong.kim [Mon, 6 May 2013 02:35:39 +0000 (11:35 +0900)]
skin: call setBounds of display in arrangeSkin on only mac

call setBounds of display in arrangeSkin on only mac

Change-Id: I17f0231a6a52308b011c76d29a91b532dfaa8f56
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agomenu: uncheck the AlwaysOnTop menu item
giwoong.kim [Mon, 6 May 2013 02:26:12 +0000 (11:26 +0900)]
menu: uncheck the AlwaysOnTop menu item

uncheck the AlwaysOnTop menu item if it got failure.

Change-Id: Iad8f7bc265d82b88951e53744cea2ca2e96f2c45
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoshm: The caller of loadLibrary function was changed
giwoong.kim [Thu, 2 May 2013 07:15:49 +0000 (16:15 +0900)]
shm: The caller of loadLibrary function was changed

The caller of loadlibrary function was changed to
EmulatorShmSkin class. And for excepton handling,
I added error popup.

Change-Id: Ideaff5bc822010b5b45798aaae4fbf37d31bb69f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agomenu: modified dialog size of RamDump
giwoong.kim [Tue, 30 Apr 2013 02:37:31 +0000 (11:37 +0900)]
menu: modified dialog size of RamDump

modified dialog size of RamDump

Change-Id: I4f6552c819b8228920aea6322d6149f319720286
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoshm: Change the segment size if shmget fails
giwoong.kim [Fri, 26 Apr 2013 02:49:43 +0000 (11:49 +0900)]
shm: Change the segment size if shmget fails

Change the segment size if shmget fails.

Change-Id: Ibdd8e95b29eac13a7180da06d367072e0fc775e2
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoVIGS: Fixed communicator bugs
Stanislav Vorobiov [Mon, 29 Apr 2013 14:04:26 +0000 (18:04 +0400)]
VIGS: Fixed communicator bugs

11 years agopackage: version up.
sungmin ha [Mon, 29 Apr 2013 05:12:41 +0000 (14:12 +0900)]
package: version up.

Signed-off-by: Sungmin Ha <sungmin82.ha@samsung.com>
11 years agoFtApp stability issue got fixed. Add code to release glXPixmap resource
Fengqian.Gao [Sun, 28 Apr 2013 14:44:57 +0000 (22:44 +0800)]
FtApp stability issue got fixed. Add code to release glXPixmap resource

11 years agoVIGS: Protocol updated
Stanislav Vorobiov [Fri, 26 Apr 2013 13:47:41 +0000 (17:47 +0400)]
VIGS: Protocol updated

11 years agoVIGS: Refactoring for DRI2
Stanislav Vorobiov [Fri, 26 Apr 2013 10:00:23 +0000 (14:00 +0400)]
VIGS: Refactoring for DRI2

Since we're going to support DRI2 we no longer need vigs_resource and related. All
resource management is going to be on target.
Also, we've temporary disabled YaGL onscreen backend and VIGS software backend,
we'll enable them again once DRI2 is implemented in a basic form

11 years agopackage: version up
giwoong.kim [Thu, 25 Apr 2013 05:43:49 +0000 (14:43 +0900)]
package: version up

1.5.33

Change-Id: I874953c8dd7fb60bb84bfa66018048c37a422822
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoshm: Remove a shared memory if not using it
giwoong.kim [Thu, 25 Apr 2013 04:52:21 +0000 (13:52 +0900)]
shm: Remove a shared memory if not using it

Remove a shared memory if not using it
anymore.

Change-Id: I199b14cea966f1d340dc815f3b86e2a54848ccfc
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoemulator: added some logs & error popup
giwoong.kim [Wed, 24 Apr 2013 01:57:50 +0000 (10:57 +0900)]
emulator: added some logs & error popup

added some logs & error popup

Change-Id: I800744f0b99f9e625d9db7d4bc4de9a8618d083a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agocommunication: start the sendThread after DataStream creation
giwoong.kim [Tue, 23 Apr 2013 07:07:53 +0000 (16:07 +0900)]
communication: start the sendThread after DataStream creation

start the sendThread after DataOutputStream creation

Change-Id: I54fc443b3a5ddb71871ee9790c004a1fcf580e8b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoRemove unnecessary stuff when destroy context and surface on Windows.
Sangjin Kim [Tue, 23 Apr 2013 12:03:20 +0000 (21:03 +0900)]
Remove unnecessary stuff when destroy context and surface on Windows.
As context and surface are decoupled, also not related to current context,
so no need to MakeCurrent(NULL) and destroy related surface when destroy context.

N_SE-34325 got fixed.

Signed-off-by: edwin.zhai <edwin.zhai@intel.com>
Signed-off-by: fengqian.gao <fengqian.gao@intel.com>
11 years agoMerge "mloop_event: resolve build break on ARM build." into develop
Yeongkyoon Lee [Tue, 23 Apr 2013 07:01:41 +0000 (16:01 +0900)]
Merge "mloop_event: resolve build break on ARM build." into develop

11 years agocommunication: enable the heart-beat log
giwoong.kim [Mon, 22 Apr 2013 10:41:31 +0000 (19:41 +0900)]
communication: enable the heart-beat log

enable the heart-beat log

Change-Id: I2c22a0a8288279a98c70e86dab390d76ede488e5
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agomloop_event: resolve build break on ARM build.
Kitae Kim [Mon, 22 Apr 2013 09:13:57 +0000 (18:13 +0900)]
mloop_event: resolve build break on ARM build.

A function for I386 target was not included in the TARGET_I386 bracket.
That is why compile error happened on ARM.

Change-Id: I894f8ebf1a7d1b455841644b5b556d50e878a244
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agodisplay: no need to additional updating before completed booting
giwoong.kim [Fri, 19 Apr 2013 13:24:43 +0000 (22:24 +0900)]
display: no need to additional updating before completed booting

no need to additional updating before completed booting.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoVIGS: Fixed y-invert problem with texture_from_pixmap
Stanislav Vorobiov [Fri, 19 Apr 2013 07:34:14 +0000 (11:34 +0400)]
VIGS: Fixed y-invert problem with texture_from_pixmap

X.Org and OpenGL have different position of (0,0) point. X.Org's (0,0) is
at left-top corner and OpenGL's (0,0) is at left-bottom corner. texture_from_pixmap
does not specify where (0,0) is exactly, so Tizen currently treats it as X.Org.
Because of all this we used to map X.Org's (0,0) to OpenGL's (0,0) to avoid y-flipping, but it
turned out that it was wrong. Consider the case when both X.Org and OpenGL render to the pixmap
and then you try to XGetImage, what should VIGS do ? Should it just give away the contents or
should it y-flip it before ? To avoid this confusion we're forced to map X.Org's (0,0) to left-top
corener as it should be and this itself causes problems with Tizen. The only way to resolve this is
to let Tizen know that it should treat texture_from_pixmap's (0,0) as left-bottom corner.
There's an extension called EGL_NOK_texture_from_pixmap which defines EGL_Y_INVERTED_NOK config attribute,
we should implement it, patch Tizen's Evas GL to support it and then everything will work.

11 years agoRemove unnecessary execute permission
SeokYeon Hwang [Fri, 19 Apr 2013 03:07:40 +0000 (12:07 +0900)]
Remove unnecessary execute permission

Change-Id: If908ce52d904b99a338bc931f0f7b888d00cd66b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agomloop_event: source clean up
Kitae Kim [Thu, 18 Apr 2013 09:01:15 +0000 (18:01 +0900)]
mloop_event: source clean up

Removed unnecessary sources and added check routine for a sdcard device instance.

Change-Id: I723272e6ec6792b87700030943c44d0274e4bab5
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agopackage: version up
giwoong.kim [Wed, 17 Apr 2013 08:19:01 +0000 (17:19 +0900)]
package: version up

1.5.29

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoguest_server: modified log level
giwoong.kim [Wed, 17 Apr 2013 08:08:50 +0000 (17:08 +0900)]
guest_server: modified log level

modified log level

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoscreenshot: optimize a framebuffer copying
giwoong.kim [Wed, 17 Apr 2013 04:30:47 +0000 (13:30 +0900)]
screenshot: optimize a framebuffer copying

optimize a framebuffer copying in screenshot window

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agovirtio-keyboard: change a way to set keyboard device.
Kitae Kim [Wed, 17 Apr 2013 04:55:06 +0000 (13:55 +0900)]
virtio-keyboard: change a way to set keyboard device.

Removed the function that assign a keyboard device because
the function signature to add a pluggable device has been changed.

Change-Id: Ica00240fd97c15a25b9283d0a05c91bbca4cc4ee
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoVIGS: Fixed texture filter bug on ivybridge
Stanislav Vorobiov [Tue, 16 Apr 2013 17:29:11 +0000 (21:29 +0400)]
VIGS: Fixed texture filter bug on ivybridge

11 years agoshm: synchronization of display updating
giwoong.kim [Tue, 16 Apr 2013 07:28:25 +0000 (16:28 +0900)]
shm: synchronization of display updating

In order to improve a vsync quality, the trigger
was designed so that the framebuffer copying
synchronized with the display updating on
CONFIG_USE_SHM.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agodisplay: skip the framebuffer copying
giwoong.kim [Tue, 16 Apr 2013 02:42:30 +0000 (11:42 +0900)]
display: skip the framebuffer copying

skip the framebuffer copyting when display is turned off
on CONFIG_USE_SHM

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoshm: The code of shared framebuffer is moved
giwoong.kim [Mon, 15 Apr 2013 11:06:12 +0000 (20:06 +0900)]
shm: The code of shared framebuffer is moved

The code of shared framebuffer is moved
from maru_vga.c into maru_shm.c

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge "On emulator, pBuffer display is y-inverted. With this patch, the buffer data...
Yeongkyoon Lee [Tue, 16 Apr 2013 06:45:18 +0000 (15:45 +0900)]
Merge "On emulator, pBuffer display is y-inverted. With this patch, the buffer data is y-inverted before texture generation. This induces a performance penalty, however display is no longer inverted." into develop

11 years agoOn emulator, pBuffer display is y-inverted.
Sangjin Kim [Tue, 16 Apr 2013 06:49:31 +0000 (15:49 +0900)]
On emulator, pBuffer display is y-inverted.
With this patch, the buffer data is y-inverted before texture generation.
This induces a performance penalty, however display is no longer inverted.

Limit this patch to 32 bpp.

Change-Id: Id6a6052cd911aed5a2e721cdf81c911fa8fe766d
Signed-off-by: Dalleau, Frederic <frederic.dalleau@linux.intel.com>
11 years agoMerge "sdcard: Fix log for human-readability" into develop
Yeongkyoon Lee [Tue, 16 Apr 2013 06:33:18 +0000 (15:33 +0900)]
Merge "sdcard: Fix log for human-readability" into develop

11 years agoMerge "shm: copy JNI library file for CONFIG_USE_SHM" into develop
Yeongkyoon Lee [Tue, 16 Apr 2013 06:32:10 +0000 (15:32 +0900)]
Merge "shm: copy JNI library file for CONFIG_USE_SHM" into develop

11 years agosdcard: Fix log for human-readability
SeokYeon Hwang [Tue, 16 Apr 2013 02:17:23 +0000 (11:17 +0900)]
sdcard: Fix log for human-readability

Change-Id: Ia2fa07e5108bd90a8d8b0f22fe281e86a6c1af0e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agosdcard: Prepare virtio sdcard
SeokYeon Hwang [Mon, 15 Apr 2013 15:39:58 +0000 (00:39 +0900)]
sdcard: Prepare virtio sdcard

For higher performance and mount support by Tizen system framework.

Change-Id: I0c7d0538cb062139c48d00d57f80bb027a605452
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoYaGL: Fixed for proper GL launching
Stanislav Vorobiov [Mon, 15 Apr 2013 08:53:26 +0000 (12:53 +0400)]
YaGL: Fixed for proper GL launching

11 years agoVIGS: software backend implementation
Stanislav Vorobiov [Thu, 11 Apr 2013 07:07:27 +0000 (11:07 +0400)]
VIGS: software backend implementation

11 years agoYaGL: fix GL_OES_depth_texture and GL_OES_packed_depth_stencil support
Igor Mitsyanko [Fri, 18 Jan 2013 16:24:20 +0000 (20:24 +0400)]
YaGL: fix GL_OES_depth_texture and GL_OES_packed_depth_stencil support

glTexImage* were not working properly because we have not took GL_OES_depth_texture
and GL_OES_packed_depth_stencil extensions into account.

YaGL version is bumped

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: fix glGetFramebufferAttachmentParameteriv
Igor Mitsyanko [Fri, 18 Jan 2013 10:08:07 +0000 (14:08 +0400)]
YaGL: fix glGetFramebufferAttachmentParameteriv

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: GLES1: fix fixed point version of gl*TexEnv* functions
Igor Mitsyanko [Thu, 17 Jan 2013 17:47:18 +0000 (21:47 +0400)]
YaGL: GLES1: fix fixed point version of gl*TexEnv* functions

Parameter values GL_ALPHA_SCALE and GL_RGB_SCALE should be scaled when converting
fron GLfloat to GLfixed.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agomaru_arm_soc.c: remove unused macros
Igor Mitsyanko [Thu, 17 Jan 2013 13:49:41 +0000 (17:49 +0400)]
maru_arm_soc.c: remove unused macros

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: fix error generation in glCompressedTexSubImage() call
Igor Mitsyanko [Thu, 17 Jan 2013 12:12:20 +0000 (16:12 +0400)]
YaGL: fix error generation in glCompressedTexSubImage() call

Calling glCompressedTexSubImage() in GLES1 will cause GL_INVALID_PERATION error
generation, not GL_INVALID_ENUM.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: introduce client-specific callback for glIsEnabled()
Igor Mitsyanko [Tue, 15 Jan 2013 13:39:14 +0000 (17:39 +0400)]
YaGL: introduce client-specific callback for glIsEnabled()

We need this to handle GL_POINT_SIZE_ARRAY_OES parameter when processing
GLES1 client context.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: GLES1: make GL_GENERATE_MIPMAP_HINT quariable
Igor Mitsyanko [Tue, 15 Jan 2013 13:20:02 +0000 (17:20 +0400)]
YaGL: GLES1: make GL_GENERATE_MIPMAP_HINT quariable

GL_GENERATE_MIPMAP_HINT is not listed as a possible pname value for glGet* calls
in online GLES1 manual pages, but it is listed in full specification.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: GLES1: manually scale GL_ALPHA_TEST_REF vale to +-INT_MAX
Igor Mitsyanko [Tue, 15 Jan 2013 13:13:16 +0000 (17:13 +0400)]
YaGL: GLES1: manually scale GL_ALPHA_TEST_REF vale to +-INT_MAX

When querying GL_ALPHA_TEST_REF value by glGetIntegerv, it suposed to be scaled
to +=INT_MAX. But host driver might not do it, so we do it manually.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: GLES1: do not convert from GLfixed if value is an enumeration
Igor Mitsyanko [Mon, 14 Jan 2013 18:26:33 +0000 (22:26 +0400)]
YaGL: GLES1: do not convert from GLfixed if value is an enumeration

Khronos specifications states that GLfixed not always should be converted to
other datatypes:

Regardless of language binding, the enum type converts to
fixed-point without scaling

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: convert memory accessing macros to inline functions for typesafety
Igor Mitsyanko [Fri, 11 Jan 2013 16:13:32 +0000 (20:13 +0400)]
YaGL: convert memory accessing macros to inline functions for typesafety

Convrt memory accessing macros to inline functions so we will get a compile time
warning if we missuse any off these macros.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: GLES1: support compressed paletted texture formats
Igor Mitsyanko [Fri, 11 Jan 2013 12:57:48 +0000 (16:57 +0400)]
YaGL: GLES1: support compressed paletted texture formats

Support all compressed paletted texture image data formats which should
be supported by glCompressedTexImage2D according to documentation.

Note that glCompressedTexSubImage() call doesn't accept any formats.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoVIGS: Added support for resource sizes
Stanislav Vorobiov [Fri, 11 Jan 2013 08:22:24 +0000 (12:22 +0400)]
VIGS: Added support for resource sizes

11 years agoVIGS/YaGL: Fixed feedback loop that appeared during eglCopyBuffers VIGS: Removed...
Stanislav Vorobiov [Thu, 10 Jan 2013 13:27:00 +0000 (17:27 +0400)]
VIGS/YaGL: Fixed feedback loop that appeared during eglCopyBuffers VIGS: Removed texture parameter setting during texture creation, this can lead to texture parameters being set in YaGL's context

11 years agomaru: set NULL YaGL/VIGS display for all platforms other than linux
Stanislav Vorobiov [Thu, 10 Jan 2013 06:27:55 +0000 (10:27 +0400)]
maru: set NULL YaGL/VIGS display for all platforms other than linux

11 years agoYaGL: GLES1: limit number of supported clip planes to 6
Igor Mitsyanko [Wed, 9 Jan 2013 14:59:03 +0000 (18:59 +0400)]
YaGL: GLES1: limit number of supported clip planes to 6

According to docs, we need to support AT LEAST 6 clip planes, but khronos GLES1
conformance test assumes that it is EXACTLY 6. Furthermore, there is a comment
in Android sources that states that some drivers report wrong value for number
of clip planec, so this workaround is essential.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoVIGS: Don't check for errors, there may be target OS errors pending
Stanislav Vorobiov [Wed, 9 Jan 2013 17:08:31 +0000 (21:08 +0400)]
VIGS: Don't check for errors, there may be target OS errors pending

11 years agoVIGS: Disable ARB_sync for now
Stanislav Vorobiov [Fri, 28 Dec 2012 17:40:28 +0000 (21:40 +0400)]
VIGS: Disable ARB_sync for now

11 years agoYaGL: Always make sure that framebuffer zero is bound before eglSwapBuffers/eglCopyBu...
Stanislav Vorobiov [Fri, 28 Dec 2012 13:28:46 +0000 (17:28 +0400)]
YaGL: Always make sure that framebuffer zero is bound before eglSwapBuffers/eglCopyBuffers

11 years agoYaGL: Don't depend on GL_ARB_ES2_compatibility
Stanislav Vorobiov [Fri, 28 Dec 2012 08:49:29 +0000 (12:49 +0400)]
YaGL: Don't depend on GL_ARB_ES2_compatibility

11 years agoVIGS: Fixed ARB_sync usage for windows
Stanislav Vorobiov [Thu, 27 Dec 2012 13:25:18 +0000 (17:25 +0400)]
VIGS: Fixed ARB_sync usage for windows

11 years agoVIGS: Using ARB_sync instead of glFinish when possible
Stanislav Vorobiov [Thu, 27 Dec 2012 12:49:51 +0000 (16:49 +0400)]
VIGS: Using ARB_sync instead of glFinish when possible

11 years agoVIGS: Compile by default on windows and linux
Stanislav Vorobiov [Fri, 12 Apr 2013 07:16:04 +0000 (11:16 +0400)]
VIGS: Compile by default on windows and linux

11 years agoVIGS: Implemented and added to maru boards
Stanislav Vorobiov [Thu, 11 Apr 2013 06:58:28 +0000 (10:58 +0400)]
VIGS: Implemented and added to maru boards

11 years agoYaGL: Fixed for windows
Stanislav Vorobiov [Wed, 26 Dec 2012 17:48:14 +0000 (21:48 +0400)]
YaGL: Fixed for windows

11 years agoYaGL: Onscreen support added
Stanislav Vorobiov [Tue, 25 Dec 2012 07:32:56 +0000 (11:32 +0400)]
YaGL: Onscreen support added

11 years agoYaGL: validate glCopyTexImage2d() parameters
Igor Mitsyanko [Thu, 20 Dec 2012 16:18:57 +0000 (20:18 +0400)]
YaGL: validate glCopyTexImage2d() parameters

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: implement textures enabling/disabling with glEnable/glDisable
Igor Mitsyanko [Thu, 20 Dec 2012 15:28:44 +0000 (19:28 +0400)]
YaGL: implement textures enabling/disabling with glEnable/glDisable

Currently this is not used in any way. Android openGL uses this information for
implementing  OES_draw_texture extension API functions glDrawTex*OES(), which
we do not support.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: implement several GLES1 extensions
Igor Mitsyanko [Thu, 20 Dec 2012 12:59:46 +0000 (16:59 +0400)]
YaGL: implement several GLES1 extensions

Implement GLES1 API for following extensions:
    GL_OES_framebuffer_object API
    GL_OES_blend_subtract
    GL_OES_blend_equation_separate
    GL_OES_blend_func_separate

All functions these extensions provide are already implemented for GLES2, all
we have to do is to move them to a common part and reuse in GLES1.

Protocol changed, so we have to bump a version.

11 years agoYaGL: introduce GLES1 API
Igor Mitsyanko [Thu, 20 Dec 2012 12:14:28 +0000 (16:14 +0400)]
YaGL: introduce GLES1 API

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>