summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-04-29Fix bug in _cairo_gl_has_extensiontizen_6.5.m2_releasetizen_6.0.m2_releasesubmit/tizen_6.5/20211028.162201submit/tizen_6.0_hotfix/20201103.114803submit/tizen_6.0_hotfix/20201102.192503submit/tizen_6.0/20201029.205103submit/tizen/20200506.011353accepted/tizen/unified/20200507.052316accepted/tizen/6.5/unified/20211028.102050accepted/tizen/6.0/unified/hotfix/20201103.052229accepted/tizen/6.0/unified/20201030.120838tizen_6.5tizen_6.0_hotfixaccepted/tizen_6.5_unifiedaccepted/tizen_6.0_unified_hotfixSunghyun Kim1-1/+1
When check extension, cairo use strstr func. But there was a problem with how to use it. So i fix this bug. Change-Id: I4ff47d73b61e56ae84c465d19c579aff4dc55cf6
2020-03-30Change precision mediump to highp for rendering issue.submit/tizen/20200428.081411accepted/tizen/unified/20200429.032917Sunghyun Kim1-4/+4
some device can't support mediump, so it makes rendering issue. To avoid it, we change precision mediump to highp Change-Id: Ie3b0856b69828dcd4eba4871b6189935928d76a2
2020-03-09delete unreachable codesubmit/tizen/20200309.063346accepted/tizen/unified/20200310.151122Sunghyun Kim1-4/+0
Change-Id: Ief05e4bb8897883dc7288efc7988a1f76a2e17a6
2020-01-28[CVE-2017-9814] Fix CVE Issuesubmit/tizen/20200130.070316accepted/tizen/unified/20200204.125915Sunghyun kim1-1/+1
https://bugs.freedesktop.org/show_bug.cgi?id=101547 Change-Id: I2b0ecb3ebe9d2ab2550dd74620c389686516ba7f
2018-06-01[P180523-02901] Fix a crash occurred by thread unsafe issuetizen_5.5.m2_releasesubmit/tizen_5.5_mobile_hotfix/20201026.185103submit/tizen_5.5/20191031.000003submit/tizen_5.0/20181101.000003submit/tizen/20180608.024409submit/tizen/20180604.115621accepted/tizen/unified/20180611.132130accepted/tizen/5.5/unified/mobile/hotfix/20201027.085114accepted/tizen/5.5/unified/20191031.025510accepted/tizen/5.0/unified/20181102.020211tizen_5.5_mobile_hotfixtizen_5.0accepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.0_unifiedMoonhee Choi2-3/+20
Change-Id: I78792c2dc09e4c44c51ffedaea5f73de0ee87e4c Signed-off-by: Moonhee Choi <mh0310.choi@samsung.com>
2018-05-09[Coverity CID:22530] BugFix : written twice with same valuesubmit/tizen/20180509.064048accepted/tizen/unified/20180510.070810Moonhee Choi1-1/+1
Change-Id: If8c91ecf61427af776daab62b630a64cb57cbdbf Signed-off-by: Moonhee Choi <mh0310.choi@samsung.com>
2018-03-26[Coverity] [CID:43738] Fix the Double free issuesubmit/tizen/20180327.012533accepted/tizen/unified/20180405.064425Moonhee Choi1-2/+0
Change-Id: I60cc22eaf784c9505ba304039e53a33872337c06 Signed-off-by: Moonhee Choi <mh0310.choi@samsung.com>
2017-08-22Fix Memory Leaksubmit/tizen/20170822.064852accepted/tizen/unified/20170901.025913Moonhee Choi1-2/+8
- missing free on string buffer Change-Id: I2599c7cd36444cd89f052b80ed9e71ebbea2f7e5 Signed-off-by: Moonhee Choi <mh0310.choi@samsung.com>
2017-08-18Fixed typo in _cairo_default_context_rounded_rectangle().Moonhee Choi1-1/+1
- svace # : 250144 Change-Id: Ia2cca4710e2df77221609de850f364228c05b1e5 Signed-off-by: Moonhee Choi <mh0310.choi@samsung.com>
2017-07-03[RQ170526-01074] gl:Fix bug in _cairo_gl_pattern_texture_setup()submit/tizen_4.0_unified/20170814.115522submit/tizen_4.0/20170814.115522submit/tizen_4.0/20170811.094300submit/tizen/20170705.043917accepted/tizen/unified/20170705.163138accepted/tizen/4.0/unified/20170816.014621accepted/tizen/4.0/unified/20170816.011202Moonhee Choi1-1/+7
- The "image" allocated at line 786 is not freed before moving to label fail at line 803. - It was fixed in community: https://bugs.freedesktop.org/show_bug.cgi?id=91537 Change-Id: I91833b0f7be723f050e7c1d38ae64e5f07d831fe
2017-05-31[Cairo] Fix Kona defect & Svace issuesubmit/tizen/20170607.021832accepted/tizen/unified/20170609.053351Moonhee Choi2-3/+5
- Kona RQ170526-01074 - warning : passing argument of 'cairo_surface_destory' from incompatible pointer type (cairo-gl-operand.c) - Svace 171678 related to memory leak (cairo-pdf-surface.c) Change-Id: If5b06985ad3be89ef639bfa1cbb07002304ea3d7
2017-04-18Fix Svace issue & Memory leakMoonhee Choi2-2/+8
- # of Svace : 39967 related to strcpy (Secure issue) Change-Id: I8e9092986331fa64d08ca0ff2f5979d94b70a203 Signed-off-by: Moonhee Choi <mh0310.choi@samsung.com>
2016-11-17Merge "Bug Fix in _evas_gl_destroy of cairo evas-gl backend" into tizentizen_4.0.m1_releasesubmit/tizen_unified/20170308.100407submit/tizen/20161122.071519accepted/tizen/wearable/20161123.000211accepted/tizen/unified/20170309.032942accepted/tizen/tv/20161123.000156accepted/tizen/mobile/20161123.000136accepted/tizen/ivi/20161123.000235accepted/tizen/common/20161122.193051accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonmoonhee, choi1-1/+1
2016-11-17Bug Fix in _evas_gl_destroy of cairo evas-gl backendmoonhee, choi1-1/+1
Change-Id: I8b3c73b61cb5a2e82e8d2326be5821ec2f48626d
2016-11-11Fix for Svace issue: 150830Ravi Nanjundappa1-7/+9
Checking api handle against NULL value before referencing its value. Change-Id: Ia23fef4b606cbc0f49e63f4a17d2867d10538bb1 Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
2016-10-10Modify the patch for DF160920-00051submit/tizen_3.0_common/20161104.104000submit/tizen_3.0/20161028.082423submit/tizen_3.0/20161028.062323submit/tizen/20161010.113913accepted/tizen/wearable/20161011.050015accepted/tizen/tv/20161011.050001accepted/tizen/mobile/20161011.045944accepted/tizen/ivi/20161011.050034accepted/tizen/common/20161010.150018accepted/tizen/3.0/wearable/20161028.133759accepted/tizen/3.0/tv/20161028.133523accepted/tizen/3.0/mobile/20161028.133216accepted/tizen/3.0/ivi/20161028.134058accepted/tizen/3.0/common/20161114.105722mh0310.choi1-1/+0
Delete Unnecessary code Change-Id: I011c81321442b2bc8b47fcd9ea543fbc4e176413
2016-10-05Merge "Fix for VDSvace issue: DF160920-00017" into tizenmoonhee choi1-1/+1
2016-10-05Fix for VDSvace issue: DF160920-00051Ravi Nanjundappa1-4/+8
Assigned the group handle to NULL after free inside _cairo_pdf_smask_group_destroy() and then checking against NULL value before freeing its members further. Change-Id: Icf9eacf075478244fb09dc6e2678b8d12cd7e292 Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
2016-10-05Fix for VDSvace issue: DF160920-00017Ravi Nanjundappa1-1/+1
Return the locally assigned status value instead of pattern->status, because the pattern handle will be invalid after the call to cairo_pattern_destroy(pattern) Change-Id: I0c38f6c4aac619de2d27b5136a41870bee6e78cc Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
2016-09-06Disable separable convolutionsubmit/tizen_3.0_wearable/20161015.000000submit/tizen_3.0_tv/20161015.000000submit/tizen_3.0_mobile/20161015.000000submit/tizen_3.0_ivi/20161010.000010submit/tizen_3.0_ivi/20161010.000000submit/tizen/20160907.063143submit/tizen/20160906.044247accepted/tizen/wearable/20160908.042911accepted/tizen/tv/20160908.042842accepted/tizen/mobile/20160908.042823accepted/tizen/ivi/20160908.042941accepted/tizen/common/20160906.131223accepted/tizen/3.0/wearable/20161015.080347accepted/tizen/3.0/tv/20161016.003644accepted/tizen/3.0/mobile/20161015.032320accepted/tizen/3.0/ivi/20161011.053623mh0310.choi1-0/+14
- disable PIXMAN_FILTER_SEPARABLE_CONVOLUTION Change-Id: Ib445178c84a0b904bd68267185898158030b2d87
2016-06-29[T-Trace] Enable T-trace tracing utility for Cairo.submit/tizen_common/20160701.180000submit/tizen/20160630.071514accepted/tizen/common/20160703.130354hk57.kim17-355/+1353
By default T-trace is disabled in the build. Use --enable-ttrace=yes for enabling the same. Change-Id: I697c0a3f05bc9010620db563a4121c2ed0e46599 Signed-off-by: hk57.kim <hk57.kim@samsung.com>
2016-06-02[ft]fix to enable color-glyphsubmit/tizen/20160602.101640accepted/tizen/wearable/20160606.040025accepted/tizen/tv/20160606.035836accepted/tizen/mobile/20160606.035124accepted/tizen/ivi/20160606.040525accepted/tizen/common/20160603.150620hk57.kim1-2/+0
Change-Id: I56bec59db8ce3f5a0e54f4dd121d96f677ee40cd Signed-off-by: hk57.kim <hk57.kim@samsung.com>
2016-03-16fix build warningsubmit/tizen/20160406.010154submit/tizen/20160324.041503accepted/tizen/wearable/20160406.070924accepted/tizen/tv/20160406.070856accepted/tizen/mobile/20160406.070830accepted/tizen/ivi/20160406.070956accepted/tizen/common/20160406.143944hk57.kim15-19/+42
Change-Id: Iff4a3ad9811ba4454be3e29d8876a5f3974f4c7f Signed-off-by: hk57.kim <hk57.kim@samsung.com>
2016-03-02[Add error handling for cairo_gl_device_set_thread_aware() API]submit/tizen/20160302.044849submit/tizen/20160302.044709accepted/tizen/common/20160302.193548hk57.kim1-1/+14
Change-Id: Ie948efb70a0ac1b2db49bf7f4babc61b149be1f0 Signed-off-by: hk57.kim <hk57.kim@samsung.com>
2015-12-18Pattern/GL: Two Color Stops optimization for linear gradients.nisanthmp4-40/+132
Also 1) Updated shader cache lookup code to include 2 stops case. 2) 2 stop opt code now supports repeat and reflect patterns. 3) texel R,G and B values are now pre-multiplied by alpha. Change-Id: I053a074660635fc362a8ae37f2782009ef08f125 Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
2015-12-18Pattern/GL: Avoid texture creation for radial gradientsnisanthmp5-35/+423
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>
2015-08-26Prevent:ID-275424 (Dereference null return value) Null check for clipmh0310.choi1-0/+3
Change-Id: I83be56637cd3e3df3942bf5c70b8c93ede483559
2015-08-03Merge "Always return false for GLES so that RGBA format will be used, for ↵jerry kim2-11/+7
tizen TV driver problem." into tizen
2015-08-03gl: gradient texture edge pixel color adjustHenry Song1-2/+7
Change-Id: I13ca5ad468167896b4c043358df474a9ecc469c6 Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
2015-08-03gl: set default VBO size 256KHenry Song3-2/+5
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>
2015-08-03gl: fix parameter order in setup_spans() functionHenry Song1-5/+3
Change-Id: I42dad907a1851df4fc4a4664b1023dcd9ba3c0dd Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
2015-08-03Optimization when we know that surface is in transparent black.Henry Song1-2/+2
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>
2015-08-03GL: query current program before set it in gl context resetHenry Song1-3/+7
Change-Id: I36c3de424036ff177a8b5791fc87da3c63d2ee1b Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
2015-08-03Always return false for GLES so that RGBA format will be used,suyambu.rm2-11/+7
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>
2015-07-31GL: reset GL context's current program to cairo's shaderHenry Song1-2/+10
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>
2015-07-28Cairo version Upgrade for Tizen3.0submit/tizen_tv/20150728.091927submit/tizen_mobile/20150728.091912submit/tizen_common/20150728.091859accepted/tizen/tv/20150729.011254accepted/tizen/mobile/20150729.011230mh0310.choi396-5985/+7571
- from 1.12.14 to 1.14.2 Change-Id: I3b62d212041b337bbb926d579f9ce74f42a45c3b
2015-06-03Fix build error :FT_PIXEL_MODE_BGRAsubmit/tizen/20150604.021330hk57.kim1-0/+2
Change-Id: I4748c53cfacbed4825d8b9c38771c4f113367824 Signed-off-by: hk57.kim <hk57.kim@samsung.com>
2015-06-03Cairo 1.12.14hk57.kim393-0/+249924
Change-Id: Ibc39e63896ec42cab29fbbbf615a46f2d58319a8 Signed-off-by: hk57.kim <hk57.kim@samsung.com>