Commit Graph

3929 Commits

Author SHA1 Message Date
Bas Schouten
2dcf343d5b Bug 1066677: Pass on D2D 1.0 as a fallback when using D2D1.1. r=BenWa 2014-09-14 23:52:41 +02:00
Bas Schouten
733c7476d6 Bug 1066144: Accept D2D paths for D2D 1.1 backends. r=jrmuizel 2014-09-14 23:51:32 +02:00
Bas Schouten
32ec06172d Bug 1060588: Use PushClipRect when possible in ClipToRegionInternal. r=jrmuizel 2014-09-14 23:51:30 +02:00
Matt Woodrow
b14244ee9a Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas 2014-09-14 23:51:27 +02:00
Bas Schouten
019c0468a9 Bug 1046550 - Part 1: Add content device to gfxWindowsPlatform. r=mattwoodrow 2014-09-14 23:51:27 +02:00
Matt Woodrow
a3b9ba5ec7 Bug 1054838, part 4 - Stop using the gfxASurface ctor for gfxPattern in gfxWindowsNativeDrawing. r=Bas 2014-09-14 10:58:56 +01:00
Matt Woodrow
2bc24e0445 Bug 1054838, part 3 - Convert gfxPattern to Moz2D. r=Bas 2014-09-14 10:58:56 +01:00
Matt Woodrow
e17c6e9c95 Bug 1054838, part 2 - Remove callers of DrawTarget::Mask. r=Bas,jwatt 2014-09-12 08:20:12 +01:00
Matt Woodrow
dfb3114c12 Bug 1054838, part 1 - Remove dead code supporting cairo_surface_t wrapping gfxPattern. r=Bas 2014-09-14 10:58:55 +01:00
Matt Woodrow
b981b9db8d Bug 1044702 - Use Moz2D source clipping when we can. r=Bas
--HG--
extra : rebase_source : 24eb333909db5278ff1a8babf9b4b907650695fa
2014-09-12 17:18:21 +12:00
Sotaro Ikeda
806c030b54 Bug 1049251 - Partially disable SkiaGL on Low total system memory r=jrmuizel 2014-09-11 16:52:42 -07:00
Jonathan Watt
4c0a7bbbef Bug 1064084, part 5 - Convert all consumers of gfxContext::NudgeCurrentMatrixToIntegers()/MultiplyAndNudgeToIntegers() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt
9bc0f0cdf3 Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt
ba6a140a09 Bug 1064084, part 3 - Convert all consumers of gfxContext::Rotate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
1ae57ac8bf Bug 1064084, part 2 - Convert all consumers of gfxContext::Scale() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
fa8c7ec8a5 Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
7d3142ed90 Bug 1065764, part 1 - Make gfxMatrix::NudgeToIntegers() return a reference. r=Bas 2014-09-11 01:46:19 +01:00
Jonathan Watt
3229c51d66 Bug 1065718 - Make gfxMatrix's Translate(), Scale() and Rotate() methods return a non-const reference. r=Bas 2014-09-11 01:45:04 +01:00
Jonathan Watt
68cd3d97ec Bug 1065526, part 2 - Add a Copy() method to gfxMatrix. r=Bas 2014-09-10 21:41:51 +01:00
Felipe Gomes
3a6a843e37 Bug 1063848 - Disable e10s in safe mode. r=bsmedberg,ally. 2014-09-10 15:53:55 -03:00
Jonathan Watt
b3072839ca Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00
Jonathan Watt
581078dcb7 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas 2014-09-10 14:26:12 +01:00
Carsten "Tomcat" Book
d9c5bea4e5 Backed out changeset e6b766d8a815 (bug 1065127) for bustage 2014-09-10 14:30:36 +02:00
Jonathan Watt
cc5bf95ddf Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Ehsan Akhgari
7bfdbee6dc Bug 1064354 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-09-08 20:48:12 -04:00
Botond Ballo
113386e7f7 Bug 1063227 - Make APZ axis locking constants preffable. r=kats
--HG--
extra : source : 83f2d844c5a9833a40b2d0d9021597652e707a1a
2014-09-05 20:07:52 -04:00
Jonathan Kew
15b1ad36a4 bug 1063931 - support cmap subtable format 10 in gfxHarfBuzzShaper::GetGlyph. r=jdaggett 2014-09-08 09:53:29 +01:00
John Daggett
b59e49acf6 Bug 1062058 part 3 - make userfont entry a container of the platform font entry. r=heycam 2014-09-08 16:23:20 +09:00
John Daggett
4152f3896a Bug 1062058 part 2 - rename userfont classes and adjust flags. r=heycam 2014-09-08 16:23:20 +09:00
John Daggett
6a628f87a7 Bug 1062058 part 1 - avoid passing around proxy font entry object. r=heycam 2014-09-08 16:23:19 +09:00
Kearwood (Kip) Gilbert
a5c8bcd2a0 Bug 1022825 - Implement Asynchronous Smooth Scrolling on Compositor Thread. r=kats
- Extended nsIScrollableFrame and nsGfxScrollFrame to return destination
  of smooth scrolls which are to be animated on the compositor thread.
