sdk/emulator/qemu.git
11 years agoMerge "virtio-esm: Add function prototypt to virtio.h" into develop
Yeongkyoon Lee [Fri, 14 Dec 2012 11:37:19 +0000 (20:37 +0900)]
Merge "virtio-esm: Add function prototypt to virtio.h" into develop

11 years agovirtio-esm: Add function prototypt to virtio.h
syeon.hwang [Fri, 14 Dec 2012 11:33:25 +0000 (20:33 +0900)]
virtio-esm: Add function prototypt to virtio.h

Avoid truncate 64bit pointer to 32bit on 64bit host machine.

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agomaru_camera : remove Sonar violations & fixed a bug
jinhyung.jo [Fri, 14 Dec 2012 08:03:55 +0000 (17:03 +0900)]
maru_camera : remove Sonar violations & fixed a bug

remove Sonar violations
fixed a bug that unexpected temination when play camera on Windows7

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years ago[Title] comment out arm build
Sooyoung Ha [Fri, 14 Dec 2012 06:26:33 +0000 (15:26 +0900)]
[Title] comment out arm build
[Desc.] comment out arm build on build script
[Issue] x86 package zipped empty after add arm build.

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
11 years ago[Title] version up to 1.4.27
Sooyoung Ha [Fri, 14 Dec 2012 05:28:24 +0000 (14:28 +0900)]
[Title] version up to 1.4.27
[Desc.]
[Issue]

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
11 years agoFix the emulator exit hang up issue
Jun Tian [Fri, 14 Dec 2012 00:43:15 +0000 (08:43 +0800)]
Fix the emulator exit hang up issue

11 years agopackage: version up
munkyu.im [Thu, 13 Dec 2012 11:05:33 +0000 (20:05 +0900)]
package: version up

Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agoskin: replace the resource image for nine-patch
giwoong.kim [Thu, 13 Dec 2012 08:37:37 +0000 (17:37 +0900)]
skin: replace the resource image for nine-patch

modified some pixels

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: hide a progress bar
giwoong.kim [Thu, 13 Dec 2012 08:01:27 +0000 (17:01 +0900)]
skin: hide a progress bar

default state is hidden

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: version up
munkyu.im [Thu, 13 Dec 2012 06:48:36 +0000 (15:48 +0900)]
package: version up

Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agobuild: add arm build
munkyu.im [Thu, 13 Dec 2012 06:39:27 +0000 (15:39 +0900)]
build: add arm build

Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agosdb: add some information to launcher script
munkyu.im [Thu, 13 Dec 2012 04:15:23 +0000 (13:15 +0900)]
sdb: add some information to launcher script

Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agopacakge: modified SDK version
giwoong.kim [Thu, 13 Dec 2012 03:00:14 +0000 (12:00 +0900)]
pacakge: modified SDK version

2.0.0 RC3

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: indent the code
giwoong.kim [Thu, 13 Dec 2012 02:54:34 +0000 (11:54 +0900)]
skin: indent the code

indent the code

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agosdb: modify sdb launcher
munkyu.im [Thu, 13 Dec 2012 02:55:45 +0000 (11:55 +0900)]
sdb: modify sdb launcher

change uxterm to Terminal app.
Because It is more general and basic app on Mac.

Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agoskin: modified docking area
giwoong.kim [Wed, 12 Dec 2012 13:13:48 +0000 (22:13 +0900)]
skin: modified docking area

Expand main window's docking area.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: consider close event of key window
giwoong.kim [Wed, 12 Dec 2012 12:59:28 +0000 (21:59 +0900)]
skin: consider close event of key window

handle the key window state when key window is
closed by OS close button.
And add a key window icon & key window title.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agovirtio-esm: First introduce of virtio-esm
syeon.hwang [Wed, 12 Dec 2012 08:24:53 +0000 (17:24 +0900)]
virtio-esm: First introduce of virtio-esm

