platform/framework/web/webkit-efl.git
11 years agoTIVI-1795: Disable TIZEN_LINK_EFFECT when using DESKTOP browsing 50/10050/1
Rusty Lynch [Mon, 16 Sep 2013 23:42:25 +0000 (16:42 -0700)]
TIVI-1795: Disable TIZEN_LINK_EFFECT when using DESKTOP browsing

Change-Id: I86e6c5d62481ae5aafdb2e2448e6a55c42deaeff

11 years agoDisable TIZEN_WEBKIT2_POPUP_INTERNAL and make a popup menu show for <select> element. 88/9988/2
Joone Hur [Mon, 26 Aug 2013 16:18:27 +0000 (09:18 -0700)]
Disable TIZEN_WEBKIT2_POPUP_INTERNAL and make a popup menu show for <select> element.

This is also to support desktop browsing.

Change-Id: Ie9aae3bd445fc4a63be3618afbfdddb233d06bc7

11 years agoMerge "Change the user-agent string in order to support desktop browsing" into tizen
Joone Hur [Thu, 12 Sep 2013 21:19:47 +0000 (14:19 -0700)]
Merge "Change the user-agent string in order to support desktop browsing" into tizen

11 years agoChange the user-agent string in order to support desktop browsing 51/9951/4
Joone Hur [Wed, 11 Sep 2013 21:33:19 +0000 (14:33 -0700)]
Change the user-agent string in order to support desktop browsing

Change-Id: Ieaefeeecf30c41a45ba4ef571454eb82c8a38c31

11 years agoDisable TIZEN_MULTIPLE_SELECT 53/9953/1
Joone Hur [Fri, 16 Aug 2013 17:28:06 +0000 (10:28 -0700)]
Disable TIZEN_MULTIPLE_SELECT

This patch allows to render <select> element that has the multiple attribute like desktop browsers.
In addition, TIZEN_DESKTOP_BROWSING is added for desktop browsing support.

Change-Id: I90d4466c814f7bba1c0235169eac613415effab2

11 years agoUpdate Changelog accepted/tizen/20130911.233924 accepted/tizen/20130911.233951 accepted/tizen/20130912.015129 submit/tizen/20130910.194643 submit/tizen/20130911.233246
Joone Hur [Tue, 10 Sep 2013 19:44:08 +0000 (12:44 -0700)]
Update Changelog

11 years agoMerge "Use calloc instead of malloc, so all the pointers are already NULL." into...
Joone Hur [Mon, 9 Sep 2013 16:33:28 +0000 (09:33 -0700)]
Merge "Use calloc instead of malloc, so all the pointers are already NULL." into tizen

11 years agoMerge "Delay the Wayland initialization in the WebProcess for WRT." into tizen
Joone Hur [Mon, 9 Sep 2013 16:33:06 +0000 (09:33 -0700)]
Merge "Delay the Wayland initialization in the WebProcess for WRT." into tizen

11 years agoMerge "wayland video: stop video rendering before destroy wayland surface" into tizen
Joone Hur [Mon, 9 Sep 2013 16:32:01 +0000 (09:32 -0700)]
Merge "wayland video: stop video rendering before destroy wayland surface" into tizen

11 years agoMerge "Add multiple texture rendering in TextureMapperGL" into tizen
Joone Hur [Mon, 9 Sep 2013 16:31:40 +0000 (09:31 -0700)]
Merge "Add multiple texture rendering in TextureMapperGL" into tizen

11 years agoMerge "prepare multiple texture for wayland buffer" into tizen
Joone Hur [Mon, 9 Sep 2013 16:31:22 +0000 (09:31 -0700)]
Merge "prepare multiple texture for wayland buffer" into tizen

11 years agoMerge "Add video support of wayland platform (x86/vaapi)" into tizen
Joone Hur [Mon, 9 Sep 2013 16:31:07 +0000 (09:31 -0700)]
Merge "Add video support of wayland platform (x86/vaapi)" into tizen

11 years agoDelay the Wayland initialization in the WebProcess for WRT. 18/9018/2
Joone Hur [Fri, 30 Aug 2013 21:10:56 +0000 (14:10 -0700)]
Delay the Wayland initialization in the WebProcess for WRT.

Wayland initialization should be done in the UIProcess before the WebProcess
starts to do this, but in case of WRT, the WebProcess does this ahead of the UIProcess.
So, we have to initialize the PlatformSurfacePoolTizen in WebProcess::createWebPage,
not WebProcess::initialize because it is triggered by the createWebPage message sent
from the UIProcess, which delays the Wayland initialization in the WebProcess.

