Commit Graph

20256 Commits

Author SHA1 Message Date
Wes Kocher
d28eb4d8c9 Backed out bug 1083101 for build bustage CLOSED TREE
changesets backed out:
e39dfd9e05cb, cd54e93993b4, 61db1a51a7c4, c20fd7506bb7, b5e97b0facb7, cdf356cb817e, b058a918f443, d421e79326a2, 34a0be9af3f3, bba6f89ab775, 2fd5cfcea4e5

--HG--
extra : amend_source : 9dd084c69c78fd2248dfb1b9ba562b8a396ba205
extra : histedit_source : 7dc833e4d0e1656ed98f560b0bd8fec9e0aee3ef%2C1df84fdd3e0adae06356f9ffbafc49538ffb8729
2015-09-24 11:14:50 -07:00
Nicolas Silva
5c994c47a4 Bug 1083101 - Back 5 patches out due to windows build issues, CLOSED TREE. 2015-09-24 19:47:20 +02:00
Nicolas Silva
b5f0ba8f9a Bug 1083101 - build fix on CLOSED TREE 2015-09-24 19:11:26 +02:00
Nicolas Silva
da625cae5a Bug 1083101 - build fix on CLOSED TREE 2015-09-24 18:08:10 +02:00
Nicolas Silva
b7926684ad Bug 1083101 - Make SyncObject's list of waiting jobs lock-free. r=jrmuizel 2015-09-24 17:35:47 +02:00
Nicolas Silva
38f6ea4b47 Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel 2015-09-24 17:35:37 +02:00
Nicolas Silva
0819b3e7d5 Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel 2015-09-24 17:35:30 +02:00
Nicolas Silva
1ccd18a5b5 Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel 2015-09-24 17:35:27 +02:00
Matt Woodrow
c6cace0590 Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel 2015-09-24 18:33:59 -04:00
Kartikaya Gupta
a3d47ba1cd Bug 1207270 - Update tests to ensure that TaskThrottlers are created as appropriate. r=botond
--HG--
extra : commitid : LcF5dobJwsF
2015-09-25 13:54:11 -04:00
Kartikaya Gupta
1a46906324 Bug 1207270 - Ensure that the TaskThrottler objects are created on the main thread. r=botond
--HG--
extra : commitid : C7pynADlf3C
2015-09-25 13:54:11 -04:00
Nicholas Nethercote
6e2ecba32f Bug 1207944 (part 9) - Remove SetColor(const gfxRGBA&). r=jwatt.
--HG--
extra : rebase_source : 37ad81dc8634abebe42962d38749e39f5a0ce1df
2015-09-24 00:48:15 -07:00
Nicholas Nethercote
b33cbd6c59 Bug 1207944 (part 7) - Use gfx::Color instead of gfxRGBA in BlurCache. r=jwatt.
This avoids several gfxRBGA-to-Color conversions.

--HG--
extra : rebase_source : 9b60c0dd0169bd8b208639dd3a28cad4591179dd
2015-09-24 00:43:32 -07:00
Lee Salzman
a452602084 Bug 1202696 - check surface status in _cairo_surface_get_extents. r=jmuizelaar
--HG--
extra : rebase_source : bf9bf49cf9829370ab20567f10ce4c20fa5c9fca
2015-09-23 14:40:18 -04:00
Nicolas Silva
c41df579c1 Bug 1083101 - Extend DrawCommand storage functionality and fix a bug with dashed stroke patterns. r=jrmuizel 2015-06-10 19:57:08 +02:00
Nicolas Silva
9a89fcdfb3 Bug 1083101 - Implement gfx::DrawingJob. r=jrmuizel 2015-09-24 17:35:15 +02:00
Nicolas Silva
dbac937791 Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-09-24 17:35:10 +02:00
Nicolas Silva
d730a8ec5f Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-24 17:34:43 +02:00
Sotaro Ikeda
ba3b3090fd Bug 1187145 - Replace nsBaseHashtable::Enumerate() calls in gfx/ with iterators r=njn 2015-09-24 08:31:30 -07:00
Morris Tseng
2275dcb794 Bug 1207887 - Fix AsyncPanZoomAnimation, WheelScrollAnimation and TextureHost doesn't compile in non-unified build. r=nical 2015-09-23 18:53:00 +02:00
Nathan Froyd
5761751aa3 Bug 1207245 - part 1 - move RefCounted<T> to its own file
Various bits depend on RefPtr.h to provide RefCounted<T> and RefPtr<T>.
It will be easier to manage an automatic conversion from RefPtr<T> to
nsRefPtr<T> if we split out the dependency on RefCounted<T> first.
2015-09-22 21:27:34 -04:00
Markus Stange
6e7d153296 Bug 1021845 - Before compositing, clip the visible region of a layer to the layer's clip rect. r=mattwoodrow
--HG--
extra : commitid : 9ApIorZ6nmP
extra : histedit_source : 0313083254f244855be9663ac6878f8e353086d8
2015-09-23 16:18:29 +02:00
Jonathan Kew
a83eed3993 Bug 1193519 pt 2 - Handle sideways-left orientation in gfx text-drawing code. r=dholbert 2015-09-24 10:23:34 +01:00
Ted Mielczarek
76da157ae2 bug 1178956 - Specify precision in OGLShaderProgram.cpp to fix compositor on iOS. r=kip
--HG--
extra : commitid : JADdinHiHj
extra : rebase_source : f83c3a6d1d6f02f7744e0751eebd4c80c24028d0
2015-09-22 15:41:46 -04:00
Matt Woodrow
a9aab0bbb3 Bug 1150944 - Use correct origin for SkiaGL texture backed SourceSurfaces. r=gw280
--HG--
extra : rebase_source : 9c074672112c461c24552d9df770cad592c30d88
2015-09-23 20:27:58 -04:00
Jonathan Kew
a091884801 Bug 1193488 - Update values of writing-mode and text-orientation to reflect the CSS WG decision to revise them in the Writing Modes spec. r=dholbert 2015-09-23 22:16:01 +01:00
Avi Halachmi
648f55e7e6 Bug 1207656: APZ mouse wheel scroll: don't ignore minimum duration. r=dvander 2015-09-23 19:35:44 +03:00
Kartikaya Gupta
2379bce8fa Bug 1204076 - Remove workaround for making a test pass now that the underlying issue is fixed. r=botond
--HG--
extra : commitid : DrEEMPLFv95
2015-09-23 16:25:51 -04:00
Markus Stange
a1f6ba9da5 Bug 1207590 - Don't use SingleTiledContentClient for layers that are larger than the maximum texture size. r=mattwoodrow
--HG--
extra : commitid : AqImLRfZYFc
2015-09-23 12:26:56 +02:00
Jeff Muizelaar
37ae0e16b5 Bug 1194335. Disable partial present on Nvidia hardware. r=bas
I have a theory that bug 1189940 is caused by partial present. This
is an attempt to see if that's true.

