platform/framework/web/webkit-efl.git
10 years agoFixed compilation warnings related to C++ template due to GCC 4.8. 65/13565/3
Joone Hur [Mon, 9 Dec 2013 23:32:20 +0000 (15:32 -0800)]
Fixed compilation warnings related to C++ template due to GCC 4.8.

The following warnings have been occurred since GCC was upgraded to 4.8.

/home/abuild/rpmbuild/BUILD/webkit2-efl-123997_0.11.49/Source/WTF/wtf/HashMap.h:137:42: warning: invalid use of incomplete type 'class WTF::HashMap<KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg>' [enabled by default]
         class HashMapKeysProxy : private HashMap {
                                       ^

/home/abuild/rpmbuild/BUILD/webkit2-efl-123997_0.11.49/Source/WTF/wtf/Vector.h:637:44: warning: invalid use of incomplete type ‘class WTF::Vector<T, inlineCapacity>’ [enabled by default]
         class VectorReverseProxy : private Vector {
                                            ^
This can be fixed by moving outside nested classes(HashMapKeyProxy and HashMapValuesProxy), and leave only declaration part inside HashMap. For more details, refer to http://trac.webkit.org/changeset/147345. In case of Vector, the template parameter(T) is added to the base class(Vector) in VectorReverseProxy class for fixing the second warning.

Change-Id: I5302077c1823d9c41650bff1f972ae246d6d6f06

10 years agoSupport hw accelerated rendering on emulator
Stanislav Vorobiov [Fri, 29 Nov 2013 14:27:29 +0000 (18:27 +0400)]
Support hw accelerated rendering on emulator

Related to TIVI-2226

Change-Id: I40af0529a5ebf358a3817afb9342b5f68099a501
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoFixed the unable to draw dropdown list issue in IVI 53/12953/5
chi ding [Thu, 14 Nov 2013 16:36:50 +0000 (17:36 +0100)]
Fixed the unable to draw dropdown list issue in IVI

IVI code and Mobile code for dropdown list are implemented differently
and conditionally compiled.

Here is the JIRA page https://bugs.tizen.org/jira/browse/TIVI-1525

Updated by Joone Hur <joone.hur@intel.com>

Change-Id: I9cc05f328abe53e786e646e34bdf7d92f74992c5
Signed-off-by: Chi Ding <chi.ding@mobica.com>
10 years agoTIVI-2082: Do not emulate mouse events while handling a tap gesture. 38/13438/1
Joone Hur [Fri, 6 Dec 2013 02:24:28 +0000 (18:24 -0800)]
TIVI-2082: Do not emulate mouse events while handling a tap gesture.

Tizen IVI supports mouse and touch events at a time so we don't need
to emulate mouse events while handling a tap gesture.

For this, this patch disables GESTURE_EVENT and TIZEN_LINK_MAGNIFIER for IVI and
reverts the following commit (f0923517bb5c7e712e56d19cf702992b84491bda).

"[Regression] Make scrolling work with mouse events support"

Change-Id: Ibaedb730bc15773a55b291cf315474c745a52412

10 years agoRevert "[Regression] Make scrolling work with mouse events support" 37/13437/1
Joone Hur [Fri, 6 Dec 2013 00:55:17 +0000 (16:55 -0800)]
Revert "[Regression] Make scrolling work with mouse events support"

This reverts commit f0923517bb5c7e712e56d19cf702992b84491bda.

Change-Id: I504e4ba69a4de911df938547e542684cf0ef7862

10 years ago[Release] Webkit2-efl-123997_0.11.49 accepted/tizen/mobile accepted/tizen/20131207.002753 accepted/tizen/20131209.172328 submit/tizen/20131203.234642 submit/tizen/20131205.225721
Joone Hur [Tue, 3 Dec 2013 23:43:26 +0000 (15:43 -0800)]
[Release] Webkit2-efl-123997_0.11.49

Change-Id: If71da389ffc698fe4c1994c5d937f2fd60548eb4

10 years agoUpdate Changelog
Joone Hur [Tue, 3 Dec 2013 23:39:49 +0000 (15:39 -0800)]
Update Changelog

Change-Id: Ibeccfb963f50ec9d06449368e4ac7ae2aa61ef53

10 years agoFixed the problem that the webview becomes black when loading a webpage. 70/12970/1
Joone Hur [Wed, 27 Nov 2013 03:48:19 +0000 (19:48 -0800)]
Fixed the problem that the webview becomes black when loading a webpage.

Change-Id: Ic5319a57dbdc56566e45f567d9cdac3af21244f6

10 years ago[Release] Webkit2-efl-123997_0.11.48 submit/tizen/20131122.213259
Joone Hur [Fri, 22 Nov 2013 21:21:32 +0000 (13:21 -0800)]
[Release] Webkit2-efl-123997_0.11.48

Change-Id: I0c61191f0250180bcd9735f1dcfbaf6625016e1f

10 years agoUpdate Changelog
Joone Hur [Fri, 22 Nov 2013 21:20:32 +0000 (13:20 -0800)]
Update Changelog

Change-Id: I1bb8598ad09b39be02a900bf0db3c7d81a8eb68a

10 years agoMake update when eglQueryWaylandBufferWL interface is changed in mesa 37/12737/1
Quanxian Wang [Fri, 22 Nov 2013 03:54:25 +0000 (11:54 +0800)]
Make update when eglQueryWaylandBufferWL interface is changed in mesa

BugFix TIVI-2180: mesa update caused webkit2-efl to fail to build.

Related commits:
https://review.tizen.org/gerrit/#/c/12578

Change-Id: I73d43bd209cb3ab9ac1a489ec08e6aa32a4792d8
Signed-off-by: Quanxian Wang <quanxian.wang@intel.com>
11 years agoMake each WRT/MiniBrowser use the unique wayland socket string. 57/12657/2
Joone Hur [Wed, 20 Nov 2013 01:24:23 +0000 (17:24 -0800)]
Make each WRT/MiniBrowser use the unique wayland socket string.

The UIProcess is a Wayland compositor so it creates its own wayland socket string to
communicate with the WebProcess. However, all the UIProcesses create the same wayland
socket string. As a result, the first wrt instance can only render a web page well.

This patch allow to create a unique wayland socket string using process ID
instead of the return value of epoll_create1.

Change-Id: Ie12139d5802e642a5dcf040b0e757152eac534ad

11 years agoDRM solution for Accelerated Compositing 51/12351/4
Kondapally Kalyan [Mon, 14 Oct 2013 21:49:43 +0000 (14:49 -0700)]
DRM solution for Accelerated Compositing

This solution allows to use GPU memory directly in order to share a platform surface
through Intel DRM APIs. All the authentications are done through Wayland and the WebProcess
renders content to the DRM buffer. With the Wayland nested Compositor, we are able to create
an EGL image and a texture for the DRM handle on the UIProcess.

We are going to use single buffered surface (i.e similar to Pixmap surface), which allows to
render WebGL and Canvas static content.
Regarding Accelerated Compositing, the UIProcess does not need to upload textures in the
UIProcess.

This patch includes a fix(Call SharedPlatformSurfaceTizen::querySurface instead of
EGLHelper::querySurface) written by Joone Hur.

Change-Id: I5b83f3d74bc7a00f7455605359aef74ef8521131

11 years agoCanvas/GLES/Wayland: Use a textured gl surface to represent a 2D canvas. 56/12656/2
Zhigang Gong [Wed, 16 Oct 2013 09:48:52 +0000 (17:48 +0800)]
Canvas/GLES/Wayland: Use a textured gl surface to represent a 2D canvas.

Actually, the 2D canvas is required to be shared between the WebProcess
and the UIProcess. On X platform, it's naturally implemented by the
global PIXMAP ID. On the other hand, it becomes different under Wayland.
It uses an EGL window buffer, which is indeed a double buffer. Each time
it  calls eglSwapBuffer, the UIProcess can get the correct buffer to be
used for the rest compositing.

However, it causes the following problem:
1. All canvases are created from EGL surfaces. The type of
those surfaces can't be treated as a source to render to other surface.
So it is very expensive (more than 10x slow) when we copy one canvas to
another.

2. Sometimes, for a static canvas, we only paint once in the WebProcess
, but may share it with the UIProcess several times.
Then, when we call eglSwapBuffers at the even time, we just pass the
wrong buffer to the UIProcess.

The ideal solution is to find another clean way to share buffers
on wayland platform rather than use this way. Before that, this
patch implemented a trade off solution to fix the above problem
partly, because it uses two cairo gl surface to represent one canvas:
the first is a pure gl surface for texture and the second is an EGL gl
surface. We do all canvas related painting on the first gl
surface thus we can avoid the first problem. And then, every time
we need to share the canvas to the UIProcess, we leverage cairo
to paint the first gl surface to the second EGL gl surface,
thus we always pass the correct content to the UIProcess. The side
effect is that we introduce one more copy and we use the required
gpu memory two times. The one more copy is not expensive, because
we do it on GPU side.

This solution could just solve the problem partly. As one big assumption
of this solution is that the WebProcess never use the rendering result
from the UIProcess.

After this patch, GUIMARK3 cache version and Penguin works fine.

Change-Id: Ie4b49e7190f241669332d296ab831a773df5ad1a
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
11 years agoGet Cairo GLES max surface size based on dynamic query. 09/10709/2
Yan Wang [Thu, 10 Oct 2013 04:42:25 +0000 (12:42 +0800)]
Get Cairo GLES max surface size based on dynamic query.

Change-Id: I6b66c4710fc0f4650f5379bfd21b000798d35a00
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
11 years agoEnable Canvas2D based on Cairo GLES. 08/10708/2
Yan Wang [Thu, 10 Oct 2013 04:40:32 +0000 (12:40 +0800)]
Enable Canvas2D based on Cairo GLES.

Change-Id: I01d7dc8c13397aba3dff29b935355e5e672cbc99
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
11 years agoDirect rendering and pixmap sharing enabled for emulator 81/10281/2
jinhyung.jo [Thu, 26 Sep 2013 06:46:59 +0000 (15:46 +0900)]
Direct rendering and pixmap sharing enabled for emulator

Change-Id: If919a938e0a974354fe7b0293f4e8968ecb70955
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agoUpdate Changelog accepted/tizen_ivi_stable/20131116.111442 submit/tizen/20131017.194859 submit/tizen/20140108.022446 submit/tizen_ivi_release/20140108.030148 submit/tizen_ivi_stable/20131116.101033
Joone Hur [Thu, 17 Oct 2013 19:47:23 +0000 (12:47 -0700)]
Update Changelog

Change-Id: I1a48fbf3496601bc849e9701d49e0ed6e9bdc403

11 years agobug fix webkit-efl building for tizen-3.0-mobile 45/10845/2
Quanxian Wang [Mon, 14 Oct 2013 06:41:36 +0000 (14:41 +0800)]
bug fix webkit-efl building for tizen-3.0-mobile

Change-Id: Ib062c973fb9464f888afb634e26dd7a5081ded19
Signed-off-by: Quanxian Wang <quanxian.wang@intel.com>
11 years agoUpdate Changelog
Joone Hur [Mon, 14 Oct 2013 11:55:29 +0000 (04:55 -0700)]
Update Changelog

Change-Id: If7c8e688f0a75528f23d215065025dc745e24701

11 years ago[Regression] Make scrolling work with mouse events support 90/10790/1
Joone Hur [Sat, 12 Oct 2013 00:52:18 +0000 (17:52 -0700)]
[Regression] Make scrolling work with mouse events support

https://review.tizen.org/gerrit/#/c/10703/
The above patch allows to enable mouse events by default, but it causes
disabling scrolling on the webview because the webview(evas object) consumes
all the mouse events and does not forward those events to the gesture recognizer.

This patch enables mouse events in the gesture recognizer, which allows
scrolling and mouse events to work together.

Change-Id: I69f3e09957c6e9e9313de03da4b58f6e6840d1fe

11 years agoUpdate Changelog accepted/tizen/ivi/genivi tizen_ivi_genivi accepted/tizen/ivi/genivi/20140131.064716 accepted/tizen_ivi_release/20131120.050238 ivi_oct_m2 submit/tizen/20131010.225239 submit/tizen_ivi_genivi/20140131.061722 submit/tizen_ivi_release/20131120.032002
Joone Hur [Thu, 10 Oct 2013 22:50:33 +0000 (15:50 -0700)]
Update Changelog

Change-Id: If4847eab1885899e299f166ae02d579ab5de07e1

11 years agoMerge "TIVI-1759: Allows to replay a video by a click on the play button." into tizen
Joone Hur [Thu, 10 Oct 2013 22:46:04 +0000 (15:46 -0700)]
Merge "TIVI-1759: Allows to replay a video by a click on the play button." into tizen

11 years agoTIVI-1759: Allows to replay a video by a click on the play button. 10/10710/2
Joone Hur [Thu, 10 Oct 2013 00:30:10 +0000 (17:30 -0700)]
TIVI-1759: Allows to replay a video by a click on the play button.

Change-Id: Id61948e6b0749f21439f93364845952ccad7149e

11 years agoUpdate Changelog submit/tizen/20131010.120305
Joone Hur [Thu, 10 Oct 2013 12:00:05 +0000 (05:00 -0700)]
Update Changelog

Change-Id: I45dc58b503409777b29bd55735148175aec14850

11 years agoMerge "TIVI-1947: Enable automaticly restoring media elements by audio manager" into...
Joone Hur [Thu, 10 Oct 2013 00:00:59 +0000 (17:00 -0700)]
Merge "TIVI-1947: Enable automaticly restoring media elements by audio manager" into tizen

11 years agoTIVI-1947: Enable automaticly restoring media elements by audio manager 06/10706/1
Rusty Lynch [Wed, 9 Oct 2013 23:55:35 +0000 (16:55 -0700)]
TIVI-1947: Enable automaticly restoring media elements by audio manager

Change-Id: Ibb2d1a2fc0dc08099b6055e04867eb7fd5c88ceb
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
11 years ago[TIVI-1941] Enable mouse events by default for desktop browsing. 03/10703/1
Joone Hur [Wed, 9 Oct 2013 21:16:19 +0000 (14:16 -0700)]
[TIVI-1941] Enable mouse events by default for desktop browsing.

Tizen IVI needs to support mouse and touch events simultaneously
because IVI systems have some pointing devices.

Change-Id: I3b268ac4489bafc72cd91cebd08e831b2493015a

11 years agoUpdate Changelog submit/tizen/20131002.163043 submit/tizen/20131014.221731
Joone Hur [Wed, 2 Oct 2013 16:28:22 +0000 (09:28 -0700)]
Update Changelog

Change-Id: I3638e9b1232e99241d0ec6ecb291728563fabbe5

11 years agoUpdate upper level when media is paused by policy engine 13/10513/1
Rusty Lynch [Wed, 2 Oct 2013 23:15:02 +0000 (16:15 -0700)]
Update upper level when media is paused by policy engine

Change-Id: I778023cf84b7b21775c4c284a1b87f21ad4149df

11 years agomake sure video texture is setup at startup time 71/10171/2
Zhao Halley [Mon, 23 Sep 2013 09:20:44 +0000 (17:20 +0800)]
make sure video texture is setup at startup time

Change-Id: I40cce417501abd3d90995c669ec0b871c2ae4e6b

11 years agoUpdate Changelog submit/tizen/20130925.190642
Joone Hur [Wed, 25 Sep 2013 18:59:41 +0000 (11:59 -0700)]
Update Changelog

Change-Id: Ib1d034dd08d7c991051fcc7c64155783d78f8073

11 years agoAdd deferred state and pipeline ready flag. 63/9863/2
Jaska Uimonen [Mon, 2 Sep 2013 08:16:42 +0000 (11:16 +0300)]
Add deferred state and pipeline ready flag.

Since both ASM and Murphy policy integration
might cause asynchronous behavior make sure
that play or pause are not forced on incomplete
pipeline by media element autostart or similar
mechanism.

Change-Id: I1dae86ed3eea325928ae70e06987ad8c70d637d5

11 years agoAdd murphy support to audio session manager. 62/9862/4
Jaska Uimonen [Thu, 29 Aug 2013 07:25:00 +0000 (10:25 +0300)]
Add murphy support to audio session manager.

Enable audio policy preemtion with web apps
with configuration flags (possibly for different
verticals). First there are conditionals to spec
file to enable asm and Murphy support to be compiled
in. Main item is a separate function to enable asm
to work with Murphy. So you will have 3 choices:
no policy, asm or asm with Murphy. For example:
PC -> nothing defined, mobile -> asm defined,
IVI -> asm and asm with murphy defined.

Change-Id: I6b44335e17cef8957cc8cf6c8a6c63c778386a2c

11 years agoDisable the intelligent zoom by multi-touch 38/10138/1
Joone Hur [Thu, 19 Sep 2013 20:44:56 +0000 (13:44 -0700)]
Disable the intelligent zoom by multi-touch

This feature is not required for webapps and desktop browsing.

Change-Id: I2948830d4f16e2017ddfb3f9c9fa039aa4954dff

11 years agoUpdate Changelog submit/tizen/20130918.213853
Joone Hur [Wed, 18 Sep 2013 21:21:18 +0000 (14:21 -0700)]
Update Changelog

Change-Id: Ib9738e8235a591d5d5e939df61fc096843711f34

11 years agoDo not use the mobile DPI values. 97/10097/1
Joone Hur [Tue, 17 Sep 2013 01:34:13 +0000 (18:34 -0700)]
Do not use the mobile DPI values.

There are pre-defined Mobile DPI values in
EflScreenUtilitis.cpp as follows:

static const int lowDefaultMobileDPI = 120;
static const int mediumDefaultMobileDPI = 160;
static const int highDefaultMobileDPI = 240;
static const int extrahighDefaultMobileDPI = 320;

One of the values are selected by the logic with the DPI value
returned by X-Window or wayland. However, this does not work properly
with desktop monitors.

Instead of using mobile DPI values, we use the raw DPI value for the
VGA screen and set the custom device scale factor to 1 for the HD screen.

We also need a logic to choose a proper DPI value for various screen
types.

Change-Id: I9e3c875a864865edb4f5163fa289da6f931a1dd3

11 years agoCheck the desktop variable for supporting desktop browsing. 93/10093/2
Joone Hur [Tue, 17 Sep 2013 21:54:01 +0000 (14:54 -0700)]
Check the desktop variable for supporting desktop browsing.

The ivi variable was removed from the build configuration file, so the desktop variable is used to check whether desktop browsing is supported or not.

Change-Id: Ic34142f634553c9f72423a44dffb84015b81e772

11 years agoMerge "Add YV12 video format support in TextureMapperShaderManager" into tizen
Joone Hur [Tue, 17 Sep 2013 00:55:46 +0000 (17:55 -0700)]
Merge "Add YV12 video format support in TextureMapperShaderManager" into tizen

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 agoAdd YV12 video format support in TextureMapperShaderManager 91/9891/1
Zhao Halley [Tue, 10 Sep 2013 09:52:44 +0000 (17:52 +0800)]
Add YV12 video format support in TextureMapperShaderManager

YV12 is usual format from sw video decoder, for example ogg/theora, vp8 decoder

Change-Id: I87459620debc3b738d1059f8e7b609864b4a2b78

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