This patch fixes the bug below:
WebGL context creation hangs when called from a web app
https://bugs.tizen.org/jira/browse/TIVI-1602

Change-Id: I8c886e9693ec2b398db0700e8de48401999ced52

11 years agowayland video: stop video rendering before destroy wayland surface 35/9035/1
Zhao Halley [Tue, 27 Aug 2013 02:15:39 +0000 (10:15 +0800)]
wayland video: stop video rendering before destroy wayland surface

Change-Id: I399863bb0618d5d8a300a179fe1d9665765c2567

11 years agoAdd multiple texture rendering in TextureMapperGL 34/9034/1
Zhao Halley [Mon, 12 Aug 2013 03:18:12 +0000 (11:18 +0800)]
Add multiple texture rendering in TextureMapperGL

wayland buffer (from video frame) can be respresented by multiple texture,
then RGB pixel value can be calcuated from YUV data on the fly by GL shader.
- add multiple texture rendering in TextureMapperGL
- add shader support to support NV12/Y_UV video format in TextureMapperShaderManager

Change-Id: I4a373e6e1c3f484c35cb01411a8edca5e9f39f10

11 years agoprepare multiple texture for wayland buffer 33/9033/1
Zhao Halley [Wed, 21 Aug 2013 01:44:20 +0000 (09:44 +0800)]
prepare multiple texture for wayland buffer

Change-Id: I5130904e09f962c81b0b1ccd240869de150c38cf

11 years agoAdd video support of wayland platform (x86/vaapi) 32/9032/1
Zhao Halley [Mon, 12 Aug 2013 00:34:33 +0000 (08:34 +0800)]
Add video support of wayland platform (x86/vaapi)

- Add video platform: SharedVideoPlatformSurfaceTizenWayland
- disable WTF_USE_TIZEN_GSTREAMER_VIDEO_SET_SINK when vaapisink is possible (x86)
- deal with the difference of surface id (m_bufferHandle) and
  native surface (wl_surface) for wayland platform surface
- Accept 'frame-rendered' signal to update video layer
- only luma component is rendered

Change-Id: I1a1cc519c9778f9deaeb471fb50297abb88bfd50

11 years agoUse calloc instead of malloc, so all the pointers are already NULL. 62/8862/1
Rafael Antognolli [Thu, 29 Aug 2013 17:07:52 +0000 (14:07 -0300)]
Use calloc instead of malloc, so all the pointers are already NULL.

We check for NULL pointers in case the toolbar is disabled by command
line.

11 years agoDisable unused-local-typedefs and maybe-uninitialized warning in GCC 4.8 72/8872/1
Joone Hur [Wed, 28 Aug 2013 23:07:25 +0000 (16:07 -0700)]
Disable unused-local-typedefs and maybe-uninitialized warning in GCC 4.8

This patch fixes the webkit2-efl build problem caused by exceeding build log quota in OBS.
https://bugs.tizen.org/jira/browse/TIVI-1683

Merged from http://trac.webkit.org/changeset/147640, http://trac.webkit.org/changeset/154381.

11 years agoAdd option to disable toolbar on MiniBrowser. 61/8861/1
Rafael Antognolli [Wed, 28 Aug 2013 21:04:54 +0000 (18:04 -0300)]
Add option to disable toolbar on MiniBrowser.

11 years agoupdate changelog submit/tizen/20130826.234643
Joone Hur [Mon, 19 Aug 2013 21:41:20 +0000 (14:41 -0700)]
update changelog

11 years ago[3.0] MediaPlayer crashed when switching audio to play(about 20%)
Joone Hur [Thu, 15 Aug 2013 19:30:20 +0000 (12:30 -0700)]
[3.0] MediaPlayer crashed when switching audio to play(about 20%)
https://bugs.tizen.org/jira/browse/TIVI-1518

Add TIZEN_GSTREAMER_VIDEO guard in the destructor of GStreamerGWorld class
because the gstGWorldSyncMessageCallback signal is not used for Tizen WebKit.

11 years agoAllow to build without NDEBUG macro
Joone Hur [Wed, 7 Aug 2013 20:32:12 +0000 (13:32 -0700)]
Allow to build without NDEBUG macro

11 years agoAdd safe fall back to use EGLChooseConfig. 85/8285/2
Kondapally Kalyan [Wed, 14 Aug 2013 14:40:05 +0000 (17:40 +0300)]
Add safe fall back to use EGLChooseConfig.