--HG--
extra : rebase_source : 663613989e5a1b012909e1335595fac495c81478
2015-09-21 11:52:01 -04:00
Nicolas Silva
953150ec3d Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow 2015-09-21 16:54:40 +02:00
Jean-Yves Avenard
6162494721 Bug 1072313: P2 Prevent instanciating MacIOSurfaceLib directly. r=mattwoodrow
This class only contains static members.
2015-09-23 13:34:40 +02:00
Jean-Yves Avenard
2720809fc5 Bug 1072313: P1. Make MacIOSurface refcount thread-safe. r=mattwoodrow 2015-09-23 13:34:36 +02:00
Jamie Nicol
dddf06fe27 Bug 1207153 - Restore texture binding to correct target in GLBlitHelper. r=snorp 2015-09-22 06:49:00 +02:00
Chris Peterson
71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Lee Salzman
36f6069f0c Bug 1201937 - push transform onto cairo context when evaluating path bounds. r=eihrul 2015-09-21 13:33:06 -04:00
Phil Ringnalda
449e9119b4 Back out f84aedf7a62d (bug 1191042) for b2g emulator test failures
CLOSED TREE
2015-09-22 19:26:13 -07:00
Jeff Gilbert
8d443901df Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel 2015-09-22 16:49:25 -07:00
Wes Kocher
08ffd204f8 Merge inbound to central, a=merge CLOSED TREE 2015-09-22 16:42:03 -07:00
Sebastian Kaspari
2e0c208b14 Bug 1197717 - Load fonts from profile-agnostic writable location. r=jfkthame
In addition to the system's font folder and the profile folder we will try to load
fonts from NS_XPCOM_CURRENT_PROCESS_DIR/fonts. This will allow us to later
download fonts at runtime and use them independently from the current profile.

--HG--
extra : commitid : XencMwkyLl
extra : rebase_source : b0e0eca9dc745ce0bae167ce329a148b03416829
2015-09-22 15:55:56 +02:00
Olivier Brunel
11e774d18d Bug 1194631 - Make firefox build with --disable-logging. r=jrmuizel 2015-09-22 17:39:12 +02:00
Markus Stange
db5e3a34d4 Back out changeset 17a4283a8b6f (bug 1195400) because of build bustage.
--HG--
extra : commitid : BhzRGfWfYrb
extra : rebase_source : 97c401dd963301cdcdf9551c7c96fcd7b56636c8
2015-09-22 12:51:48 +02:00
Markus Stange
57ca0b8c39 Bug 1195400 - Don't use SingleTiledContentClient for layers that are larger than the maximum texture size. r=mattwoodrow
--HG--
extra : commitid : 3YaqNF6sPAT
extra : rebase_source : af64e3bd795a34d63dea4a5c89014156c8838d13
extra : histedit_source : c0ee79ad404abf3c0270c40ae63f178e04e7a8ab
2015-09-20 18:34:04 +02:00
Andrew Comminos
2d7d40687b Bug 1202175 - Guard GLX-specific call in SurfaceDescriptorX11. r=jgilbert 2015-09-11 16:53:00 +02:00
Botond Ballo
27eb9671a7 Bug 1014691 - Move APZ reftests to apz/test/reftest. r=kats
--HG--
rename : gfx/layers/apz/reftests/async-scrollbar-1-h-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-1-h-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-h-rtl-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-1-h-rtl-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-h-rtl.html => gfx/layers/apz/test/reftest/async-scrollbar-1-h-rtl.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-h.html => gfx/layers/apz/test/reftest/async-scrollbar-1-h.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-v-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-1-v-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-v-rtl-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-1-v-rtl-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-v-rtl.html => gfx/layers/apz/test/reftest/async-scrollbar-1-v-rtl.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-v.html => gfx/layers/apz/test/reftest/async-scrollbar-1-v.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-vh-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-1-vh-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-vh-rtl-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-1-vh-rtl-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-vh-rtl.html => gfx/layers/apz/test/reftest/async-scrollbar-1-vh-rtl.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-vh.html => gfx/layers/apz/test/reftest/async-scrollbar-1-vh.html
rename : gfx/layers/apz/reftests/async-scrollbar-zoom-1-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-zoom-1-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-zoom-1.html => gfx/layers/apz/test/reftest/async-scrollbar-zoom-1.html
rename : gfx/layers/apz/reftests/async-scrollbar-zoom-2-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-zoom-2-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-zoom-2.html => gfx/layers/apz/test/reftest/async-scrollbar-zoom-2.html
rename : gfx/layers/apz/reftests/reftest.list => gfx/layers/apz/test/reftest/reftest.list
extra : source : f811b4e8a7c7b1f4cdcc79b76ee1c32116e4925d
2015-09-18 13:19:55 -04:00
Botond Ballo
ce4f8b079b Bug 1014691 - Get TestAsyncPanZoomController to compile in its new location. r=kats
--HG--
extra : source : aa30dbad3f9ff5a2cf7f847ec2ea381d4c9ea5d9
2015-09-16 19:49:59 -04:00
Botond Ballo
0f6812acd5 Bug 1014691 - Move TestAsyncPanZoomController.cpp to gfx/layers/apz/test/gtest. r=kats,glandium
--HG--
rename : gfx/tests/gtest/TestAsyncPanZoomController.cpp => gfx/layers/apz/test/gtest/TestAsyncPanZoomController.cpp
extra : source : 18f51acd98206483573be0fcf636e6fcc76e89b0
2015-09-18 13:19:05 -04:00
Botond Ballo
7918cf6631 Bug 1014691 - Fix an include-what-you-use error in TestCompositor.cpp. r=kats
--HG--
extra : source : 561ac57efc474b5e7c4cad3c55ef24edb7c955b6
2015-09-16 19:45:14 -04:00
Botond Ballo
49e6226acc Bug 1014691 - Move APZ mochitests to gfx/layers/apz/test/mochitest. r=kats
--HG--
rename : gfx/layers/apz/test/apz_test_native_event_utils.js => gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js
rename : gfx/layers/apz/test/apz_test_utils.js => gfx/layers/apz/test/mochitest/apz_test_utils.js
rename : gfx/layers/apz/test/chrome.ini => gfx/layers/apz/test/mochitest/chrome.ini
rename : gfx/layers/apz/test/helper_basic_pan.html => gfx/layers/apz/test/mochitest/helper_basic_pan.html
rename : gfx/layers/apz/test/helper_bug1151663.html => gfx/layers/apz/test/mochitest/helper_bug1151663.html
rename : gfx/layers/apz/test/helper_bug982141.html => gfx/layers/apz/test/mochitest/helper_bug982141.html
rename : gfx/layers/apz/test/helper_div_pan.html => gfx/layers/apz/test/mochitest/helper_div_pan.html
rename : gfx/layers/apz/test/helper_iframe1.html => gfx/layers/apz/test/mochitest/helper_iframe1.html
rename : gfx/layers/apz/test/helper_iframe2.html => gfx/layers/apz/test/mochitest/helper_iframe2.html
rename : gfx/layers/apz/test/helper_iframe_pan.html => gfx/layers/apz/test/mochitest/helper_iframe_pan.html
rename : gfx/layers/apz/test/helper_subframe_style.css => gfx/layers/apz/test/mochitest/helper_subframe_style.css
rename : gfx/layers/apz/test/mochitest.ini => gfx/layers/apz/test/mochitest/mochitest.ini
rename : gfx/layers/apz/test/test_basic_pan.html => gfx/layers/apz/test/mochitest/test_basic_pan.html
rename : gfx/layers/apz/test/test_bug1151663.html => gfx/layers/apz/test/mochitest/test_bug1151663.html
rename : gfx/layers/apz/test/test_bug1151667.html => gfx/layers/apz/test/mochitest/test_bug1151667.html
rename : gfx/layers/apz/test/test_bug982141.html => gfx/layers/apz/test/mochitest/test_bug982141.html
rename : gfx/layers/apz/test/test_layerization.html => gfx/layers/apz/test/mochitest/test_layerization.html
rename : gfx/layers/apz/test/test_scroll_inactive_flattened_frame.html => gfx/layers/apz/test/mochitest/test_scroll_inactive_flattened_frame.html
rename : gfx/layers/apz/test/test_smoothness.html => gfx/layers/apz/test/mochitest/test_smoothness.html
rename : gfx/layers/apz/test/test_wheel_scroll.html => gfx/layers/apz/test/mochitest/test_wheel_scroll.html
rename : gfx/layers/apz/test/test_wheel_transactions.html => gfx/layers/apz/test/mochitest/test_wheel_transactions.html
extra : source : da98c4962d299e488ff456a35ec642708f6c8c49
2015-09-16 19:26:04 -04:00
Wes Kocher
c6aa53d157 Backed out changeset 09c2a214244b (bug 1072313) for Windows textureclient crashes CLOSED TREE 2015-09-21 10:37:07 -07:00
Mason Chang
fd3141b39a Backout bug 1188075 for graphical artifacts. r=me 2015-09-21 08:14:05 -07:00
Nicolas Silva
554272fa7f Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow 2015-09-21 16:54:40 +02:00
Sotaro Ikeda
c58047810f Bug 1172719 - Fix SharedSurface fence handling on gonk r=jgilbert,nical 2015-09-21 07:21:52 -07:00
Seth Fowler
3e6e1a075a Bug 1146663 (Part 1) - Remove HQ scaling, which is now dead code. r=tn 2015-09-19 16:20:56 -07:00
Milan Sreckovic
d7bc700e96 Bug 1200021 - crash in mozilla::layers::ContentClientDoubleBuffered::FinalizeFrame(nsIntRegion const&): Diagnostics to get more data. r=bas 2015-09-19 11:19:07 +02:00
Phil Ringnalda
30a26f5ef5 Back out 2 changesets (bug 1111689) for ASan mochitest-gl leaks
Backed out changeset 909b9b147e71 (bug 1111689)
Backed out changeset bd0a637e8000 (bug 1111689)
2015-09-18 19:04:54 -07:00
Milan Sreckovic
8137015cdc Bug 1111689 - Part 1: Let EXT_shader_texture_lod play when ARB_shader_texture_lod can play. r=jgilbert 2015-02-09 17:53:38 +08:00
Mason Chang
876417d4b1 Bug 1188075 - Speed up inner box-shadow drawing by using a border-image style approach. r=mstange 2015-09-18 11:23:55 -07:00
Lee Salzman
4fbc44de5a Bug 1205045 - remove GTK calls from compositor thread. r=jmuizelaar 2015-09-15 16:46:39 -04:00
Thinker K.F. Li
e1e17a72cb Bug 1097464 - Part 6: Handle preserves-3d by compositor. r=roc
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.

 - Add an additional item for each top frame extending 3D context to
   separate consequence contexts.

 - Effective transform of a layer is the accumulation of ancestors in
   the same 3D context.

 - The layers creating new context and extended by children need a
   temporary buffer if it's effective transform is not 2D.

 - Clip rects are accumulated along the context chain.

 - Visible rects of items are computed from dirty regions of the frame
   creating the context and accumulated transforms.

 - Bounds of items are computed from accumulated transforms and
   accumulated bounds of the descent frames.

 - Backface hidden is handled by compositor and BasicLayerManager.

