Commit Graph

19462 Commits

Author SHA1 Message Date
Robert O'Callahan
39d3278ef9 Bug 1143575. Make GL context current before cleaning up programs. r=nical
Otherwise we can get a crash with the following stack:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 14711]
0x5d99974e in mozilla::gl::GLContext::BeforeGLCall (this=0x6dbf0800,
    funcName=0x60f251a4 <mozilla::gl::GLContext::raw_fDeleteProgram(unsigned int)::__PRETTY_FUNCTION__> "void mozilla::gl::GLContext::raw_fDeleteProgram(GLuint)") at /home/roc/mozilla-inbound/gfx/gl/GLContext.h:683
683	        MOZ_ASSERT(IsCurrent());
(gdb) where
#0  0x5d99974e in mozilla::gl::GLContext::BeforeGLCall (this=0x6dbf0800,
    funcName=0x60f251a4 <mozilla::gl::GLContext::raw_fDeleteProgram(unsigned int)::__PRETTY_FUNCTION__> "void mozilla::gl::GLContext::raw_fDeleteProgram(GLuint)") at /home/roc/mozilla-inbound/gfx/gl/GLContext.h:683
#1  0x5d99bed6 in mozilla::gl::GLContext::raw_fDeleteProgram (this=0x6dbf0800, program=210003)
    at /home/roc/mozilla-inbound/gfx/gl/GLContext.h:2232
#2  0x5d99c10a in mozilla::gl::GLContext::fDeleteProgram (this=0x6dbf0800, program=210003)
    at /home/roc/mozilla-inbound/gfx/gl/GLContext.h:2270
#3  0x5daa0ae6 in mozilla::layers::ShaderProgramOGL::~ShaderProgramOGL (this=0x6d7df000, __in_chrg=<optimized out>)
    at /home/roc/mozilla-inbound/gfx/layers/opengl/OGLShaderProgram.cpp:491
#4  0x5da86bdc in mozilla::layers::CompositorOGL::CleanupResources (this=0x67ae4d70)
    at /home/roc/mozilla-inbound/gfx/layers/opengl/CompositorOGL.cpp:177

--HG--
extra : commitid : LPnSogXNNio
extra : rebase_source : 0564dd5688916271c4a709ae6f15ba7ad493a761
2015-06-12 03:18:46 +12:00
Robert O'Callahan
03d5043265 Bug 1143575. Add some #includes to avoid more unified-build issues on Windows. r=nical
--HG--
extra : commitid : LAYd8Vr7a6D
extra : rebase_source : 7338bc61bbfbc0f464d50e2d1b1842ed1d4082ba
2015-06-09 14:35:04 +12:00
Robert O'Callahan
bf17280c42 Bug 1143575. Add some #includes to avoid unified-build issues on Windows. r=nical
--HG--
extra : commitid : 8xmF8987SNT
extra : rebase_source : a46a60f95c781019cb7bfd554524965efd851064
2015-06-09 05:27:37 +12:00
Robert O'Callahan
5088734876 Bug 1143575. Avoid including Android's GraphicBuffer.h from LayersTypes.h. r=nical
On some Android versions, GraphicBuffer.h ends up including libui's
hardware.h, which #defines the symbols version_minor and version_major, which
are used as field names in Ogg Theora's th_info struct. Later patches will
require some files to include both Theora headers and LayerTypes.h.

--HG--
extra : commitid : HM7e5zfyoAz
extra : rebase_source : de8dd7e5bc6bfcfeb729cfab86fe44b8bb12ab80
2015-06-08 21:27:23 +12:00
Robert O'Callahan
1387dd6d7c Bug 1143575. #include nsDebug.h in YCbCrImageDataSerializer.cpp for NS_WARN_IF. r=nical
--HG--
extra : commitid : GDaM0ljPOHP
extra : rebase_source : 8ce0247de613f05c5d731f21f7fe0b1958f733e0
2015-06-08 22:19:11 +12:00
Tom Klein
eac491927d Bug 1143303 - extend D2D circle workaround to work for small circles. r=bas
--HG--
extra : rebase_source : 2476d38321cddd744fe51b0f7d690643ad74deef
2015-07-06 22:46:00 +02:00
Kartikaya Gupta
bb5c403109 Bug 1169802 - Temporary workaround for a deeper bug, to prevent an assertion from firing. r=botond 2015-07-06 15:36:56 -04:00
Kartikaya Gupta
db3a3881cf Bug 1180780 - Enable handling of pixel-scrolling wheel events with APZ on Windows and Linux. r=mstange 2015-07-06 14:10:35 -04:00
Karl Tomlinson
31cb4902f1 bug 1180010 make some methods protected and non-virtual r=jdaggett
--HG--
extra : rebase_source : 6fa2c2e7b13d516f629c833608dcdfce4eb6ce77
2015-03-13 16:00:10 +13:00
John Daggett
0c8123a2d7 Bug 1171357 - log font matching for textruns. r=m_kato 2015-07-06 10:11:19 +09:00
Sotaro Ikeda
813272f335 Bug 1112219 - Implement platform independent MediaResourceManager r=cpearce,bwu,nical 2015-07-05 11:56:04 -07:00
Kartikaya Gupta
247e9293b8 Bug 1145295 - Add some debug logging to try and trace an intermittent assertion. r=nical 2015-03-31 08:50:14 -04:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Lynn Tran
6ee48e8466 Bug 1031443 - Allow panning in the pinching state even if zooming is
disabled;r=botond