Introduce "Maru VirtIO EmulatorStatusMedium" for represent boot up progress.

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoskin: dispose the ProgressBar when progress is completed
giwoong.kim [Wed, 12 Dec 2012 06:50:44 +0000 (15:50 +0900)]
skin: dispose the ProgressBar when progress is completed

Dispose the ProgressBar when booting is completed.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: added protocol of booting progress
giwoong.kim [Wed, 12 Dec 2012 05:58:21 +0000 (14:58 +0900)]
skin: added protocol of booting progress

Emulator can notify the booting progress to skin.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: version up
munkyu.im [Tue, 11 Dec 2012 10:35:17 +0000 (19:35 +0900)]
package: version up

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
11 years agoMerge "configure: add x86 option" into develop
Yeongkyoon Lee [Tue, 11 Dec 2012 08:20:50 +0000 (17:20 +0900)]
Merge "configure: add x86 option" into develop

11 years agoconfigure: add x86 option
munkyu.im [Tue, 11 Dec 2012 08:14:37 +0000 (17:14 +0900)]
configure: add x86 option

Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agoskin: added CustomProgressbar file
giwoong.kim [Tue, 11 Dec 2012 07:55:51 +0000 (16:55 +0900)]
skin: added CustomProgressbar file

Add CustomProgressBar for booting status.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: indent the code
giwoong.kim [Mon, 10 Dec 2012 12:49:16 +0000 (21:49 +0900)]
skin: indent the code

indent the some lines & delete goto statement

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: version up
giwoong.kim [Mon, 10 Dec 2012 08:01:58 +0000 (17:01 +0900)]
package: version up

1.4.23

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: open the key window as default
giwoong.kim [Mon, 10 Dec 2012 07:58:18 +0000 (16:58 +0900)]
skin: open the key window as default

Open the key window.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: version up
giwoong.kim [Sat, 8 Dec 2012 08:13:38 +0000 (17:13 +0900)]
package: version up

1.4.21

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agotouch: Added multi-touch control scenario
giwoong.kim [Sat, 8 Dec 2012 07:50:33 +0000 (16:50 +0900)]
touch: Added multi-touch control scenario

Add a finger before start the multi-touch processing
if already exist the pressed touch in display.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: package version up.
Kitae Kim [Fri, 7 Dec 2012 07:40:51 +0000 (16:40 +0900)]
package: package version up.

wrong argument was passed into emulator configure on ubuntu-32

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agomenu: ramdump function call is delegated to mloop
giwoong.kim [Fri, 7 Dec 2012 06:15:09 +0000 (15:15 +0900)]
menu: ramdump function call is delegated to mloop

The heavy job like ramdump should not run on
the communication thread.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: package version up.
Kitae Kim [Fri, 7 Dec 2012 06:06:05 +0000 (15:06 +0900)]
package: package version up.

Wrong size of qemu package has been uploaded in the previous package.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agopackage: Modified build script files.
Kitae Kim [Fri, 7 Dec 2012 01:32:14 +0000 (10:32 +0900)]
package: Modified build script files.

When qemu is built, the build script execute distclean before compiling.
There is an issue about yagl device failure on x86 emulator.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoskin: modified color key value
giwoong.kim [Thu, 6 Dec 2012 12:38:16 +0000 (21:38 +0900)]
skin: modified color key value

Windows and Ubuntu has a different color format.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: version up
munkyu.im [Thu, 6 Dec 2012 08:12:27 +0000 (17:12 +0900)]
package: version up

11 years agotouch: added boilerplate
giwoong.kim [Thu, 6 Dec 2012 07:22:11 +0000 (16:22 +0900)]
touch: added boilerplate

Added boilerplate to EmulatorFingers file.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agomenu: temporarily disable key window menu
giwoong.kim [Thu, 6 Dec 2012 07:15:01 +0000 (16:15 +0900)]
menu: temporarily disable key window menu

In phone shape skin, disable the key window menu.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge branch 'nine-patch' into develop
giwoong.kim [Thu, 6 Dec 2012 06:55:02 +0000 (15:55 +0900)]
Merge branch 'nine-patch' into develop