--HG--
extra : rebase_source : 1a894b057a117a8520898c9f83308d92c122b180
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
46b545727a Bug 1097464 - Part 4: Fix preserve3d wording for layer flags. r=roc
--HG--
extra : rebase_source : 3471b292ead698cafdd5a37bd3a6ed7894c2ca44
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
e9a8758d19 Bug 1097464 - Part 3 - Fix and add reftests. r=roc
--HG--
extra : rebase_source : cd4a906c120d96e6c8d37ce2e301f7ab3837e3bc
2015-09-17 08:30:00 +02:00
Thinker K.F. Li
568e7ca86e Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc
--HG--
extra : rebase_source : ec019b2aff7aa4d62d1ce7bfcc389cdce0018246
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
061d1bb4c7 Bug 1097464 - Part 1 - Remove Z value from 3D transforms for D3D9. r=roc,matt.woodrow
--HG--
extra : rebase_source : 3ff8f50daf2309dd742806ab34577acc8edf38c7
2015-09-17 03:31:00 +02:00
John Daggett
70e21e9853 Bug 1205570 - fix up font prefs for x-math lang group. r=heycam 2015-09-18 13:48:45 +09:00
Phil Ringnalda
10cf9b120c Back out changeset e18e75437c6e (bug 1204106) for Android 4.0 API11+ debug reftest-5 opacity-blending.html failures 2015-09-17 20:30:09 -07:00
Nicholas Nethercote
af6751ef10 Bug 1205533 - Fix and disallow warnings in gfx/qcms/. r=jrmuizel.
This patch fixes various warnings from MSVC.

- Several "truncation from 'double' to 'float'" warnings, easily fixed by
  appending 'f' to literals.

- Some "signed/unsigned mismatch" warnings. In read_tag_lutType(), MSVC is
  apparently promoting the multiplication of a uint8_t and a uint16_t to an
  int32_t, oddly enough. A uint32_t cast fixes the warning.

- |offset| was unused in qcms_data_create_rbg_with_gamma().

- A couple of "overflow in floating-point constant arithmetic" warnings
  involving INFINITY in transform_util.c. There is some type confusion here --
  in C99 HUGE_VAL is a double and INFINITY is a float. So the HUGE_VAL here
  should actualy be HUGE_VALF. But, strangely enough, that isn't enough to
  avoid the warning, I don't know why. However, it turns out that any
  non-positive value for |interval| will have the same effect, so I just
  removed all the INFINITY/HUGE_VAL stuff and used -1 instead.

It also fixes an ARM-only GCC warning.

- "'__force_align_arg_pointer__' attribute directive ignored". This is an
  x86-only attribute. Instead of disabling it on x86-64, instead enable it on
  i386 (which avoids enabling it uselessly on ARM).

--HG--
extra : rebase_source : 61015b7e48aebd58035fc222abf076e79a99a972
2015-09-17 17:11:27 -07:00
Matt Woodrow
f21e058613 Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel 2015-09-17 19:31:00 -04:00
Matt Woodrow
1ea4b7e961 Bug 1197534 - Send RecycleTexture messages from the ImageBridge thread. r=sotaro 2015-09-14 14:17:39 -04:00
Carsten "Tomcat" Book
f7534678df Backed out 6 changesets (bug 1097464) for causing OS X 10.10 Reftest Errors
Backed out changeset fbf63ce1ba88 (bug 1097464)
Backed out changeset fdaf4cfa6707 (bug 1097464)
Backed out changeset 727ebd9f744a (bug 1097464)
Backed out changeset 03f03a776042 (bug 1097464)
Backed out changeset 5ec6364b87d7 (bug 1097464)
Backed out changeset 47d056b3af7f (bug 1097464)

--HG--
extra : rebase_source : e2da133b489e4adba373303dad6e559826927e19
2015-09-17 16:24:43 +02:00
Sotaro Ikeda
51c653ee0e Bug 1204895 - Add fence handling to AutoRemoveTexture on gonk r=nical 2015-09-17 07:22:41 -07:00
Jamie Nicol
f868aa65e7 Bug 1194923 - Call glFlush before glDeleteFramebuffers on Adreno 420 devices. r=snorp
There is an occasional driver crash on the nexus 6, and possibly other
Adreno 420 devices, which seems to occur in some circumstances after
calling glDeleteFramebuffers. Calling glFlush before
glDeleteFramebuffers prevents this. Add this workaround at least until
it is better known what is going on.
2015-09-17 04:41:00 +02:00
Randall Barker
a7e6f1f6ef Bug 1204932 - When C++APZ is enabled, elements that are zoomed with double tap should be centered. r=botond 2015-09-16 10:53:00 +02:00
Randall Barker
1075e0ad2c Bug 1204084 - Double tap gesture fails when tapping on a large element contained in an iframe or scrollable div. r=botond 2015-09-16 11:17:00 +02:00
Chris Lord
07467bcbc8 Bug 1201101 - Enable axis-locking over multiple APZCs. r=botond 2015-09-14 07:40:00 +02:00
Chris Lord
930f7b97f3 Bug 1201098 - Consume fling and overscroll velocity per-axis. r=botond 2015-09-16 01:49:00 +02:00
Jamie Nicol
a7a276263d Bug 1200729 - Recompute FrameLayerBuilder item visibility if dirty region changes. r=mwoodrow
Make the FrameLayerBuilder remember for what region it has calculated
display item visibility, then recompute the visibility whenever the
dirty region it is passed to DrawPaintedLayer changes.

