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

20033 Коммитов

Автор SHA1 Сообщение Дата
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