platform/core/graphics/cairo.git
8 years agoPattern/GL: Avoid texture creation for radial gradients 29/54129/4
nisanthmp [Wed, 2 Dec 2015 07:27:34 +0000 (12:57 +0530)]
Pattern/GL: Avoid texture creation for radial gradients
with 2 color stops

When there are only two color stops in the gradient, we can avoid
creating textures before hand, and directly calculate the gradient color
in the fragment shader. This speeds up gradient pattern rendering.

Change-Id: I758b7bc8f37293edbe546fcc4a55f71a7f3c55ae
Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
8 years ago[Fix cairo.spec to disable backends(ps,pdf,script,svg,tee)] 92/54192/1 submit/tizen/20151214.061957
hk57.kim [Mon, 14 Dec 2015 05:15:10 +0000 (14:15 +0900)]
[Fix cairo.spec to disable backends(ps,pdf,script,svg,tee)]

Change-Id: Ib502908920732182c44031ebe6ea1d88da81c3b8
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
9 years agoPrevent:ID-275424 (Dereference null return value) Null check for clip 91/46791/1
mh0310.choi [Wed, 26 Aug 2015 07:06:31 +0000 (16:06 +0900)]
Prevent:ID-275424 (Dereference null return value) Null check for clip

Change-Id: I83be56637cd3e3df3942bf5c70b8c93ede483559