This means that the caller does not have to know the entire dirty region
that will be drawn for the transaction, but we can still optimise cases
where it knows some of the dirty region in advance.

This fixes a regression where MultiTiledContentClient's low-res display
port would not be painted if a smaller region of its high-res buffer had
already been painted that transaction, since the FrameLayerBuilder
had decided that most of the larger low-res region was invisible.
2015-09-15 14:41:42 +01:00
Thinker K.F. Li
76109f93c4 Bug 1097464 - Part 6 - Handle preserves-3d by compositor. r=roc
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.

 - Add an additional item for each top frame extending 3D context to
   separate consequence contexts.

 - Effective transform of a layer is the accumulation of ancestors in
   the same 3D context.

 - The layers creating new context and extended by children need a
   temporary buffer if it's effective transform is not 2D.

 - Clip rects are accumulated along the context chain.

 - Visible rects of items are computed from dirty regions of the frame
   creating the context and accumulated transforms.

 - Bounds of items are computed from accumulated transforms and
   accumulated bounds of the descent frames.

 - Backface hidden is handled by compositor and BasicLayerManager.
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
577d814813 Bug 1097464 - Part 4 - Fix preserve3d wording for layer flags. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
67f398225c Bug 1097464 - Part 3 - Fix and add reftests. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
88a510d1f5 Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
a4c2346c7e Bug 1097464 - Part 1 - Remove Z value from 3D transforms for D3D9. r=roc,matt.woodrow 2015-09-17 03:31:00 +02:00
Nicholas Nethercote
647b520991 Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Timothy Nikkel
1341b9b27d Bug 1204824. Make Matrix4x4::PreScale scale all values in the first three rows. r=bas 2015-09-16 23:39:09 -05:00
Botond Ballo
f6316bb39c Bug 1200063 - Rename MakeAPZCInstance to NewAPZCInstance for consistency. r=kats
--HG--
extra : source : acc5f6c432b709cf3519508579ae7076c6836a1f
2015-09-16 19:10:24 -04:00
Botond Ballo
376d8645a1 Bug 1200063 - Make sure TaskThrottler sends its pending repaint request eventually, even if it never receives a notification from the previous request. r=kats
This is important because the previous repaint can be a no-op, and those don't trigger notifications.

--HG--
extra : source : cb474b5a74ad026f7a1151ae8fd38cdfd538be7c
extra : intermediate-source : b4129db9a5e6a431f556fc2149131d975f3fc33d
2015-09-16 17:23:59 -04:00
Botond Ballo
73518fc4f5 Bug 1200063 - Add a generic implementation of nsITimerCallback that's usable with a lambda or other function object. r=kats
We can consider moving this to xpcom in the future.

--HG--
extra : source : 6511683402da8d3d893aecf6c39babab639a7daf
extra : intermediate-source : a84022dd2c07d269b6b4c6004a2ac4613486a760
2015-09-16 20:29:41 -04:00
Botond Ballo
3ec0663f3b Bug 1200063 - Share a paint throttler between APZCs in the same layers id. r=kats
In this process, TaskThrottler is made reference-counted.

--HG--
extra : source : 68295d4d1616e257732b8f2e8dd46c24debc8626
extra : intermediate-source : 2cd0c4caec06689c5325e23006d2cb14d40c5b5c
2015-09-16 14:45:07 -04:00
Botond Ballo
d84490b7db Bug 1200063 - Make APZCTreeManager the place where GetFrameTime() can be overridden. r=kats
--HG--
extra : source : b9e4b80438234e98f9304a6e29f0f4b9b8eb58a8
extra : intermediate-source : 3c88311ea92fef66479c08cd6b160de82d393249
2015-09-16 14:58:16 -04:00
Nicholas Nethercote
6f036921dc Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)

--HG--
extra : rebase_source : 89b99e9dbb2a806bd21145d04a5e023794643b61
2015-09-09 21:07:07 -07:00
Benoit Girard
2881f47a4c Bug 1189565 - Only factor in the async zoom change. r=kats
--HG--
extra : commitid : CjuuLbwyk5M
2015-09-16 13:42:24 -04:00
Chris Peterson
e7dc549743 Bug 1204400 - Fix -Wshadow warnings in gfx/thebes and suppress those from Skia headers. r=BenWa 2015-09-11 20:30:14 -07:00
Nicholas Nethercote
2ee4fd783b Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote
479244f7c9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote
fcfdd8f54b Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Botond Ballo
1f87f52eb8 Bug 1166301 - When applying an async adjustment to a fixed layer, only adjust its mask layer under the same circumstances as its clip rect. r=mattwoodrow
--HG--
extra : rebase_source : 711ec4146313ffa80e52303449d2529bde2c00d0
extra : source : 1981f6bcae100a38af7dc3aa9038f74390e6ef04
2015-08-28 13:57:00 -04:00
Botond Ballo
a1d5d090fe Bug 1166301 - Allow async scrolling to move the clip rects of fixed background layers. r=mattwoodrow
--HG--
extra : rebase_source : f176d9c355eeb4b7a88ca7ef3ececf03af2227cc
extra : source : 723c35828fbc080b6e372cfbbf187167db455156
2015-09-04 19:23:19 -04:00
Botond Ballo
f5f74997cd Bug 1166301 - Update an old comment in AsyncCompositionManager::AlignFixedAndStickyLayers. r=kats
--HG--
extra : rebase_source : b69104a407c62a3f25e708b172c8e51eac7e9295
extra : source : 2a98e76921bb905d750a2e36e6057a5bb6f4fd41
2015-08-28 15:21:01 -04:00
Botond Ballo
a22ee7711a Bug 1166301 - Store a flag on Layer to tell fixed background layers apart from fixed position layers. r=mattwoodrow
--HG--
extra : rebase_source : eaad2e8c7f85f20cc691353d9675611eee4733ee
extra : source : 33b55c6b3a48e3e9a2f19f498f56084d6905dfc1
2015-09-04 17:26:33 -04:00
Botond Ballo
5d157ca8b0 Bug 1166301 - Use the correct format flags for printing fixed position data in the layers dump. r=kats
--HG--
extra : rebase_source : 17752b971d1157f740e17cf4c0708c2228c0cec4
extra : source : 016c66b680b96acf5009ceefcb370d5d86660386
2015-09-04 15:57:50 -04:00
David Anderson
ea934017d9 Support all blend modes in the basic compositor. (bug 1203829 part 1, r=mattwoodrow) 2015-09-15 13:07:05 -07:00
Mason Chang
76b8c1d6e8 Bug 1160216 - Add a preference to force software vsync and set software vsync rate. r=kats 2015-09-15 08:13:57 -07:00
Bas Schouten
c39f9055e3 Bug 1182147: Ensure ImageHost does not attempt to call DrawQuad with an effect unsupported by the compositor. r=nical 2015-09-04 18:31:52 +00:00
David Anderson
b8fb04e7b8 Handle screen and multiply blend modes in the D3D11 compositor. (bug 1203829 part 4, r=mattwoodrow) 2015-09-15 01:04:37 -07:00
David Anderson
250032dd90 Refactor shader initialization in CompositorD3D11. (bug 1203829 part 3, r=mattwoodrow) 2015-09-15 01:04:17 -07:00
David Anderson
4dcdb71497 Compile shaders with newer fxc. (bug 1203829 part 2, r=mattwoodrow) 2015-09-15 01:04:09 -07:00
Nicholas Nethercote
9d68ee2953 Bug 1204277 - Disallow warnings in six more directories. r=glandium.
These are all conditional uses of ALLOW_COMPILER_WARNINGS=True that are no
longer necessary.