In EGLConfigSelector, we try to find an exact match for EGL attributes.
This breaks things on drivers which don't match the expected configuration.
This patch changes so that we try to find the exact match first but have
a safe fall back to use EGLChooseConfig.

Change-Id: Ibf28f3661e3d8590720ce80b2def2713b96b1d65

11 years agoAvoid round trip to display for every surface creation. 07/7907/3
Kondapally Kalyan [Mon, 12 Aug 2013 05:43:13 +0000 (08:43 +0300)]
Avoid round trip to display for every surface creation.

We currently do a round trip every time a surface is created.
This patch changes it so that instead of doing to for every surface,
we handle the synchronization once all the current tile updates are
done in WebProcess side.

Change-Id: I444d8bfa35e3bbf82bf11b78512eb03d1325b897

11 years agoThis patch adds support for LockSurface. 00/7800/1 submit/tizen/20130809.012127
Kondapally Kalyan [Tue, 6 Aug 2013 05:21:07 +0000 (08:21 +0300)]
This patch adds support for LockSurface.

Changes in SharedPlatformSurfaceTizen are based on initial patch
provided by Joone Hur.

Change-Id: Ib572872447056b1777135ff6b65d458b2fcaab26

11 years agoSupport for sharing wl_buffers between Web and UI process. 37/7737/7
Kondapally Kalyan [Mon, 5 Aug 2013 05:35:02 +0000 (08:35 +0300)]
Support for sharing wl_buffers between Web and UI process.

This patch adds support for sharing wl_buffers between UI and
WebProcess. The patch also makes necessary adoptation in the
platform layer of GraphicsContext3D.

Change-Id: I2ee281022c6ec2c856a7bc08392a37c22b0d3efa

11 years agoUpdate changelog 05/7705/1 submit/tizen/20130801.150246 submit/tizen/20130808.123742
Rusty Lynch [Thu, 1 Aug 2013 14:59:17 +0000 (07:59 -0700)]
Update changelog

11 years agoAdd "full screen" parameter to MiniBrowser 71/6071/3
Joone Hur [Mon, 29 Jul 2013 22:11:06 +0000 (15:11 -0700)]
Add "full screen" parameter to MiniBrowser

This patch comes from http://trac.webkit.org/changeset/141808

11 years agoImproved separation of ASM and enabled video playing. 59/6059/3
José Bollo [Wed, 24 Jul 2013 07:42:32 +0000 (09:42 +0200)]
Improved separation of ASM and enabled video playing.

Improvement of the separation of the audio session manager using the
compiling option ENABLE_TIZEN_AUDIO_SESSION_MANAGER. It solves a
bug on the mute status of the media elements (TZ:bug 3809).

Addition of the compiling option ENABLE_TIZEN_GSTREAMER_VIDEO_SET_SINK
that enforces to use the webkit sink. It allows to play video on
surfaces.

Activating option ENABLE_TIZEN_GSTREAMER_VIDEO_SET_SINK
for GStreamer 1.0 (surely to be changed in futur)

11 years agoUpdate changelog for release 90/5990/1 accepted/tizen/20130723.185628 submit/tizen/20130723.193415
Rusty Lynch [Tue, 23 Jul 2013 19:31:15 +0000 (12:31 -0700)]
Update changelog for release

11 years agoDont force to always use alpha on Mesa. 24/5924/2
Kondapally Kalyan [Mon, 22 Jul 2013 00:58:52 +0000 (03:58 +0300)]
Dont force to always use alpha on Mesa.

We always use alpha supported configs when using Mesa.
Instead of forcing it, we do a run time validation
with this patch. This patch also disables logging during config
selection unless EGL_LOG_LEVEL=debug is set.

Change-Id: I3cdaec13ed319729efda54399235ec56fb8ab649

11 years agoWebKitSourceGStreamer improved gstreamer 1.0 integration 66/5866/1
José Bollo [Wed, 17 Jul 2013 13:58:32 +0000 (15:58 +0200)]
WebKitSourceGStreamer improved gstreamer 1.0 integration

11 years agoIntegrating gstreamer-1.0 to GStreamerGWorld 65/5865/1
José Bollo [Wed, 17 Jul 2013 13:19:52 +0000 (15:19 +0200)]
Integrating gstreamer-1.0 to GStreamerGWorld

11 years agoImages: bug fix (gst-1.0), improvement of includes 64/5864/1
José Bollo [Wed, 17 Jul 2013 12:37:13 +0000 (14:37 +0200)]
Images: bug fix (gst-1.0), improvement of includes

