Граф коммитов

18445 Коммитов

Автор SHA1 Сообщение Дата
Benoit Girard 43073dd455 Bug 1131462 - Remove buggy GetAsSurface override. r=jrmuizel 2015-02-10 23:03:15 +08:00
Kartikaya Gupta 224d1319e8 Bug 930939 - Add a function to encapsulate running things on the APZ controller thread. r=botond 2015-02-10 08:24:23 -05:00
Kartikaya Gupta b3954b6850 Bug 930939 - Move thread assertion code into APZThreadUtils and add more assertions. r=botond 2015-02-10 08:24:23 -05:00
Milan Sreckovic 110886d205 Bug 1130971 - Null pointer checks before dispatching. r=mattwoodrow
--HG--
extra : rebase_source : f38f8831801730d4e9faf5701ad6210717a2fbc4
2015-02-09 17:23:09 +08:00
JerryShih 70408d1c91 Bug 1129686 - Update cms profile in SRGBOverrideObserver callback. r=jmuizelaar
--HG--
extra : rebase_source : 9fc25be48d86379004ed4fda37c8a9eaf81409ed
2015-02-06 00:18:00 +01:00
Jonathan Kew 5840767b60 Bug 1127935 - Check for null when trying to load 'head' table, to avoid crashing on non-sfnt fonts. r=jdaggett 2015-02-10 09:18:23 +00:00
Benoit Girard d8febb45e7 Bug 1085223 - Comment out occlusion culling for now. r=mattwoodrow 2015-02-10 11:20:36 +08:00
Nicholas Nethercote 242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Markus Stange 6e4e723923 Bug 1092634 - Let feColorMatrix and feComponentTransfer generate output outside their input's bounds. r=Bas
This makes the color matrix and component transfer Moz2D filters generate
an infinite output, which is then cropped to the primitive's filter
primitive subregion by a subsequent crop filter node. This still gives us
different behavior than other browser when the primitive subregion is
overridden using the x/y/width/height attributes - other browsers either
ignore those completely (IE) or only let them crop the default subregion
(which is defined to be the same as the input subregion) and not enlargen
it - but I'll fix that in a separate bug.
2015-02-09 14:04:11 -05:00
Bas Schouten bb55e4e8ab Bug 1118322: Block explicitly for vblank when presenting when using WARP. r=jrmuizel 2015-02-09 16:35:48 +01:00
Nicolas Silva a641936067 Bug 1131038 - Use a READ_WRITE lock instead of WRITE on tile back buffers. r=sotaro 2015-02-09 15:01:11 +01:00
Milan Sreckovic 0cf06341a4 Bug 1120611 - Avoid a data race for the rendering intent. r=jrmuizelaar
--HG--
extra : rebase_source : 54549a96e59772af1223d69e854d34d28e6d369c
2015-01-13 17:02:34 -05:00
Phil Ringnalda 8c502ede3b Merge b-i to m-c, a=merge 2015-02-07 18:02:06 -08:00
Jonathan Kew 34d9d8895f Bug 1130429 - Try to avoid font changes within a cluster. r=roc 2015-02-07 20:45:06 +00:00
Phil Ringnalda 1f4eb9ac6c Merge m-c to b-i 2015-02-07 09:01:30 -08:00
Wes Kocher 1b2b74bdb6 Merge m-c to b2g-inbound a=merge CLOSED TREE 2015-02-06 14:56:32 -08:00
Kartikaya Gupta d63f26895e Bug 1078275 - Ensure the first transaction received in the compositor is treated as a first-paint. r=mstange 2015-02-06 15:16:53 -05:00
Jeff Gilbert 56b00391c3 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Ethan Lin 83c3bcea0a Bug 1127405 - Remove the ForceRemove in CanvasClientSharedSurface to prevent crash. r=nical 2015-02-03 18:15:00 +01:00
Peter Chang 8c9ff9b5dc Bug 1129763 - Add pref for the threshold of frame visual warning, r=benwa 2015-02-06 14:38:16 +08:00
Robert O'Callahan 7a165b59ca Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Jeff Muizelaar 86feeec278 Bug 1128264 - Update ANGLE to chromium/2214. r=jgilbert
--HG--
extra : rebase_source : 2a8e6bdd19f95ada11aa6b3c58165b91d1f5eea2
2015-02-05 14:39:18 -05:00
Jeff Muizelaar bf6b3c59f1 Bug 1129064. Remove duplicate IsPlaceholderTile function. r=BenWa
The method version is cheaper because it doesn't need to make a copy of the
Tile.
2015-02-03 14:07:45 -05:00
Nicholas Nethercote d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen 79bed2d741 Backed out changesets b57d930e0ba6 and 6c8a74ba8122 (bug 1129871) for gtest failures.
CLOSED TREE
2015-02-05 13:12:18 -05:00
Nicolas Silva 16f21beb1f Bug 1129871 - Pass tiles by ref rather than copy part 2. r=BenWa 2015-02-05 18:16:10 +01:00
Nicolas Silva 6f4d3546bc Bug 1129871 - Pass tiles by ref rather than copy part 1. r=BenWa 2015-02-05 18:16:05 +01:00
Nicolas Silva ba6a5f75e6 Bug 1129467 - Apply the tile offset to tiles when initializing DrawTargetTiled. r=Bas 2015-02-05 11:09:57 +01:00
Chris Double f675786729 Bug 1129718 - Fix build error when using enable-debug and disable-logging - r=Bas 2015-02-05 16:25:38 +13:00
Matt Woodrow 523dd220d2 Bug 1128765 - Add more more reporters to break down D3D9 texture usage. r=jrmuizel 2015-02-05 16:20:14 +13:00
Matt Woodrow 36dcff0baf Bug 1114976 - Don't try to free TextureClients if allocation failed. r=nical 2015-02-05 14:11:46 +13:00
Jeff Gilbert 680ae080b6 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
Nicholas Nethercote b5913e0b3d Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : eeba14d732077ef2e412f4caca852de6b6b85f55
2015-02-02 14:48:58 -08:00
Markus Stange 2f12e52126 Bug 1045213 - Add nsITheme::ThemeGeometryTypeForWidget. r=roc 2015-02-04 17:25:18 -05:00
Markus Stange a45c78dc89 Bug 1045213 - Make ns(Int)Region methods chainable. r=jrmuizel 2015-02-04 17:25:18 -05:00
Mason Chang 6225c3b5b8 Bug 1128691. Part 1: Consolidate vsync compositor pref checks. r=benwa 2015-02-04 13:08:31 -08:00
Bas Schouten fdee1bb880 Bug 1083245: Pop all clips before copying to the destination blending surface. r=jrmuizel
We need to pop the clips from the decide context before flushing and copying to the destination blending surface, otherwise drawing commands executed on a pushed layer for clipping will not be realized on the destination surface for blending.