--HG--
extra : rebase_source : e654fa940aed18b1d5ef7b2bebb45bbef59cfd84
2015-09-14 21:16:37 -07:00
Bas Schouten
016218727f Bug 1127270: Only acquire a hold on the compositor thread once the channel for a parent actor has been succesfully connected. r=nical 2015-09-11 15:24:46 +02:00
Wes Kocher
82a9b4cd94 Backed out changeset be88a56c4856 (bug 1197534) for test_BufferingWait.html crashes CLOSED TREE 2015-09-14 14:43:52 -07:00
Michael Layzell
b4d95d7c97 Bug 1202794 - Explicitly clear array in SortChildrenBy3DZOrder to satisfy the move analysis, r=mattwoodrow 2015-09-14 16:04:11 -04:00
Matt Woodrow
3a98f89348 Bug 1204597 - Use Move constructor for opaque region in FrameLayerBuilder instead of copying. r=jrmuizel
--HG--
extra : rebase_source : 2eb322beabf6557fdff509c8d8212762a9835dfe
2015-09-14 14:18:20 -04:00
Matt Woodrow
c7235f4a33 Bug 1203744 - Fix the SCREEN blend mode with CompositorOGL when the source data is unpremultiplied. r=dvander
--HG--
extra : rebase_source : 92ae508e7c7b6f483355791f9baa23643aad6c39
2015-09-14 14:17:39 -04:00
Matt Woodrow
ae983d7ba4 Bug 1197534 - Send RecycleTexture messages from the ImageBridge thread. r=sotaro
--HG--
extra : rebase_source : 431841816dbb14ceca9138b3ee98af12d8e05eca
2015-09-14 14:17:39 -04:00
Kearwood (Kip) Gilbert
821ab79706 Bug 914457 - Part 2: Implement Crashtest
- Implemented a crashtest based on the testcase.

--HG--
extra : rebase_source : ed2d2cc1f8c526d2c5608f4273453ad6d6c8fdaf
2015-09-14 09:26:13 -07:00
Kearwood (Kip) Gilbert
e39a8b9817 Bug 914457 - Part 1: Use an empty clip rect for layers with an empty visible region
- Layer::CalculateScissorRect no longer asserts when all children of a
  3d transformed layer have an empty visible region.

--HG--
extra : rebase_source : e05b1e12d88d36a7fedd20fc50c1f02a5370d7fc
2015-09-14 09:26:10 -07:00
Masayuki Nakano
683794135c Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
52a7afe36c Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Kartikaya Gupta
21a44de982 Bug 1203992 - Distinguish between SingleTiledContentClient and MultiTiledContentClient in the layer tree dump. r=nical
--HG--
extra : commitid : DBHien2adYx
2015-09-14 11:02:11 -04:00
Milan Sreckovic
865e1ef45c Bug 1202703 - Part 1 - CreateRenderingContext can fail. r=mattwoodrow 2015-09-10 12:31:00 +02:00
David Anderson
84df7133f4 Don't attempt to use WARP after D3D11CreateDevice crashes. (bug 1201202, r=bas) 2015-09-13 23:52:29 -07:00
David Anderson
7fc797a935 Don't run the compositor:created notification from within unsafer callers. (bug 1201684, r=mattwoodrow) 2015-09-13 23:51:45 -07:00
Phil Ringnalda
b25d7ef2e4 Merge f-t to m-c, a=merge 2015-09-12 09:13:57 -07:00
Phil Ringnalda
b164dfe263 Merge m-c to f-t 2015-09-11 22:10:22 -07:00
Phil Ringnalda
f79d829bdf Merge b-i to m-c, a=merge 2015-09-11 20:27:20 -07:00
Kartikaya Gupta
c57e3a610e Bug 1203132 - Add an SVG for the B2G flow of touch events. r=botond
DONTBUILD because NPOTB

--HG--
extra : commitid : 19NNOhDSDA4
2015-09-11 14:36:36 -04:00
Phil Ringnalda
42095e9f99 Merge m-c to m-i 2015-09-11 22:04:40 -07:00
Botond Ballo
b979ad25d3 Bug 1202312 - Use mozilla::Function for the ContentReceivedInputBlock callback. r=kats
--HG--
extra : source : d0d8d51c89955d70c72591b424e18790973e8805
2015-09-11 12:52:43 -04:00
Botond Ballo
976c25b63c Bug 1202312 - Use mozilla::Function for the SetAllowedTouchBehavior callback. r=kats
--HG--
extra : source : 168244f8869806e0fb6b318a938e46b706972f94
2015-09-11 12:27:49 -04:00
Kartikaya Gupta
711b35cb56 Bug 1201581 - Hook up the syncFrameMetrics call to sync metrics info from the compositor to Java-land on each composite. r=rbarker
--HG--
extra : commitid : JByEVaIboTo
2015-09-11 21:58:16 -04:00
Kartikaya Gupta
9ebc137a82 Bug 1201581 - Extract a helper method. r=rbarker
--HG--
extra : commitid : G3fI5OSxBKC
2015-09-11 21:58:16 -04:00
Kartikaya Gupta
6630a65ba4 Bug 1201529 - Ensure that zoomable scrollframes return true from WantAsyncScroll(). r=botond
--HG--
extra : commitid : 29B0WVGYfId
2015-09-11 21:58:16 -04:00
Kartikaya Gupta
653a1da394 Bug 1201529 - Fall back to rootmost metrics if there is no root content document metrics. r=botond
--HG--
extra : commitid : IueYz1Pt0HX
2015-09-11 21:58:15 -04:00
Wes Kocher
ca0fa7c1cb Backed out 4 changesets (bug 1182665) for android reftest orange CLOSED TREE
Backed out changeset 719a4fbded10 (bug 1182665)
Backed out changeset 9559cead8d08 (bug 1182665)
Backed out changeset 4080fb4b9a7f (bug 1182665)
Backed out changeset c8549221c366 (bug 1182665)
2015-09-11 11:21:56 -07:00
Wes Kocher
bbe3773db1 Backed out changeset 5b9886673514 (bug 1201541) for android reftest orange CLOSED TREE 2015-09-11 11:21:22 -07:00
Wes Kocher
2fddaed099 Backed out 3 changesets (bug 1178376) for android reftest bustage CLOSED TREE
Backed out changeset 9394c5f63b56 (bug 1178376)
Backed out changeset 83295d5f54a9 (bug 1178376)
Backed out changeset 5e1c6511123a (bug 1178376)
2015-09-11 11:20:23 -07:00
Wes Kocher
a48d20d520 Backed out changeset f0fbe3de27cb (bug 1127270) for b2g debug mochitest failures CLOSED TREE 2015-09-11 10:58:47 -07:00
James Willcox
1e69214491 Back out 69e7d484b749452e7c7ba2ab01f66f71c6339a6b due to Android 4.0 debug reftest failures 2015-09-11 11:27:24 -05:00
Carsten "Tomcat" Book
a6cd041140 Merge mozilla-central to fx-team 2015-09-11 16:42:01 +02:00
Victor Porof
14ba9c7285 Bug 1200252 - Add marker for when the IPC request for a composite is sent to the compositor thread, r=jsantell,matt 2015-09-11 07:59:53 +02:00
Jim Mathies
61df61dda2 Bug 1137944 - Backout compositor bits (cset b4711fa5f734) which caused a telemetry metric regression. r=backout 2015-09-08 18:14:51 -05:00
Milan Sreckovic
85a127ddb0 Bug 1160295 - Part 2. Make sure the DLLs are loaded before checking the version. r=bas 2015-09-04 08:52:00 +02:00
Robert O'Callahan
a0bdc144af Bug 1202317. Optimize feComposite type="arithmetic" with all-zero k values to transparent black. r=mstange
--HG--
extra : commitid : 1mRKtZjMMmq
extra : rebase_source : f94fc3fbe11318f5770f6e2b788fb4674fcb62da
2015-09-07 17:09:11 +12:00
Robert O'Callahan
8c59471aa8 Bug 1202317. Optimize away identity ColorMatrix nodes. r=mstange
--HG--
extra : commitid : IzBfiPS7qav
extra : rebase_source : 71418319c9bbfc4bdad68fe1229e77be0ab4496b
2015-09-07 17:11:35 +12:00
Robert O'Callahan
ff15b1bada Bug 1202317. Bail out early if RequestRect is going to do redundant work. r=mstange
--HG--
extra : commitid : JQHaCF87nEG
extra : rebase_source : facdbfb7d1d06b64920e8f014367145cfdea9a43
2015-09-07 17:08:36 +12:00
Nathan Froyd
b4f3c3be46 Bug 1202430 - remove NS_GFX and related macros; r=jrmuizel
NS_GFX last meant something prior to bug 648911, which removed support
for non-libxul builds.  Now that it's meaningless, let's get rid of it.
2015-09-07 17:53:36 -04:00
John Daggett
06366cd453 Bug 1203809 - pass textperf obj into gfxFontGroup constructor. r=m_kato
--HG--
extra : rebase_source : c9e9f4765b710937b046941a15e82eaf83c86b03
2015-09-11 13:24:33 +09:00
John Daggett
71e6ecf0ad Bug 1201183 - handle font family name OOM error. r=nfroyd 2015-09-11 09:40:30 +09:00
Matt Woodrow
fb01190fe1 Bug 1199361 - Add texture memory reporters for YCbCr TextureClients. r=jrmuizel
--HG--
extra : rebase_source : 56c1ec34c1d4285117fef854aebaf2bbf8b1a93a
2015-09-01 15:33:40 -04:00
Matt Woodrow
284d1f503c Bug 1202700 - Use d3d9 device to upload YCbCr surfaces on the client side if possible. r=Bas
--HG--
extra : rebase_source : ec496595f871e2e3fc54aae14ef01b25e6a4f9ff
2015-09-10 13:21:43 -04:00
Nicholas Nethercote
2c42ac7941 Bug 1203379 - Fix indentation of gfxWordCacheTest.cpp. r=jrmuizel.
This file has an intriguing mix of 1, 2, 3 and 4 space indentation, which this
patch fixes. The patch also fixes a small number of other style violations,
such as long lines.