11 years agoadding facilities functions to manage buffers 63/5863/1
José Bollo [Wed, 17 Jul 2013 12:31:14 +0000 (14:31 +0200)]
adding facilities functions to manage buffers

11 years agoAdding GstBuffer managing functions 62/5862/1
José Bollo [Wed, 17 Jul 2013 12:16:40 +0000 (14:16 +0200)]
Adding GstBuffer managing functions

11 years agoadding log facilities 61/5861/1
José Bollo [Wed, 17 Jul 2013 10:45:35 +0000 (12:45 +0200)]
adding log facilities

11 years agominor enhancement 60/5860/1
José Bollo [Wed, 17 Jul 2013 10:45:04 +0000 (12:45 +0200)]
minor enhancement

11 years agoBug fix: Gstreamer-1.0 behaviour should still mimic the old one 59/5859/1
José Bollo [Wed, 17 Jul 2013 10:16:12 +0000 (12:16 +0200)]
Bug fix: Gstreamer-1.0 behaviour should still mimic the old one

11 years agominor optimisation of the audio processing 58/5858/1
José Bollo [Wed, 17 Jul 2013 09:42:49 +0000 (11:42 +0200)]
minor optimisation of the audio processing

11 years agoRemoving a duplication code 61/5761/1
José Bollo [Tue, 16 Jul 2013 15:26:57 +0000 (17:26 +0200)]
Removing a duplication code

11 years agoUpdate changelog 30/5730/1 accepted/tizen/20130716.214645 submit/tizen/20130715.210346 submit/tizen/20130715.232916 submit/tizen/20130716.222454
Rusty Lynch [Mon, 15 Jul 2013 20:48:32 +0000 (13:48 -0700)]
Update changelog

11 years agoMerge "Dont query for supported GLExtensions during Initialization." into tizen
Rusty Lynch [Mon, 15 Jul 2013 19:51:25 +0000 (12:51 -0700)]
Merge "Dont query for supported GLExtensions during Initialization." into tizen

11 years agoSet a file containing certificates for recognized SSL Certificate Authorities. 16/5716/2
Joone Hur [Fri, 12 Jul 2013 21:08:55 +0000 (14:08 -0700)]
Set a file containing certificates for recognized SSL Certificate Authorities.

The file(/var/lib/ca-certificates/ca-bundle.pem) is used to refer to SSL CA
certificates in Tizen3.0 IVI, so we need to set SSL CA certificates in order
to connect websites over HTTPS. This allows to remove the following warning
messages occurred while accessing websites over HTTPS.