Note that this fixes most situation, but in the case of doing custom blending to an area of a surface which is not opaque while having a complex clip pushed this will still lead to some artifacts. I haven't seen this be a problem in practice though.
2015-02-04 22:03:21 +01:00
David Zbarsky c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Nicolas Silva b6a335b1ee Bug 1118876 - Make tile edge padding work work with DrawTargetTiled. r=jrmuizel 2015-02-04 14:33:16 +01:00
Milan Sreckovic fae33ae252 Bug 1126918 - NewShSurfaceHandle can return null. Guard against it. r=jgilbert 2015-02-02 17:18:29 -05:00
Boris Chiou 71a5472876 Bug 1121804 - Add websocket message listener. r=dglastonbury
1. Fix websocket listener, and implement a light-wight parser.
2. Handle the messages from clients by protobuf
3. Handle disconnection while receiving the close message.
2015-01-29 20:02:00 +01:00
David Anderson fe18c25a8f Remove apz.subframe.enabled and assume it is always true. (bug 1128761, r=kats) 2015-02-03 15:02:04 -08:00
David Anderson 495039e5d4 Make debugging whole-layer invalidation slightly easier. (bug 1128752, r=mattwoodrow) 2015-02-03 14:18:44 -08:00
Matt Woodrow 44031ffb78 Bug 1124543 - Handle invalidating mask changes correctly. r=roc 2015-02-04 10:39:59 +13:00
Nicolas Silva e5a9f82bde Bug 1127289 - Add missing synchronization in TiledContentClient with DrawTargetTiled. r=sotaro 2015-02-03 18:16:20 +01:00
Nicolas Silva 6f049c53ff Bug 1126903 - More efficiently track invalid regions in tiling code. r=Bas 2015-02-03 18:14:33 +01:00
Birunthan Mohanathas 847dbb9825 Bug 1120796 - Part 1: Prepare code for explicit bool operators. r=Waldo 2015-02-03 18:52:28 +02:00
Milan Sreckovic 9ebbadf44d Bug 1081911 - Null pointer check (wallpaper) for destDTBufferOnWhite. r=mattwoodrow 2015-02-02 17:46:22 -05:00
Jacek Caban f8b3431622 Bug 1127772 - Add private destructor to D3D11TextureReporter. r=benwa 2015-01-30 02:55:00 +01:00
Jeff Muizelaar c05b6e84f8 Bug 1128765 - Add memory reporter for D3D9 shared texture usage. r=mattwoodrow
--HG--
extra : rebase_source : 41a1bf52382ea1a8aff3360b35158c6836f2d129
2015-02-03 21:34:33 +13:00
George Wright 2f3c21318a Bug 1036682 - Bump RLIMIT_NOFILE to the hard ceiling on OS X, up to a new cap of 16384 r=jrmuizel 2015-02-02 18:40:04 -05:00
James Willcox 2569544820 Bug 1123084 - Always deallocate SharedSurface on the client r=jgilbert 2015-02-02 15:25:22 -06:00
James Willcox 2a95e546b1 Bug 1100126 - Don't return garbage image data if we fail to blit the texture r=jgilbert 2015-02-02 15:25:22 -06:00
James Willcox 93c7379e82 Bug 1100126 - Don't allow detaching a SurfaceTexture on PowerVR devices due to fencing issues r=jgilbert 2015-02-02 15:25:22 -06:00
David Anderson f3d97dc62d Detect wheel zoom via WheelPrefs instead of the Ctrl modifier. (bug 1127700, r=smaug) 2015-02-02 11:28:19 -08:00
Nicolas Silva a33752f21d Backed out changeset 647991418598 because it landed before review. r=me 2015-02-02 18:39:58 +01:00
Nicolas Silva 7351af6ecb Bug 1126903 - More efficiently track invalid regions in tiling code. r=Bas 2015-02-02 18:18:56 +01:00
Carsten "Tomcat" Book c19dbf4984 Backed out changeset 31c0fd2b6e8d (bug 1127321) for crashes on a CLOSED TREE 2015-02-02 16:13:51 +01:00
Carsten "Tomcat" Book 6d3a79d313 Backed out changeset a1d913968a8a (bug 1127289) 2015-02-02 16:13:25 +01:00
Nicolas Silva 48a5570e3c Bug 1127289 - Add missing synchronization in TiledContentClient with DrawTargetTiled. r=sotaro 2015-02-02 15:30:55 +01:00
Nicolas Silva e5867e9600 Bug 1127321 - Add missing member in TileClient copy constructor and assignment operator. r=jrmuizel 2015-02-02 15:30:32 +01:00
Jonathan Kew 323af42ff6 Bug 1128190 - Always use a mask to render shadows for color glyphs, regardless of blur radius. r=roc 2015-02-02 09:19:28 +00:00
Mike Hommey a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Phil Ringnalda 7b3840d642 Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky 7d34edce07 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
David Zbarsky 58a982f86b Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Nicholas Nethercote 63e3218e4c Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
--HG--
extra : rebase_source : eb30be83c3143c6c203585a80a18f180025efaba
2015-02-10 14:39:49 -08:00
Milan Sreckovic bad3f736a3 Bug 1090910: Use gfxCriticalError to show painted regions if they end up in a bad state. Debug only crash, but will show up in about:support. r=benwa 2015-02-11 11:45:38 +08:00
Andrew McCreight d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
George Wright 504d1e8944 Bug 1036682 - Account for OPEN_MAX when calling setrlimit on OS X r=snorp 2015-02-06 18:00:57 -05:00
Botond Ballo 5560fcf705 Bug 1005815 - Basic implementation of ChromeProcessController::HandleSingleTap. r=kats 2015-01-21 19:47:05 -05:00
Botond Ballo fe4c9e99d2 Bug 1005815 - Extract TabChild::FireSingleTapEvent and its helpers into APZCCallbackHelper. r=kats,smaug 2015-01-21 19:46:27 -05:00
Phil Ringnalda 51c957be64 Merge b-i to m-c, a=merge 2015-01-31 09:09:40 -08:00
Ryan VanderMeulen 184e6b5985 Merge m-c to b2g-inbound. a=merge 2015-01-30 12:33:25 -05:00
Kartikaya Gupta 97bda2e81f Bug 1123598 - Ensure we recompute margins after the scroll offset is forcibly changed by layout. r=botond 2015-01-30 11:41:27 -05:00
Wes Kocher d7313c3320 Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
David Anderson 3237410cc8 Don't clear the rotated buffer if we incorrectly assume content will be COLOR_ALPHA. (bug 1126045 part 3, r=mattwoodrow) 2015-01-28 15:34:45 -08:00
Jim Mathies f93fc49262 Bug 1095754 - Add platform widget support for providing widget identifiers used in remote widget tracking and hookl this up on gtk and Windows. r=roc 2015-01-29 13:41:57 -06:00
Jim Mathies d5d37f938c Bug 1095754 - Miscellaneous code cleanup nits found along the way. r=me 2015-01-29 13:41:57 -06:00
Jim Mathies 2db2a2e5ca Bug 1095754 - In the chrome process, combine content side plugin widget geometry with chrome layer clipping and transform data, and apply this to native plugin widgets when we compose. r=roc 2015-01-29 13:41:55 -06:00
Jim Mathies fe94f6a867 Bug 1095754 - Add a new Layer helper method for retrieving the root clip on a particular layer. r=roc 2015-01-29 13:41:55 -06:00
Jim Mathies f53c479605 Bug 1095754 - Compositor plumbing for plugin configuration. r=roc 2015-01-29 13:41:55 -06:00
Milan Sreckovic bad8bf235d Bug 1122722 - Clean up asserts for compositor threads. r=nical 2015-01-27 15:52:44 -05:00
Jonathan Watt 8977be59fb Bug 1085312 - Document why ColorPattern ctor is marked explicit. r=Bas 2015-01-23 09:45:32 +00:00
Jeff Gilbert 95f269cb3f Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
John Daggett 97f2b28880 Bug 1127209 - cleanup downloadable font logging. r=m_kato 2015-01-29 16:44:59 +09:00
Kartikaya Gupta 842ba52546 Bug 1124452 - Ensure the widget continues to be destroyed on the main thread. r=BenWa
--HG--
extra : rebase_source : 012cfddceefea66299e3476d2a4ae831a586ad1c
2015-01-29 12:57:55 -05:00
Botond Ballo 88c75539b0 Bug 1124452 - Set a displayport for the root scroll frame of the root document in the chrome process. r=kats,tn
--HG--
extra : rebase_source : 08f10c1c81888d1ce4164f8609aa86fd3c93a4f8
2015-01-28 13:25:53 -05:00
Matt Woodrow 0003596eec Bug 1120128 - Implement blacklist for DXVA and blacklist AMD Radeon HD 5800. r=Bas 2015-01-26 13:34:28 +13:00
Jeff Muizelaar f637b9c41a Bug 1124847. Track D3D11 shared texture usage in about:memory. r=bas
This will hopefully help us track down large amounts of write-combined
mappings that we see.