--HG--
extra : rebase_source : 5a4668ddc2441c190a393f3a8519ad451918c4f0
2015-09-09 20:51:33 -07:00
Jeremy Chen
593cd9f969 Bug 1202316 - Ease the fuzzy threshold of reftest to fit all platform. r=roc
--HG--
extra : rebase_source : bec30d857f13d497fd590afed84749a00dfc5404
2015-09-08 18:16:00 +02:00
Lee Salzman
3188abf696 Bug 1201272 - use a SkBlurImageFilter for Skia canvas shadows so we can better control composite operations. r=gwright
--HG--
extra : rebase_source : 3c9269cd9fa28f0b8f4c30c376f5a573e2851e7e
2015-09-04 15:29:11 -04:00
Jonathan Kew
c82b11c0be Bug 1196463 - Update harfbuzz to release 1.0.3 from upstream. r=jdaggett 2015-09-07 08:22:05 +01:00
John Daggett
df9bdfa193 Bug 1201403 - streamline MacOSFontEntry::HasFontTable implementation. r=jfkthame 2015-09-07 16:01:59 +09:00
Makoto Kato
544d70a000 Bug 1170072 - Part 1. Make GetCharProps1 as static function. r=jfkthame 2015-09-07 11:54:46 +09:00
David Anderson
93bbda05d5 Remove a pref that forces directwrite on when D2D is blocked. (bug 1193641, r=milan) 2015-09-04 17:47:49 -07:00
David Anderson
6ef885ab51 Ensure scroll info layers have a dispatch-to-content region. (bug 1193557 part 2, r=kats) 2015-09-04 17:18:03 -07:00
David Anderson
4c72778d2c Backout changeset b5e6116756b6 (wrong bug number). 2015-09-04 17:44:23 -07:00
David Anderson
51c747a7db Add a test case for bug 1193557, r=kats. 2015-09-04 17:18:11 -07:00
David Anderson
02e78d587c Ensure scroll info layers have a dispatch-to-content region. (bug 1193641 part 2, r=kats) 2015-09-04 17:18:03 -07:00
Jim Mathies
a1c23ca55a Bug 1201660 - When layer tree updates get dropped, hide plugins associated with the tree. Fixes a bug where we were hiding all plugins associated with the window. r=matt.woodrow 2015-09-04 16:18:55 -05:00
Jeff Muizelaar
eb58e4fc03 Bug 1180225. Make convolver more like upstream. r=seth
This fixes uninitialised reads.