Change-ID: I87b76ee41cdcc7d3fb373d57b3a979f0852e7c5d

11 years agoskin: add window docking area
giwoong.kim [Thu, 6 Dec 2012 06:31:49 +0000 (15:31 +0900)]
skin: add window docking area

right-top, right-bottom docking area is added

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: close the key window
giwoong.kim [Thu, 6 Dec 2012 01:32:47 +0000 (10:32 +0900)]
skin: close the key window

Close the key window instead of making a
invisible shell.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: version up
giwoong.kim [Thu, 6 Dec 2012 01:44:41 +0000 (10:44 +0900)]
package: version up

1.4.16

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge "extra: change file name starts with capital" into develop
Yeongkyoon Lee [Wed, 5 Dec 2012 10:58:15 +0000 (19:58 +0900)]
Merge "extra: change file name starts with capital" into develop

11 years agoextra: change file name starts with capital
munkyu.im [Wed, 5 Dec 2012 10:49:55 +0000 (19:49 +0900)]
extra: change file name starts with capital

change file name as well as its related module
remove unused comment

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
11 years agoskin: added double quotation mark for path
giwoong.kim [Wed, 5 Dec 2012 10:05:42 +0000 (19:05 +0900)]
skin: added double quotation mark for path

Added double quotation mark for path of
startup parameter.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoRevert "sdb: display arch name"
munkyu.im [Wed, 5 Dec 2012 09:32:36 +0000 (18:32 +0900)]
Revert "sdb: display arch name"

This reverts commit eafc7331be620eec85569e31906d23da52ef3f45.

11 years agoskin: key window docking
giwoong.kim [Wed, 5 Dec 2012 08:21:22 +0000 (17:21 +0900)]
skin: key window docking

The key window is converted to dockable windows.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoinput: add lock to mouse wheel packet
munkyu.im [Tue, 4 Dec 2012 07:51:18 +0000 (16:51 +0900)]
input: add lock to mouse wheel packet

to guarantee safe serialization of input event

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
11 years agomenu: correction of key window position
giwoong.kim [Tue, 4 Dec 2012 06:27:10 +0000 (15:27 +0900)]
menu: correction of key window position

The key window does not get out of resolution range
at generated time.
And attach the key window to main window when two
windows have short distance.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: enable the tooltip on HW key button
giwoong.kim [Tue, 4 Dec 2012 05:35:57 +0000 (14:35 +0900)]
skin: enable the tooltip on HW key button

enable the tooltip on HW key button through
default.dbi xml file.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agomenu: modified SDK name
giwoong.kim [Mon, 3 Dec 2012 07:14:57 +0000 (16:14 +0900)]
menu: modified SDK name

2.0.0 RC2

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: sync up the 'Always On Top'
giwoong.kim [Mon, 3 Dec 2012 10:43:54 +0000 (19:43 +0900)]
skin: sync up the 'Always On Top'

Sync up the 'Always On Top' between emulator window
and key window.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agomenu: move TopMost function to SkinUtil
giwoong.kim [Mon, 3 Dec 2012 09:48:48 +0000 (18:48 +0900)]
menu: move TopMost function to SkinUtil

function refactoring

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: added Pair Tag to key window & emul window
giwoong.kim [Mon, 3 Dec 2012 07:00:48 +0000 (16:00 +0900)]
skin: added Pair Tag to key window & emul window

This tag represents a pair of windows.
The color of tag is random for each VM.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: cut off the blank pixels of nine-patch image
giwoong.kim [Mon, 3 Dec 2012 02:51:48 +0000 (11:51 +0900)]
skin: cut off the blank pixels of nine-patch image

removed unnecessary pixels

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoremove memeory leak and wrong statement
munkyu.im [Fri, 30 Nov 2012 12:37:40 +0000 (21:37 +0900)]
remove memeory leak and wrong statement

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
11 years agoskin: modified inital position of key window
giwoong.kim [Fri, 30 Nov 2012 12:21:08 +0000 (21:21 +0900)]
skin: modified inital position of key window