--HG--
extra : source : f3199edbe30a04a93986ff6054d192e59b658482
2015-07-01 14:58:32 -04:00
Kevin Wern
c4068c3470 Bug 1120683 - Properly handle unapplying 3D projective transforms throughout APZ code. r=botond
Whenever the inverse of a 3D projective transform is applied to a point, only use the result if it has a positive w-coordinate.

When transforming by a matrix that we know should be 2D, assert to that effect.

Transformations of rectangles (as opposed to points) remain to be audited.

--HG--
extra : source : a183e31473fcca0d20e2331fdbd93b8cc0cee824
2015-07-03 15:06:26 -04:00
Jeff Muizelaar
b50f004ccc Bug 1180322. Add a document describing the history of layers 2015-07-03 18:10:12 -04:00
Benoit Girard
509337a1a0 Bug 1132467 - Adjust qcms lut inverse binary search of non monotonic TRC. r=jrmuizel
--HG--
extra : commitid : KdtckZDOAZH
2015-06-04 19:30:52 -04:00
Hamzata Diallo
3f61ec7708 Bug 1178513 - Export libxul symbols needed by ACL. r=mattwoodrow
--HG--
extra : rebase_source : 77ebb8e1195c0e2570dbf5dbee54edfa5ecdab28
2015-07-02 15:19:35 -07:00
Nishad P
5cfe77d6fb Bug 1178513 - Added RGBA8888 to RGB565 converter. r=mattwoodrow 2015-07-02 13:53:06 -07:00
Kyle
87a268fcb4 Bug 1168189 - Force D2D1 CopySurface to use DrawBitmap like D2D. r=bas
--HG--
extra : rebase_source : 0bf0b8148d9bb5f2f1e19c9c56ea1a4a85dd1f3e
2015-06-19 16:05:51 -04:00
Timothy Nikkel
f24dd15190 Bug 1179298. ClientTiledPaintedLayer should allow empty transactions to succeed if it doesn't need to draw anything. r=mattwoodrow
ClientTiledPaintedLayer::RenderLayer was returning false immediately if there was no callback. It should check if it actually has to draw anything first, and then if it needs to paint it can return false if there is no callback.
2015-07-02 12:50:15 -05:00
Matt Woodrow
3bfec2a908 Bug 1175104 - Enable multithread support on our d3d11 content device. r=Bas
--HG--
extra : rebase_source : 19638a0236113af6a1611d96640a06dfe4b9023f
2015-04-24 15:30:46 +12:00
John Daggett
28d91fc221 Bug 1165179 - use all style matched faces within a font family. r=heycam 2015-07-02 10:44:14 +09:00
Markus Stange
8b1e64ec34 Bug 1148582 - Support multiple mask layers per layer in LayerManagerComposite. 2015-07-01 17:32:19 -04:00
David Anderson
c4f735d0c5 Bug 1148582 - Apply async transforms to (ancestor) mask layers correctly. r=botond
--HG--
extra : rebase_source : e44f7dbe49b343532b99704893dca879f1a69b4a
extra : source : 6234e37d912a054e8c07259c4dca19ce4c062055
2015-06-30 21:07:09 -04:00
David Anderson
55a0f8ee25 Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
--HG--
extra : rebase_source : 9bf7a73b14e40972b3a5824b2f1344b7770ab789
extra : source : 745366787bcae737c0aec908554db2a3ec288908
2015-06-21 12:27:31 -04:00
Ted Mielczarek
1ee35b71a1 bug 1178733 - enable APZ for iOS. r=kats
--HG--
extra : commitid : GM3w3mR7VeC
extra : rebase_source : ca42565c0c080093f5d5adbd0e0c7d91f40ccfc2
2015-06-23 15:03:44 -07:00
Ted Mielczarek
f35ad89891 bug 1174705 - add GLContext::GetDefaultFramebuffer. r=jgilbert
--HG--
extra : commitid : 6STxf0t6Ms0
extra : rebase_source : f1ea5351f66c79ebc717cc32bae8934f651802a6
2015-05-11 15:10:06 -04:00
Ted Mielczarek
3073ae605d bug 1174701 - Don't use NEON assembly for ARM iOS in gfx/ycbcr. r=jrmuizel
--HG--
extra : commitid : 2MFnSpW8vuK
extra : rebase_source : ad04314f69cf304e1ff220047328b05dcd388685
2015-03-17 14:22:03 -04:00
Ted Mielczarek
58ea8ea76e bug 1171642 - Disable some skia arm assembly for iOS. r=gw280
--HG--
extra : commitid : AvH15J44hkH
extra : rebase_source : ff5cef4f86b5b6667bde2f9c2978b9999bcacc13
2015-06-15 11:47:43 -04:00
Ryan VanderMeulen
dd75267bf8 Bug 1179287 - Skip TestTiledLayerBuffer due to Linux PGO bustage.
CLOSED TREE
2015-07-01 13:42:48 -04:00
Nicolas Silva
e706f98607 Bug 1179287 - Attempt to fix a gcc warning by removing the line in the test that may have caused it. CLOSED TREE 2015-07-01 18:22:17 +02:00
Nicolas Silva
e4dff52f73 Bug 1170189 - fix a comment in the tiling code. r=BenWa 2015-07-01 13:51:07 +02:00
Nicolas Silva
820e9182e7 Bug 1170189 - Remove the TiledLayerComposer interface. r=BenWa 2015-07-01 13:51:03 +02:00
Nicolas Silva
c23b8a3c64 Bug 1170189 - Simplify the client-side tiling code. r=BenWa 2015-07-01 13:50:58 +02:00
Markus Stange
f1b62506d9 Back out bug 1148582 for static analysis bustage. 2015-07-01 01:20:59 -04:00
Markus Stange
54a3beedc7 Bug 1148582 - Don't capture refcounted LayerManager in the lambda; capture the compositor instead. 2015-07-01 01:01:50 -04:00
Markus Stange
11f7503d75 Bug 1148582 - Support multiple mask layers per layer in LayerManagerComposite.
--HG--
extra : amend_source : e0991ef9c01cf71ff7ebd5688a5403086d0b82e6
2015-07-01 00:52:09 -04:00
David Anderson
eae17dff97 Bug 1148582 - Apply async transforms to (ancestor) mask layers correctly. r=botond 2015-06-30 21:07:09 -04:00
David Anderson
c29b4c6dfa Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow 2015-06-21 12:27:31 -04:00
Nathan Froyd
974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Kartikaya Gupta
b7aec3ed17 Bug 1178860 - Add dom.meta-viewport.enabled to gfxPrefs. r=dvander 2015-06-30 14:49:02 -04:00
Lee Salzman
4142e9be13 Bug 633097 - Fix jittering animated text by disallowing flattening into a container layer that has animated text. r=mwoodrow 2015-06-26 18:13:50 -04:00
Andrew Comminos
8f3a42c617 Bug 1177807 - Mark cairo surface dirty in ReleaseBits. r=jrmuizel 2015-06-26 11:34:00 +02:00
Jonathan Kew
3907cf90fa Bug 789788 - Revise the don't-use-document-fonts option so that it will prefer generics (as configured in prefs) but ignore the 'cursive' and 'fantasy' values, but may still use page-specified fonts if necessary for fallback (e.g. icon fonts). r=dbaron 2015-06-27 22:23:05 -07:00
Cameron McCormack
55dbc6f840 Bug 1072102 - Part 1: Implement FontFaceSet load and check. r=jdaggett,bzbarsky 2015-06-27 11:41:10 +10:00
Mason Chang
84479296fe Bug 1155828. Follow up bug to correct indentation. r=mstange 2015-06-26 16:33:24 -07:00
Matt Woodrow
3d198b14d2 Bug 1176570 - Make sure all shared texture handles are opened correctly before attempting to use them. r=jrmuizel 2015-06-26 14:07:57 -07:00
Matt Woodrow
072df12846 Bug 1176506 - Don't test texture sharing on WARP devices since it never works and can be detected as a driver reset. r=Bas 2015-06-26 14:06:49 -07:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Botond Ballo
09cd718536 Bug 1176402 - Obtain the DOMWindowUtils object consistently in the APZ testing native event helpers. r=kats
--HG--
extra : rebase_source : 859729b56dd92275073c6198652080f7cd4f0459
extra : source : bad28f570db5490f21a5b273d0a6767453a84786
2015-06-24 03:04:35 -04:00
Botond Ballo
b1873b2c03 Bug 1176402 - Have synthesizeNativeWheel() and synthesizeNativeMouseMove() accept coordinates relative to the element's bounding rect. r=kats
--HG--
extra : rebase_source : afb4b0907581cc5c19f3b5c37706d2f72564fc8d
extra : source : 528722d4cab413b596e7c3ac9ef0c37722b825bd
2015-06-25 04:05:44 -04:00
Botond Ballo
a36e9fc830 Bug 1176402 - Update a call to a function that has since been renamed. r=kats
--HG--
extra : rebase_source : a3de25acfb333b17c0a4dafee8c94578a27af825
extra : source : 14ab3fb059bd89081a6a0a18b997d5d6efc9dc73
2015-06-24 02:56:48 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Mason Chang
b1a0212509 Bug 1162824 - Change box shadow cache to cache the colored blurred box shadow. r=mstange 2015-06-25 12:04:21 -07:00
Mason Chang
b5768cc6da Bug 1155828 - Draw box-shadows using an approach inspired by border-image. r=mstange 2015-05-13 15:19:27 -04:00
Mason Chang
af9e236e6e Bug 1176446 - TextureClientD3D11 should take into account the layer backend when allocating a surface. r=bas 2015-06-25 08:07:42 -07:00
Andrew Comminos
b5ccccd933 Bug 1177233 - Convert to native scroll units for APZ testing on GTK. r=kats
--HG--
extra : rebase_source : c542d866487b67b558e9173cbe733cc39a9c4578
2015-06-24 16:38:00 +02:00
Kartikaya Gupta
5d7a94bba3 Bug 1177023 - Log the IsRootContent flag when dumping framemetrics. r=botond 2015-06-24 15:45:46 -07:00
Sotaro Ikeda
1461279916 Bug 1176945 - Remove unnecessary hwc reference from gl r=jgilbert 2015-06-24 15:44:47 -07:00
Lee Salzman
3fe9408260 Bug 1033375 - Nudge simple linear gradients with hard stops to half-pixel gradient. r=nical 2015-06-23 20:50:36 -04:00
Benoit Girard
9b363da3c3 Bug 1176551 - Don't reject valid profiles with no CLUT offset. r=jrmuizel
--HG--
extra : commitid : FPpGSvD0Xkd
2015-06-23 17:49:39 -07:00
Paul Rouget
642c1ce6d5 Bug 1175564 - don't lock y-axis if pan displacement is 0. r=kats 2015-06-19 08:37:00 +02:00
Jeff Muizelaar
ba3f7d7a8d Backout 54d4d88b2f2f from Bug 1172014 which was causing Bug 1176548 2015-06-21 23:16:13 -04:00
Brian Birtles
5e4b47c68e Bug 1170688 - Move initialization of text-run parameters until *after* the draw target has been updated; r=jfkthame
This fixes a regression when painting semi-transparent synthetic bold text. When
we do that we update the draw target but refactoring in bug 1037340 part
2 caused us to store the draw target before it was updated.
2015-06-22 11:45:39 +09:00
Markus Stange
8f3e1c59d9 Bug 1165185 - Try to avoid invalidations when scrolling transformed elements. r=roc
--HG--
extra : rebase_source : e044d64a50c6afff9e518cf53c51aa9658f3b41e
2015-06-15 19:20:59 -04:00
Jonathan Kew
5f4235ae8b Bug 1174946 - Back out the (incorrectly-implemented) caching of sentinelFirstFamily from bug 1165693, which should be largely overshadowed by the mFcSubstituteCache anyway. r=jdaggett 2015-06-20 08:44:21 +01:00
Kartikaya Gupta
783f686467 Bug 1153841 - Remove the 'it must be 2D' restriction for transforms on fixed-pos layers. r=BenWa,mattwoodrow 2015-06-19 22:57:37 -04:00
Kartikaya Gupta
08ead0c1ca Bug 1139155 - Add a basic sanity test to exercise touch-based scrolling on B2G. r=botond 2015-06-19 22:52:07 -04:00
Kartikaya Gupta
0584aa026d Bug 1139155 - Add a mechanism to know when the APZ is done processing. r=botond 2015-06-19 22:51:35 -04:00
Wes Kocher
d0c7c545ac Backed out 2 changesets (bug 1175585) for test_wheel_transactions.html failures CLOSED TREE
Backed out changeset 5b56c3d0e379 (bug 1175585)
Backed out changeset 89b4c0b06ff3 (bug 1175585)