try: -b do -p win32,win64 -u all -t none

--HG--
extra : rebase_source : 612223046a34a0e7ba179fca4fef1d4c79e18ee8
2015-01-27 20:09:34 -05:00
Milan Sreckovic b50b15e9f3 Bug 1124858 - Show WARP status in about support. r=bschouten 2015-01-27 16:16:55 -05:00
Botond Ballo 0bbcf4d17c Bug 1124452 - Store the main thread's MessageLoop in ChromeProcessController. r=kats
--HG--
extra : rebase_source : 9c163795564dbe2fae1fd3a6e371b6455277d811
2015-01-14 18:03:43 -05:00
Botond Ballo 2c43a0247a Bug 1124452 - Store the widget in ChromeProcessController. r=kats
--HG--
extra : rebase_source : 007affed79a563eee52b25c21f8c1f8eda980542
2015-01-14 18:46:37 -05:00
Jeff Muizelaar cba312728d Bug 1124847. Fix apostrophe typos. 2015-01-30 00:12:01 -05:00
Mason Chang 771120a4e1 Bug 1125273 - Disable CompositorVsyncObserver destructor assertion. r=benwa 2015-01-28 10:36:04 -08:00
Ryan VanderMeulen 5159c47849 Backed out changeset a501183528f3 (bug 1124847) for Win7 crashes (again). r=tryserverkthxbye
CLOSED TREE
2015-01-28 10:58:55 -05:00
Jeff Muizelaar f3b0ee2f61 Bug 1124847. Track D3D11 shared texture usage in about:memory. r=bas
This will hopefully help us track down large amounts of write-combined
mappings that we see.
2015-01-27 20:09:34 -05:00
Jonathan Kew e34e642e4d Bug 1108177 - Implement harfbuzz glyph-extents callback, so that fallback mark positioning works in legacy truetype fonts. r=jdaggett 2015-01-28 09:03:28 +00:00
Benoit Girard 6adaf4dfcb Bug 1121871 - Properly compute the invalid region when painting using the tiling fast path. r=nical 2015-01-27 16:24:11 -05:00
Nicholas Nethercote 3d93377f12 Bug 1124973 (part 5) - Use PL_DHashTableSearch() in gfxFT2FontList.cpp. r=froydnj,jkew.
Because PL_DHashTableLookup() never returns null, GetInfoForFile() features not
one but *two* can-never-fail null checks on its result.