right-top -> right-middle

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: added toggle button in general skin
giwoong.kim [Fri, 30 Nov 2012 11:55:26 +0000 (20:55 +0900)]
skin: added toggle button in general skin

The key window can be turned on/off by toggle button
in general skin.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: set the text on HW key button
giwoong.kim [Fri, 30 Nov 2012 06:59:48 +0000 (15:59 +0900)]
skin: set the text on HW key button

Since this commit, ImageButton can draw the text
on its surface.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: modified nine-patch image resource
giwoong.kim [Fri, 30 Nov 2012 05:13:06 +0000 (14:13 +0900)]
skin: modified nine-patch image resource

Changed image color & reomved shadow affect
And trim a key window.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: trim a nine-patch skin
giwoong.kim [Thu, 29 Nov 2012 12:59:48 +0000 (21:59 +0900)]
skin: trim a nine-patch skin

trim a nine-patch image in general skin

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoARM: Use usb keyboard instead of virtio keyboard.
Kitae Kim [Thu, 29 Nov 2012 12:32:16 +0000 (21:32 +0900)]
ARM: Use usb keyboard instead of virtio keyboard.

As ARM emulator cannot support pci hotplug feature at the moment,
modified skin server source to eanble usb keyboard instead of virtio keyboard.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agomultitouch: rearrange finger image when rotate
munkyu.im [Thu, 29 Nov 2012 05:49:10 +0000 (14:49 +0900)]
multitouch: rearrange finger image when rotate

fix finger image position when rotate emulator

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
11 years agoskin:remove unnecessary double quotation mark
munkyu.im [Thu, 29 Nov 2012 04:35:23 +0000 (13:35 +0900)]
skin:remove unnecessary double quotation mark

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
11 years agomenu: added try-catch to AboutDialog
giwoong.kim [Thu, 29 Nov 2012 02:09:05 +0000 (11:09 +0900)]
menu: added try-catch to AboutDialog

I wrapped the Program.launch in a Try-Catch.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage:fix typo
munkyu.im [Thu, 29 Nov 2012 01:44:45 +0000 (10:44 +0900)]
package:fix typo

remove blank

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
11 years agopackage: version up
munkyu.im [Thu, 29 Nov 2012 01:17:05 +0000 (10:17 +0900)]
package: version up

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
11 years agoskin:fix calculating string length
munkyu.im [Thu, 29 Nov 2012 01:13:32 +0000 (10:13 +0900)]
skin:fix calculating string length

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
11 years agoskin: added ImageButtons to key window
giwoong.kim [Wed, 28 Nov 2012 13:10:38 +0000 (22:10 +0900)]
skin: added ImageButtons to key window

added ImageButtons to key window.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: version up.
Sangjin Kim [Wed, 28 Nov 2012 11:03:19 +0000 (20:03 +0900)]
package: version up.
Version upgrade to 1.4.12.
Signed-off-by: Sangjin Kim <sangjin3.kim@samsung.com>
11 years agoskin: apply nine-patch frame
giwoong.kim [Wed, 28 Nov 2012 08:47:04 +0000 (17:47 +0900)]
skin: apply nine-patch frame

apply nine-patch frame to key window

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: renamed image files
giwoong.kim [Wed, 28 Nov 2012 08:17:54 +0000 (17:17 +0900)]
skin: renamed image files

renamed image files

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge "build: Disable yagl on MacOS to build correctly" into develop
Yeongkyoon Lee [Wed, 28 Nov 2012 08:03:34 +0000 (17:03 +0900)]
Merge "build: Disable yagl on MacOS to build correctly" into develop

11 years agobuild: Disable yagl on MacOS to build correctly
syeon.hwang [Wed, 28 Nov 2012 07:59:05 +0000 (16:59 +0900)]
build: Disable yagl on MacOS to build correctly

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoskin: apply nine-patch skin
giwoong.kim [Wed, 28 Nov 2012 06:23:07 +0000 (15:23 +0900)]
skin: apply nine-patch skin