(process:1948): GLib-Net-WARNING **: The anchor file name for used with a GTlsFileDatabase must be an absolute path, and not relative:
(process:1948): GLib-CRITICAL **: g_file_get_contents: assertion `filename != NULL' failed

11 years agoMerge "Fix attribute in query surface." into tizen
Rusty Lynch [Fri, 12 Jul 2013 18:48:05 +0000 (11:48 -0700)]
Merge "Fix attribute in query surface." into tizen

11 years agoBug fix building issue for WebProcess, MiniBrowser, PLUGIN_PROCESS and dependency... 34/5634/3
Wang Quanxian [Fri, 12 Jul 2013 01:48:59 +0000 (09:48 +0800)]
Bug fix building issue for WebProcess, MiniBrowser, PLUGIN_PROCESS and dependency issue

Bug Fix TDIST-248. (https://bugs.tizen.org/jira/browse/TDIST-248)

Signed-Off-By Quanxian Wang <quanxian.wang@intel.com>

11 years agoFix attribute in query surface. 80/5580/2
Kondapally Kalyan [Tue, 9 Jul 2013 20:00:02 +0000 (23:00 +0300)]
Fix attribute in query surface.

The color buffer of a locked surface can be mapped by calling
eglQuerySurface with attribute EGL_BITMAP_POINTER_KHR. This patch
fixes sharedPlatformSurface to use correct attribute in querysurface.
Change-Id: Ic89a32466d24b3f257e7b125f7140a9f613d65a0

11 years agoDont query for supported GLExtensions during Initialization. 83/5583/1
Kondapally Kalyan [Tue, 9 Jul 2013 17:52:04 +0000 (20:52 +0300)]
Dont query for supported GLExtensions during Initialization.

We query for needed EGL and GL extensions while resolving EGL
bindings during EGLSurface creation. We would need a context to be
current to check if it supports the needed GL extensions.
The patch makes changes so that eglImageTargetTexture2DOES is resolved
first time it is used.

Change-Id: I9bfeeb40476746ad0d65c6e2f1ba4e40e58afe70

11 years agoUpdate changelog 77/5577/1 devel-gstreamer-1.0 accepted/tizen/20130710.221134 submit/tizen/20130709.165906 submit/tizen/20130710.024322 submit/tizen/20130710.125314
Rusty Lynch [Tue, 9 Jul 2013 16:57:46 +0000 (09:57 -0700)]
Update changelog

11 years agoMinor refactor in SharedPlatformSurface. 89/5389/4
Kondapally Kalyan [Tue, 2 Jul 2013 09:57:02 +0000 (12:57 +0300)]
Minor refactor in SharedPlatformSurface.

This patch does the following changes in SharedPlatformSurface:
1)Removes un-necessary code.
2)Use SurfaceAttributes as the key instead of generating a new one
  each time a context is created.
3)Ensure's we always restore previous surface and context correctly.
Change-Id: Ic883dd2ea1e573914cc930b2eda58655989c470e

11 years agoMake a web page fit in the window 85/5485/2
Joone Hur [Wed, 3 Jul 2013 15:20:25 +0000 (08:20 -0700)]
Make a web page fit in the window

This patch allows to get the screen size and DPI properly using Wayland APIs, which makes a web page fit in the window.

11 years agoDisable TIZEN_WEBKIT2_CONTEXT_X_WINDOW under Wayland. 15/5415/2
Joone Hur [Tue, 2 Jul 2013 22:29:47 +0000 (15:29 -0700)]
Disable TIZEN_WEBKIT2_CONTEXT_X_WINDOW under Wayland.

We do not need to share x-window ID between the UIProcess and WebPorcess.
This feature was added to access x-window ID from the WebProcess in order to get window's orientation.

11 years agoAdd Mesa checks. 17/5417/2
Kondapally Kalyan [Wed, 3 Jul 2013 03:01:29 +0000 (06:01 +0300)]
Add Mesa checks.

With Wayland on Mesa, we include MesaExtensions header.
This header might not be present on platforms not using mesa.
This patch adds checks to include mesa specific headers only
when available.

Change-Id: I49a542d5e36e4b4ca1b2f178f85f18c7ba98690c

11 years agoAvoid linking to ecore_x on Wayland 06/5506/4
Kondapally Kalyan [Thu, 4 Jul 2013 17:45:16 +0000 (20:45 +0300)]
Avoid linking to ecore_x on Wayland

We donot use ecore_x on Wayland but still link to ecore_x.
This patch makes changes so that we link to ecore_wayland on
Wayland and ecore_x with X.
Change-Id: I46d76a33031d95ddc42b021ff707178b9b64a9c8

11 years agoAdd Build Option to enable/disable audio_session_manager support 56/4456/2
Baptiste DURAND [Tue, 2 Jul 2013 09:56:17 +0000 (11:56 +0200)]
Add Build Option to enable/disable audio_session_manager support

11 years agoMerge "EGLWaylandSurface implementation." into tizen
Rusty Lynch [Tue, 2 Jul 2013 00:39:16 +0000 (17:39 -0700)]
Merge "EGLWaylandSurface implementation." into tizen

11 years agoMerge "Share EGLConfig between surfaces." into tizen
Rusty Lynch [Mon, 1 Jul 2013 23:46:04 +0000 (16:46 -0700)]
Merge "Share EGLConfig between surfaces." into tizen

11 years agoMerge "Make JavaScript window.screen object work" into tizen
Rusty Lynch [Mon, 1 Jul 2013 23:45:09 +0000 (16:45 -0700)]
Merge "Make JavaScript window.screen object work" into tizen

11 years agoMerge "Adding missing wayland initialization." into tizen
Rusty Lynch [Mon, 1 Jul 2013 23:43:41 +0000 (16:43 -0700)]
Merge "Adding missing wayland initialization." into tizen

11 years agoAdding missing wayland initialization. 16/5216/1
Kondapally Kalyan [Mon, 1 Jul 2013 17:03:36 +0000 (20:03 +0300)]
Adding missing wayland initialization.

The patch adds missing calls for ecore initializtion
on wayland.

Change-Id: Ia243ce2ebb0d0e8edce2d357b2efbbd4613ccb7f

11 years agoMake JavaScript window.screen object work 34/5234/1 61/4661/2
Joone Hur [Fri, 14 Jun 2013 21:49:39 +0000 (14:49 -0700)]
Make JavaScript window.screen object work

This patch allows to get screen size using ecore_wl_screen_size_get.

The following JS APIs will work:

window.screen.availHeight
window.screen.availWidth
window.screen.width
window.screen.height

11 years agoEGLWaylandSurface implementation. 41/5041/2
Kondapally Kalyan [Sun, 30 Jun 2013 21:30:41 +0000 (00:30 +0300)]
EGLWaylandSurface implementation.

This patch adds support for EGLWaylandSurface which creates
and manages wl EGL window.

Change-Id: If79e47966df634979f0a04a6e184c6d9c27b83f9

11 years agoShare EGLConfig between surfaces. 40/5040/4
Kondapally Kalyan [Sun, 30 Jun 2013 19:25:04 +0000 (22:25 +0300)]
Share EGLConfig between surfaces.

We create surfaces with attributes which don't vary much in the
most common cases. It would be good to share EGLConfig between surfaces
using same attributes. This patch refactors EGLConfigSelector to be able to
share configs between different surfaces without having to query for it
all the time.
Change-Id: I10fa6188a1ae4692e47b9be8932eab39e8458373

11 years agoresetting manifest requested domain to floor 44/4544/1
Alexandru Cornea [Fri, 28 Jun 2013 16:11:21 +0000 (19:11 +0300)]
resetting manifest requested domain to floor

11 years agoUpdate chagnelog 00/4300/1 accepted/tizen/20130627.030127 submit/tizen/20130626.200601 submit/tizen/20130627.015307
Rusty Lynch [Wed, 26 Jun 2013 20:04:52 +0000 (13:04 -0700)]
Update chagnelog

11 years agoEvasGL supports direct rendering without extra copy from an offscreen buffer. 60/4260/1
Joone Hur [Tue, 25 Jun 2013 23:30:30 +0000 (16:30 -0700)]
EvasGL supports direct rendering without extra copy from an offscreen buffer.
In this case, all GL rendering is done in the pixel_getter callback, but this
callback is not called sometimes. So it seems that the viewport is not updated
when PageClientEvasGL::setViewNeedsDisplay is called directly from
WebPageProxy::setViewNeedsDisplay.

This patch allows to call ewk_view_mark_for_sync in PageClientEvasGL::setViewNeedsDisplay.

11 years agoAdd LockSurface support in GLPlatformSurface. 61/4161/1
Kondapally Kalyan [Thu, 20 Jun 2013 16:40:14 +0000 (19:40 +0300)]
Add LockSurface support in GLPlatformSurface.

This patch makes changes to make it possible for
EGL implementations to handle the lock surface support.

Change-Id: I91741ad02090ebe4788aa7752208bf84e98f078d

11 years agoMerge "Fix EGLConfigSelection for IVI on Genx." into tizen
Rusty Lynch [Thu, 20 Jun 2013 01:15:31 +0000 (18:15 -0700)]
Merge "Fix EGLConfigSelection for IVI on Genx." into tizen

11 years agoSharedPlatformSurfaceTizen should accept PlatformSurface Attributes 73/4073/1
Kondapally Kalyan [Tue, 18 Jun 2013 22:36:05 +0000 (01:36 +0300)]
SharedPlatformSurfaceTizen should accept PlatformSurface Attributes

SharedPlatformSurfaceTizen accepts boolean values of all the
features it needs to support. Instead of using the boolean values,
it would be better to use GLPlatformSurface attributes.
This patch changes the constructor of SharedPlatformSurfaceTizen
to use GLPlatformSurface Attributes instead of boolean values.

Change-Id: Idf91d722251b54ea18b4616c0f4ffa6a09b42138

11 years agoFix EGLConfigSelection for IVI on Genx. 56/4056/1
Kondapally Kalyan [Tue, 18 Jun 2013 15:59:51 +0000 (18:59 +0300)]
Fix EGLConfigSelection for IVI on Genx.

Currently, In some cases we request for depth
with no stencil support or vice versa. This causes a conflict
during config selection with mesa. On current hardware we don't
support configurations without alpha support. These patch fixes
these issues when vendor is Mesa. These changes don't effect other
profiles. Added Tizen specific pre-processor macro till the changes
end up in upstream webkit.

Change-Id: I10fe3e92de45cb195f6b9e44f096f16c2fe83d78

11 years agoUpdate changelog 47/4047/1 accepted/tizen/20130618.111022 submit/tizen/20130618.072753
Rusty Lynch [Tue, 18 Jun 2013 07:27:03 +0000 (00:27 -0700)]
Update changelog

11 years agoFix crash with WebGL demos. 40/4040/2
Kondapally Kalyan [Mon, 17 Jun 2013 22:26:44 +0000 (01:26 +0300)]
Fix crash with WebGL demos.

While creating a new pixmap context, we obtain raw pointer after calling release.
The release call already passes the ownership and resets the temporary pointer to null.
The patch changes so that the raw pointer is obtained before passing the ownership.
Also removes an un-necessary makecurrent call. The patch also adds a null ptr check
in GraphicsContext3DOffscreen.

Change-Id: I14eaef21356c479885f575ea086c8ae7ced637e0

11 years agoFix enum values 28/4028/2
Kondapally Kalyan [Sun, 16 Jun 2013 18:41:48 +0000 (21:41 +0300)]
Fix enum values

This patch changes the constants in PlatformSurface to
power of two. These would be used for bit wise operations.

11 years agoCreate Lock Surface only if supported. 27/4027/2
Kondapally Kalyan [Sun, 16 Jun 2013 14:54:41 +0000 (17:54 +0300)]
Create Lock Surface only if supported.

PlatformSurfacePoolTizen creates a temporary EGLSurface supporting
Locking to work around a cairo issue. This patch adds a check in
SharedPlatformSurfaceTizen to create the surface only if Lock Surface
is supported.

11 years agoAdd Wayland dependencies. 26/4026/3
Kondapally Kalyan [Tue, 18 Jun 2013 01:47:50 +0000 (04:47 +0300)]
Add Wayland dependencies.

This patch adds wayland-egl as a required dependency
when compiling with wayland support.

Change-Id: I271ca4d0cf583ef84902b422e5d06110e8edc74e

11 years agoUpdate changelog 23/4023/1 accepted/tizen/20130615.025406 submit/tizen/20130614.221918
Rusty Lynch [Fri, 14 Jun 2013 22:18:49 +0000 (15:18 -0700)]
Update changelog

11 years agoCheck for correct Evas Backend. 08/4008/1
Kondapally Kalyan [Fri, 14 Jun 2013 14:16:43 +0000 (17:16 +0300)]
Check for correct Evas Backend.

We always check the supported evas engine to determine
if Acceleration is enabled. With X we check for opengl_x11 backend.
This patch makes changes to check for the correct(Wayland_egl) backend
with Wayland. This patch also enables WebGL by default in the settings.

11 years agoInitial Wayland support. 95/3995/1
Kondapally Kalyan [Thu, 13 Jun 2013 22:55:19 +0000 (01:55 +0300)]
Initial Wayland support.

The patch adds support to open a wayland display connection
and initialize EGL.

11 years agoX related code needs to be guarded by PLATFORM(X11)
Joone Hur [Wed, 12 Jun 2013 23:36:15 +0000 (16:36 -0700)]
X related code needs to be guarded by PLATFORM(X11)

11 years agoUpdate Changelog 45/3945/1 accepted/tizen/20130611.225857 submit/tizen/20130611.225551
Baptiste DURAND [Tue, 11 Jun 2013 13:25:52 +0000 (15:25 +0200)]
Update Changelog

11 years agoFix compatibility for x64 arch 44/3944/1
Baptiste DURAND [Tue, 11 Jun 2013 13:22:07 +0000 (15:22 +0200)]
Fix compatibility for x64 arch

According to type of value returned , update prototype function ( querySurface).

Update the function call according to this changements

11 years agoFix build issue : missing includes file 43/3943/1
Baptiste DURAND [Tue, 11 Jun 2013 13:01:13 +0000 (15:01 +0200)]
Fix build issue : missing includes file

Fix to avoid this build error graphics/surfaces/x/X11Helper.cpp:272:26: error: 'UNUSED_PARAM' was not declared in this scope

11 years agoUpdate changelog for release 16/3916/1 accepted/tizen/20130607.234709 submit/tizen/20130608.001544
Rusty Lynch [Sat, 8 Jun 2013 00:14:39 +0000 (17:14 -0700)]
Update changelog for release

11 years agoCreate thin archives
Rusty Lynch [Fri, 7 Jun 2013 20:27:09 +0000 (13:27 -0700)]
Create thin archives

Fix build issues on 64bit architectures where the archive files
exceed the 1G limit and use a trick documented in
https://bugs.webkit.org/show_bug.cgi?id=108330

11 years agoFix crashers for when no IMF plugin available
Rusty Lynch [Sun, 5 May 2013 00:20:54 +0000 (17:20 -0700)]
Fix crashers for when no IMF plugin available

11 years agoFix build Error : Add gtest-devel dependency
Baptiste DURAND [Fri, 7 Jun 2013 12:42:15 +0000 (14:42 +0200)]
Fix build Error : Add gtest-devel dependency

11 years agoRemove hardcoded lib path
Baptiste DURAND [Fri, 7 Jun 2013 12:41:24 +0000 (14:41 +0200)]
Remove hardcoded lib path

11 years agoFix compatibility for x64 arch : Fix Invalid Cast
Baptiste DURAND [Fri, 7 Jun 2013 12:40:50 +0000 (14:40 +0200)]
Fix compatibility for x64 arch : Fix Invalid Cast

For x64 : cast from void* to long long instead of int for x64 arch.

11 years agoFix Ruby Script according to upstream.
Baptiste DURAND [Fri, 7 Jun 2013 12:39:34 +0000 (14:39 +0200)]
Fix Ruby Script according to upstream.

https://bugs.webkit.org/show_bug.cgi?id=90098

11 years agoFix compatibility for x64 architecture
Baptiste DURAND [Fri, 7 Jun 2013 08:19:40 +0000 (10:19 +0200)]
Fix compatibility for x64 architecture

-> Fix type error :  invalid initialization of reference of type 'long long int&' from expression of type 'int64_t {aka long int}'

11 years agoMerge "Don't query for supported extensions" into tizen
Rusty Lynch [Fri, 7 Jun 2013 16:18:41 +0000 (09:18 -0700)]
Merge "Don't query for supported extensions" into tizen

11 years agoMerge "Refactor ImageBufferCairo" into tizen
Rusty Lynch [Fri, 7 Jun 2013 14:43:19 +0000 (07:43 -0700)]
Merge "Refactor ImageBufferCairo" into tizen

11 years agoMerge "Use GL_EXT_texture_format_BGRA8888 and GL_EXt_unpack_subimage" into tizen
Rusty Lynch [Fri, 7 Jun 2013 14:42:41 +0000 (07:42 -0700)]
Merge "Use GL_EXT_texture_format_BGRA8888 and GL_EXt_unpack_subimage" into tizen

11 years agoUse GL_EXT_texture_format_BGRA8888 and GL_EXt_unpack_subimage 86/3886/1
Kondapally Kalyan [Fri, 7 Jun 2013 00:04:24 +0000 (03:04 +0300)]
Use GL_EXT_texture_format_BGRA8888 and GL_EXt_unpack_subimage

With shared surface support disabled, we would be uploading data
to textures. In this scenario it would be efficient to use
both the above mentioned extensions. This patch adds the needed
support in TextureMapperGL.

11 years agoRefactor ImageBufferCairo 85/3885/1
Kondapally Kalyan [Thu, 6 Jun 2013 23:16:33 +0000 (02:16 +0300)]
Refactor ImageBufferCairo

This patch makes changes in ImageBufferCairo to take
GLPlatformSurface and Context into use.

11 years agoDon't query for supported extensions 79/3879/1
Kondapally Kalyan [Thu, 6 Jun 2013 21:58:03 +0000 (00:58 +0300)]
Don't query for supported extensions

This is a temporary fix to avoid crashing while
trying to query for supported extensions on platforms
other than X.

11 years agoUse GLPlatformSurface within SharedPlatformSurfaceTizen 76/3876/1
Kondapally Kalyan [Thu, 6 Jun 2013 19:53:13 +0000 (22:53 +0300)]
Use GLPlatformSurface within SharedPlatformSurfaceTizen

This patch changes SharedPlatformSurfaceTizen to use GLPlatformSurface
internally.

11 years agoRefactor SharedVideoPlatformSurfaceTizen. 46/3846/1
Kondapally Kalyan [Wed, 5 Jun 2013 21:31:48 +0000 (00:31 +0300)]
Refactor SharedVideoPlatformSurfaceTizen.

This patch separates the platform specific code of SharedVideoPlatformSurfaceTizen
from its core logic. SharedVideoPlatformSurfaceTizen is now an abstract base class.
Platform specific adaptations can be done by extending the class and implementing
the required functions. SharedVideoPlatformSurfaceTizenX extends SharedVideoPlatformSurfaceTizen
and implements the support for X backend.

11 years agoDefine shared buffer handle type in GLDefs. 05/3805/1
Kondapally Kalyan [Tue, 4 Jun 2013 09:23:35 +0000 (12:23 +0300)]
Define shared buffer handle type in GLDefs.

Currently, shared buffer handle is used in many places. This
patch defines the type of the shared buffer handle in GLDefs
and uses it in all the appropriate places.