Having said that, the code as written works, at least for non-zero-sized files,
because |entry->mFileSize| will always be zero if the lookup fails (thanks to
PLDHashTable always being zeroed at construction, and |mMap| using
PL_DHashClearEntryStub which also zeroes).

But for zero-sized files the current code will act like they don't exist. Maybe
this can't happen in practice, but it seems dangerous and so I've changed it so
the new code will treat zero-sized files just like non-zero-sized files.

--HG--
extra : rebase_source : c617862c23babb1726480faff771a8dfe586bfa1
2015-01-26 14:25:13 -08:00
Ryan VanderMeulen 3a4e166d49 Backed out changeset 1c324316ea7a (bug 1124847) for Win7 crashes.
CLOSED TREE
2015-01-27 21:59:52 -05:00
Wes Kocher f37df5625b Backed out changeset 774ff21aecb3 (bug 1120128) for build bustage 2015-01-27 17:48:43 -08:00
Seth Fowler 594a776fc1 Bug 1126146 - Disable the single-color optimization in reftests. r=tn 2015-01-27 17:43:21 -08:00
David Anderson 2dd8251115 Don't require paint resampling for desktop APZ, yet. (bug 1126045 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : c942d32bc9570d1ba9375e9c8289dc7aefceaea3
2015-01-27 16:01:48 -08:00
Matt Woodrow e0f2ca34db Bug 1120128 - Implement blacklist for DXVA and blacklist AMD Radeon HD 5800. r=Bas
--HG--
extra : rebase_source : 782dc73a9f284c7a0d98061f2fe2dfb87e3bb149
2015-01-26 13:34:28 +13:00
Jeff Muizelaar 3d82378a28 Bug 1124847. Track D3D11 shared texture usage in about:memory. r=bas
This will hopefully help us track down large amounts of write-combined
mappings that we see.