--HG--
extra : rebase_source : f25dd69111041d0d23e09c6a3bd70926c953fffd
2015-06-19 18:03:05 -07:00
Botond Ballo
5e87ffa029 Bug 1175585 - Full-stack mochitest for wheel transactions. r=kats,a=kwierso
--HG--
extra : source : 073002f5b079b460bb2e48836b619ada0b866b5b
extra : amend_source : dd21226b11be218ff5b73c1ae3a563660d999a69
2015-06-17 19:12:52 -04:00
Botond Ballo
addfc3aace Bug 1175585 - Generalize scrollWheelOver() so it's usable by other APZ tests. r=kats
--HG--
extra : source : 59084db6f16271bc263bb9696e3168b81c9bdbfa
2015-06-17 19:11:25 -04:00
Benoit Girard
45c212daeb Bug 1150232 - Stop gap solution until we can integrate the graphics docs. r=mstange 2015-06-19 14:36:23 -04:00
Tom Klein
69ad936a10 Bug 853889 - Check single-box orientaton in _cairo_bentley_ottmann_tessellate_rectangular_traps and _cairo_bentley_ottmann_tessellate_boxes. r=jmuizelaar
The fix for _cairo_bentley_ottmann_tessellate_boxes is from cairo upstream
commit 11b6c49c103d53526e9805c8906fde5dbb2eb884.