apply nine-patch to general skin

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoWorkaround for bug T_SDK-128.
edwin.zhai [Wed, 28 Nov 2012 02:22:13 +0000 (10:22 +0800)]
Workaround for bug T_SDK-128.

If GL_UNPACK_ROW_LENGTH==0, GL driver should calculate it for glTexSubImage2D
according to width parameter and GL_UNPACK_ALIGNMENT. But on windows, some
vender's driver like nvidia, don't follow it. So we need do it for the driver,
and probably remove this hack in future if driver get fixed.

Signed-off-by: Xin Xu <xinx.xu@intel.com>
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
11 years agoMerge branch 'tizen-arm' into develop
syeon.hwang [Tue, 27 Nov 2012 11:24:32 +0000 (20:24 +0900)]
Merge branch 'tizen-arm' into develop

11 years agoskin: remove a HW key region in general skin
giwoong.kim [Tue, 27 Nov 2012 10:58:45 +0000 (19:58 +0900)]
skin: remove a HW key region in general skin

remove a HW key region and FormLayout in general
skin.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: added image resource of nine-patch
giwoong.kim [Tue, 27 Nov 2012 10:57:50 +0000 (19:57 +0900)]
skin: added image resource of nine-patch

nine-patch frame for emul window/key window
and button images

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agomultitouch: change multitouch key
munkyu.im [Tue, 27 Nov 2012 10:53:06 +0000 (19:53 +0900)]
multitouch: change multitouch key

change from alt key to command key

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
11 years agosdb: display arch name
munkyu.im [Tue, 27 Nov 2012 06:22:41 +0000 (15:22 +0900)]
sdb: display arch name

on connection explorer and sdb status,
shows arch name of running emulator instance.
Not supported on Mac OSX yet.

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
11 years agomenu: added HW Key Window menu
giwoong.kim [Tue, 27 Nov 2012 02:49:38 +0000 (11:49 +0900)]
menu: added HW Key Window menu

Popup menu>HW Key Window

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agodisplay: implement multi touch on Mac
munkyu.im [Mon, 26 Nov 2012 10:58:20 +0000 (19:58 +0900)]
display: implement multi touch on Mac

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
11 years agoMerge branch 'develop' of http://121.133.176.49/review/p/sdk/emulator/qemu into tizen-arm
Evgeny Voevodin [Mon, 26 Nov 2012 09:41:23 +0000 (13:41 +0400)]
Merge branch 'develop' of 121.133.176.49/review/p/sdk/emulator/qemu into tizen-arm

Conflicts:
vl.c

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
11 years agoyagl-log: fix logging macro for windows
Igor Mitsyanko [Thu, 22 Nov 2012 13:18:07 +0000 (17:18 +0400)]
yagl-log: fix logging macro for windows

This macro wouldn't allow us to compile emulator on Windows, fix it.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoqemu-options: add option to enable YaGL
Igor Mitsyanko [Wed, 21 Nov 2012 18:33:36 +0000 (22:33 +0400)]
qemu-options: add option to enable YaGL

Also, check and exit(1) if user specified virtGL and YaGL simultaniously.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoDGLES2: remove completely
Igor Mitsyanko [Wed, 21 Nov 2012 15:20:00 +0000 (19:20 +0400)]
DGLES2: remove completely

It could only be used wirh ARM target, and we now use YaGL for ttis, so remove
DGLES2 completely.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: glTexSubImage2D workaround for GL_ALPHA format in nvidia Windows drivers
Igor Mitsyanko [Wed, 21 Nov 2012 10:41:31 +0000 (14:41 +0400)]
YaGL: glTexSubImage2D workaround for GL_ALPHA format in nvidia Windows drivers