- Added apz.smooth_scroll_repaint_interval preference.
- Implemented AsyncPanZoomController::PanZoomState::SMOOTH_MSD_SCROLL state
  and AsyncPanZoomController::SmoothScrollAnimation class to animate smooth
  scroll animations on the compositor thread.
- Extended FrameMetrics to report requests for smooth scrolls to be animated
  on the compositor thread and their corresponding destination positions.
- AsyncPanZoomController now checks FrameMetrics for requests to perform
  smooth scrolling on the compositor thread.  It will ensure that they
  are cancelled as needed by mousewheel, touchpanel, keyboard, and
  CSSOM-View instant scrolling DOM methods.
- The layout/generic/test/test_scroll_behavior.html mochitest has been
  commented as depending on Bug 1062609 before being enabled for APZ.
2014-07-10 11:52:40 -07:00
Sotaro Ikeda
8509bc57c3 Bug 1061943 - Purge all GradientCache on memory-pressure r=jrmuizel 2014-09-04 10:28:43 -07:00
Matt Woodrow
bf7ddd9c43 Bug 982338 - Disable tiling for OSX 10.6. r=Bas 2014-07-25 12:49:45 +12:00
Sotaro Ikeda
567e76c4bc Bug 1060790 - Call glFlush() to SkiaGL's GLContext on memory-pressure r=gw280 2014-09-02 18:49:06 -07:00
Matt Woodrow
2b56d2e447 Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas
--HG--
extra : rebase_source : 88b89a41765ab7d6b1f8ac2ae023267418bc31dc
2014-09-03 09:21:35 +12:00
Ehsan Akhgari
2e7a1f5631 Bug 1061250 - Fix more bad implicit constructors in graphics; r=roc 2014-09-02 09:47:43 -04:00
Jonathan Kew
d3b9a0a59f bug 1060791 - support cmap subtable format 10, for the Apple Symbols font. r=jdaggett 2014-09-02 09:01:06 +01:00
Phil Ringnalda
d75200777a Backed out 8 changesets (bug 982338, bug 1057212, bug 1059033) for build bustage
CLOSED TREE