--HG--
extra : rebase_source : f9a52a5c6d20e560946abc4fb61bfd4a71fafb6a
2015-06-18 13:15:00 -04:00
Kartikaya Gupta
1d81392d69 Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-06-19 08:25:41 -04:00
Milan Sreckovic
78ffa8b527 Bug 1176052 - Introduce gfxCriticalNote. r=jmuizelaar 2015-06-18 12:59:00 +02:00
Milan Sreckovic
ffec6a9914 Bug 1145143 - When we fail to UpdateRenderTarget, report the size as well. r=bas 2015-06-18 12:20:00 +02:00
Milan Sreckovic
50bc2f0ddc Bug 1019063 - Check for ::CreateDCW failing when printing. r=dvander 2015-06-18 08:18:00 +02:00
Nicholas Nethercote
aec584b5a8 Bug 1172817 - Remove PL_DHashTableEnumerate() use from FontNameCache. r=jtd. 2015-06-10 13:07:41 -07:00
Bas Schouten
a714824260 Bug 1172014: Correctly use TextureClientShmemDIB. r=jrmuizel 2015-06-19 01:59:30 +02:00
Bas Schouten
7a583fc688 Bug 1167235 - Part 6: Fix up HasInternalBuffer return value on TextureHostDirectUpload. r=nical 2015-06-19 01:07:22 +02:00
Bas Schouten
c54230521e Bug 1167235 - Part 5: Make CanvasLayerComposite ImageHost type agnostic. r=nical 2015-06-19 01:07:22 +02:00
Bas Schouten
557df443d1 Bug 1167235 - Part 4: Remove DrawTarget as a possible means of initializing Canvas layers. r=nical 2015-06-19 01:07:22 +02:00
Bas Schouten
7801f65a75 Bug 1167235 - Part 3: Switch CanvasRenderingContext2D to use the new BufferProvider API. r=nical 2015-06-19 01:07:21 +02:00
Bas Schouten
4ed616c712 Bug 1167235 - Part 2: Add support for the basic buffer provider to CanvasLayer. r=nical 2015-06-19 01:07:21 +02:00
Bas Schouten
03d7b7630c Bug 1167235 - Part 1: Add code exposing a PersistentBufferProvider. r=nical 2015-06-19 01:07:21 +02:00
Kartikaya Gupta
21197ce3b2 Bug 1176001 - Turn unconditional log into a manually-enabled log. r=botond 2015-06-18 16:25:00 -04:00
Mason Chang
836ad1a065 Bug 1171156. Normalize vsync timestamps when given bad values on OS X. r=mstange 2015-06-18 08:06:20 -07:00
Daosheng Mu
9751dfe073 Bug 987498 - Part 1 - Layers support OverlayImage. r=roc 2015-05-28 01:35:00 +02:00
Jim Mathies
363e808f12 Bug 1152109 - Don't clear plugin data cache in ShadowLayers code, we need to resend this during repaints that do not involve reflow. r=roc 2015-06-18 06:22:34 -05:00
Jim Mathies
a0edcafb63 Bug 1152326 - When processing plugin updates only update the visibility of the set of plugins associated with the same compositor. r=aklotz 2015-06-17 15:39:09 -05:00
Matt Woodrow
330af331a0 Bug 1175366 - Don't use DXVA if D3D11 texture sharing is broken. r=jrmuizel
--HG--
extra : rebase_source : dbfeb9aaa25ab1fbedbcae63f63886bb12d8bb9e
2015-06-17 21:09:16 -07:00
Milan Sreckovic
bf20a99244 Bug 1175521 - Posting to a dead loop. r=nical 2015-06-17 10:33:00 -04:00
Andrew Comminos
a0b8e5cf08 Bug 1175530 - Log using gfxDebugOnce when enabling vsync compositor. r=mchang 2015-06-17 08:48:00 -04:00
Kartikaya Gupta
d216c84c8b Bug 1055557 - Ensure the right presShell resolution is used in ApplyCallbackTransform for fennec-apz scenarios. r=botond 2015-06-17 12:34:42 -04:00
Kartikaya Gupta
49c13c1c35 Bug 1055557 - Add a ZoomConstraintsClient class to manage pushing zoom constraints updates to the APZ code. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-17 12:32:42 -04:00
Kartikaya Gupta
bd05613425 Bug 1055557 - Move storage of ZoomConstraints from RemoteContentController to APZCTreeManager. r=botond 2015-06-17 12:32:41 -04:00
Ryan VanderMeulen
b290b7f37c Backed out changeset 264d12cfb073 (bug 853889) for Android 853889-1.html reftest failures.
CLOSED TREE
2015-06-17 11:43:23 -04:00
Tom Klein
5e589d88a4 Bug 853889 - Check orientation of single trapezoid in _cairo_bentley_ottmann_tessellate_rectangular_traps. r=jmuizelaar
--HG--
extra : rebase_source : 852a5923994f3d75f0ec68fe9d500f3cade5ba18
2015-06-15 16:57:00 +02:00
Botond Ballo
7a5580e78f Bug 1173580 - Full-stack APZ layerization mochitest. r=kats
--HG--
extra : source : 91c83d0cb80b2985d768687b2496ea1888fd2b81
2015-06-11 20:15:07 -04:00
Botond Ballo
5d9041c1d9 Bug 1173580 - Add utilities for synthesizing mouse move events to apz_test_native_event_utils.js. r=kats
--HG--
extra : source : d6a592fefdc55e33d9253cd9bb41acd6ea1f84c5
2015-06-15 16:43:56 -04:00
Botond Ballo
28f57aed47 Bug 1173580 - Make synthesizeNativeWheelAnd*() functions iframe-friendly. r=kats
--HG--
extra : source : 04885e71c324fff5baf19585c266ad2b649a3367
2015-06-15 16:43:46 -04:00
Jeff Muizelaar
e78c6f3884 Bug 1175286. Remove unnecessary CGContextSave/Restore pair from ClearRect.
--HG--
extra : rebase_source : a4bbc99cbab0d7afacc9056eafd541c5f17c48da
2015-06-16 17:11:42 -04:00
Michael Layzell
bbe7e606d2 Bug 1168172 - Mark gfxUserFontEntry::mLoader as MOZ_NON_OWNING_REF. r=jtd
--HG--
extra : rebase_source : b0fb8094a9a089170a7538d5300b20c026e71a3d
2015-05-25 11:30:00 -04:00
Michael Layzell
2a4808a906 Bug 1168176 - Mark gfxFontShaper::mFont as MOZ_NON_OWNING_REF. r=jtd
--HG--
extra : rebase_source : 15a007eb060f4274b0dc983d4d520b599efeb768
2015-05-25 11:32:00 -04:00
Michael Layzell
6e3a4bba77 Bug 1167697 - Mark refs to gfxFontEntry in UserFontCache as MOZ_NON_OWNING_REF. r=jtd
--HG--
extra : rebase_source : 80dc502bcd131927ff105cbe97ec5995b630b774
2015-05-22 11:47:00 -04:00
Michael Layzell
e55646e58d Bug 1167403 - Mark gfxFont::GlyphChangeObserver::mFont as MOZ_NON_OWNING_REF. r=jtd
--HG--
extra : rebase_source : 0b23952004a875aa62a2e30076eda2097afdc9cf
2015-05-22 08:23:00 -04:00
Jeff Muizelaar
e50ab42b38 Bug 1170983 - Re-enable gfx gtests that were skipped on Windows. r=ted
We can run these now that we don't split out gkmedias.

