Commit Graph

904 Commits

Author SHA1 Message Date
Jeff Muizelaar
107a563dc7 Bug 1026596. Add ellipse to bezier helper and use it from SVG. r=bas
This is faster and more accurate. Specifically, the old code
would produce non-monontic segments which was causing rasterization
differences with skia
2014-06-26 16:42:12 -04:00
Jeff Muizelaar
79b9bee6a7 Bug 1025133. Be more consistent about rounding colors with the skia backend. r=mwoodrow
--HG--
rename : toolkit/devtools/discovery/tests/moz.build => toolkit/devtools/moz.build
extra : rebase_source : 2db3c43532a30db90326c3903d8fe5c96d077d97
2014-06-18 10:16:30 -04:00
Jonathan Watt
a328efc6da Backed out changeset a7ea536288e0 (bug 1031267) for bustage.. 2014-06-27 16:58:36 +01:00
Jan Beich
fb8faeda05 Bug 1031267 - Fix --enable-system-cairo builds after they were broken by bug 1027763. r=jwatt 2014-06-27 16:29:17 +01:00
Carsten "Tomcat" Book
7d5c310dad Merge mozilla-central to mozilla-inbound 2014-06-27 15:51:09 +02:00
Kartikaya Gupta
57b791cdc7 Bug 1022956 - When fling velocity is high, don't let tap gestures trigger clicks to content. r=drs r=Bas 2014-06-26 18:37:44 -04:00
Jonathan Watt
11950fdff5 Bug 1027763, part 4 - Add a new DrawTarget::GetType() method and three generic type enum values for it to return. r=Bas, r=jrmuizel 2014-06-27 10:17:49 +01:00
Gijs Kruitbosch
69b99988f1 Bug 1030115 - fix apz.printtree caching to use gfxPrefs. r=kats, bas 2014-06-25 16:12:32 +01:00
Walter Litwinczyk
96d1e15fd8 Bug 1004374 - Removed Moz2D usage of deprecated skia api: SK_SUPPORT_LEGACY_LAYERRASTERIZER_API. r=gw280 2014-06-20 11:47:27 -07:00
Rik Cabanier
cab684d975 Bug 1018497 - Implementation of DOMMatrix. r=roc,bz 2014-06-24 20:15:00 +02:00
Mats Palmgren
3e13115cf3 Bug 1025669 - part 0, Add BaseMargin::ApplySkipSides, remove nsIFrame::Apply*SkipSides, and change call sites to use the former. r=roc 2014-06-24 17:52:19 +00:00
Benoit Jacob
2ed5b733e4 Remove unused static function that causes non-unified build to fail - trivial, no review, no bug 2014-06-23 11:50:43 -04:00
zhoubcfan
0d75074051 Bug 891709 - Fix build bustage in gfx/2d/Factory.cpp when Skia is disabled. r=gw280 2014-05-03 04:13:00 -04:00
Sasha Fydrich
514fc57d28 Bug 1020439 - Call cairo_surface_destroy in GetCairoSurfaceForSourceSurface in case of failure. r=bas 2014-06-22 11:10:07 -07:00
Jonathan Watt
8d7ccbd531 Bug 1027763, part 3 - Remove the old DrawTarget::GetType() method. r=Bas 2014-06-19 21:35:34 +01:00
Jonathan Watt
28a408b329 Bug 1027763, part 1 - Rename DrawTarget::GetType() to DrawTarget::GetBackendType() in Moz2D code. r=Bas 2014-06-19 21:35:33 +01:00
Birunthan Mohanathas
51ba75d135 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Benjamin Smedberg
7fbcec606a Bug 768395 - Crash in CDevice::DriverInternalErrorCB because the d3d device is set to crash on error instead of merely returning error codes. Explicitly set the exception mode on device creation, and assert it every time we get it again. r=jrmuizel 2014-06-17 13:00:13 -04:00
Jonathan Watt
36dd834e0d Bug 1022031 - Rework gfxPlatform::GetSourceSurfaceForSurface so that it doesn't need to use a Thebes backed gfxContext (Moz2D conversion). r=mattwoodrow 2014-06-17 10:08:23 +01:00
Jonathan Watt
16136e4067 Bug 1025491 - Remove the DumpAsPNG() code in FilterNodeSoftware.cpp. r=mstange 2014-06-15 01:34:01 +01:00
Jonathan Watt
5aec590cc0 Bug 1023336, part 2 - Use the new BufferSizeFromStrideAndHeight helper where appropriate in Moz2D code. r=Bas 2014-06-13 22:03:52 +01:00
Jonathan Watt
5792c05685 Bug 1023336, part 1 - Add a Moz2D helper to consistently limit the size of data-wrapping DataSourceSurface buffers. r=Bas 2014-06-13 22:03:52 +01:00
Jonathan Watt
4282c1f4c9 Bug 1015785 - Fix Moz2D's AlignedArray::Realloc() to not over allocate. r=Bas 2014-06-13 22:03:52 +01:00
Jonathan Watt
c90e727466 Bug 1024983 - Stop addrefing and releasing excessively in the Moz2D code in functions that return a TemporaryRef. r=mstange 2014-06-13 17:09:23 +01:00
Bas Schouten
4652eb1967 Bug 1024643: Create and upload D2D bitmaps in separate steps. r=mattwoodrow 2014-06-12 19:05:37 +00:00
Jonathan Watt
4586865399 Bug 1022821, part 1 - Stop using a RefPtr for QuartzSupport::AttachIOSurface's aSurface argument. r=BenWa 2014-06-11 23:08:17 +01:00
Bas Schouten
b605651fdd Bug 992491: Add DrawTargetTiled for redirecting drawing to multiple tiles. r=mattwoodrow 2014-06-11 19:53:02 +00:00
Jeff Muizelaar
d0cf3e22fa Bug 1023691. Support Data surfaces in DrawTargetSkia::CopySurface. r=mwoodrow
--HG--
extra : rebase_source : 99278192158953367d79c9b87470b69546d12d09
2014-06-11 11:38:41 -04:00
Jeff Muizelaar
6647b1a976 Bug 1020629. DrawTargetSkia::CopySurface is broken with A8 surfaces. r=gw280
If we clear the surface before doing drawBitmap we end up with
the right results. This also adds some writePixels code
that we could try out later.