Backed out changeset 4df1bd30364d (bug 982338)
Backed out changeset b68664a02904 (bug 1057212)
Backed out changeset 07b3695aa02f (bug 1059033)
Backed out changeset bb3885b57d48 (bug 1059033)
Backed out changeset 76897f52ac2c (bug 1059033)
Backed out changeset 31e89a2a409f (bug 1059033)
Backed out changeset 8e81f6f74182 (bug 1059033)
Backed out changeset c5bbf22f2f28 (bug 1059033)
2014-09-01 18:07:57 -07:00
Matt Woodrow
ab08ddbe57 Bug 982338 - Enable tiling for OSX 10.8. r=Bas
--HG--
extra : rebase_source : c55a42c7e47413966cd5d67a3ae2eb65d142c860
2014-07-25 12:49:45 +12:00
Matt Woodrow
fff56208c8 Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas
--HG--
extra : rebase_source : fa58170f6966ef0008f54ef4bc1b1b5381fbd0e0
2014-09-02 12:37:41 +12:00
John Daggett
aaa1429b25 Bug 1061065. Removed unneeded gfx telemetry probes. r=mkato. 2014-09-02 09:03:59 +09:00
Carsten "Tomcat" Book
cd08246928 Backed out changeset 7de1b4a42f1c (bug 982338) for OS X Crash Bustage on a CLOSED TREE 2014-09-01 09:58:39 +02:00
Phil Ringnalda
91ea7d35b7 Backed out 8 changesets (bug 1057212, bug 1059033) for Windows build bustage
CLOSED TREE