Nvidia Windows openGL drivers doesn't account for GL_UNPACK_ALIGNMENT parameter
when glTexSubImage2D function is called with format GL_ALPHA. Looks like, for some
reason, GL_ALPHA format data always treated by NVIDIA driver as 1-byte aligned.

This commit works around this problem.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: implement EGL WGL driver to support Windows hosts
Igor Mitsyanko [Thu, 15 Nov 2012 13:41:23 +0000 (17:41 +0400)]
YaGL: implement EGL WGL driver to support Windows hosts

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agohw/yagl_log.h: Add Windows specific logging macro
Igor Mitsyanko [Thu, 15 Nov 2012 13:37:53 +0000 (17:37 +0400)]
hw/yagl_log.h: Add Windows specific logging macro

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoyagl_gles_ogl_macros.h: use APIENTRY wit function type prototypes
Igor Mitsyanko [Thu, 15 Nov 2012 13:31:52 +0000 (17:31 +0400)]
yagl_gles_ogl_macros.h: use APIENTRY wit function type prototypes

This should tell compilator how these functions behave when called.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoyagl-log: use g_strndup because there is no strdup in mingw
Igor Mitsyanko [Thu, 8 Nov 2012 14:37:34 +0000 (18:37 +0400)]
yagl-log: use g_strndup because there is no strdup in mingw

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agobuild.sh: do not check if we're on linux to enable YaGL
Igor Mitsyanko [Tue, 23 Oct 2012 13:50:09 +0000 (17:50 +0400)]
build.sh: do not check if we're on linux to enable YaGL

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: add a placeholder for EGL_WGL driver
Igor Mitsyanko [Fri, 19 Oct 2012 11:48:24 +0000 (15:48 +0400)]
YaGL: add a placeholder for EGL_WGL driver

It will be implemented later.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoyagl_egl_glx.c: acquire getProcAddr function addess only once
Igor Mitsyanko [Thu, 18 Oct 2012 09:19:36 +0000 (13:19 +0400)]
yagl_egl_glx.c: acquire getProcAddr function addess only once

No point in acquiring glXGetProcAddress function pointer every time
yagl_egl_glx_procaddr_get() is called, just make it static instead.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: make GLES drivers initialization OS agnostic
Igor Mitsyanko [Thu, 18 Oct 2012 08:45:27 +0000 (12:45 +0400)]
YaGL: make GLES drivers initialization OS agnostic

Introduce function to acquire symbols from openGL library OS-specific way.
This is needed because only EGL OS-specific backend (glx, wgl e.t.c.) knows how
function addresses should be retreived.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: let EGL driver handle host openGL library
Igor Mitsyanko [Thu, 18 Oct 2012 07:13:07 +0000 (11:13 +0400)]
YaGL: let EGL driver handle host openGL library

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: make EGL driver initialization OS independant
Igor Mitsyanko [Wed, 17 Oct 2012 16:19:57 +0000 (20:19 +0400)]
YaGL: make EGL driver initialization OS independant

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoConfigure: guess YAGL backend based on target OS
Igor Mitsyanko [Fri, 21 Sep 2012 14:05:32 +0000 (18:05 +0400)]
Configure: guess YAGL backend based on target OS

11 years agohw/yagl_log.c: fix printf specifier for target_ulong type
Igor Mitsyanko [Tue, 6 Nov 2012 15:28:02 +0000 (19:28 +0400)]
hw/yagl_log.c: fix printf specifier for target_ulong type

On 64-bit hosts %lX specifies 64-bit long variable, therefore when its used with 32-bit
target_ulong, it prints bogus 64 bit long value.

Note that PRIX64 macro could be broken on mingw32, maybe we should manually check
host word size in the future.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
11 years agoYaGL: Fix for khronos GLESv2 test: glGetUniform implemented appropriately
Stanislav Vorobiov [Wed, 7 Nov 2012 13:44:12 +0000 (17:44 +0400)]
YaGL: Fix for khronos GLESv2 test: glGetUniform implemented appropriately
YaGL: Fix for khronos GLESv2 test: number of texture units limited to 32