--HG--
extra : rebase_source : c7f50d9ea7a56d845ccb2f324e3e73fbd2e83003
2015-08-27 16:06:37 -04:00
Sebastian Hengst
8440886183 Backed out 8 changesets c8de1f3f0bf3, fc0ab17babda, 051166e3d6e4, 2c11c33beb7c, f52ff32dfb47, 9fe51adf6a70, 6ad2ac42107c, 022810f9a65a (bug 1083101) for for frequent gtest timeouts in Moz2D.TaskScheduler_Join. r=backout on a CLOSED TREE 2015-09-04 20:03:45 +02:00
Michael Pruett
f912c6affe Bug 1201277 - Replace functors with lambdas in APZCTreeManager. r=botond
--HG--
extra : source : 264ed23109b0ee2e8f12ae77d969bb1a26504fdd
extra : amend_source : 2ed03a71a24ae3386b41feba0d5ae9d7b5e53ffb
2015-09-03 23:09:46 -05:00
Nicolas Silva
dd0b1efc0e Bug 1083101 - Various build/test fixes to Moz2D's TaskScheduler. r=me 2015-09-04 14:28:31 +02:00
Nicolas Silva
cac9a73750 Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel 2015-09-04 14:28:20 +02:00
Nicolas Silva
63fd1ccf4d Bug 1083101 - Win32 implementation of the TaskScheduler. r=jrmuizel 2015-09-04 14:27:52 +02:00
Nicolas Silva
8f49f122e9 Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel 2015-09-04 14:27:43 +02:00
Nicolas Silva
60dc713b98 Bug 1083101 - Part 3: Extend DrawCommand storage functionality and fix a bug with dashed stroke patterns. r=jrmuizel 2015-06-10 19:57:08 +02:00
Nicolas Silva
3ef74569e7 Bug 1083101 - Implement gfx::DrawingTask. r=jrmuizel 2015-09-04 14:27:30 +02:00
Nicolas Silva
6c5cc2c997 Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-09-04 14:27:26 +02:00
Nicolas Silva
92711430f7 Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-04 14:27:17 +02:00
Jonathan Kew
7ab6a729ab Bug 1201518 - Remove the (unused) HBGetEastAsianWidth callback from gfxHarfBuzzShaper. r=jdaggett 2015-09-04 12:59:19 +01:00
David Anderson
4dacc4bcac Relax the driver crash guard on nightly and e10s builds. (bug 1200825, r=jgilbert) 2015-09-03 21:05:41 -07:00
Kartikaya Gupta
aad457aa8e Bug 1201625 - Special-case B2GDroid since it doesn't have a root content document. r=rbarker
--HG--
extra : commitid : HyFaXHFS3vH
2015-09-03 23:18:52 -04:00
Jeff Muizelaar
0abf6a52fb Bug 1197296. Check the error code of Map. r=bas
--HG--
extra : rebase_source : 093468b6ce7df1bafcd3e73288e93555228dc919
2015-09-10 11:04:01 -04:00
James Willcox
fd1ffff272 Bug 1178376 - Optionally fade in new progressively painted tiles r=nical 2015-09-11 09:09:51 -05:00
James Willcox
55d33074aa Bug 1178376 - Allow progressive painting when low-precision tiles are disabled r=BenWa 2015-09-11 09:09:49 -05:00
James Willcox
827acb829b Bug 1178376 - Put progressive paint status in tile updates r=nical 2015-09-11 09:09:48 -05:00
James Willcox
d06b91de48 Bug 1148131 - Enable DrawTargetTiled on Android r=Bas 2015-09-11 09:09:47 -05:00
James Willcox
ba7c467b33 Bug 1201541 - Use SingleTiledContentClient for non-scrollable layers on Android r=mattwoodrow 2015-09-11 09:09:44 -05:00
James Willcox
ec43fd4643 Bug 1182665 - Adjust tile sizes depending on the screen size r=nical 2015-09-11 09:09:19 -05:00
James Willcox
a80e13e6fe Bug 1182665 - Add gfxPlatform::CanUseDoubleBufferedContent() r=nical 2015-09-11 09:09:18 -05:00
James Willcox
6d957289cf Bug 1182665 - Add gfxPlatform::GetScreenSize() and use nsIScreen for gfxPlatform::GetScreenDepth() r=nical 2015-09-11 09:09:17 -05:00
Bas Schouten
9fcfcb0de7 Bug 1127270: Only acquire a hold on the compositor thread once the channel for a parent actor has been succesfully connected. r=nical 2015-09-11 15:24:46 +02:00
Jonathan Kew
6bd9c973ed Bug 1200098 - patch 3 - Pass the gr_nobidi flag when shaping with graphite2, as we split text into unidirectional runs ahead of time. r=jdaggett 2015-09-11 12:32:00 +01:00
Jonathan Kew
065c095a00 Bug 1200098 - Update graphite2 library to release 1.3.2 from upstream. r=jdaggett 2015-09-11 12:31:59 +01:00
Jim Mathies
3a7a0cccbe Bug 1137944 - Fire before and after composite events. r=matt.woodrow 2015-09-03 09:55:23 -05:00
Jim Mathies
416c99cb91 Bug 1137944 - Simplify the api associated with hiding e10s plugin widgets. r=roc 2015-09-03 10:01:33 -05:00
Kartikaya Gupta
ffff568fff Bug 1197824 - Support the browser.ui.zoom.force-user-scalable pref in the gecko zoom-constraints codepath. r=botond
The browser.ui.zoom.force-user-scalable pref can be modified by the user from
the Fennec settings screen, and allows them zoom pages despite the meta-viewport
tag that might otherwise restrict zooming. This effectively ignores the effect
of the user-scalable, minimum-scale, and maximum-scale meta-viewport tokens.

--HG--
extra : commitid : MWjCDpGJkH
2015-09-03 10:30:41 -04:00
Jed Davis
214e2c8aeb Bug 1198979 - GC unused IPDL struct member. r=jmuizelaar 2015-09-02 08:56:00 +02:00
Lee Salzman
01cdb40ced Bug 1004489 - propagate Cairo font AA settings to Skia font. r=gw280 2015-09-02 14:12:32 -04:00
Carsten "Tomcat" Book
12570b009b Backed out changeset edc0db4368a0 (bug 1199361) for suspicion of making OS X 10.6 reftest failing very frequently 2015-09-03 08:39:48 +02:00
Carsten "Tomcat" Book
f08a248c9a Backed out changeset 446055bf8ee4 (bug 1199371) 2015-09-03 08:38:28 +02:00
Carsten "Tomcat" Book
54c591509e Backed out changeset aef5095f71da (bug 1199371) 2015-09-03 08:38:18 +02:00
Phil Ringnalda
ae95aea501 Back out 71886d218c12 (bug 1200864) for Win8 mochitest-gl failures
CLOSED TREE
2015-09-02 20:35:45 -07:00
Jeff Gilbert
f2508b4907 Bug 1200864 - Skip DrawElements buffer validation when we have robust_buffer_access. - r=kamidphish 2015-09-02 14:06:58 -07:00
Kartikaya Gupta
e824af9852 Bug 1200399 - Only send the RCD's metrics to Java-land for fennec-apz. r=rbarker
--HG--
extra : commitid : GQyuAXJf3iE
2015-09-02 16:31:06 -04:00
Masayuki Nakano
811d0fac7e Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
7b7a44a5ac Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug 2015-09-02 15:08:01 +09:00
John Daggett
8995363ec7 Bug 1185812 - rejigger the ordering of fonts within a family to avoid obscure faces. r=heycam 2015-09-02 12:24:30 +09:00
John Daggett
28b858ab4a Bug 1100949 - wrap font info reads with structured exception handler. r=bas 2015-09-02 10:58:23 +09:00
Jeremy Chen
68a1353ed5 Bug 1149923 - Add reftest to testify whether mask layer is rendered correctly. r=roc 2015-08-31 20:35:00 -04:00
Jeremy Chen
866bb24e7e Bug 1149923 - Let 2D mask effect can check whether to use IntermediateSurface or not in its own logic. r=roc 2015-08-28 03:47:00 -04:00
Vincent Liu
62a02d2e47 Bug 1198574 - Remove unnecessary argument for PersistentBufferProvider. r=bas 2015-08-26 18:58:18 +08:00
Kearwood (Kip) Gilbert
fb03e30b9f Bug 1157984 - Part 4: Remove gfxRect::TransformBounds,r=vlad
--HG--
extra : rebase_source : 1ef637037fc4084f8d6b19dc25175501697b96e0
2015-08-06 17:28:38 -07:00
Kearwood (Kip) Gilbert
cbc7ba3ddb Bug 1157984 - Part 3: Correct bounding box transformations to support projections and correct clipping when transforming behind the camera,r=vlad
- Update callsites of Matrix4x4::TransformBounds to use
  Matrix4x4::TransformAndClipBounds.

--HG--
extra : rebase_source : a1aa889af56e404b7ca5c7125021171e67a0b8bf
2015-08-06 17:26:09 -07:00
Kearwood (Kip) Gilbert
5265775c94 Bug 1157984 - Part 2: Implement double precision clipping functions in Matrix4x4,r=vlad
- Implement Matrix4x4::TransformAndClipBounds
- Update methods in Matrix4x4 with templates, allowing for both single
  and double precision.

--HG--
extra : rebase_source : 6d5710a85bf5d82c441463debd98b31be4ec2ace
2015-08-06 17:26:03 -07:00
"Kearwood \"Kip\" Gilbert"
0f397fb78d Bug 1157984 - Part 1: Extend gfx::2d classes to support both float and double precision,r=jrmuizel
- Implemented templates for Coord, Point, Point3D, Point4D, Size, Margin
  and Rect to create double precision versions.