This also changes a test to avoid MSVC codegening a divide by 0

--HG--
extra : rebase_source : 06af10f1d6779237d2cc6c1dabfd9378889893ee
2015-06-04 14:34:46 -04:00
Jonathan Watt
2958a6824c Bug 1172964 - Fix iteration bug in CopyBGRXSurfaceDataToPackedBGRArray. r=jrmuizel
--HG--
extra : rebase_source : 1ed22e9ef27e749eb8f476c6b54e8bada94e945c
2015-06-01 17:20:52 +01:00
Markus Stange
dc2a5c02ef Bug 1169331 - Always clip rotated buffer quadrant drawing to the fill rect. r=jrmuizel
--HG--
extra : rebase_source : 6277eb60b2ee59903ff7a96bc9fa5a6ae379e20e
2015-06-15 16:57:30 -04:00
Milan Sreckovic
42d8db701c Bug 1159751 - Use a more explicit order of destruction in gfxWindowsPlatform. r=bas 2015-06-10 11:52:00 -04:00
Kartikaya Gupta
815a3d5741 Bug 1163572 - Modify UpdateSubFrame to automatically figure out the nsIContent from the scrollId. r=botond 2015-06-15 14:39:06 -04:00
Kartikaya Gupta
171ee5bc2c Bug 1163572 - Have ChromeProcessController also handle root-frame repaint requests. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-15 14:39:06 -04:00
Kartikaya Gupta
ba0013b256 Bug 1163572 - Modify UpdateRootFrame to automatically compute the nsIContent* and nsIPresShell* from the metrics. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-15 14:39:06 -04:00
Matt Woodrow
5925a945d1 Bug 1173983 - Use R8 textures for d3d11 alpha textures since it appears to be better supported. r=Bas 2015-06-15 12:30:34 -04:00
Andreas Pehrson
d3659f3dbd Bug 1169126 - Part 1: Make DrawTargetCG::CopySurface able to handle all SourceSurface types. r=gw280
--HG--
extra : rebase_source : b8288de3b9731249205203e5bca2abc356b8eb78
2015-06-11 10:57:29 +08:00
Andrew Comminos
bc95798c00 Bug 1169370 - Mark tree Cairo surface dirty after borrow. r=jrmuizel
--HG--
extra : rebase_source : 3e9d5349a0218a60ff2178aeec42741028427824
2015-06-10 12:16:00 -04:00
Kyle Fung
da2704a55c Bug 1160070 - Used BitmapBrush instead of ImageBrush when no sampling bounds. r=bas 2015-06-12 17:28:25 -04:00
Ted Mielczarek
516fb7725b bug 1170988 - Fix skia to build for iOS. r=gw280
--HG--
extra : commitid : CEp0pJDjTht
extra : rebase_source : 89e5d6661ef2bacbb94e54fe23016d58158cd3ad
2015-02-05 15:10:28 -05:00
Ted Mielczarek
8cbf08bf4d bug 1171117 - Fix cairo to build on iOS. r=jrmuizel
Cherry-pick cairo upstream rev 70cc8f250b5669e757b4f044571ba0f71e3dea9e and add CoreText include for iOS