--HG--
rename : content/base/test/xcsp/chrome.ini => content/base/test/csp/chrome.ini
rename : content/base/test/xcsp/file_CSP.sjs => content/base/test/csp/file_CSP.sjs
rename : content/base/test/xcsp/file_CSP_evalscript_main.html => content/base/test/csp/file_CSP_evalscript_main.html
rename : content/base/test/xcsp/file_CSP_evalscript_main.html^headers^ => content/base/test/csp/file_CSP_evalscript_main.html^headers^
rename : content/base/test/xcsp/file_CSP_evalscript_main.js => content/base/test/csp/file_CSP_evalscript_main.js
rename : content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.html => content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.html
rename : content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.html^headers^ => content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.html^headers^
rename : content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.js => content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.js
rename : content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.html => content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.html
rename : content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.html^headers^ => content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.html^headers^
rename : content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.js => content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.js
rename : content/base/test/xcsp/file_CSP_frameancestors.sjs => content/base/test/csp/file_CSP_frameancestors.sjs
rename : content/base/test/xcsp/file_CSP_frameancestors_main.html => content/base/test/csp/file_CSP_frameancestors_main.html
rename : content/base/test/xcsp/file_CSP_frameancestors_main.js => content/base/test/csp/file_CSP_frameancestors_main.js
rename : content/base/test/xcsp/file_CSP_inlinescript_main.html => content/base/test/csp/file_CSP_inlinescript_main.html
rename : content/base/test/xcsp/file_CSP_inlinescript_main.html^headers^ => content/base/test/csp/file_CSP_inlinescript_main.html^headers^
rename : content/base/test/xcsp/file_CSP_inlinestyle_main.html => content/base/test/csp/file_CSP_inlinestyle_main.html
rename : content/base/test/xcsp/file_CSP_inlinestyle_main.html^headers^ => content/base/test/csp/file_CSP_inlinestyle_main.html^headers^
rename : content/base/test/xcsp/file_CSP_main.html => content/base/test/csp/file_CSP_main.html
rename : content/base/test/xcsp/file_CSP_main.html^headers^ => content/base/test/csp/file_CSP_main.html^headers^
rename : content/base/test/xcsp/file_CSP_main.js => content/base/test/csp/file_CSP_main.js
rename : content/base/test/xcsp/file_csp_bug768029.html => content/base/test/csp/file_csp_bug768029.html
rename : content/base/test/xcsp/file_csp_bug768029.sjs => content/base/test/csp/file_csp_bug768029.sjs
rename : content/base/test/xcsp/file_csp_bug773891.html => content/base/test/csp/file_csp_bug773891.html
rename : content/base/test/xcsp/file_csp_bug773891.sjs => content/base/test/csp/file_csp_bug773891.sjs
rename : content/base/test/xcsp/file_csp_redirects_main.html => content/base/test/csp/file_csp_redirects_main.html
rename : content/base/test/xcsp/file_csp_redirects_page.sjs => content/base/test/csp/file_csp_redirects_page.sjs
rename : content/base/test/xcsp/file_csp_redirects_resource.sjs => content/base/test/csp/file_csp_redirects_resource.sjs
rename : content/base/test/xcsp/file_csp_report.sjs => content/base/test/csp/file_csp_report.sjs
rename : content/base/test/xcsp/file_multi_policy_injection_bypass.html => content/base/test/csp/file_multi_policy_injection_bypass.html
rename : content/base/test/xcsp/file_multi_policy_injection_bypass.html^headers^ => content/base/test/csp/file_multi_policy_injection_bypass.html^headers^
rename : content/base/test/xcsp/file_multi_policy_injection_bypass_2.html => content/base/test/csp/file_multi_policy_injection_bypass_2.html
rename : content/base/test/xcsp/file_multi_policy_injection_bypass_2.html^headers^ => content/base/test/csp/file_multi_policy_injection_bypass_2.html^headers^
rename : content/base/test/xcsp/file_redirect_content.sjs => content/base/test/csp/file_redirect_content.sjs
rename : content/base/test/xcsp/file_redirect_report.sjs => content/base/test/csp/file_redirect_report.sjs
rename : content/base/test/xcsp/file_subframe_run_js_if_allowed.html => content/base/test/csp/file_subframe_run_js_if_allowed.html
rename : content/base/test/xcsp/file_subframe_run_js_if_allowed.html^headers^ => content/base/test/csp/file_subframe_run_js_if_allowed.html^headers^
rename : content/base/test/xcsp/mochitest.ini => content/base/test/csp/mochitest.ini
rename : content/base/test/xcsp/moz.build => content/base/test/csp/moz.build
rename : content/base/test/xcsp/test_301_redirect.html => content/base/test/csp/test_301_redirect.html
rename : content/base/test/xcsp/test_302_redirect.html => content/base/test/csp/test_302_redirect.html
rename : content/base/test/xcsp/test_303_redirect.html => content/base/test/csp/test_303_redirect.html
rename : content/base/test/xcsp/test_307_redirect.html => content/base/test/csp/test_307_redirect.html
rename : content/base/test/xcsp/test_CSP.html => content/base/test/csp/test_CSP.html
rename : content/base/test/xcsp/test_CSP_evalscript.html => content/base/test/csp/test_CSP_evalscript.html
rename : content/base/test/xcsp/test_CSP_evalscript_getCRMFRequest.html => content/base/test/csp/test_CSP_evalscript_getCRMFRequest.html
rename : content/base/test/xcsp/test_CSP_frameancestors.html => content/base/test/csp/test_CSP_frameancestors.html
rename : content/base/test/xcsp/test_CSP_inlinescript.html => content/base/test/csp/test_CSP_inlinescript.html
rename : content/base/test/xcsp/test_CSP_inlinestyle.html => content/base/test/csp/test_CSP_inlinestyle.html
rename : content/base/test/xcsp/test_csp_bug768029.html => content/base/test/csp/test_csp_bug768029.html
rename : content/base/test/xcsp/test_csp_bug773891.html => content/base/test/csp/test_csp_bug773891.html
rename : content/base/test/xcsp/test_csp_redirects.html => content/base/test/csp/test_csp_redirects.html
rename : content/base/test/xcsp/test_multi_policy_injection_bypass.html => content/base/test/csp/test_multi_policy_injection_bypass.html
rename : content/base/test/xcsp/test_subframe_run_js_if_allowed.html => content/base/test/csp/test_subframe_run_js_if_allowed.html
rename : js/src/parjs-benchmarks/obsolete/README.txt => js/src/parjs-benchmarks/README.txt
extra : rebase_source : 5dcfaa47c4e4305f2c2c4fdec46cf68e07fc9166
2014-06-10 23:42:32 -04:00
Botond Ballo
14c54cd3c3 Bug 1022381 - Enforce that strongly-typed geometric classes are used with a proper coordinate system tag type. r=kats 2014-06-10 12:43:52 -04:00
Markus Stange
af2604876c Bug 1022624 - Rename numStops to stopCount. 2014-06-10 22:29:03 +02:00
Markus Stange
15a5ceb45e Bug 1022624 - Share code for constructing repeated linear and radial gradients. r=jrmuizel 2014-06-10 22:27:45 +02:00
Markus Stange
e4332ae911 Bug 1022624 - Implement support for radial gradients with ExtendMode::REFLECT in DrawTargetCG. r=jrmuizel 2014-06-10 22:26:58 +02:00
Markus Stange
2c7daaf2b7 Bug 1022624 - Implement support for linear gradients with ExtendMode::REFLECT in DrawTargetCG. r=jrmuizel 2014-06-10 22:26:32 +02:00
Michael Wu
b515bddf40 Bug 994081 - [3/3] Optimize surfaces on Cairo X11, r=Bas f=karlt 2014-05-22 20:06:16 -04:00
Jonathan Watt
fa32ec8e2a Bug 1019753, part 1 - Add a ClearDataSourceSurface() helper to DataSurfaceHelpers. r=Bas 2014-06-04 08:08:39 +01:00
Carsten "Tomcat" Book
90f9142e90 Backed out changeset c5953a778276 (bug 1019753) for crashes on a CLOSED TREE 2014-06-04 10:31:49 +02:00
Jonathan Watt
80e5860681 Bug 1019753, part 1 - Add a ClearDataSourceSurface() helper to DataSurfaceHelpers. r=Bas 2014-06-04 08:08:39 +01:00
Bas Schouten
6420ff2da0 Bug 992731: Correctly treat a 'line' as a curve with a single inflection point stretching across the entire line. r=jwatt 2014-05-31 03:13:23 +02:00
Jonathan Watt
f0ebd02780 Bug 1015780 - Make Moz2D's GetAlignedStride() faster. r=Bas 2014-05-28 14:30:56 +01:00
Matt Woodrow
7c80741e2d Bug 1013767 - Add Matrix::PostTranslate. r=Bas 2014-05-28 13:21:32 +12:00
Bas Schouten
8f3b724393 Bug 999943 - Followup: Add requested comment. r=jwatt 2014-05-27 17:35:35 +02:00
Bas Schouten
0eae897026 Bug 999943: Correctly use the absolute value to determine min and max of the inflection range. r=jwatt 2014-05-27 17:03:34 +02:00
Jonathan Watt
18aa0427ad backout ac5e2c6f4ec0 (Bug 1015780) for bustage 2014-05-26 17:59:43 +01:00
Jonathan Watt
6f70a74103 Bug 1015780 - Make Moz2D's GetAlignedStride() faster. r=Bas
--HG--
extra : rebase_source : 6e87f0f91cd9cab03facb789f1fee700175ba102
2014-05-26 16:20:39 +01:00
Matt Woodrow
0c71819122 Bug 1011865 - Create optimized source surfaces when skia-gl is enabled since we want to cache the GPU texture. r=gw280 2014-05-23 17:09:34 +12:00
Matt Woodrow
869cbbd129 Bug 1012386 - Release the CGImage we addref'd in DrawTargetCG::CopySurface. r=jrmuizel 2014-05-21 18:43:16 +12:00
Milan Sreckovic
2ca1dde32b Bug 1007856: Update 2D.h to doxygen friendly comment format. r=bas,trivial 2014-05-19 13:54:41 -04:00
Jeff Muizelaar
7db7c28ba4 Bug 1011062. Add a fast path to DrawTargetSkia::MaskSurface(). r=gw280
This should speed things up significantly by avoid a bunch
of unneeded work.

--HG--
extra : rebase_source : 1194a825a5a9e5e86a94ba6c6c67f959051f1da3
2014-05-16 21:31:43 -04:00
Jeff Muizelaar
adc31c670f Bug 1011011. DrawTargetSkia: Round alpha properly when creating Paint. r=mattwoodrow
This fixes some off by one errors in content reftests

--HG--
extra : rebase_source : 38a7aaed5600431f2c75005e1b71b8e572c3685d
2014-05-15 22:12:42 -04:00