--HG--
extra : rebase_source : fbb5356fd81de3fa484639b955c3c4f806ce4f45
2015-01-27 20:09:34 -05:00
Bas Schouten 11de23359f Bug 1089454: Prevent usage of incompatible graphics objects after device reset. r=jrmuizel 2015-01-28 00:54:19 +00:00
Daniel Holbert 9dc413ef38 Bug 1118419 followup: Annotate macro-defined typeName functions as MOZ_OVERRIDE for remaining GLContext subclasses. 2015-01-27 11:45:57 -08:00
Sotaro Ikeda 737d6f9309 Bug 1125913 - Use GraphicBuffer::lockAsync() on gonk LL r=nical 2015-01-27 10:05:35 -08:00
Jeff Muizelaar 3402e21567 Bug 1125709. Avoiding using MacIOSurfaceTextureSourceOGL in MacIOSurfaceTextureHostOGL. r=nical
Using GLTextureSource gives us better performance because we don't need to call
CGLTexImageIOSurface2D everytime we draw.

This will eventually let us drop MacIOSurfaceTextureSourceOGL once WebGL on OS
X is using MacIOSurfaceTextureHostOGL.

--HG--
extra : rebase_source : 95a9b0888d7ddfeae520141e7f932f8555fa58d5
2015-01-19 21:23:42 -05:00
Ehsan Akhgari 9cd10b7b4f Bug 1117034 - Mark some overridden functions in the tree as override
--HG--
extra : rebase_source : a37ba6b69c02db90b8f3c440ac2dbca4d80c8bc5
2015-01-26 21:09:59 -05:00
Wes Kocher dd7ff05753 Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE 2015-01-26 18:57:36 -08:00
Ehsan Akhgari d080be3549 Backed out changeset 45921e3d9773 (bug 1117034) because of build bustage on a CLOSED TREE 2015-01-26 21:52:40 -05:00
Ehsan Akhgari 56e3b70f4e Bug 1117034 - Mark some overridden functions in the tree as override 2015-01-26 21:14:12 -05:00
Jeff Gilbert ebb432b53c Bug 1124394 - Allow Core Profile GL contexts. - r=kamidphish 2015-01-26 17:18:45 -08:00
Ethan Lin 8c1a91fc06 Bug 753010 - Part 2 - Refactor some neon intrinsic functions for blur. r=mstange 2015-01-22 18:57:00 +01:00
Ethan Lin 001ad05489 Bug 753010 - Add a NEON optimized blur method. r=mstange 2015-01-18 22:08:00 +01:00
Masatoshi Kimura 6cc5dabbee Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura 86502e6537 Bug 1111290 - Part 2: Non-mechanical changes. r=waldo 2015-01-26 07:22:08 +09:00
Masatoshi Kimura be535304d8 Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo 2015-01-26 07:22:07 +09:00
Markus Stange 14017f7761 Bug 1117304 - Make sure the tile filter doesn't call CopyRect on surfaces with different formats. r=Bas 2015-01-05 18:40:27 +01:00
Markus Stange 092c4c88cd Bug 1117304 - Also do the checks at the start of CopyRect in release builds. r=Bas 2015-01-06 12:08:39 +01:00
Ryan VanderMeulen 74b34d85f2 Bug 1042103 - Fix non-unified bustage. r=botond 2015-01-23 17:51:34 -05:00
Kartikaya Gupta 7c4e682123 Bug 1124099 - Make sure that we skip over scrollinfo layers properly with event-regions disabled. r=botond 2015-01-23 15:12:10 -05:00
Mason Chang 1eccaeec01 Bug 1098701. Part 1: gtest framework and tests. r=kats 2015-01-23 11:19:54 -08:00
Nicolas Silva 0b465c61eb Bug 1119019 - Avoid destroying a SharedSurface before its TextureClient/Host pair. r=sotaro 2015-01-23 15:35:16 +01:00
Nicholas Nethercote 1b277a4288 Bug 1123527 - Fix syntax error when NS_COORD_IS_FLOAT is defined. r=dholbert.
cppcheck found this.