--HG--
extra : commitid : JgGU6cuhap3
extra : rebase_source : c3d45f452d5a7e04adfc0468cddb5e722778c9fb
2015-02-11 15:13:24 -05:00
Chris Peterson
0f79aeadea Bug 1174383 - Fix bogus gfx/2d debug assertions that have side effects. r=Bas 2015-06-12 22:19:54 -07:00
Kartikaya Gupta
d9cd08181e Bug 1174205 - Make sure to acquire the tree lock before finding the multitouch target. r=botond 2015-06-12 17:45:50 -04:00
Matt Woodrow
1ee7f9ba83 Bug 1170143 - Disable alpha texture sharing for intel driver version 8.15.10.2086 since it crashes. r=jrmuizel
--HG--
extra : rebase_source : c61a3391748f1d7a90172587ad608a212ac94fea
2015-06-05 16:51:19 +12:00
Jeff Muizelaar
ef2ac65dae Bug 1173972. Improve logging in gfxWindowPlatform. r=milan
This will give better about:support info and better crashes

--HG--
extra : rebase_source : 14c19e5a975ef1917eaf6385ff7336b041f89690
2015-06-11 17:14:32 -04:00
Botond Ballo
3bc2b3696f Bug 1172648 - Full-stack APZ mochitest for bug 1151667. r=kats
--HG--
extra : rebase_source : fbdd34c96aee64b0d8c3effc1c8ba39f7ae33418
2015-06-08 10:55:38 -04:00
David Anderson
f7991a0b3e Add telemetry for reporting graphics driver startup states. (bug 1168935 part 2, r=vdjeric,mattwoodrow) 2015-06-12 01:01:22 -07:00
David Anderson
ab55b4e60a Disable layers acceleration on Windows if the last startup crashed during driver initialization. (bug 1168935, r=mattwoodrow) 2015-06-12 01:01:18 -07:00
Ryan VanderMeulen
d452161188 Backed out changeset 67527d8c0688 (bug 1169331) for being the most-likely cause of semi-frequent Android debug reftest failures.
CLOSED TREE
2015-06-11 15:39:27 -04:00
Andrew Comminos
198ba930fe Bug 1168527 - Add support to gfxContext for clip exporting. r=jrmuizel
--HG--
extra : rebase_source : 3747753f0285a9fe9803d851b234744603e2e0f4
extra : histedit_source : 73abebe3363945850bc42d17144cb0e90e184a7e
2015-06-09 13:46:09 -04:00
Andreas Pehrson
f9165d38d7 Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas
--HG--
extra : rebase_source : aebb45613926c64355e5b193bc79166cf04292be
2015-06-10 19:01:00 +08:00
Andrew Comminos
1013161996 Bug 1167356 - Handle return value of DataSourceSurface::Map wherever possible. r=Bas
--HG--
extra : rebase_source : fe4fcb9c3a89e2573e6fde423ed8d96f31e00f14
2015-06-11 13:06:23 -04:00
Lee Salzman
10c03b2c62 Bug 1167332 - Pass failures out of SetBufferData. r=jgilbert
--HG--
extra : rebase_source : adaa0371b6bac0902a3cdbd946acc42791f823bf
2015-06-09 14:41:03 -04:00
Markus Stange
0ef27f250c Bug 1169331 - Always clip rotated buffer quadrant drawing to the fill rect. r=jrmuizel
--HG--
extra : rebase_source : d4ecb4db1209c709ea0e20683cf4e36c096c3556
extra : histedit_source : 6cb7253da86d2ef30cdee348e9583d602a533ee0
2015-06-05 13:34:54 -04:00
Carsten "Tomcat" Book
d161a9a425 Backed out changeset 606cb8f08825 (bug 1168935) for test failures in browser_Troubleshoot.js 2015-06-11 10:09:08 +02:00
Carsten "Tomcat" Book
bf374b51c4 Backed out changeset 45cdca10d5cd (bug 1168935) 2015-06-11 10:08:42 +02:00
Dan Glastonbury
036ef86398 Bug 1170855 - Part C: Move _WEBGL GLenums from GLConsts.h to WebGLContext.h. r=jgilbert 2015-06-11 15:12:16 +10:00
Dan Glastonbury
e4e894d15e Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug 2015-06-11 15:12:12 +10:00
Dan Glastonbury
f1117f4227 Bug 1170855 - Part 5: Correctly load glGetInteger64v. r=jgilbert
Correctly detect support for ARB_sync via GLFeature.
2015-06-11 15:12:09 +10:00
David Anderson
bf79e86952 Add telemetry for reporting graphics driver startup states. (bug 1168935 part 2, r=vdjeric,mattwoodrow) 2015-06-10 21:59:05 -07:00
David Anderson
63b8afcfd7 Disable layers acceleration on Windows if the last startup crashed during driver initialization. (bug 1168935 part 1, r=mattwoodrow) 2015-06-10 21:59:03 -07:00
Mason Chang
0af424cfd3 Bug 1171156. More logging to test vsync timestamps. r=me 2015-06-10 21:36:42 -07:00
Phil Ringnalda
e9695717ce Backed out 12 changesets (bug 1170855) for Windows build bustage
CLOSED TREE