Backed out changeset a54dbdca597b (bug 1059033)
Backed out changeset d8d79e4fbfc4 (bug 1059033)
Backed out changeset 87494588e493 (bug 1057212)
Backed out changeset 3e4105ea0a73 (bug 1059033)
Backed out changeset e59430ea4256 (bug 1059033)
Backed out changeset 301fdfea8fbf (bug 1059033)
Backed out changeset 1ef5a3a9bb06 (bug 1059033)
Backed out changeset a7eaac164c36 (bug 1059033)
2014-08-31 23:55:31 -07:00
Ehsan Akhgari
64f296432b Bug 1060991 - Fix more bad implicit constructors in gfx; r=roc 2014-08-31 23:32:35 -04:00
Matt Woodrow
60ee95919c Bug 982338 - Enable tiling for OSX 10.8. r=Bas 2014-07-25 12:49:45 +12:00
Matt Woodrow
2f821dd7be Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas 2014-09-01 15:23:40 +12:00
Phil Ringnalda
a127cbc54f Merge m-i to m-c, a=merge 2014-08-31 18:17:24 -07:00
Mason Chang
17a2258d01 Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-31 15:38:00 -07:00
Andrea Marchesini
35125820b7 Bug 1058470 - Blob URL should contain the origin as part of the URI, r=bz 2014-08-31 11:40:11 +01:00
Jonathan Kew
af9c08c29d bug 983985 - remove fake-italic skew from the drawTarget's matrix before rendering a hexbox. r=bas 2014-08-30 17:29:06 +01:00
Botond Ballo
10776feb20 Bug 1057578 - Make the overscroll transform a uniform stretch. r=kats 2014-08-29 15:28:47 -04:00
David Zbarsky
5662a359c6 Bug 952977: Remove gfxPointH3D r=nical 2014-08-29 14:47:30 -04:00
David Zbarsky
848b6c007e Bug 1060165: Remove gfxPoint3D r=nical 2014-08-29 14:47:30 -04:00
James Kolb
ea2c2a5c07 Bug 1028288 Add canvas global transparency support to svgs. r=seth 2014-08-29 23:04:34 +09:00
John Daggett
100e7f2947 Bug 1059691. Cleanup tabs in gfx/thebes source files. r=mkato 2014-08-29 13:18:28 +09:00
Matt Woodrow
867c05581a Bug 1059031 - Do quartz native drawing in device space when we need to use a temporary surface. r=jrmuizel 2014-08-29 15:08:15 +12:00
Benoit Girard
65cde9a382 Bug 1058919 - Make regions and matrix printable. r=botond
--HG--
extra : rebase_source : d881d86afbba64ba989c66fe98de89ef0a381dba
2014-08-27 18:38:42 -04:00
Milan Sreckovic
735f45f426 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Boris Chiou
625e45b64c Bug 987527 - Register Vsync monitor to HWComposer. r=mwu
In order to enable/disable the Vsync from mHwc, we should make sure
the order of each command is correct. In this patch, I added an
interface for registering these mHwc callback functions and some
accessor/helper functions for manipulating Hwc Vsync.
2014-08-27 01:17:00 -04:00
Matt Woodrow
af9626ab2e Bug 1047945 - Delete the TileExpiry object at shutdown to avoid leak warnings. r=BenWa 2014-08-27 10:57:49 +12:00
Jim Chen
67cb28f899 Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
Milan Sreckovic
ad0fca8451 Bug 1055891: Add contrast to layer effects. Rename preferences to be consistent. More comments, some more explicit tests. r=mattwoodrow 2014-08-25 15:36:17 -04:00
Andrew McCreight
eb3502679c Bug 1055280 - Move CountingAllocatorBase into its own header file. r=froydnj 2014-08-25 12:34:00 -07:00
Frédéric Wang
cc00895495 Bug 1057488 - Part 3: Update OTS to 97d043dd8977751835ca8d33d773ae8416e456d5. r=jfkthame
--HG--
extra : rebase_source : a040d22b1758ae60b7bbafecbe35d0dc9891365a
2014-08-23 10:12:00 -04:00
Seth Fowler
71d94ea626 Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
--HG--
extra : rebase_source : b5ed02cb200ece12a07328613dca217e9d975703
2014-08-22 13:12:38 -07:00
David Zbarsky
10410114ac Bug 952977: Switch some uses of gfx3DMatrix in nsLayoutUtils to Matrix4x4 r=nical 2014-08-22 09:40:02 -04:00
Trevor Saunders
86b7aff8fc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Matt Woodrow
4d7eebfb5f Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Mason Chang
9f8cadde05 Bug 1056190 - Delete Scrollgraph. r=benwa 2014-08-20 17:42:03 -07:00
Daniel Holbert
18a0d934dc Bug 1056256: Update callsite of Skia function 'setTextureCacheLimits' to use its new name, 'setResourceCacheLimits'. r=snorp 2014-08-20 12:09:47 -07:00
John Daggett
6a8be967a3 Bug 1055931 - bump up priority of Hiragino Kaku Gothic for symbol fallback. r=mkato 2014-08-20 16:54:38 +09:00
John Daggett
35517cde10 Bug 931040 - add access to hidden system fonts on OSX. r=jfkthame 2014-08-19 21:46:17 +09:00
Jeff Muizelaar
bc537cc1e3 Bug 1016539. Add support for accelerated a11y filters. r=mwoodrow
This adds the ability to render to a temporary surface and use that
to apply a filter effect to all of the content.
2014-08-07 17:44:08 -04:00
Matt Woodrow
e0240d6186 Bug 1053159 - fully qualify filter name to fix bustage. CLOSED TREE
--HG--
extra : rebase_source : d819fe43ccceb6b70e036df9fab1d15cfcbd21ae
2014-08-15 14:56:44 +12:00
Matt Woodrow
e582e00ffe Bug 1053159 - Initialize gfxPattern::mFilter. r=Bas
--HG--
extra : rebase_source : 8b381ebeda17be5931f38ababb19fe6eead09c52
2014-08-15 14:24:11 +12:00
Ehsan Akhgari
7ef2679c79 Bug 1050610 - Fix more bad implicit constructors in gfx; r=roc
--HG--
extra : rebase_source : 5c6b62dbed81018370ce274e1913620ffb0ff7a2
2014-08-07 21:17:30 -04:00
Harshit Harchani
8ab53106b7 Bug 927946 - Add all APZC preferences to all.js. r=botond
--HG--
extra : rebase_source : d96f4aea65b40490d4cc7f8ec8704a2a2f7ef4b8
2014-08-13 01:35:22 +05:30
Michael Wu
6dbfffbba9 Follow up to bug 1035394 - Fix bustage from initializing fields in the wrong order on a CLOSED TREE, r=bustage 2014-08-11 17:53:06 -04:00
Michael Wu
8931c79879 Bug 1036394 - Use CRC32 to query hidden fonts, r=jfkthame 2014-08-04 12:26:55 -04:00
Nicholas Nethercote
8c60d14a1a Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params