--HG--
extra : rebase_source : 6a83556a8baaa24546eeb28d35ad63f4ffd275bd
2015-01-21 19:23:28 -08:00
Bas Schouten 593932264d Bug 1097699 - Part 4: Remove LayerManagerD3D10 code. r=jrmuizel 2015-01-23 03:41:21 +00:00
Bas Schouten ac4b5c60cc Bug 1097699 - Part 2: Remove LayerManagerD3D9 code. r=jrmuizel 2015-01-23 03:41:20 +00:00
Ryan VanderMeulen 9e3535f870 Backed out changeset 8b3815de49f8 (bug 1123654) for talos xperf permafail.
CLOSED TREE
2015-01-22 20:00:24 -05:00
Nicholas Nethercote b31f8f25e5 Bug 1124545 - Avoid creating the mergedFeatures hash table when possible. r=jdaggett.
When scrolling all the way through
https://bugzilla.mozilla.org/show_bug.cgi?id=MNG, |mergedFeatures| gets
initialized more than 50,000 times -- each one involving a heap allocation for
the entry storage -- but it never has anything put into it.

This patch refactors MergeFontFeatures to move |mergedFeatures| inside it. It
now doesn't get created in the common case.

--HG--
extra : rebase_source : 5a8d44b30f90169b70e5f50a5e38bbe57f02b12b
2015-01-21 22:41:02 -08:00
Jonathan Kew e3d0ba6183 Bug 1123654 - Replace use of [deprecated] GetStockObject(DEFAULT_GUI_FONT) with newer API; results in use of Tahoma in place of Microsoft Sans Serif in various contexts. r=jimm 2015-01-22 22:52:26 +00:00
Nathan Froyd cd204fb2d9 Bug 1122235 - set HAVE_UINT64_T for cairo compilation to improve codegen; r=mshal 2015-01-15 16:17:55 -05:00
Nathan Froyd edbf8bb57d Bug 967300 - enable cairo's atomic support on gcc-esque compilers; r=mshal
Cairo has a number of nifty features predicated on support for atomic
operations on integer types.  Normally, such support would be determined
by cairo's configure script.  But since we don't run cairo's configure
script, we need to manually define HAVE_INTEL_ATOMIC_PRIMITIVES during
cairo's build.  That macro enables codepaths that depend on certain
SIZEOF_* variables being defined by autoconf, so we also need to add the
necessary code in moz.build to set those.
2015-01-15 15:53:28 -05:00
Milan Sreckovic 5c1754eb7a Bug 1088833 - A bit of a clean up of warnings, and catch bad draw target in the d3d11 canvas case. r=bschouten 2015-01-20 12:47:29 -05:00
Milan Sreckovic bb40ac923a Bug 1121835: Deal with non-finite values in Path calls. r=bschouten 2015-01-19 14:19:25 -05:00
Mason Chang c38b87fe5d Bug 1122943 - Ensure the Compositor Vsync Observer Shutsdown correctly. r=benwa 2015-01-21 16:13:15 -08:00
Botond Ballo 7427a68db9 Bug 1096513 - Follow up to fix an incorrect assertion. r=Cwiiis
--HG--
extra : rebase_source : bab8417ba9133c0f8039251cbc22f3b6d19541fc
2015-01-21 12:35:49 -05:00
Bas Schouten 3b62ac5b76 Bug 1117925: Make sure to invalidate the entire window when the size changes. r=jrmuizel 2015-01-21 18:00:31 +01:00
Seth Fowler 3ed3b0f849 Bug 1124072 - Flip on decode-on-draw on APZ platforms. r=tn 2015-01-21 05:07:46 -08:00
Robert Longson f5d6a607f5 Bug 1122761 - Avoid dividing by zero when calculating turbulence gradients. r=mstange 2015-01-21 13:01:00 +00:00
peter chang 1542486ff2 Bug 1113524 - Fix the crash at nsDeviceContext::FindScreen() because mScreenManager is nullptr. r=tn 2015-01-20 17:52:00 -05:00
Boris Chiou bd33b9af2e Bug 1079755 - Send composer info to Layerscope viewer. r=kamidphish
Add a composition info, composedByHwc, in META packet to
notify users whether this frame is composed by Hardware composer.