Backed out changeset 47070f494c9e (bug 1170855)
Backed out changeset 86e3fb3a2295 (bug 1170855)
Backed out changeset 49284df5294e (bug 1170855)
Backed out changeset ae7c769cb78d (bug 1170855)
Backed out changeset 1fbb0ef29363 (bug 1170855)
Backed out changeset 1fd9140044be (bug 1170855)
Backed out changeset cca48a1bc6ef (bug 1170855)
Backed out changeset 835570bc63bf (bug 1170855)
Backed out changeset 4ee1883ffc65 (bug 1170855)
Backed out changeset c666d71f4899 (bug 1170855)
Backed out changeset 046422ea849f (bug 1170855)
Backed out changeset d38fb3aea20a (bug 1170855)
2015-06-10 20:47:07 -07:00
Dan Glastonbury
2dd2de985a Bug 1170855 - Part C: Move _WEBGL GLenums from GLConsts.h to WebGLContext.h. r=jgilbert 2015-06-11 12:26:31 +10:00
Dan Glastonbury
23c27a31d7 Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug
This is a special addition for WebGL 2. I've updated webidl to match the
spec.

I've set the value to be 0 to match Chrome. If I query the underlying
GL, I get -1 back. (On OSX). We can discuss what a better value would
be.
2015-06-11 12:26:28 +10:00
Dan Glastonbury
29de7ee6a1 Bug 1170855 - Part 5: Correctly load glGetInteger64v. r=jgilbert
Correctly detect support for ARB_sync via GLFeature.
2015-06-11 12:26:26 +10:00
Botond Ballo
54cd74e6ab Bug 1158424 - Undeprecate HasNoParentWithSameLayersId(). r=kats
--HG--
extra : rebase_source : 5b5b532c559d38bc489c2c12b581cd8c5583d53d
extra : source : 987893534cec83be83727bda591f32c834d9fe72
2015-06-01 19:15:52 -04:00
Botond Ballo
0456f20d1f Bug 1158424 - Fix APZCTreeManager::GetMultitouchTarget(). r=kats
--HG--
extra : rebase_source : 661436c8bd8a7b19ae77fb130c0f503c3ea9aa5f
extra : source : 756fc2e0851c928dab8f7a9ccc8522f626f9e5cd
2015-06-10 14:57:24 -04:00
Botond Ballo
d905e13089 Bug 1158424 - Add APZCTreeManager::FindRootContentApzcForLayersId(). r=kats
--HG--
extra : rebase_source : 8b155ae809ed12f9b2865ef115859abf49986ea8
extra : source : 739a50343f0fb534dec8d7e8bd7a6e2f160aae38
2015-06-10 14:48:03 -04:00
Botond Ballo
569ed3eed4 Bug 1158424 - Extract a BreadthFirstSearch() helper function. r=kats
--HG--
extra : rebase_source : 37a49a404d48a81c678af656e060013ea9831189
extra : source : bf922bae371e6be6793838d20a19dd81cc042898
2015-06-10 14:47:52 -04:00