--HG--
extra : rebase_source : 91e16a7b970026346b6e90a23427fd0f70491765
2015-06-11 13:43:40 -07:00
Matt Woodrow
f32f91e57a Bug 1199371 - Fix name collision compile error. r=bustage 2015-09-01 16:05:00 -04:00
Matt Woodrow
c5f3ed703d Bug 1199371 - Don't create TextureClients for video when the video isn't visible. r=nical
--HG--
extra : rebase_source : 410c00d88d0601f5f2b1e02cf8b09f60a934e07a
2015-09-01 15:35:55 -04:00
Matt Woodrow
16d971851f Bug 1199361 - Add texture memory reporters for YCbCr TextureClients. r=jrmuizel
--HG--
extra : rebase_source : d3646e8481e0767d707f2e7e1bfdad84fd58550f
2015-09-01 15:33:40 -04:00
Ryan VanderMeulen
606e8823ff Backed out 11 changesets (bug 1083101) for causing mass Windows 7 test failures.
Backed out changeset 42d192dbf938 (bug 1083101)
Backed out changeset 0a6cc12c33d7 (bug 1083101)
Backed out changeset b82291c07e0e (bug 1083101)
Backed out changeset 2d32462f6c58 (bug 1083101)
Backed out changeset c234e70021a7 (bug 1083101)
Backed out changeset 23a3870672ae (bug 1083101)
Backed out changeset 78f3c70cf1cb (bug 1083101)
Backed out changeset 86f55d9695f0 (bug 1083101)
Backed out changeset 6b8940305079 (bug 1083101)
Backed out changeset 5efc1e52e4e9 (bug 1083101)
Backed out changeset dd266975e407 (bug 1083101)

CLOSED TREE
2015-09-01 11:35:02 -04:00
Nicolas Silva
c408e42f8e Bug 1083101 - Missing MPL header in IterableArena.h. DONTBUILD 2015-09-01 15:33:13 +02:00
Nicolas Silva
4fd638c31e Bug 1083101 - Yet another static analysis fix in a CLOSED TREE. 2015-09-01 14:34:37 +02:00
Nicolas Silva
febcb13de3 Bug 1083101 - Various build/test fixes to Moz2D's TaskScheduler. r=me 2015-09-01 13:50:47 +02:00
Nicolas Silva
b4f213dcc0 Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel 2015-09-01 13:50:43 +02:00
Nicolas Silva
23971db64e Bug 1083101 - Win32 implementation of the TaskScheduler. r=jrmuizel 2015-09-01 13:50:40 +02:00
Nicolas Silva
935eca80da Bug 1083101 - Part 1: Allow multiple read maps on DataSourceSurfaces. r=jrmuizel 2015-06-10 19:56:06 +02:00
Nicolas Silva
21afe6a6c2 Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel 2015-09-01 13:50:33 +02:00
Nicolas Silva
85f09693e0 Bug 1083101 - Part 3: Extend DrawCommand storage functionality and fix a bug with dashed stroke patterns. r=jrmuizel 2015-06-10 19:57:08 +02:00
Nicolas Silva
b07c4ce9f8 Bug 1083101 - Implement gfx::DrawingTask. r=jrmuizel 2015-09-01 13:50:24 +02:00
Nicolas Silva
707ce75b9e Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-09-01 13:50:19 +02:00
Nicolas Silva
511e3cc49b Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-01 13:50:15 +02:00
Tom Klein
0160852c31 Bug 1181317 - Switch drawing order of filter feBlend inputs. r=mstange
--HG--
extra : rebase_source : 13de9d6236f4fe38cb08e299b6c50f27a688b2e3
2015-08-28 09:16:00 -04:00
Masayuki Nakano
cafe2dfc67 Bug 895274 part.51 Rename NS_CONTEXTMENU to eContextMenu r=smaug 2015-09-01 00:20:06 +09:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Markus Stange
2705f93fbd Bug 1016035 - Don't wait for content to say that we need to swipe if APZ has enough information. r=kats
--HG--
extra : commitid : CUZqiDbltTx
extra : rebase_source : 90fb8cf0023177b7bb98ff93c5667c8dbc153f29
2015-08-28 16:50:00 -04:00
Markus Stange
49c4d7a190 Bug 1016035 - Delay the processing of a PanGestureInput block until we know whether it's a swipe. r=kats
--HG--
extra : commitid : 5utp02GzYAW
extra : rebase_source : 4415c7ac8fd3a8dbb718593bee63e89e8ba1625c
2015-08-12 00:11:54 -04:00
Markus Stange
bce923c470 Bug 1016035 - Make APZEventState report defaultPrevented=true when the event started a swipe. r=kats
--HG--
extra : commitid : 4scVCanEMYd
extra : rebase_source : a9ff41cb1a7f681fae4b352b8b5337bf0ce41ff2
2015-08-11 23:35:16 -04:00
Markus Stange
0eb1d7c10b Bug 1016035 - Make the threshold in AxisPhysicsMSDModel::IsFinished controllable by the caller. r=kip
--HG--
extra : commitid : 8kd91z4FD2n
extra : rebase_source : bcdf5a75c527f871d2077ca1ef2e1958eb3db4d9
2015-08-04 16:11:37 -04:00
Masayuki Nakano
83f18479ed Bug 895274 part.38 Rename NS_MOUSE_MOZLONGTAP to eMouseLongTap r=smaug 2015-08-29 08:58:33 +09:00
Masayuki Nakano
a516285180 Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug 2015-08-29 08:58:32 +09:00
Masayuki Nakano
b9439c75d9 Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano
db00b74a82 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
717c415187 Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Masayuki Nakano
ba5b3f3fe6 Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
28c9f34179 Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
d311a11cc1 Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug 2015-08-29 08:58:27 +09:00
Botond Ballo
069f25bc15 Bug 1175585 - Full-stack mochitest for wheel transactions. r=kats
--HG--
extra : rebase_source : 7c5a0d788245dff495ea3942cf03e8b5357cca39
2015-08-02 14:45:30 -04:00
Kevin Wern
368ce48f75 Bug 1173521 - Properly handle unapplying 3D projective transforms to rectangles in APZ code. r=botond
The untransformation is done using the newly added UntransformTo() functions
which call Matrix4x4::ProjectRectBounds(), which returns an empty rectangle
if the result is not at least partially on the positive side of the w = 0 plane.

UntransformTo() returnis the transformed rectangle if it's not empty, and
Nothing() otherwise, making callers check for this case.

The patch also adds some assertions to places where we apply transforms we
know should be 2D (and thus didn't switch to use UntransformTo()), checking
that the transforms are in fact 2D.

--HG--
extra : rebase_source : bbc226f4135c2cf229c4e00dfb017a6c9c078391
extra : source : c2732f62a3b9a5246801aa000ce572ee07f53481
2015-08-28 12:00:29 -04:00
Frédéric Wang
76887aac08 Bug 1170782 - Do not rely on the presence of a MATH table to use typo metrics. r=karlt 2015-08-27 01:57:00 -04:00
Jeff Muizelaar
97894bf634 Bug 1197296. Check for errors more during bug testing. r=Bas
--HG--
extra : rebase_source : 592b3656728170ac2409c26b267704bd942baac8
2015-08-27 22:38:39 -04:00
Lee Salzman
a352eab01c Bug 1198996 - Ensure layer local opacity is clamped to 0..1 range. r=Bas 2015-08-26 18:15:47 -04:00
Lee Salzman
aaa23abae5 Bug 1199417- Scale skia paths up before hit testing to workaround coordinate resolution limits. r=mattwoodrow 2015-08-27 15:44:26 -04:00
Botond Ballo
2329d6833e Bug 1177018 - Enable chaos mode for the APZ layerization test. r=kats
--HG--
extra : rebase_source : 6d224553f62c4481d35ece1eee9afe873883f455
extra : source : b661da15c2f8aad90c1afaf7cf7777351e1bd972
2015-07-27 15:34:00 -04:00
Botond Ballo
96e062add7 Bug 1177018 - Increase the APZ content response timeout to 15 seconds for all tests. r=kats
It has previously been increased for a specific test, but we have found
another test that needs it increased. Rather than increasing it for
individual tests, increase it for all tests.

--HG--
extra : rebase_source : f76c2a43bdcfa97a86fb5d63ff9708e6215c2678
extra : source : f9a184b70afcf294f7eb84897448fb3db03f681a
2015-07-22 17:03:59 -04:00