--HG--
extra : rebase_source : b3883178f41acb92fa91b0cab5905d22fcf38553
2015-01-16 15:00:25 +08:00
Matt Woodrow 0df1801282 Bug 1112331 - Disable DXVA when using WARP. r=cpearce,Bas 2015-01-21 16:36:01 +13:00
Brian Smith f13c2f6263 Bug 1119072, Part 16: Replace uses of hash_set with unodered_set (gfx), r=bas
--HG--
extra : rebase_source : 6fe532f999372f71b7e544231b4727c86aa34d70
2015-01-08 15:42:38 -08:00
Daniel Holbert 8b7a0da240 Bug 1123893: Add MOZ_OVERRIDE where appropriate, in some gfx/layers/*X11* headers. r=BenWa
DONTBUILD (just backing out & re-landing to fix bug number)
2015-01-20 13:39:45 -08:00
Daniel Holbert 3b7b276023 Backed out changeset e0ada286eea0 for landing with wrong bug number.
DONTBUILD because just backing out & re-landing to fix bug number.
2015-01-20 13:41:59 -08:00
Daniel Holbert 75daa2420a Bug 1117034: Add MOZ_OVERRIDE where appropriate, in some gfx/layers/*X11* headers. r=BenWa 2015-01-20 13:39:45 -08:00
Daniel Holbert 95a73f1e45 Bug 1123844: Add MOZ_OVERRIDE annotations (and a few 'virtual' annotations) where appropriate, for headers used in widget/gtk. r=karlt 2015-01-20 13:39:44 -08:00
Andrew McCreight a4a116c79d back out bug 1065536 part 2 for maybe causing crashes. 2015-01-20 13:20:54 -08:00
Daniel Holbert a5ce8d10a3 Bug 1123878: Add MOZ_OVERRIDE annotations in TestCompositor.cpp. r=BenWa 2015-01-20 13:17:27 -08:00
Mats Palmgren ca098ea1a5 Bug 1091709 - Make Transform() do calculations using gfxFloat (double) to avoid losing precision. r=matt.woodrow 2015-01-20 18:20:04 +00:00
Mason Chang ebe0a9bec5 Bug 1095242. Part 4: Unobserve vsync in CompositorVsyncDispatcher. r=kats 2015-01-20 08:31:24 -08:00
Mason Chang 9093be777c Bug 1095242. Part 3 - Make enable/disable vsync noops if already enabled/disabled. r=kats 2015-01-20 08:31:22 -08:00
Mason Chang 2ddd329607 Bug 1095242. Part 2: Disable vsync on startup. r=kats 2015-01-20 08:31:21 -08:00
Kartikaya Gupta 5b15a36695 Bug 1119942 - Hoist nsDisplayScrollInfoLayer items out of inactive layermanagers into their parent. r=tnikkel,mattwoodrow 2015-01-20 09:49:30 -05:00
Kartikaya Gupta bcfda0904e Bug 1119942 - Stop generating scrollinfo layers if event-regions are enabled. r=tnikkel,botond 2015-01-20 09:49:30 -05:00
Heiher 3566618b84 Bug 1122383 - Optimize Moz2D's ConvertBGRXToBGRA. r=jwatt
From 4c67bb1f0d9378831559983ccf53f63ad104974e Mon Sep 17 00:00:00 2001
---
 gfx/2d/DataSurfaceHelpers.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
2015-01-20 11:16:08 +00:00
Jonathan Watt fc78f23587 Bug 1122578, part 1 - Make DrawTargetCG::StrokeRect stroke from the same corner and in the same direction as older OS X and other Moz2D backends. r=Bas 2015-01-18 11:30:32 +00:00
Jonathan Watt dacfb58c19 Bug 1123486 - Remove gfxContext::ResetClip and gfxContext::UpdateSurfaceClip. r=Bas 2015-01-14 20:30:27 +00:00
Jonathan Watt 481714c6f0 Bug 1123485 - Remove gfxContext::DrawSurface. r=Bas 2015-01-14 19:57:47 +00:00
Seth Fowler 22fb49003c Bug 1120050 - Expose Skia scaler internals for use by downscale-during-decode. r=tn 2015-01-20 03:06:37 -08:00
Nicholas Nethercote 8bd1f6f072 Bug 1123151 (part 2) - Add PLDHashTable::IsInitialized(). r=froydnj.
This encapsulates most of the uses of PLDHashTable::ops.

--HG--
extra : rebase_source : 7760ce8e46a37e87dcfe590e809a21df01fe510f
2015-01-19 16:11:34 -08:00
Chris Lord 38d2c659b6 Bug 1042103 - Allow overscroll to be retained between input blocks. r=botond 2015-01-20 00:04:07 +00:00
Chris Lord 1460000399 Bug 1042103 - Don't ignore events during overscroll. r=botond 2015-01-16 16:42:46 +00:00
Trevor Saunders 85227ffecb bug 1122065 - use MOZ_OVERRIDE more in gfxish things r=jrmuizel 2015-01-19 17:41:12 -05:00
David Major a0e452cc20 Bug 1122367: Null check the result of D2DFactory(). r=Bas 2015-01-20 10:56:59 +13:00
Chris Lord df355fe3bb Bug 1096513 - Fix build error on a CLOSED TREE. r=me 2015-01-19 18:06:43 +00:00
Chris Lord c86dcd22c0 Bug 1096513 - Disallow underscroll in APZC. r=botond 2015-01-19 17:39:20 +00:00
Botond Ballo c3259de44b Bug 1120609 - Printing support for gfx::Matrix. r=Bas
--HG--
extra : rebase_source : 38e46208c14df09dc49c73c7fddfc3b5534efd4c
2015-01-19 11:29:16 -05:00
Nicolas Silva 682d07b50e Bug 1122631 - Fix wrong logic in DrawTargetTiled::CopySurface. r=jrmuizel 2015-01-19 12:36:43 +01:00
Nicolas Silva 8f0bbe8884 Bug 1122621 - Fix incorrect scaling of tile origins with low res paiting. r=BenWa 2015-01-19 12:36:38 +01:00
Jonathan Kew c64244245f Bug 1121448 - Ignore negative values in the OS/2 table sxHeight field. r=jdaggett 2015-01-19 10:03:54 +00:00
Seth Fowler a186ee4906 Bug 1119774 (Part 1) - Add a pref and Image init flag for downscale-during-decode. r=tn 2015-01-18 14:02:13 -08:00
Phil Ringnalda 2cd21e3280 Merge m-c to m-i 2015-01-17 13:11:55 -08:00
Wes Kocher adad8db983 Merge m-c to b2g-inbound a=merge 2015-01-16 18:07:28 -08:00
Kartikaya Gupta cf0a0f7cc0 Bug 1122276 - Inline the BuildOverscrollHandoffChain callsite of GetTargetAPZC to avoid re-entering the tree lock and deadlocking. r=botond 2015-01-16 17:34:47 -05:00
Kartikaya Gupta 6665c5f98f Bug 1122276 - Move lock from GetTargetNode to call sites. r=botond 2015-01-16 17:34:47 -05:00
Nicholas Nethercote 69fe655b04 Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
--HG--
extra : rebase_source : bc119bd0d3b6944e8c5a000950e0c4052cb70aef
2015-01-14 14:35:56 -08:00
Jeff Gilbert 625fccbb86 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-15 15:40:39 -08:00
Seth Fowler 968ba626cc Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn 2015-01-15 15:11:36 -08:00
Surabhi Anand 98a481bdeb Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats 2015-01-16 16:15:52 -05:00
Kyle Huey 7c82e6dd0a Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Bill McCloskey 1ed4ec4492 Bug 1121713 - [e10s] CompositorParent should clear itself out of LayerTreeState when destroyed (r=nical) 2015-01-16 10:06:11 -08:00
Mason Chang 5ee7bd3f46 Bug 1120753 - Fallback to software vsync if hardware vsync fails to initialize on b2g. r=kats,mwu 2015-01-15 07:56:12 -08:00
Kartikaya Gupta 277a11f599 Bug 1119497 - Rename the HitTestResult enum values in light of the new hit-test code. rs=botond 2015-01-15 10:37:54 -05:00
Kartikaya Gupta 2c4a8779e8 Bug 1119497 - Don't continue searching if we hit a layer that has no containing APZC. r=botond 2015-01-15 10:37:54 -05:00
Jonathan Kew e7cc95bb47 Bug 1122020 - Account for position offset when collecting glyph bounding boxes. r=roc 2015-01-16 09:42:42 +00:00
Jonathan Kew e2f83ce0e3 Bug 1120101 - Calculate vertical glyph origin based on 'vmtx' table in TrueType fonts. r=jdaggett 2015-01-15 11:07:26 +00:00
Jonathan Kew 903c69a371 Bug 1119253 - Font-selection code should use gfxFontEntry::HasCharacter in preference to TestCharacterMap. r=jdaggett 2015-01-15 11:07:24 +00:00
JerryShih 5d843b5eb7 Bug 1121331 - Part2: Vsync aligned refresh timer. r=roc r=mchang 2015-01-14 00:38:00 +01:00
Milan Sreckovic 3b87e81b6d Bug 1112828 - Have GfxInfo::LogFailure use gfxCriticalLog and entries from gfxCriticalLog be available in about:support graphics section. r=jmuizelaar 2015-01-13 21:19:25 -05:00
Phil Ringnalda e39f0adeca Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
John Daggett 6eb10cad82 Bug 1121793 - trim out unused FindFontFamily/FindFontEntry functions. r=m_kato 2015-01-15 13:22:32 +09:00
John Daggett 9af789f234 Bug 1118981 - initialize mSkipDrawing correctly for already loading fonts. r=jfkthame 2015-01-15 13:22:32 +09:00
Nicholas Nethercote e9735966fa Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
Nicholas Nethercote 47221bc7f9 Bug 1120476 (part 4) - Remove PLDHashTableOps::finalize. r=froydnj.
--HG--
extra : rebase_source : b14dda8cdd5cd896d1e32950e38b2a9f7da4d99e
2015-01-13 19:02:35 -08:00
Nicholas Nethercote c7538c9776 Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj.
--HG--
extra : rebase_source : 24d10af3dbce3ada5252503bc80bb1a4e31bc1c9
2015-01-13 16:42:13 -08:00
Jeff Gilbert 0c1b1063c8 Bug 1089981 - Reftest both initial and steady-state frame. - r=kamidphish 2015-01-14 18:04:50 -08:00
Benoit Girard 9b8c2dc37d Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange 2015-01-14 17:24:09 -05:00