--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Wes Kocher
6aadccefce Backed out changesets 950a3afc2b15 and dfb5303af6f9 (bug 1028288) for being incorrect 2014-08-06 15:43:25 -07:00
Nicolas Silva
d6dd3d64a1 Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow 2014-08-06 14:40:03 +02:00
Ehsan Akhgari
de9c38a70c Bug 1048243 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-08-05 17:58:40 -04:00
Andrew McCreight
edbfabc8f6 Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
Simon Montagu
bb379e11f7 Bug 756022 patch 3: merge tr with x-western, r=jfkthame 2014-08-05 10:49:16 +03:00
Simon Montagu
dc330880c3 Bug 750622 patch 2: merge x-central-euro with x-western, r=jfkthame 2014-08-05 10:49:16 +03:00
Simon Montagu
19df2710fa Bug 750622 patch 1: merge x-baltic with x-western, r=jfkthame 2014-08-05 10:49:16 +03:00
Milan Sreckovic
5590faba5b Bug 1045680 - Instead of checking <= 256mb, check < 512mb. r=jwillcox 2014-07-29 11:58:40 -04:00
Kyle Huey
aaaaef9fac Bug 1046416: Shut down gfxPlatformFontList on all platforms. r=jfkthame 2014-08-01 12:37:53 -07:00
James Kolb
4cce70609b Bug 1028288 Add canvas global transparency support to svgs. r=roc 2014-08-02 16:14:53 +09:00
Benoit Girard
e05cd07d29 No bug - Change layers.dump to a live prefrence. r=milan 2014-08-01 14:56:52 -04:00
"Jan Alexander Steffens (heftig)"
32a91eb036 Bug 1042295 - Change in Linux OMTC activation. r=nical 2014-07-22 22:46:02 +02:00
Jeff Muizelaar
8a4d19da92 Bug 1046929. Remove ACDEFINES += -UWIN32_LEAN_AND_MEAN from gfx/thebes/Makefile.in
This is very old and doesn't seem to be needed anymore.

--HG--
extra : rebase_source : 557fe01c658f7644fe8ecd35e96a5e8e285be718
2014-07-31 14:19:32 -04:00
Nathan Froyd
9ea6c585f8 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Bas Schouten
2b9855ad33 Bug 947781 - Part 2: Add the ability to readback texture data to TextureClient. r=nical 2014-07-30 15:38:46 +02:00
Ed Morley
fbefd28529 Backed out changeset c4ecea1452e9 (bug 947781) 2014-07-30 14:54:08 +01:00
Bas Schouten
9a0677f6e4 Bug 947781 - Part 2: Add the ability to readback texture data to TextureClient. r=nical 2014-07-30 15:38:46 +02:00
Jonathan Kew
f0069520d0 bug 1028136 - Remove dangerous public destructor of FontFamilyList. r=jdaggett 2014-07-30 09:15:00 +01:00
Kearwood (Kip) Gilbert
b6271ffc9c Bug 1026023 - Part 1: Create Preferences. r=mwoodrow
- Added layout.css.scroll-behavior.enabled preference to enable and disable
  scroll behavior and related smooth scrolling.
- Added layout.css.scroll-behavior.spring-constant preference to enable tuning
  of the smooth scroll motion.  spring-constant controls the strength of the
  simulated MSD (Mass-Spring-Damper).
- Added layout.css.scroll-behavior.damping-ratio preference to enable tuning
  of the smooth scroll motion.  damping-ratio controls the under, over, or
  critically damped behavior of the simulated MSD.
2014-06-12 10:50:54 -07:00
Jonathan Kew
a11954ec76 bug 1044706 - handle temporary contextPaint as part of fontParams. r=smontagu 2014-07-29 11:58:15 +01:00