Commit Graph

14521 Commits

Author SHA1 Message Date
Robert O'Callahan
4400eae71d Bug 1143575. Remove unused CompositionNotifySink. r=nical 2015-03-22 01:02:25 +13:00
Robert O'Callahan
0f701e6020 Bug 1143575. Remove unused Image::IsSentToCompositor tracking. r=nical 2015-03-20 16:13:46 +13:00
Robert O'Callahan
a40be7876e Bug 1143575. Android's screenshotting code should invalidate the LayerManagerComposite to ensure composition will actually happen. r=nical
There is some ambiguity about whether ScheduleComposite will necessarily
trigger a composite all the way to nsWindow::DrawWindowUnderlay. Android
robocop tests assume it will, because they rely on DrawWindowOverlay
being called so they can take a screenshot and make progress,
but this is a very fragile assumption. They also rely on the entire
window being painted, which is also a fragile assumption.

This patch improves the situation by explicitly invalidating the current
window area when Android Java code needs to trigger a composite. This avoids
regressions from future patches in this series which make composition bail
out when there is nothing invalid.

The resulting setup is still a bit fragile for my taste but I'm not sure
what the ideal solution would be.
2015-06-12 03:20:04 +12:00
Robert O'Callahan
02fd1ee5fe 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
2015-06-12 03:18:46 +12:00
Robert O'Callahan
f99f603344 Bug 1143575. Add some #includes to avoid more unified-build issues on Windows. r=nical 2015-06-09 14:35:04 +12:00
Robert O'Callahan
b03bc99164 Bug 1143575. Add some #includes to avoid unified-build issues on Windows. r=nical 2015-06-09 05:27:37 +12:00
Robert O'Callahan
e23366ece4 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.
2015-06-08 21:27:23 +12:00
Robert O'Callahan
5b84875398 Bug 1143575. #include nsDebug.h in YCbCrImageDataSerializer.cpp for NS_WARN_IF. r=nical 2015-06-08 22:19:11 +12:00
Tom Klein
d1862fef11 Bug 1143303 - extend D2D circle workaround to work for small circles. r=bas 2015-07-06 22:46:00 +02:00
Kartikaya Gupta
49cce06c18 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
d4b11ffbea 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
4ed1715566 bug 1180010 make some methods protected and non-virtual r=jdaggett 2015-03-13 16:00:10 +13:00
John Daggett
000255f459 Bug 1171357 - log font matching for textruns. r=m_kato 2015-07-06 10:11:19 +09:00
Sotaro Ikeda
0782cc9b9f Bug 1112219 - Implement platform independent MediaResourceManager r=cpearce,bwu,nical 2015-07-05 11:56:04 -07:00
Kartikaya Gupta
33d69969fc 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
21d73728f3 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Lynn Tran
6e524f1798 Bug 1031443 - Allow panning in the pinching state even if zooming is
disabled;r=botond
2015-07-01 14:58:32 -04:00
Kevin Wern
b4ac13dd45 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.
2015-07-03 15:06:26 -04:00
Jeff Muizelaar
73c3107c18 Bug 1180322. Add a document describing the history of layers 2015-07-03 18:10:12 -04:00
Benoit Girard
4109137521 Bug 1132467 - Adjust qcms lut inverse binary search of non monotonic TRC. r=jrmuizel 2015-06-04 19:30:52 -04:00
Hamzata Diallo
9a79d7372b Bug 1178513 - Export libxul symbols needed by ACL. r=mattwoodrow 2015-07-02 15:19:35 -07:00
Nishad P
b4f1b16eab Bug 1178513 - Added RGBA8888 to RGB565 converter. r=mattwoodrow 2015-07-02 13:53:06 -07:00
Kyle
bf4c74166f Bug 1168189 - Force D2D1 CopySurface to use DrawBitmap like D2D. r=bas 2015-06-19 16:05:51 -04:00
Timothy Nikkel
7afb4241f1 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
0af15741ff Bug 1175104 - Enable multithread support on our d3d11 content device. r=Bas 2015-04-24 15:30:46 +12:00
John Daggett
376663e9b2 Bug 1165179 - use all style matched faces within a font family. r=heycam 2015-07-02 10:44:14 +09:00
Markus Stange
c7e2ac0dc2 Bug 1148582 - Support multiple mask layers per layer in LayerManagerComposite. 2015-07-01 17:32:19 -04:00
David Anderson
b1bf38d87f Bug 1148582 - Apply async transforms to (ancestor) mask layers correctly. r=botond 2015-06-30 21:07:09 -04:00
David Anderson
a3ffcf73bf Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow 2015-06-21 12:27:31 -04:00
Ted Mielczarek
3f1f4d6f0a bug 1178733 - enable APZ for iOS. r=kats 2015-06-23 15:03:44 -07:00
Ted Mielczarek
ee856c1875 bug 1174705 - add GLContext::GetDefaultFramebuffer. r=jgilbert 2015-05-11 15:10:06 -04:00
Ted Mielczarek
94337e6cfe bug 1174701 - Don't use NEON assembly for ARM iOS in gfx/ycbcr. r=jrmuizel 2015-03-17 14:22:03 -04:00
Ted Mielczarek
f79beb91ba bug 1171642 - Disable some skia arm assembly for iOS. r=gw280 2015-06-15 11:47:43 -04:00
Ryan VanderMeulen
b83ecb4a8d Bug 1179287 - Skip TestTiledLayerBuffer due to Linux PGO bustage.
CLOSED TREE
2015-07-01 13:42:48 -04:00
Nicolas Silva
40109519e2 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
2cc9649c13 Bug 1170189 - fix a comment in the tiling code. r=BenWa 2015-07-01 13:51:07 +02:00
Nicolas Silva
a8a592d46a Bug 1170189 - Remove the TiledLayerComposer interface. r=BenWa 2015-07-01 13:51:03 +02:00
Nicolas Silva
82ab77a632 Bug 1170189 - Simplify the client-side tiling code. r=BenWa 2015-07-01 13:50:58 +02:00
Markus Stange
26c466292e Back out bug 1148582 for static analysis bustage. 2015-07-01 01:20:59 -04:00
Markus Stange
1ff20a74cb Bug 1148582 - Don't capture refcounted LayerManager in the lambda; capture the compositor instead. 2015-07-01 01:01:50 -04:00
Markus Stange
c0d1e334f1 Bug 1148582 - Support multiple mask layers per layer in LayerManagerComposite. 2015-07-01 00:52:09 -04:00
David Anderson
5cff589f5b Bug 1148582 - Apply async transforms to (ancestor) mask layers correctly. r=botond 2015-06-30 21:07:09 -04:00
David Anderson
48bab4c4b7 Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow 2015-06-21 12:27:31 -04:00
Nathan Froyd
46d6f38e68 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
c508a4e334 Bug 1178860 - Add dom.meta-viewport.enabled to gfxPrefs. r=dvander 2015-06-30 14:49:02 -04:00
Lee Salzman
d6a4a84005 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
1b5125d97b Bug 1177807 - Mark cairo surface dirty in ReleaseBits. r=jrmuizel 2015-06-26 11:34:00 +02:00
Jonathan Kew
44cdda187d 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
3e5c2ac779 Bug 1072102 - Part 1: Implement FontFaceSet load and check. r=jdaggett,bzbarsky 2015-06-27 11:41:10 +10:00
Mason Chang
97b48890a0 Bug 1155828. Follow up bug to correct indentation. r=mstange 2015-06-26 16:33:24 -07:00
Matt Woodrow
859eb23c8e 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
adebc80a26 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
55b2086097 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Botond Ballo
903b53d9b0 Bug 1176402 - Obtain the DOMWindowUtils object consistently in the APZ testing native event helpers. r=kats 2015-06-24 03:04:35 -04:00
Botond Ballo
fd97143b7b Bug 1176402 - Have synthesizeNativeWheel() and synthesizeNativeMouseMove() accept coordinates relative to the element's bounding rect. r=kats 2015-06-25 04:05:44 -04:00
Botond Ballo
701965c242 Bug 1176402 - Update a call to a function that has since been renamed. r=kats 2015-06-24 02:56:48 -04:00
Juan Gomez
98461fc4a4 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Mason Chang
629147c66e 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
1c1f13069a Bug 1155828 - Draw box-shadows using an approach inspired by border-image. r=mstange 2015-05-13 15:19:27 -04:00
Mason Chang
a3cc5110cb 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
6b8dfd4079 Bug 1177233 - Convert to native scroll units for APZ testing on GTK. r=kats 2015-06-24 16:38:00 +02:00
Kartikaya Gupta
2a2a1bfc91 Bug 1177023 - Log the IsRootContent flag when dumping framemetrics. r=botond 2015-06-24 15:45:46 -07:00
Sotaro Ikeda
7d5564f232 Bug 1176945 - Remove unnecessary hwc reference from gl r=jgilbert 2015-06-24 15:44:47 -07:00
Lee Salzman
f7f17d5e38 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
8a3c160b79 Bug 1176551 - Don't reject valid profiles with no CLUT offset. r=jrmuizel 2015-06-23 17:49:39 -07:00
Paul Rouget
bb91afb8ae Bug 1175564 - don't lock y-axis if pan displacement is 0. r=kats 2015-06-19 08:37:00 +02:00
Jeff Muizelaar
e65b494176 Backout 54d4d88b2f2f from Bug 1172014 which was causing Bug 1176548 2015-06-21 23:16:13 -04:00
Brian Birtles
e87639d412 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
0528311764 Bug 1165185 - Try to avoid invalidations when scrolling transformed elements. r=roc 2015-06-15 19:20:59 -04:00
Jonathan Kew
3cc55beaf6 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
7f0178f0d8 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
a054adb558 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
0e89355f25 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
f466a03d88 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)
2015-06-19 18:03:05 -07:00
Botond Ballo
1c2c088e76 Bug 1175585 - Full-stack mochitest for wheel transactions. r=kats,a=kwierso 2015-06-17 19:12:52 -04:00
Botond Ballo
36b20fdd64 Bug 1175585 - Generalize scrollWheelOver() so it's usable by other APZ tests. r=kats 2015-06-17 19:11:25 -04:00
Benoit Girard
28fe48ffe9 Bug 1150232 - Stop gap solution until we can integrate the graphics docs. r=mstange 2015-06-19 14:36:23 -04:00
Tom Klein
a37fc70bf8 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.
2015-06-18 13:15:00 -04:00
Kartikaya Gupta
66035b2086 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
ac6eaf9964 Bug 1176052 - Introduce gfxCriticalNote. r=jmuizelaar 2015-06-18 12:59:00 +02:00
Milan Sreckovic
1a5ac95fa7 Bug 1145143 - When we fail to UpdateRenderTarget, report the size as well. r=bas 2015-06-18 12:20:00 +02:00
Milan Sreckovic
3096add467 Bug 1019063 - Check for ::CreateDCW failing when printing. r=dvander 2015-06-18 08:18:00 +02:00
Nicholas Nethercote
0843a89366 Bug 1172817 - Remove PL_DHashTableEnumerate() use from FontNameCache. r=jtd. 2015-06-10 13:07:41 -07:00
Bas Schouten
c25ed65bfe Bug 1172014: Correctly use TextureClientShmemDIB. r=jrmuizel 2015-06-19 01:59:30 +02:00
Bas Schouten
e2610662a9 Bug 1167235 - Part 6: Fix up HasInternalBuffer return value on TextureHostDirectUpload. r=nical 2015-06-19 01:07:22 +02:00
Bas Schouten
222949d6fb Bug 1167235 - Part 5: Make CanvasLayerComposite ImageHost type agnostic. r=nical 2015-06-19 01:07:22 +02:00
Bas Schouten
a0f8cebef4 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
e2b3274f64 Bug 1167235 - Part 3: Switch CanvasRenderingContext2D to use the new BufferProvider API. r=nical 2015-06-19 01:07:21 +02:00
Bas Schouten
369f921871 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
774ff16a5d Bug 1167235 - Part 1: Add code exposing a PersistentBufferProvider. r=nical 2015-06-19 01:07:21 +02:00
Kartikaya Gupta
52a8668ac6 Bug 1176001 - Turn unconditional log into a manually-enabled log. r=botond 2015-06-18 16:25:00 -04:00
Mason Chang
533ffb4d8f Bug 1171156. Normalize vsync timestamps when given bad values on OS X. r=mstange 2015-06-18 08:06:20 -07:00
Daosheng Mu
550fe4082d Bug 987498 - Part 1 - Layers support OverlayImage. r=roc 2015-05-28 01:35:00 +02:00
Jim Mathies
62fdfc2313 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
c7f5082f8e 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
244b451f29 Bug 1175366 - Don't use DXVA if D3D11 texture sharing is broken. r=jrmuizel 2015-06-17 21:09:16 -07:00
Milan Sreckovic
e75d563da7 Bug 1175521 - Posting to a dead loop. r=nical 2015-06-17 10:33:00 -04:00
Andrew Comminos
7a10d4c5be Bug 1175530 - Log using gfxDebugOnce when enabling vsync compositor. r=mchang 2015-06-17 08:48:00 -04:00
Kartikaya Gupta
f4c7f40d56 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
df17113b89 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
c6369a1422 Bug 1055557 - Move storage of ZoomConstraints from RemoteContentController to APZCTreeManager. r=botond 2015-06-17 12:32:41 -04:00
Ryan VanderMeulen
96a8ea6d61 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
e0dbed1ec3 Bug 853889 - Check orientation of single trapezoid in _cairo_bentley_ottmann_tessellate_rectangular_traps. r=jmuizelaar 2015-06-15 16:57:00 +02:00
Botond Ballo
5b139f549b Bug 1173580 - Full-stack APZ layerization mochitest. r=kats 2015-06-11 20:15:07 -04:00
Botond Ballo
6154c32cc9 Bug 1173580 - Add utilities for synthesizing mouse move events to apz_test_native_event_utils.js. r=kats 2015-06-15 16:43:56 -04:00
Botond Ballo
6631495263 Bug 1173580 - Make synthesizeNativeWheelAnd*() functions iframe-friendly. r=kats 2015-06-15 16:43:46 -04:00
Jeff Muizelaar
3dc97c0e33 Bug 1175286. Remove unnecessary CGContextSave/Restore pair from ClearRect. 2015-06-16 17:11:42 -04:00
Michael Layzell
39df2dac79 Bug 1168172 - Mark gfxUserFontEntry::mLoader as MOZ_NON_OWNING_REF. r=jtd 2015-05-25 11:30:00 -04:00
Michael Layzell
5a500aadd3 Bug 1168176 - Mark gfxFontShaper::mFont as MOZ_NON_OWNING_REF. r=jtd 2015-05-25 11:32:00 -04:00
Michael Layzell
a085b00030 Bug 1167697 - Mark refs to gfxFontEntry in UserFontCache as MOZ_NON_OWNING_REF. r=jtd 2015-05-22 11:47:00 -04:00
Michael Layzell
b1d4d5baa3 Bug 1167403 - Mark gfxFont::GlyphChangeObserver::mFont as MOZ_NON_OWNING_REF. r=jtd 2015-05-22 08:23:00 -04:00
Jeff Muizelaar
9d12fb02ae 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
2015-06-04 14:34:46 -04:00
Jonathan Watt
7d28168721 Bug 1172964 - Fix iteration bug in CopyBGRXSurfaceDataToPackedBGRArray. r=jrmuizel 2015-06-01 17:20:52 +01:00
Markus Stange
241c4ad249 Bug 1169331 - Always clip rotated buffer quadrant drawing to the fill rect. r=jrmuizel 2015-06-15 16:57:30 -04:00
Milan Sreckovic
36f6020745 Bug 1159751 - Use a more explicit order of destruction in gfxWindowsPlatform. r=bas 2015-06-10 11:52:00 -04:00
Kartikaya Gupta
7699230ac7 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
8cd41536e9 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
e2e33e1957 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
6f1ba02031 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
19f710012a Bug 1169126 - Part 1: Make DrawTargetCG::CopySurface able to handle all SourceSurface types. r=gw280 2015-06-11 10:57:29 +08:00
Andrew Comminos
197e06d5ec Bug 1169370 - Mark tree Cairo surface dirty after borrow. r=jrmuizel 2015-06-10 12:16:00 -04:00
Kyle Fung
48a78bfcf9 Bug 1160070 - Used BitmapBrush instead of ImageBrush when no sampling bounds. r=bas 2015-06-12 17:28:25 -04:00
Ted Mielczarek
5fb6610dbb bug 1170988 - Fix skia to build for iOS. r=gw280 2015-02-05 15:10:28 -05:00
Ted Mielczarek
7fecc92e6b bug 1171117 - Fix cairo to build on iOS. r=jrmuizel
Cherry-pick cairo upstream rev 70cc8f250b5669e757b4f044571ba0f71e3dea9e and add CoreText include for iOS
2015-02-11 15:13:24 -05:00
Chris Peterson
519845c722 Bug 1174383 - Fix bogus gfx/2d debug assertions that have side effects. r=Bas 2015-06-12 22:19:54 -07:00
Kartikaya Gupta
2f5acdd312 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
673bc802da Bug 1170143 - Disable alpha texture sharing for intel driver version 8.15.10.2086 since it crashes. r=jrmuizel 2015-06-05 16:51:19 +12:00
Jeff Muizelaar
ece959fc6e Bug 1173972. Improve logging in gfxWindowPlatform. r=milan
This will give better about:support info and better crashes
2015-06-11 17:14:32 -04:00
Botond Ballo
56bfcf0071 Bug 1172648 - Full-stack APZ mochitest for bug 1151667. r=kats 2015-06-08 10:55:38 -04:00
David Anderson
1c859963ca 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
3a6ee37e8b 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
4671eba03e 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
aac582aa67 Bug 1168527 - Add support to gfxContext for clip exporting. r=jrmuizel 2015-06-09 13:46:09 -04:00
Andreas Pehrson
937d313731 Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas 2015-06-10 19:01:00 +08:00
Andrew Comminos
e5218dd641 Bug 1167356 - Handle return value of DataSourceSurface::Map wherever possible. r=Bas 2015-06-11 13:06:23 -04:00
Lee Salzman
3880e5f18f Bug 1167332 - Pass failures out of SetBufferData. r=jgilbert 2015-06-09 14:41:03 -04:00
Markus Stange
dc7e714724 Bug 1169331 - Always clip rotated buffer quadrant drawing to the fill rect. r=jrmuizel 2015-06-05 13:34:54 -04:00
Carsten "Tomcat" Book
14c19cd11d Backed out changeset 606cb8f08825 (bug 1168935) for test failures in browser_Troubleshoot.js 2015-06-11 10:09:08 +02:00
Carsten "Tomcat" Book
d219f9240f Backed out changeset 45cdca10d5cd (bug 1168935) 2015-06-11 10:08:42 +02:00
Dan Glastonbury
148d029425 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
1cf0e63dd5 Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug 2015-06-11 15:12:12 +10:00
Dan Glastonbury
4226f9eb5f 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
f04386f267 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
1b1f72a37f 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
b22c083400 Bug 1171156. More logging to test vsync timestamps. r=me 2015-06-10 21:36:42 -07:00
Phil Ringnalda
c98d9ec4e0 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
07e8c59325 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
ba48df27dc 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
e415166dbf 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
9444e8f6e7 Bug 1158424 - Undeprecate HasNoParentWithSameLayersId(). r=kats 2015-06-01 19:15:52 -04:00
Botond Ballo
b5f861f867 Bug 1158424 - Fix APZCTreeManager::GetMultitouchTarget(). r=kats 2015-06-10 14:57:24 -04:00
Botond Ballo
711c9d3110 Bug 1158424 - Add APZCTreeManager::FindRootContentApzcForLayersId(). r=kats 2015-06-10 14:48:03 -04:00
Botond Ballo
d9d2910535 Bug 1158424 - Extract a BreadthFirstSearch() helper function. r=kats 2015-06-10 14:47:52 -04:00
Botond Ballo
418eb3b6d5 Bug 1158424 - Clean up uses of HasNoParentWithSameLayersId() in overscroll handoff chain building. r=kats 2015-06-01 18:52:32 -04:00
Botond Ballo
ab1091c140 Bug 1158424 - Clean up uses of HasNoParentWithSameLayersId() related to zoom constraints. r=kats 2015-06-10 14:56:26 -04:00
Botond Ballo
d7264a2f3e Bug 1158424 - Expose IsRootContent() in AsyncPanZoomController. r=kats 2015-06-01 18:46:59 -04:00
Botond Ballo
bc8ac2de35 Bug 1158424 - Remove FrameMetrics::IsRootScrollable() (it just duplicated IsRootContent()). r=kats 2015-05-27 19:40:40 -04:00
Botond Ballo
b9201d6d43 Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats 2015-06-08 16:01:26 -04:00
Eric Rahm
25dbc7043c Bug 1171528 - Remove overflowed nscoord_MAX warnings from nsRect. r=dholbert 2015-06-10 15:14:54 -07:00
Birunthan Mohanathas
8aaa6ae83e Bug 968520 - Add mozilla::fallible to more FallibleTArray calls. r=froydnj
This calls were already fallible due to their type (FallibleTArray). This
commit merely makes that fact visible at the call site.
2015-06-10 14:30:41 -07:00
Nathan Froyd
d710ce680f Bug 1158871 - use new-style __atomic_* primitives in cairo; r=jrmuizel,ted.mielczarek
This patch is derived from upstream commit
5d150ee111c222f09e78f4f88540964476327844, without the build/ parts,
which we don't use.  In lieu of the build/ parts in the original patch,
we set the appropriate configuration bit manually in moz.build.
2015-06-05 11:05:34 -04:00
Nicolas Silva
b40bfed787 Bug 1170189 - Simplify TiledContentHost's render loop. r=BenWa 2015-06-10 17:59:19 +02:00
Nicolas Silva
518e4e75b4 Bug 1170189 - Use TilesPlacement to handle tile coordinates conversion. r=BenWa 2015-06-10 17:56:34 +02:00
Nicolas Silva
1e03461672 Bug 1170189 - Fix tiling crash on Linux. r=jrmuizel 2015-06-10 17:56:23 +02:00
Paul Rouget
53b4a4efab Bug 1172537 - Make the warning: "Tiled PaintedLayer with no scrollable container ancestor" occur only on actual b2g phones. r=nical 2015-06-09 20:33:00 -04:00
Lee Salzman
d82d0cc788 Bug 1171454 - Workaround for Cairo's source operator with alpha handling. r=jrmuizel 2015-06-05 15:30:13 -04:00
Chris Lord
c4cb0978ae Bug 1172541 - Don't skip touch event delivery during smooth scroll. r=kats 2015-06-09 18:13:12 +01:00
Jonathan Kew
dc6ac78da4 Bug 1165693 - patch 2 - Cache family-name lookups in gfxFcPlatformFontList::FindFamily, to avoid repeating expensive calls to FcConfigSubstitute. r=jdaggett 2015-06-10 07:23:45 +01:00
Wes Kocher
a5ade4b835 Merge m-c to inbound, a=merge CLOSED TREE 2015-06-09 19:29:20 -07:00
Wes Kocher
b6e64e7332 Merge b2ginbound to central, a=merge 2015-06-09 19:25:38 -07:00
Ryan VanderMeulen
66d2e31b68 Merge m-c to b2g-inbound. a=merge 2015-06-09 13:27:49 -04:00
JerryShih
a5354e8d05 Bug 1170966 - Check quad's effective region before drawing. r=nical, a=me 2015-06-09 10:53:00 -04:00
Morris Tseng
8c7b2b7172 Bug 1172405 - Fix build error when adding files to dom/workers and gfx/layers. r=nical
CLOSED TREE
2015-06-08 02:28:00 -04:00
Shelly Lin
33cf283e29 Bug 1138287 - Part 2: Support multi-screen on Gonk platform. r=mwu, r=sotaro, r=jgilbert, r=mattwoodrow 2015-06-05 11:29:30 +08:00
Mason Chang
a5b1546e15 Bug 1077651 Measure frame uniformity by synthesizing native events. r=kats,mrbkap 2015-06-08 09:53:41 -07:00
Matt Woodrow
7fd5007b44 Bug 1170143 - Disable texture sharing if we've blacklisted direct2d. r=Bas 2015-06-08 12:41:37 -04:00
David Major
51da5504ff Bug 1173107: Add hexa() around various hr logging. r=jrmuizel a=KWierso 2015-06-09 16:48:59 -04:00
Mason Chang
fd14dd1542 Bug 1171156. Add logging to OS X vsync timestamps. r=mstange 2015-06-05 15:58:40 -07:00
Jeff Muizelaar
7bc9b479e8 Bug 1171094. Disallow D3D11 ANGLE with old DisplayLink drivers. r=Bas 2015-06-05 17:17:30 -04:00
Botond Ballo
c2e7f78131 Bug 1169690 - Gtests. r=kats 2015-06-03 19:38:50 -04:00
Botond Ballo
d39507d6ab Bug 1169690 - Accelerate flings correctly in the presence of overscroll handoff. r=kats 2015-06-03 16:50:59 -04:00
Ryan VanderMeulen
e8f3432b86 Bug 1170143 - Fix Windows bustage to reopen a CLOSED TREE. 2015-06-05 11:31:16 -04:00
Ryan VanderMeulen
33c30f680f Backed out changeset 89807785d4d4 (bug 1170966) for OSX 10.10 reftest failures. 2015-06-05 11:12:09 -04:00
Nicolas Silva
cfff35d01f Bug 1170143 - Build fix. r=me 2015-06-05 16:56:06 +02:00
Nicolas Silva
e24ed591f2 Bug 1170143 - Add some error checks around the creation of dxgi ycbcr video frames. r=Bas 2015-06-05 16:19:11 +02:00
JerryShih
2abdbc9ecf Bug 1170966 - check quad's effective region before drawing. r=nical 2015-06-03 08:04:00 +02:00
Lee Salzman
1454c21f59 Bug 1169609 - Avoid all-zero patterns that would trigger the CAIRO_STATUS_INVALID_DASH error state. r=jmuizelaar 2015-06-01 18:02:10 -04:00
Phil Ringnalda
beeb60688d Back out 0ed1ae70d922 (bug 1171357) for b2g emulator-l warnings-as-errors
CLOSED TREE
2015-06-04 22:25:00 -07:00
John Daggett
5be7886d40 Bug 1171357 - log font matching for textruns. r=m_kato 2015-06-05 12:35:48 +09:00
Jeff Gilbert
c781b7fbde Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro 2015-06-04 17:15:38 -07:00
Wes Kocher
38f87b1a8c Backed out changeset c4d1692d88ee (bug 1144906) for OSX m(gl) permaorange 2015-06-04 16:50:59 -07:00
Mason Chang
ae3bff42b7 Bug 1169956. Backout bug 1073209 for tiled image regressions on OS X. r=jrmuizel 2015-06-04 15:59:11 -07:00
David Anderson
c2063bdde8 Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey) 2015-06-04 14:19:06 -07:00
Jeff Gilbert
35a56dc6bb Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro 2015-06-04 14:21:32 -07:00
David Anderson
53244f3c1b Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
Seth Fowler
aa61294e7a Bug 1171356 - On B2G, retry image decodes that fail because allocation of the first frame failed. r=tn 2015-06-04 11:08:17 -07:00
Kartikaya Gupta
bded2e2fa6 Bug 1164218 - Enable some guinea pig tests to run in chaos mode. r=botond 2015-06-04 13:44:55 -04:00
Ryan VanderMeulen
88c7d78af2 Backed out changeset 7d0d8d304cd8 (bug 1171357) for bustage. 2015-06-04 10:45:34 -04:00
John Daggett
74d688115b Bug 1171357 - log font matching for textruns. r=m_kato 2015-06-04 23:24:55 +09:00
Eric Rahm
29f00ac208 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
243447023a Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-03 15:22:30 -07:00
Eric Rahm
f3d0db1203 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Kartikaya Gupta
9d4bb42270 Bug 1169844 - Remove incorrect assertion and properly untransform wheel events for overscroll situations. r=botond 2015-06-03 15:46:40 -04:00
Kartikaya Gupta
23d8529b4f Bug 1169947 - Set the state back to NOTHING after the OnPanEnd is received. r=botond 2015-06-08 14:16:26 -04:00
Jonathan Kew
0890fc1756 Bug 1165693 - Cache the result of calling FcConfigSubstitute for our sentinel font name, to make gfxFcPlatformFontList::FindFamily less expensive. r=jdaggett 2015-06-08 07:14:06 +01:00
Lee Salzman
d1f35d1246 Bug 1167026 - Avoid division by zero when flattening a bezier curve segment with equal control points. r=bas 2015-06-02 10:47:15 -04:00
Milan Sreckovic
a5295afcda Bug 1131463 - Report AtomicRefCounterWithFinalize doing the wrong thing with AddRef and Release in release build as well. r=sotaro 2015-05-29 16:41:28 -04:00
Amanda Sambath
c575377dcc Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical 2015-06-03 13:45:24 +02:00
Nicholas Nethercote
94baddf190 Bug 1170416 (part 5) - Remove PLDHashTable::IsInitialized(). r=froydnj.
|mOps| is always non-null now, and there's no longer any distinction between
and uninitialized and initialized table. Yay.
2015-05-20 21:23:55 -07:00
Nicholas Nethercote
265569e6b8 Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj. 2015-05-19 16:46:17 -07:00
David Anderson
689e3a4a98 Fix asynchronously scrolling containerful subframes. (bug 1148582 part 6.1, r=tn) 2015-06-02 16:34:46 -07:00
David Anderson
e04fb998df Use the correct scrollframe clips with nested scrollframes in APZ. (bug 1148582 part 6, r=botond) 2015-06-02 16:34:33 -07:00
David Anderson
c7412990b5 Fix PostprocessRetainedLayers to not test occlusion with asynchronous clips. (bug 1148582 part 5, r=tn) 2015-06-02 16:34:28 -07:00
Nicholas Nethercote
4e1577155c Bug 1170069 - Use PLDHashTable2 in FontNameCache. r=froydnj. 2015-05-31 22:14:44 -07:00
Mason Chang
71eb9fc2c6 Bug 1158321. Normalize OS X vsync timestamp if CVDisplayLinkCallback executes early. r=mstange 2015-06-02 13:16:41 -07:00
Nathan Froyd
7941bd83f4 Bug 1170656 - remove tabs from moz.build files; r=me
DONTBUILD because whitespace-only fix.
2015-05-04 08:20:33 -04:00
Nathan Froyd
60794d2007 Bug 1133007 - followup - make CreateServerSocketRunnable's constructor explicit; r=bustage 2015-06-02 12:59:53 -04:00
CJKu
d001f250e3 Bug 1133007 - Send the content of a texture only if its was altered since previous transmission. r=kamidphish, r=boris 2015-06-02 06:21:00 -04:00
Sotaro Ikeda
11cb78e34b Bug 1169200 - Send OpRemoveTextureAsync before actor destroyed r=nical 2015-06-02 07:31:05 -07:00
Carsten "Tomcat" Book
cb1ca7f862 Merge mozilla-central to mozilla-inbound 2015-06-02 13:13:15 +02:00
Carsten "Tomcat" Book
0cfe58cf94 merge mozilla-inbound to mozilla-central a=merge 2015-06-02 13:11:05 +02:00
Carsten "Tomcat" Book
e2f82674b8 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
2015-06-02 13:05:56 +02:00
Nicolas Silva
4d045910c3 Bug 1169339 - Fix incorrect tile storage order in TiledContentHost. r=jrmuizel 2015-06-02 12:13:14 +02:00
John Daggett
5adb562d62 Bug 1170421 - return first font suggested by fontconfig as the default font. r=karlt 2015-06-02 17:20:15 +09:00
Wes Kocher
bd796581dc Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
David Anderson
9817e1fb08 Fix a startup crash when attempting to test D3D11 texture sharing. (bug 1170211, r=jmuizelaar, a=KWierso) 2015-06-01 15:45:19 -07:00
Jonathan Kew
bd53c12c26 Bug 964512 - Check for existence of character before trying to get its metrics in gfxGDIFont::Initialize. r=jdaggett 2015-06-01 09:13:29 +01:00
Jonathan Kew
9446e802c1 Bug 1148660 - Correct the handling of glyph positioning offsets in vertical-upright mode. r=jdaggett 2015-06-01 09:12:46 +01:00
Kyle
9c222f8082 Bug 1166585 - Check for CreateFilter() call returning NULL. r=mstange 2015-05-28 14:50:15 -04:00
Eric Rahm
ae32743ed2 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
db180ff7c4 Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 14:31:00 -07:00
Eric Rahm
aa2c33e0cf Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00
Kartikaya Gupta
ccdc9f3e5f Bug 1145084 - Ensure that the 300ms content timeout in the APZ code also applies to the touch-action allowed behaviours. r=botond 2015-06-01 17:04:15 -04:00
Markus Stange
cd85247439 Bug 1168889 - ContentClientSingleBuffered needs to upload during the transaction. r=nical 2015-05-29 15:53:57 -04:00
Kartikaya Gupta
7da59c9813 Bug 1169695 - Remove as many manual calls to spin the task queue as possible. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
02cfec25b3 Bug 1169695 - Ensure timed tasks are dispatched appropriately when advancing the time. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
d945923ede Bug 1169695 - Store task run-at times in the task queue. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
4bd908745e Bug 1169695 - Advance the stored time when sampling the transform for a future frame. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
dd092bcff9 Bug 1169695 - Make the test timestamp privately held by the MockContentControllerDelayed. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
c546d977b5 Bug 1169689 - Make sure we don't end up with a spurious velocity if we're not going to be panning. r=botond
This patch also removes an unnecessary call to StartTouch, since the start pos
is not used when computing the pan delta any more.
2015-06-01 09:51:16 -04:00
Amanda Sambath
9da69d71e0 Bug 1158120 - Edit include and comments that contained gfxIntSize and nsIntSize. r=nical 2015-05-29 17:01:46 +02:00
Amanda Sambath
89e561e0a6 Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/thebes. r=nical 2015-05-28 15:00:17 +02:00
Amanda Sambath
b9a8240b4c Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical 2015-05-28 11:59:15 +02:00
Amanda Sambath
973c7b4ad7 Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/src/nsSize.h. r=nical 2015-05-29 15:33:34 +02:00
Amanda Sambath
638c6110bd Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/ipc directory part 2. r=nical 2015-05-29 14:39:19 +02:00
Amanda Sambath
38a6dd9a4d Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/gl part 2. r=nical 2015-05-29 13:59:26 +02:00
Amanda Sambath
4e90c703bb Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/ipc. r=nical 2015-05-28 13:58:41 +02:00
Amanda Sambath
44ec9b7625 Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/tests. r=nical 2015-05-28 13:02:44 +02:00
Amanda Sambath
9fda7c9857 Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/gl part 1. r=nical 2015-05-28 11:45:33 +02:00
Amanda Sambath
5f4fdda30e Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/thebes part 1. r=nical 2015-06-01 10:26:19 +02:00