9 years ago[Cairo][Protex issue: fix build spec 23/45323/1
hk57.kim [Tue, 4 Aug 2015 23:46:24 +0000 (08:46 +0900)]
[Cairo][Protex issue: fix build spec

Change-Id: I55d1e02c12eb9fba700ae4f0f6786e4adc4477db
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
9 years agoMerge "Always return false for GLES so that RGBA format will be used, for tizen TV...
jerry kim [Tue, 4 Aug 2015 00:18:25 +0000 (17:18 -0700)]
Merge "Always return false for GLES so that RGBA format will be used, for tizen TV driver problem." into tizen

9 years agogl: gradient texture edge pixel color adjust 05/45105/3
Henry Song [Sat, 25 Jul 2015 05:52:05 +0000 (22:52 -0700)]
gl: gradient texture edge pixel color adjust

Change-Id: I13ca5ad468167896b4c043358df474a9ecc469c6
Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
9 years agogl: set default VBO size 256K 04/45104/2
Henry Song [Fri, 24 Jul 2015 20:59:44 +0000 (13:59 -0700)]
gl: set default VBO size 256K

Set default VBO size to be 256K, previous 1M is too big to be handled on
at least intel driver with GL context <= 3.0

Set both egl and evasgl vbo size to be 16K

Change-Id: I7fd504ec47523dbe8ae85f08f3798f1a10879161
Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
9 years agogl: fix parameter order in setup_spans() function 03/45103/2
Henry Song [Tue, 21 Jul 2015 21:53:52 +0000 (14:53 -0700)]
gl: fix parameter order in setup_spans() function

Change-Id: I42dad907a1851df4fc4a4664b1023dcd9ba3c0dd
Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
9 years agoOptimization when we know that surface is in transparent black. 02/45102/2
Henry Song [Thu, 23 Jul 2015 14:08:39 +0000 (19:38 +0530)]
Optimization when we know that surface is in transparent black.

If the original surface has not been modified or is clear,
we can avoid downloading data.

Change-Id: If881bae9109a57f061a4e8d956c3eaf3c6691cf1
Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
9 years agoGL: query current program before set it in gl context reset 01/45101/2
Henry Song [Thu, 9 Jul 2015 14:12:45 +0000 (07:12 -0700)]
GL: query current program before set it in gl context reset

Change-Id: I36c3de424036ff177a8b5791fc87da3c63d2ee1b
Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
9 years agoAlways return false for GLES so that RGBA format will be used, 06/45106/2
suyambu.rm [Fri, 31 Jul 2015 12:34:09 +0000 (18:04 +0530)]
Always return false for GLES so that RGBA format will be used,
for tizen TV driver problem.

Workaround for mali driver when reading BGRA texture.
Should be removed once the driver issue is fixed.

Change-Id: I1de4866a14c2762e3d46c3010531c89aa8ff435f
Signed-off-by: suyambu.rm <suyambu.rm@samsung.com>
9 years agoGL: reset GL context's current program to cairo's shader 00/45100/1
Henry Song [Wed, 8 Jul 2015 15:07:08 +0000 (08:07 -0700)]
GL: reset GL context's current program to cairo's shader

When cairo's GL context is used by external libraries or applications,
it is possible that GL context's current program is changed.  When we
detect such changes, we must reset GL context's current program to cairo
current shader

Change-Id: Ifeadbff488200b5a8bcc5014bda9bf5c0f8df3a8
Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
9 years agoOpensource Compliance Issue. 68/44868/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/ivi/20160218.023439 accepted/tizen/mobile/20150729.105302 accepted/tizen/tv/20150729.105438 accepted/tizen/wearable/20150729.105529 submit/tizen/20150729.024839 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
suyambu.rm [Mon, 16 Feb 2015 06:19:08 +0000 (15:19 +0900)]
Opensource Compliance Issue.

  - Remove the files and directories regarding GPL2.0 license
    : doc/tutorial/*, test/*

Change-Id: Id8866aef23f80f89859b66aa56fc4e98036e6c7b
Signed-off-by: suyambu.rm <suyambu.rm@samsung.com>
9 years agoOpensource Compliance Issue. 67/44867/1
suyambu.rm [Tue, 28 Jul 2015 06:54:20 +0000 (12:24 +0530)]
Opensource Compliance Issue.

Remove modules with GPL3.0 copyright : cairo-fdr, cairo-sphinx, cairo-trace
Remove unnecessary modules : perf

Change-Id: I81d79eab3d9bef3e722665cef60b99f37836cc59
Signed-off-by: suyambu.rm <suyambu.rm@samsung.com>
9 years agoFix OBS build error for X11-wearable profile. 66/44866/1
suyambu.rm [Tue, 28 Jul 2015 14:10:25 +0000 (19:40 +0530)]
Fix OBS build error for X11-wearable profile.

Linking wayland-egl with Cairo creates build errors
related to cairo mutex.

Change-Id: I672e2976f85a47ac67a5359ae75d742e169c5dc1
Signed-off-by: suyambu.rm <suyambu.rm@samsung.com>
9 years agoCairo version Upgrade for Tizen3.0 92/44792/2 accepted/tizen/mobile/20150729.011230 accepted/tizen/tv/20150729.011254 submit/tizen_common/20150728.091859 submit/tizen_mobile/20150728.091912 submit/tizen_tv/20150728.091927
mh0310.choi [Tue, 28 Jul 2015 01:46:57 +0000 (10:46 +0900)]
Cairo version Upgrade for Tizen3.0

  - from 1.12.14 to 1.14.2

Change-Id: I3b62d212041b337bbb926d579f9ce74f42a45c3b

9 years agoEnable cairo-egl on emulator to Fix unresolvable problem 72/41272/1 accepted/tizen/mobile/20150615.001126 accepted/tizen/tv/20150615.001221 submit/tizen_mobile/20150612.080430 submit/tizen_tv/20150612.080450 submit/tizen_wearable/20150612.080441 submit/tizen_wearable/20150622.084342
mh0310.choi [Fri, 12 Jun 2015 07:59:43 +0000 (16:59 +0900)]
Enable cairo-egl on emulator to Fix unresolvable problem

Change-Id: I5f6eae8d22981391d955a3009e97ee70853d9001

9 years agoFix OBS Build Error for modules involved in cairo 78/40878/1 submit/tizen_mobile/20150610.070903 submit/tizen_tv/20150610.070923 submit/tizen_wearable/20150610.070913
mh0310.choi [Wed, 10 Jun 2015 06:59:23 +0000 (15:59 +0900)]
Fix OBS Build Error for modules involved in cairo

Change-Id: Icef9a3cbaebf5a3d527f9f3387c542dceb3970b8

9 years agoFix OBS build error : cairo.spec 82/40782/1 submit/tizen/20150609.050241
mh0310.choi [Tue, 9 Jun 2015 04:56:47 +0000 (13:56 +0900)]
Fix OBS build error : cairo.spec

Change-Id: I96dbcf783315b0454d925cfd297c90f2ea305d7c

9 years agoModify cairo.spec to Fix OBS Build Error 31/40731/1 submit/tizen/20150608.120158
mh0310.choi [Mon, 8 Jun 2015 11:48:37 +0000 (20:48 +0900)]
Modify cairo.spec to Fix OBS Build Error

Change-Id: Ia01074db7cfe41395fbd1f27344c7e05d05899bd

9 years agoRemove BuildRequires: pkgconfig(wayland-egl) 23/40523/1 submit/tizen/20150605.014130
hk57.kim [Fri, 5 Jun 2015 01:39:24 +0000 (10:39 +0900)]
Remove BuildRequires:  pkgconfig(wayland-egl)

Change-Id: I0e0bf11331040fd0f4ebdb3f2bb4204a986e757c
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
9 years agoAdd BuildRequires: pkgconfig(wayland-egl) 78/40478/2 submit/tizen/20150604.075204
hk57.kim [Thu, 4 Jun 2015 07:23:50 +0000 (16:23 +0900)]
Add BuildRequires: pkgconfig(wayland-egl)

Change-Id: I289ccf1db2ac264c5e48f98ede8d2a3d71f8a178
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
9 years agoFix BuildRequires pkg change opengl-es-20 > gles20 64/40464/1 submit/tizen/20150604.052915
hk57.kim [Thu, 4 Jun 2015 05:27:37 +0000 (14:27 +0900)]
Fix BuildRequires pkg change opengl-es-20 > gles20

Change-Id: I3441576ba9dde679b94da8544201401f7c925bd4
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
9 years agoFix build error :FT_PIXEL_MODE_BGRA 17/40417/1 submit/tizen/20150604.021330
hk57.kim [Wed, 3 Jun 2015 12:02:43 +0000 (21:02 +0900)]
Fix build error :FT_PIXEL_MODE_BGRA

Change-Id: I4748c53cfacbed4825d8b9c38771c4f113367824
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
9 years agoFix cairo.spec (remove x) 14/40414/1
hk57.kim [Wed, 3 Jun 2015 11:43:46 +0000 (20:43 +0900)]
Fix cairo.spec (remove x)

Change-Id: Ic4d758c91736e06c7d80226cee780545fcfaf410
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
9 years agoCairo 1.12.14 07/40407/1
hk57.kim [Wed, 3 Jun 2015 06:16:56 +0000 (15:16 +0900)]
Cairo 1.12.14

Change-Id: Ibc39e63896ec42cab29fbbbf615a46f2d58319a8
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
9 years agoInitial empty repository master
KyungMi Lee [Wed, 3 Jun 2015 04:24:00 +0000 (21:24 -0700)]
Initial empty repository