Commit Graph

17979 Commits

Author SHA1 Message Date
Milan Sreckovic
e879ad97c7 Bug 1094338 - Allow depth texture on OS X 10.8.3 and higher. Clean up some OS X versioning tracking in the process. r=jgilbert 2014-11-10 22:15:22 -05:00
David Anderson
028b163679 Add APZ handling for desktop scroll wheel events. (bug 1086162 part 1, r=kats) 2014-11-17 20:56:18 -08:00
Botond Ballo
3e52bb8e18 Bug 1093298 - Ignore calls to AsyncPanZoomAnimation::Sample() with a negative time duration. r=kats 2014-11-17 13:18:16 -05:00
Jeff Muizelaar
ad91c2690e Bug 1088414. Backout "Use a single synchronized texture for d3d11"
https://hg.mozilla.org/mozilla-central/rev/e2efedec2d60
2014-11-17 14:20:05 -05:00
Jonathan Kew
2162f6bcb7 Bug 1098497 - Update OTS to latest upstream (at commit 7091a232a10a741591ff25158c98ca3f0c319cf9) to pick up recent fixes. r=jdaggett 2014-11-17 15:24:05 +00:00
Nicolas Silva
6b1e0d15f3 Bug 1098000 - Track the number of compositable references to TextureHost and only unbind gralloc textures after the last ref goes away. r=sotaro 2014-11-17 11:06:25 +01:00
Jonathan Kew
43167d1667 Bug 1097615 - Add MOZ_OVERRIDE annotations to subclasses of gfxFont. r=jdaggett 2014-11-17 09:59:50 +00:00
Jonathan Kew
84b55b1c12 Bug 1089787 - Get glyph widths via Core Text for fonts with embedded color bitmaps. r=jdaggett 2014-11-17 09:59:49 +00:00
John Daggett
6a7eb5b188 Bug 1100221 - eliminate unused GetOrMakeFont for Android. r=m_kato 2014-11-17 16:48:51 +09:00
Bas Schouten
f58f8f8040 Bug 1099335: Base decision to use a complex clip on whether a DT supports regoin clipping. r=jrmuizel
DrawTargets that support region clipping are able to clip to regions effectively. Other DrawTargets go through expensive complex clip paths. When invalidating regions we have code that draws in multiple steps when using Direct2D to avoid this expense, we should base the decision to do this simply on whether the DrawTarget supports fast region clipping.
2014-11-16 19:17:40 +00:00
David Anderson
607f72a589 Don't overscroll during a fling unless overscrolling is enabled. (bug 1099442, r=botond) 2014-11-14 16:19:00 -08:00
Jeff Gilbert
37012e9ef6 Bug 1089018 - Centralize GLContext spew control. - r=jrmuizel 2014-10-24 18:26:41 -07:00
George Wright
1b0520dc5b Bug 1042291 - Add a CanvasDrawObserver which observes the first few seconds/frames of a Canvas2D's lifetime to determine using a heuristic if it should be software or GPU backed. r=gw280, r=snorp 2014-09-10 16:15:43 -04:00
Matt Woodrow
3a89ba9be0 Bug 1088414. Use a single synchronized texture for d3d11. r=bas,f=jrmuizel
Calling AcquireSync on textures created with
D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX appears to be really slow, this really
bites us with the number of textures involved when tiling.

I've also tested using ID3D11Query to check when work is completed, this also
appears to be pretty slow.

This instead just uses a single texture with a keyedmutex, and makes sure we
draw to it last and lock it first. It's pretty hacky, but seems to work really
well so far.

--HG--
extra : rebase_source : bf5f56751f993e507fcd1e5c386fb1fc9a3f73af
2014-10-22 15:37:00 +13:00
Jeff Muizelaar
d3ebc563b8 Bug 1098389. Remove ClipToRegionSnapped. r=roc
We don't use this anymore.

--HG--
extra : rebase_source : 918eaa73f653962dccbfe6efdad69203ba041ef3
2014-11-14 10:46:02 -05:00
Ryan VanderMeulen
87e1d173f4 Backed out changesets a99bd0b3b075, a7fb851f823a, and 9fc2d99376cd (bug 552020) for non-unified bustage and OSX 10.6 tsvgr crashes.
CLOSED TREE
2014-11-14 15:57:35 -05:00
Mason Chang
4fddbd3845 Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-14 08:31:04 -08:00
Kartikaya Gupta
c72bebf294 Bug 1090398 - Add basic gtests for the event-regions based hit-testing code. r=botond 2014-11-14 07:40:15 -05:00
Kartikaya Gupta
861e80bbaf Bug 1090398 - Require APZC target confirmation before input blocks are ready for handling. r=botond
For proper hit-testing we need to deal with situations where the initial touch
input falls on a dispatch-to-content region of an APZC, and the main thread
later tells us that it actually hit another APZC. This patch allows input blocks
to have an "unconfirmed" APZC target for the initially-found target that can
then be replaced with a different target. Input blocks without a confirmed
target are not ready for processing.
2014-11-14 07:40:15 -05:00
Kartikaya Gupta
2163ba0978 Bug 1090398 - Distinguish the various outcomes of APZ hit testing more explicitly. r=botond
Previously we output of APZ hit testing was an APZC instance and an "in
overscroll" flag. Now we need to also distinguish between the hit region and the
dispatch-to-content region for an APZC, so this patch introduces an enum that
makes this more explicit.
2014-11-14 07:40:15 -05:00
Kartikaya Gupta
9a09468407 Bug 1090398 - Workaround for scrollinfo layers not yet having event regions set up correctly. r=botond
Until bug 1082594 is fixed, the area occupied by inactive scrollable subframes
don't get added to their layer's dispatch-to-content region. Therefore the APZ
code doesn't know what area corresponds to the subframe, even though it knows
there is a subframe because of the scrollinfo layer. This change inserts a small
workaround to deal with the scrollinfo layers specially, so that the composition
bounds from the scrollinfo layer is used to obtain the area. Once bug 1082594
is fixed this can probably be removed.
2014-11-14 07:40:15 -05:00
Kartikaya Gupta
aa17d0e26d Bug 1090398 - Small refactoring that adds ParentLayerPixel::ToUntyped. r=botond 2014-11-14 07:40:14 -05:00
Kartikaya Gupta
a4e48972ee Bug 1090398 - Add support for using the layer event regions for hit testing. r=botond
When the event-regions are provided by layout, use them to populate the APZ-side
hit testing regions. The existing code is still used when event-regions are not
provided by layout.
2014-11-14 07:40:14 -05:00
Kartikaya Gupta
52279ea3ee Bug 1090398 - Use EventRegions objects instead of nsIntRegions for tracking APZ hit-test areas. r=botond
This simply swaps out the existing nsIntRegion used in APZ hit-testing for
an EventRegion object. The dispatch-to-content region inside the EventRegions
is kept empty, and there are no functional changes here.
2014-11-14 07:40:14 -05:00
Kartikaya Gupta
7bce9566dd Bug 1090398 - Update the APZ docs to reflect the new hit-testing design. r=botond 2014-11-14 07:40:13 -05:00
Carsten "Tomcat" Book
ee6cac2957 Backed out changeset 80f873bf8adc (bug 1036682) for test bustage 2014-11-14 12:32:47 +01:00
Nicolas Silva
8ff90737a5 Bug 1036682 - Check that the ipdl connection is not lost before sending messages. r=bjacob 2014-11-14 11:25:16 +01:00
Mason Chang
522eb9c976 Bug 1085512 - Improve touch resampling heuristics. r=mwu 2014-11-11 15:39:00 +01:00
Carsten "Tomcat" Book
7f42025e12 Backed out changeset 48667a14f94d (bug 1092360) for test bustage / crashes on a CLOSED TREE 2014-11-14 08:14:22 +01:00
Benoit Girard
db4fbee6fb Bug 1092360 - Avoid redundant framebuffer switches. r=jrmuizel 2014-11-12 17:39:17 -05:00
Matt Woodrow
134379d2be Bug 1097441 - Followup bustage fix on a CLOSED TREE 2014-11-14 17:30:02 +13:00
Matt Woodrow
127aa9579f Bug 1097441 - Initialize mSize on BufferTextureHost. r=nical 2014-11-13 10:44:42 +13:00
Nicholas Nethercote
35cc9a57cf Bug 1098185 - Initialize some more fields in ShadowLayerForwarder when Valgrind is enabled. r=mattwoodrow.
--HG--
extra : rebase_source : 0063948d7a657421005535c8faad68e69b1a5fcf
2014-11-13 01:15:25 -08:00
Jeff Muizelaar
e6fbe0d1fc Bug 1089364. Avoid trying to resize the swap chain to a negative size. r=bas
This was causing GetBuffer to return DXGI_ERROR_INVALID_CALL

--HG--
extra : rebase_source : 49e62fd5dda1e28268218cffca4ea1ce7af1b6ea
2014-11-13 10:10:48 -05:00
Jeff Muizelaar
f2786d3f9f Bug 1097877. Move GLBlitTextureImageHelper from gfx/gl to gfx/layers/opengl. r=nical
The only user is in layers/opengl. This is needed to do better state tracking
in the compositor.

--HG--
rename : gfx/gl/GLBlitTextureImageHelper.cpp => gfx/layers/opengl/GLBlitTextureImageHelper.cpp
rename : gfx/gl/GLBlitTextureImageHelper.h => gfx/layers/opengl/GLBlitTextureImageHelper.h
extra : rebase_source : bba00cbfac9253ca933721659dadbda2bfbe65c5
2014-11-10 14:49:05 -05:00
James Willcox
27c08cecb8 Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp 2014-11-13 12:47:24 -06:00
Benoit Girard
8935e0b46d Bug 1094442 - Part 2: Adjust tile size to the stride of the gralloc buffers. r=kats
--HG--
extra : rebase_source : d3386ee007d6429b81aa6d3ffe6c518fb67c7d6a
2014-11-12 17:55:13 -05:00
Benoit Girard
aa2eeb8ec1 Bug 1094442 - Part 1: Refactor how tile w/h is queried r=kats
--HG--
extra : rebase_source : 70ef00318a718e2ce3149955d2908615d6125cf3
2014-11-12 17:54:29 -05:00
Sotaro Ikeda
3fad6064bb Bug 1091777 - Add TextureClient recycling to CairoImag r=nical 2014-11-13 07:53:49 -08:00
Botond Ballo
1c1e4448a5 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats 2014-11-10 14:35:11 -05:00
Botond Ballo
751e400ea4 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Botond Ballo
c854025367 Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Douglas Crosher
3425fffc61 Bug 1021367 - Assertion failure in GetShaderConfigFor. r=nical 2014-06-09 20:10:28 +10:00
Jacek Caban
c9ee1b658a Bug 1094141 - Don't export skia APIs from xul.dll. r=glandium 2014-11-13 13:09:48 +01:00
Carsten "Tomcat" Book
8894f4319e Backed out changeset fbb9dc943109 (bug 1076163) for Android 4.0 Crashes on a CLOSED TREE 2014-11-13 11:47:57 +01:00
Carsten "Tomcat" Book
c247fdb775 Backed out changeset 71fe4233208a (bug 1076163) 2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
4b4108a4a9 Backed out changeset a96930f1e26b (bug 1055741) 2014-11-13 11:47:31 +01:00
Jonathan Kew
34fea182cd Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu 2014-11-13 08:58:06 +00:00
Jonathan Kew
02d6b51ec6 Bug 1090168 - part 1 - Make textBaseline attribute in <canvas> work for vertical text. r=jdaggett 2014-11-13 08:58:04 +00:00
Botond Ballo
d766d4ca14 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Botond Ballo
98ceb86b05 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Botond Ballo
57adf459d4 Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Ryan VanderMeulen
cae555594b Backed out changeset 92295f515d2d (bug 1091777) for bustage. 2014-11-12 21:09:40 -05:00
Sotaro Ikeda
c076d14da1 Bug 1091777 - Add TextureClient recycling to CairoImag r=nical 2014-11-12 17:47:10 -08:00
Robert O'Callahan
98a7a56835 Bug 1097437. Work around Quartz bug where corners of stroked rects don't get a solid color when they should. r=jrmuizel
--HG--
extra : rebase_source : deb88329b8948686119df73122032db999006cae
2014-11-12 20:52:57 +13:00
Bas Schouten
16558048b6 Bug 1097803: Report succesful Direct2D 1.1 usage. r=jrmuizel 2014-11-12 18:44:31 +00:00
Benoit Jacob
5a82bddd3a Bug 1095575 - DoesD3D11DeviceWork() should be overridable by force-enable prefs - r=bas 2014-11-12 11:48:01 -05:00
Sotaro Ikeda
95d665262e Bug 1095639 - Re-enable acquire fence delivery on gonk r=nical 2014-11-12 07:55:31 -08:00
Michael Wu
cb9a6592db Bug 1082827: Allow D2D 1.1 to be selected for the canvas backend. r=bas 2014-11-12 15:05:14 +00:00
Bas Schouten
22155ac1ea Bug 1097476: Fix typo in D2D 1.1 radial gradient code. r=jrmuizel 2014-11-12 15:05:13 +00:00
Bas Schouten
c3eb655ddc Bug 1097293: Do not draw radial gradients when centers and radii are identical. r=jrmuizel
When Cinner and Couter are equal, as well as Rinner and Router, the algorithm described in the canvas specification will hit a division by 0. As described in section 7 of the Canvas2D specification nothing should be drawn in this situation.
2014-11-12 15:05:13 +00:00
Milan Sreckovic
eb3ea89bec Bug 1092191 - Do not warn about failure to load _Z35eglQueryStringImplementationANDROIDPvi. r=dglastonbury 2014-11-11 11:18:44 -05:00
chiajung hung
4b10f218ab Bug 880114 - Enhance render video-to-SkiaGL performance by GPU-based color space conversioni, r=gw280 2014-11-11 21:14:00 +01:00
Karl Tomlinson
a3ba9b4cb5 backout bug 1096132 for Mac build failure
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Karl Tomlinson
4b1c0e2e81 bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : 06d57772b2dc04d606b3d98517085aeb817ae0e8
2014-11-10 15:47:55 +13:00
Karl Tomlinson
2f7cdcc695 bug 1096132 rename UpdateScaledAppUnits() to UpdateAppUnitsForFullZoom() r=tn
--HG--
extra : rebase_source : ec70af284ea91d28e6f66b487c7a543a1d93c7cc
2014-11-08 17:30:15 +13:00
Karl Tomlinson
4b187d31fa bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 113b249f2cb6f1619e0b1a495655726b5100038b
2014-11-08 17:48:14 +13:00
Seth Fowler
9f0f9582f4 Bug 1071217 - Explicitly initialize the image module from gfxPlatform::Init. r=bas
--HG--
extra : rebase_source : c4c96ff051347dd85e053669533bd00d6120c75a
2014-11-11 17:28:50 -08:00
Jeff Gilbert
d024308a8d Bug 1096634 - Treat ANGLE default FB as RGB(A). - r=kamidphish 2014-11-05 15:04:55 -08:00
Bas Schouten
93ec577355 Bug 1088235: Use DrawBitmap when we can. r=jrmuizel 2014-11-11 22:09:31 +00:00
Ryan VanderMeulen
b621e08282 Merge inbound to m-c. a=merge 2014-11-11 16:29:57 -05:00
Ryan VanderMeulen
dfa6d6b02a Backed out 7 changesets (bug 1086693) for Android bustage on a CLOSED TREE. DONTBUILD
Backed out changeset 6eed18d830d2 (bug 1086693)
Backed out changeset b67a2e48f281 (bug 1086693)
Backed out changeset 2b4b439e7e6c (bug 1086693)
Backed out changeset 3adfd767a92f (bug 1086693)
Backed out changeset 6ea8b9247915 (bug 1086693)
Backed out changeset 408af1e3b457 (bug 1086693)
Backed out changeset 4c759b83892a (bug 1086693)
2014-11-11 16:13:15 -05:00
James Willcox
92de0e9c7a Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp 2014-11-11 14:46:09 -06:00
Ryan VanderMeulen
8d432fef90 Backed out changesets 857063c82323 and a19479860eb4 (bug 619521) for Valgrind failures.
CLOSED TREE
2014-11-11 13:10:56 -05:00
Kartikaya Gupta
66d8612c4f Bug 1091296 - When applying the APZ transform on a layer, make sure not to clobber any existing OMTA transform. r=mattwoodrow
--HG--
extra : rebase_source : 9662fbdea917d63a1205660979cbb5c6f861ba02
2014-11-11 10:54:02 -05:00
Kartikaya Gupta
0b3471392f Bug 1091296 - Remove the redundant code for clearing async transforms per frame of composition. r=mattwoodrow
We already reset the shadow transform to the layer transform in
SetShadowProperties() before compositing every frame, so this is redundant.

--HG--
extra : rebase_source : bef51e6a918ffaab134a4b53fb6f2ec6c45d9d6d
2014-11-11 10:53:57 -05:00
Kartikaya Gupta
7692c51b02 Bug 1091296 - Refactor the pre- and post-scale cancellation code into a helper method. r=mattwoodrow
--HG--
extra : rebase_source : c06309a16a13673eb59bb98c9dfd4d5c4846aad5
2014-11-11 10:53:44 -05:00
Brian Birtles
f94049aee4 Bug 1095315 - Fix the order of applying pending updates and getting the effective transform in BasicLayerManager; r=mattwoodrow 2014-11-11 11:01:28 +09:00
Kartikaya Gupta
0379b8ef89 Bug 1094803 - Update the APZ docs a bit to describe input event flow. r=botond
DONTBUILD because this is NPOTB.
2014-11-10 16:48:52 -05:00
Jonathan Watt
d6d15a2f78 Bug 1093811 - Convert the gfxFont::GetGlyphWidth() virtual method to take a Moz2D DrawTarget instead of a Thebes gfxContext. r=jfkthame 2014-11-10 21:41:41 +00:00
Jonathan Watt
c29761b789 Bug 1093813 - Remove the gfxContext argument from gfxHarfBuzzShaper's GetGlyphHAdvance, GetGlyphVAdvance and GetGlyphVOrigin methods. r=jfkthame 2014-11-10 21:41:41 +00:00
Jonathan Watt
6b10bf2102 Bug 1093806 - Convert DCFromContext to DCFromDrawTarget. r=Bas 2014-11-10 21:41:40 +00:00
Jeff Muizelaar
2d5dbdb879 Bug 1021265. Fix DisplayLink version expansion code. r=Bas,a=lawrence
GFX_DRIVER_VERSION(8,6,..) expands to 8.0006....
but ParseVersion(8.6,...) gives 8.5000...
This was an unfortunate error. Having better static typing
of versions would have helped here.

--HG--
extra : rebase_source : 8eb9fc7d337a017b350e6ef1935f99fd4383114d
2014-11-10 16:11:42 -05:00
Wes Kocher
26ed578115 Backed out changeset dc2e15a7df8d (bug 1096535) for bustage on a CLOSED TREE 2014-11-10 12:53:34 -08:00
Jeff Muizelaar
6020bfbf29 Bug 1096535. Add more DisplayLink logging. r=bas
--HG--
extra : rebase_source : 6569641159d6e89abcbf677b38df449333714db3
2014-11-10 15:18:10 -05:00
John Daggett
0ed362a561 Bug 1096140 - clean out unused Linux font code. r=m_kato 2014-11-10 15:18:33 +09:00
Xidorn Quan
08641f507e Bug 1063857 - Improve selecting on justified characters. r=roc 2014-11-10 12:25:09 +11:00
Jonathan Kew
fce2d16101 Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett 2014-11-07 06:32:00 -05:00
Lioncash
a274c19e07 Bug 1085051 - Fix mismatched new[]/delete in DrawTargetCG::FillGlyphs. r=jrmuizel 2014-11-11 11:02:43 +00:00
Kartikaya Gupta
e230d54989 Bug 1072093 - Support progressive-paint on OS X 10.7 or later. r=BenWa 2014-11-07 14:17:14 -05:00
Chris Jones
1dc260137a Bug 1082902 - Add mozilla_dump_image() helper exported from libxul. r=jrmuizel 2014-11-07 13:55:01 +01:00
Carsten "Tomcat" Book
7b63199d11 Backed out changeset 56d4cef7ed00 (bug 880114) for m5 test failures 2014-11-07 10:47:08 +01:00
chiajung hung
b0b1e80a5e Bug 880114 - Enhance render video-to-SkiaGL performance by GPU-based color space conversioni. r=gw280 2014-11-06 23:28:00 +01:00
Jonathan Watt
307ac4cb7f Bug 1083755 - Port the CAIRO_COORD_MAX code in nsRenderingContext::FillRect to DrawTargetCairo::FillRect. r=Bas, a=kwierso 2014-11-06 22:07:36 +00:00
Jonathan Watt
5767be9b18 No bug - Get rid of some unnecessary nsRenderingContext.h includes and nsRenderingContext forward declarations.
--HG--
extra : rebase_source : 2e682062b0c4fe3c1e916ed7c7b7ca98ec3b54d3
2014-11-06 22:07:35 +00:00
Kartikaya Gupta
371ecd8746 Bug 1093686 - Add some debug logging code for PositionedEventTargeting.cpp. r=roc 2014-11-06 08:05:51 -05:00
Milan Sreckovic
ab5bc2240d Bug 1092262 - Doxygen docs for APZ prefs. r=kats 2014-11-05 11:04:32 -05:00
Andrew Osmond
ad948ddd6a Bug 1077301 - Ensure EGL images are released when destroying the texture. r=nical 2014-11-05 08:17:00 +01:00
John Daggett
6f795700cb Bug 475891 - support unicode-range when matching userfonts (non-linux). r=jfkthame 2014-11-06 13:42:50 +09:00
Benoit Jacob
2844fab51e Bug 1093863 - Blacklist D3D on dual Intel/AMD not advertised as such in the registry - r=jrmuizel CLOSED TREE 2014-11-05 17:43:33 -05:00
Sotaro Ikeda
86ebdde1e4 Bug 1093728 - Add AddTextureClient() to CanvasClientSharedSurface::Update() r=nical 2014-11-05 08:15:48 -08:00
Jacek Caban
5f302b6b62 Bug 1092151 - Don't use dllimport/dllexport for OTS in non-shared gkmedias builds. r=glandium 2014-11-05 11:27:13 +01:00
Jonathan Watt
2ac2b5426a Bug 1093066 - Get rid of gfxContext's Stroke() methods. r=mattwoodrow 2014-11-05 09:16:37 +00:00
Robert O'Callahan
f458f27d6b Bug 1080205. Part 2: Add test. r=tn
--HG--
extra : rebase_source : 9f8a41ae255e132e572fdb5012f851554fde69d9
2014-10-30 16:33:55 +13:00
Robert O'Callahan
2cbfe40f8b Bug 1083635. Part 5: ClientLayerManager::BeginTransactionWithTarget should assert if we're not going to take a snapshot. r=mattwoodrow
--HG--
extra : rebase_source : 07cea353735743670cc82031bcbe738932f56829
2014-10-21 10:32:10 +13:00
Benoit Jacob
f3eefd4544 Bug 1021265 - Add AppNotes about blacklisting DisplayLink - r=jrmuizel 2014-11-04 18:17:11 -05:00
Benoit Girard
33d6ca45fb Bug 1089380 - Remove ClipRectInLayersCoordinates. r=mattwoodrow
--HG--
extra : rebase_source : d20c08c804f45f2a6baee9063d0e73bf755054ae
2014-10-31 16:34:30 -04:00
Benoit Jacob
ac0f0151ea Bug 1021265 - Fix bustage - no review on a CLOSED TREE 2014-11-04 14:47:15 -05:00
Benoit Jacob
0f37492ba9 Bug 1021265 - regard d3d11 as broken with displaylink on versions <= 8.6.1.36484, and fall back to basic layers - r=jrmuizel 2014-11-03 17:55:00 -05:00
Phil Ringnalda
ce69a70520 Back out 293c48ec288c (bug 1086642) for Android and OS X 10.8 ONLY NOT SEEN ON 10.6 bustage
CLOSED TREE
2014-11-03 20:44:19 -08:00
Matt Woodrow
86270b9476 Bug 1086642 - Simplify invalid reigon by area. r=jrmuizel 2014-11-04 15:12:06 +13:00
Benoit Girard
aaced0941c Backout 60fe2b1ab1ba for split-opacity-layers-1.html reftest failure.
--HG--
extra : rebase_source : 83a753f924f85b90e2d5ad07877dc3ebdbc1b8df
2014-11-03 13:37:54 -05:00
Benoit Girard
c6c34aa4a0 Bug 1089380 - Remove ClipRectInLayersCoordinates. r=mattwoodrow
--HG--
extra : rebase_source : 6793ed284fa8190c0d4e43e189ca4eb2d020d4f0
2014-10-31 16:34:30 -04:00
Jonathan Watt
660d648ee6 Bug 1092222, part 2 - Add CCWCorner, CCWCorner and CWCorner methods to BaseRect. r=roc 2014-11-03 10:01:58 +00:00
Jonathan Watt
70be113245 Bug 1092222, part 1 - Get rid of gfxContext::GraphicsLineCap and gfxContext::GraphicsLineJoin. r=roc 2014-11-03 10:01:57 +00:00
Jacek Caban
1fb284960f Bug 1092130 - Fixed build errors found by mingw after bug 1076698 landed (-Werror=missing-braces errors). r=cpearce 2014-11-03 10:28:52 +01:00
Jonathan Watt
ae26c2e5eb Bug 1091787, part 3 - Remove gfxContext::RoundedRectangle. r=mattwoodrow 2014-11-02 15:41:08 +00:00
Jeff Muizelaar
a0f8fa61fd Bug 1092582. Add support to ANGLE for using IDXGIKeyedMutex. 2014-11-01 14:11:02 -04:00
Bas Schouten
9d622e3111 Bug 1064864. Ensure the copying bounds are sane. r=jrmuizel
This prevents things from going really bad on some drivers.

--HG--
extra : rebase_source : c237cf3e6a6174696ebe6d41562a30c8cc0e564d
2014-11-01 14:02:20 -04:00
stefanh@inbox.com
14f3e74c30 Bug 1085134 - Native theming for Mac OS X disclosure buttons, widget part. r=mstange, roc. 2014-11-01 17:13:27 +01:00
Jonathan Watt
f6f8d40041 Bug 1091794 - Replace gfxCornerSizes with Moz2D's RectCornerRadii. r=mattwoodrow 2014-11-01 10:45:10 +00:00
Jonathan Watt
bf49eb7f25 Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel 2014-10-31 20:08:49 +00:00
Kartikaya Gupta
3cacbfa9b0 Bug 1091283 - Allow using the existing gtest input helpers on APZCTreeManager as well. r=botond
Thanks to the magic of templates we can reuse the code we have for dispatching
common gestures into the AsyncPanZoomController.
2014-10-31 15:31:35 -04:00
Kartikaya Gupta
8b027fe00d Bug 1091283 - Ensure that pinch gesture events actually get processed. r=botond
Currently only pinch gesture events getting created in the GestureEventListener
code will make it to AsyncPanZoomController::HandleGestureEvent. Any pinch
gesture events that the widget code dispatches into the APZCTreeManager get
ignored, which shouldn't be happening. We don't have any production code that
exercises these code paths at the moment, but fixing it up also reduces the
APIs exposed into the testing code.
2014-10-31 15:29:36 -04:00
Botond Ballo
b51aa7454f Bug 1066888 - Documentation tweaks for overscroll physics improvements. r=kats. DONTBUILD for doc changes
--HG--
extra : rebase_source : 08df59b26c6ce334c96c5ec5b635c940c8548f08
extra : amend_source : 7c1c0799b0fcc747134cad8b56a202f830b50ae3
2014-10-31 14:10:36 -04:00
Botond Ballo
a43be62c13 Bug 1066888 - Update gtests for overscroll physics improvements. r=kats 2014-10-31 12:05:29 -04:00
Botond Ballo
84f4ed3fa8 Bug 1066888 - Overscroll physics improvements. r=kats
This patch unifies the physics governing the overscroll phase of a fling
with the snap-back animation. The unified physics are spring-based, like the
physics governing the snap-back animation before, except we allow for
oscillations.
2014-10-31 12:06:31 -04:00
Jeff Muizelaar
e8dc880ddb Bug 1066312. Use IDXGIKeyedMutex for synchronization with D3D11 angle. r=jgilbert
This currently does nothing because the ANGLE we're using doesn't have keyed mutex
support.

--HG--
extra : rebase_source : 9ab74710c22c5330809206f1bb16677af5944bad
2014-10-31 10:57:32 -04:00
Nicolas Silva
9846ebae19 Bug 1074382 - Add some gfxCriticalError logging in the initialization of D3D9. r=milan 2014-10-30 18:20:23 +01:00
Jonathan Watt
cdfbe38796 Bug 1090614 follow-up to add back the Clip() change. r=mattwoodrow 2014-10-31 11:26:28 +00:00
Jonathan Watt
30f03ce29a Bug 1076910 - Add some error checks to gfxUtils::EncodeSourceSurface. r=Bas 2014-10-31 11:16:45 +00:00
Robert O'Callahan
784a439a5a Bug 1073252. Fix bustage in part 4, in a CLOSED TREE 2014-10-31 22:40:15 +13:00
Robert O'Callahan
18b9877442 Bug 1073252. Part 4: Flip hasAlpha to isOpaque for consistency. r=mattwoodrow
--HG--
extra : rebase_source : a553b4c36feb555b23cbe140a05df09f0dc2656d
2014-10-30 15:32:41 +13:00
Robert O'Callahan
a5b1507132 Bug 1073252. Part 2: Store opaque flag in LayerRenderState. r=nical
--HG--
extra : rebase_source : a0fefe94dd52a6f365c34bffcd806e094c62d76e
2014-10-30 15:32:41 +13:00
Robert O'Callahan
b34f5630d6 Bug 1073252. Part 1: Track opaqueness of gralloc TextureClient/Host. r=nical
--HG--
extra : rebase_source : de08e7a128bad27250cae94386e8ffea5fa26d6d
2014-10-30 15:32:40 +13:00
Robert O'Callahan
77c398977c Bug 1073252. Part 0: Add IsOpaque(SurfaceFormat). r=bas
--HG--
extra : rebase_source : 8aa2b0203db462573cd60046985d03a10a402fc9
2014-10-30 15:31:54 +13:00
Ryan VanderMeulen
9a87c4aa6f Merge inbound to m-c. a=merge 2014-10-30 16:03:53 -04:00
Mason Chang
06b697f7a6 bug 1087048. Dispatch touch events after vsync aligned composites. r=benwa 2014-10-30 08:48:42 -07:00
Kartikaya Gupta
f3b4fd4499 Bug 1091049 - Follow-up to fix non-unified build error. r=me 2014-10-30 11:48:54 -04:00
Carsten "Tomcat" Book
3de670ab27 Merge mozilla-central to b2g-inbound 2014-10-30 15:51:48 +01:00
Kartikaya Gupta
44e502b83b Bug 1091049 - Add fling curving to accelerate fast flicks. r=botond 2014-10-30 10:38:10 -04:00
Kartikaya Gupta
bb71ea64de Bug 1091049 - Rename gComputedTimingFunction to gZoomAnimationFunction. r=botond 2014-10-30 10:38:09 -04:00
Carsten "Tomcat" Book
a758e037c4 merge mozilla-inbound to mozilla-central a=merge 2014-10-30 14:45:37 +01:00
Jonathan Watt
591742b5ce Bug 1090494, part 4 - Add AppendRectToPath() and MakePathForRect() helpers to Moz2D's PathHelpers.h. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Jonathan Watt
f47a832163 Bug 1090494, part 3 - Remove the old unused variants of AppendRoundedRectToPath and MakePathForRoundedRect. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Jonathan Watt
6b502f624e Bug 1090494, part 2 - Convert the consumers of AppendRoundedRectToPath and MakePathForRoundedRect to use the new RectCornerRadii API. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Jonathan Watt
ecfd6db484 Bug 1090494, part 1 - Add a RectCornerRadii struct to Moz2D's PathHelpers.h and add variants of AppendRoundedRectToPath and MakePathForRoundedRect that use it. r=mattwoodrow 2014-10-30 09:34:09 +00:00
Mike Hommey
47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Ryan VanderMeulen
b278f8c9e3 Merge m-c to b2g-inbound. a=merge 2014-10-29 16:53:59 -04:00
Mason Chang
fb2714672f bug 1083530. Part 2 Refactor GeckoTouchDispacher to use mozilla::Timestamp instead of nsecs_t. r=mwu 2014-10-29 13:37:06 -07:00
Kartikaya Gupta
675248424e Bug 1091128 - Ensure that large negative velocities are also clamped to the velocity cap. r=botond 2014-10-29 15:40:02 -04:00
Jeff Gilbert
83be6816e7 Bug 1088345 - Misc cleanup. - r=kamidphish 2014-10-27 18:58:03 -07:00
Jeff Gilbert
0802e22d9f Bug 1088345 - (ANGLE) Don't treat STENCIL_INDEX8 as INT for MSAA reasons. - r=kamidphish 2014-10-27 13:06:14 -07:00
Jeff Gilbert
a03b45d876 Bug 1088345 - Handle AA better. - r=kamidphish 2014-10-25 18:32:46 -07:00
Jeff Gilbert
8cffb89c2b Bug 1088345 - Handle possibly-invalid enums for queries. - r=kamidphish 2014-10-23 18:55:49 -07:00
Jeff Gilbert
d41ee052e4 Bug 1088345 - Improve glGetError handling. - r=kamidphish 2014-10-24 16:52:35 -07:00
Bas Schouten
da9cf36e0c Bug 1085187: Properly deal with sampling restriction when using DataSourceSurfaces. r=jrmuizel 2014-10-29 23:40:38 +01:00
Nicholas Nethercote
ffff26cc63 Bug 1089446 - Remove gfx/tests/process-textruns.pl, which is ancient and unused. r=roc.
--HG--
extra : rebase_source : 81a688c2404ae3849e4e4ebd1fe934928fe38b2b
2014-10-28 15:04:03 -07:00
Mason Chang
b635e05733 Bug 1088898. Correctly set mLastCompose in force composites. r=benwa 2014-10-28 19:32:36 -07:00
Nicolas Silva
816b042dd6 Bug 1089364 - Add some missing D3D11 error checks. r=Bas 2014-10-27 13:52:17 +01:00
Nicolas Silva
f1166bf04f Bug 1077301 - Simplify the gralloc texture code. r=sotaro 2014-10-16 19:08:32 +02:00
Jeff Muizelaar
c7503566b2 Bug 1085046. Update ANGLE to get Intel D3D11 texture upload performance work around.
--HG--
extra : rebase_source : a02e0a31b22dc189d3d2d49f7066d723f2231460
2014-10-28 23:04:32 -04:00
Jonathan Watt
4622461db8 Bug 1085529, part 1 - Add an AutoPopClips helper to Moz2D. r=mattwoodrow 2014-10-26 01:15:25 +01:00
Jonathan Watt
312d8e609f Bug 1088753 - Remove gfxContext::NewSubPath(). r=Bas 2014-10-29 01:59:36 +00:00
Jonathan Watt
8a74ed01fc Bug 949661 - Make PathBuilderCG::Arc use ArcToBezier instead of CGPathAddArc to work around a CG stroke dashing bug. r=jrmuizel 2014-10-29 01:59:36 +00:00
Jonathan Watt
95c7a6f6e7 Bug 1089397 - Port the code that uses gfxContextPathAutoSaveRestore to Moz2D. r=mattwoodrow 2014-10-28 14:40:51 +00:00
Jonathan Watt
579842c323 Bug 1089177, part 2 - Port gfxFontMissingGlyphs to Moz2D. r=mattwoodrow 2014-10-28 14:40:42 +00:00
Jonathan Watt
6ff7b6f514 Bug 1089177, part 1 - Expose PatternFromState to help with Moz2D porting. r=mattwoodrow 2014-10-28 14:40:39 +00:00
Jeff Muizelaar
1ba41a49b3 Bug 1072847 - Initialize mSurface. r=BenWa
--HG--
extra : rebase_source : abd536b8cd2e91c28ea0cd09e21a12da1e8dcee1
2014-10-28 10:08:25 -04:00
Jeff Gilbert
4776c9f56a Bug 912196 - (ANGLE) Fix CopyTexImage. - r=kamidphish 2014-10-08 16:35:05 -07:00
Jeff Gilbert
3f421c31e9 Bug 912196 - Fixes for D3D11 ANGLE. - r=kamidphish 2014-10-08 16:32:50 -07:00
Jeff Gilbert
dd05af349c Bug 912196 - Workaround no-alpha-with-ANGLE in WebGL, not GLContext. - r=kamidphish 2014-10-08 16:30:01 -07:00
Jeff Gilbert
0707a033df Bug 1088417 - Make asserts fuzzy where they're failing. - r=nical 2014-10-24 13:36:01 -07:00
Jeff Gilbert
f71b4f41d9 Bug 1088417 - Switch from REPEAT to CLAMP for D3D11. - r=nical 2014-10-23 17:10:58 -07:00
Jeff Gilbert
44490638fd Bug 1088417 - DecomposeIntoNoRepeatRects for D3D11. - r=nical 2014-10-23 17:08:06 -07:00
Benoit Jacob
2c679eef1b Bug 1089413 - Only test resource sharing on d3d feature level >= 10. r=jmuizelaar, a=sledru 2014-10-27 10:36:00 -04:00
Ryan VanderMeulen
451d420f98 Bug 922976 - Disable 394751.xhtml on B2G for frequent failures. 2014-10-27 14:53:10 -04:00
Ehsan Akhgari
55f0b72a28 Bug 1088838 - Don't export CompositorChild.h, CompositorParent.h and ShadowLayersManager.h twice; r=BenWa 2014-10-27 08:57:36 -04:00
Kartikaya Gupta
48f1a79f43 Bug 1088954 - Cleanup print 64-bit integers and remove a stray printf. r=botond 2014-10-24 14:45:00 +02:00
Benoit Jacob
8ff28f5932 Bug 1083071 - Avoid touching D3D11 at all, even to test if it works, if D3D11 layers are blacklisted. r=Bas, r=jmuizelaar 2014-10-26 18:46:09 -04:00
Ryan VanderMeulen
07a4bc9d5e Backed out changeset 4d4abe4bee7f (bug 1083071) for bustage. 2014-10-26 18:44:40 -04:00
Benoit Jacob
00c7a6d832 Bug 1083071 - Avoid touching D3D11 at all, even to test if it works, if D3D11 layers are blacklisted. r=Bas, r=jmuizelaar 2014-10-26 08:01:00 -04:00
Jonathan Watt
a6775f01a0 Bug 1085321 - Remove gfxContext::Arc/NegativeArc. r=Bas 2014-10-26 17:57:49 +00:00
Phil Ringnalda
3fd9c234d3 Back out 2 changesets (bug 1085529) for win8 chrome reftest failures
Backed out changeset 758840ac2f47 (bug 1085529)
Backed out changeset 3fa71a8dc29c (bug 1085529)
2014-10-25 22:02:57 -07:00
Jonathan Watt
39c88d4021 Bug 1085529, part 1 - Add an AutoPopClips helper to Moz2D. r=mattwoodrow 2014-10-26 01:15:25 +01:00
Jeff Muizelaar
94dae61499 Bug 1089199. Fix ANGLE mingw build again
--HG--
extra : rebase_source : 0c87b90882eb5f25a8402deb4f14a2563f6db10e
2014-10-25 15:28:57 -04:00
Carsten "Tomcat" Book
312a3e591d Merge mozilla-central to mozilla-inbound 2014-10-30 15:13:45 +01:00
Jonathan Kew
f4f29192d3 Bug 1090869 - Don't collect output glyphs when checking for features involving <space>. r=jdaggett 2014-10-30 09:54:22 +00:00
Ryan VanderMeulen
d1499d6259 Backed out changeset 5ff4c7dded93 (bug 1077301) for making bug 1084118 return with a near perma-fail vengeance. 2014-10-24 14:25:25 -04:00
Kartikaya Gupta
8d417ca4e6 Bug 1083395 - Follow-up to fix non-unified bustage. r=me on a CLOSED TREE 2014-10-24 14:02:52 -04:00
Kartikaya Gupta
080630c133 Bug 1083395 - Move some APZC functions that are no longer needed in production down to the test subclass. r=botond 2014-10-24 13:29:35 -04:00
Kartikaya Gupta
ab3387343c Bug 1083395 - Move to a single input queue owned by the APZCTM instead of many queues owned by APZC instances. r=botond 2014-10-24 13:29:34 -04:00
Kartikaya Gupta
fe23988edf Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond 2014-10-24 13:29:30 -04:00
Kartikaya Gupta
541e8f016d Bug 1083395 - Extract an InputQueue class from the APZC input code. r=botond 2014-10-24 13:29:03 -04:00
Kartikaya Gupta
2489aa5b2e Bug 1083395 - Extract helpers function from the input-handling codepath. r=botond 2014-10-24 13:29:03 -04:00
Markus Stange
defd3c048d Bug 1055634 - Propagate font smoothing background colors to layers. r=roc 2014-10-24 18:32:23 +02:00
Markus Stange
326a66b75b Bug 1055622 - Add support for specifying the font smoothing background color to Moz2D. r=Bas, r=jrmuizel 2014-10-24 18:32:23 +02:00
Markus Stange
9d0fbfa02c Bug 1074842 - Let SourceSurfaceCGBitmapContext take ownership of the data when DrawTargetCG is destroyed. r=jrmuizel 2014-10-24 18:32:22 +02:00
Jonathan Watt
662ee62b6c Bug 1088625, part 4 - Remove the includes from nsRenderingContext.h that are no longer necessary 2014-10-24 16:43:42 +01:00
Jonathan Watt
4f23ebac06 Bug 1088625, part 3 - Remove nsRenderingContext's SetFont, FontMetrics and SetTextRunRTL methods now that no one uses them any more. r=mstange 2014-10-24 16:28:15 +01:00
Jonathan Watt
35505a8b96 Bug 1088599 - Move nsRenderingContext::GetBoundingMetrics to nsLayoutUtils. r=mstange 2014-10-24 16:28:14 +01:00
Jonathan Watt
08ae0a017c Bug 1088550 - Move nsRenderingContext's remaining GetWidth methods to nsLayoutUtils. r=mstange 2014-10-24 16:28:13 +01:00
Jonathan Watt
2994c1b237 Bug 1088071, part 2 - Move the nsRenderingContext::DrawString code to nsLayoutUtils::DrawUniDirString. r=jfkthame 2014-10-24 11:00:23 +01:00
Jonathan Watt
11ce2774d2 Bug 1087982, part 3 - Get rid of the ASCII variants of nsRenderingContext::DrawString/GetWidth. r=jfkthame 2014-10-24 11:00:23 +01:00
Jonathan Watt
21b1d08170 Bug 1087982, part 2 - Get rid of the pass-char-by-value variant of nsRenderingContext::GetWidth. r=jfkthame 2014-10-24 11:00:22 +01:00
Jonathan Watt
ca982b3f1b Bug 1087982, part 1 - Get rid of the useless null checks in nsRenderingContext::GetMaxChunkLength/GetWidth. r=jfkthame 2014-10-24 11:00:22 +01:00
Jonathan Watt
47ba8656ce Bug 1085533, part 1 - Add MakePathForRoundedRect and MakePathForEllipse helpers to Moz2D. r=mattwoodrow 2014-10-24 08:26:28 +01:00
Jonathan Watt
254741c6df Bug 1087685 - Port gfxQuartzNativeDrawing to Moz2D. r=mattwoodrow 2014-10-24 08:26:27 +01:00
Jonathan Watt
9d631cb88b Bug 1087568 - Port the code that uses gfxContext::PixelSnappedRectangleAndSetPattern to Moz2D. r=mattwoodrow 2014-10-24 08:26:27 +01:00
Mason Chang
4a7e5a8c86 Bug 1048667. Small vsync framework. r=roc 2014-10-23 18:50:31 -07:00
Jeff Muizelaar
e465ca9f83 Bug 1083071 - Disable D3D11 and D3D9 layers on broken drivers. r=bjacob
This will hopefully prevent black screen problems that people are seeing.
2014-10-23 00:15:22 -04:00
Ryan VanderMeulen
5442f82abc Merge m-c to inbound. a=merge 2014-10-23 14:11:40 -04:00
Ryan VanderMeulen
f275a7b9e9 Merge inbound to m-c. a=merge 2014-10-23 13:54:47 -04:00
Ryan VanderMeulen
5dca9bcabc Backed out changeset 2b05d4e71d11 (bug 1083071) for Win7 mochitest-1 leaks. 2014-10-23 12:53:13 -04:00
Nicolas Silva
92db98b094 Bug 1087270 - Check more D3D11 result codes and assert in debug builds. r=jrmuizel 2014-10-23 16:22:41 +02:00
Himanshu Singh
5a4e5dca23 BUG 1087478 - Transition mMayHaveTouchListener to be private. r=kats 2014-10-23 09:10:47 -04:00
Wes Kocher
a41244e4fd Merge inbound to m-c a=merge CLOSED TREE 2014-10-22 18:46:27 -07:00
Ryan VanderMeulen
45b8ddd73b Merge b2g-inbound to m-c. a=merge 2014-10-22 16:03:57 -04:00
Himanshu Singh
858cf2c9d4 Bug 1058614 - Transition mMayHaveTouchCaret to be private. r=kats 2014-10-22 13:40:20 -04:00
Ryan VanderMeulen
fce5fdc4c8 Backed out changeset 157b1f4e4ed2 (bug 737967) for Windows B2G desktop bustage.
CLOSED TREE
2014-10-22 12:44:49 -04:00
Mason Chang
2ef423b73d Bug 1048667. Skeleton vsync framework and vsync aligned compositor. r=benwa,roc 2014-10-21 15:40:54 -07:00
Daniel Holbert
73c6a5631c Backout fa9c6845338e (bug 1085223) for causing bug 1087257. 2014-10-22 13:03:18 -07:00
Nicolas Silva
833ec9bb3d Bug 1077301 - Simplify the gralloc texture code. r=sotaro 2014-10-16 19:08:32 +02:00
Jeff Muizelaar
d09b5b8702 Bug 1083071. Disable D3D11 and D3D9 layers on broken drivers.
This will hopefully prevent black screen problems that people are seeing.

--HG--
extra : rebase_source : 8ba080a4a9a81a1124020cd5ed5395bf262c5d4a
2014-10-22 21:38:18 -04:00
Carsten "Tomcat" Book
8e79075d89 Backed out changeset 8a39622aa24a (bug 1087270) for bustage 2014-10-23 13:12:16 +02:00
Nicolas Silva
340b8a427e Bug 1087270 - Check more D3D11 result codes and assert in debug builds. r=jrmuizel 2014-10-23 12:06:14 +02:00
Benoit Girard
f09d552a65 Bug 1087848 - Fix bustage when building without MOZ_ENABLE_PROFILER_SPS. r=trivial 2014-10-23 00:18:21 -04:00
Carsten "Tomcat" Book
f35ddfdd22 Merge mozilla-central to mozilla-inbound 2014-10-21 15:55:25 +02:00
James Willcox
85b58e3f27 Bug 1014614 - Fix readback of SurfaceTextureImage r=jgilbert
--HG--
extra : rebase_source : 3e2e7f7d993b5561c5d1c2ae50c4a49718a66324
2014-10-21 08:53:02 -05:00
James Willcox
d02dc369ff Bug 1014614 - Add GLBlitHelper::BlitImageToFramebuffer and support SurfaceTexture images r=jgilbert
--HG--
extra : rebase_source : e823897f3ff6593af7286432903618dc483877dd
2014-10-21 08:53:02 -05:00
James Willcox
9790bce151 Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : f8ac8c505b5f9a4f307044b932aef50b99d38d4f
2014-10-21 08:53:01 -05:00
James Willcox
ddabd5424e Bug 1014614 - Do not try to use a temporary texture for SurfaceTexture r=jgilbert
--HG--
extra : rebase_source : 68e6f70fe1c1aa123c4a1e21b3d25b78bcff7ad1
2014-10-21 08:53:01 -05:00
James Willcox
070c8814c3 Bug 1014614 - Expose Android native window via AndroidNativeWindow wrapper r=blassey
--HG--
extra : rebase_source : e8fef05b2fdc3ef2b7c43a01655f2c7bf3789208
2014-10-21 08:53:00 -05:00
James Willcox
d1763714e0 Bug 1014614 - Expose more SurfaceTexture API in AndroidSurfaceTexture r=blassey
--HG--
extra : rebase_source : 863f769375474b486ca55d649e7ed332efbef6fe
2014-10-21 08:53:00 -05:00
James Willcox
a8cc145afb Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : 4f148d8a0c2f9ec2d939f9d9939dab897b435bef
2014-10-21 08:53:00 -05:00
Carsten "Tomcat" Book
05f05fd22c merge fx-team to mozilla-central a=merge 2014-10-21 15:38:16 +02:00
Wes Kocher
f764a700ad Merge m-c to fx-team a=merge 2014-10-20 19:01:55 -07:00
Wes Kocher
845000a7e4 Merge m-c to fx-team a=merge 2014-10-20 18:34:45 -07:00
Jonathan Watt
e3bd1068b9 Bug 1085167, part 2 - Get rid of nsRenderingContext's DeviceContext and any need for it to know about app-units-per-device-pixel. r=mattwoodrow
--HG--
extra : rebase_source : d8fb804f03a1cc4635d6acd7f66f5f21962de6d3
2014-10-20 10:55:49 +01:00
Jonathan Watt
251f92b10b Bug 1085165 - Get rid of the nsRenderingContext::SetColor() method. r=mattwoodrow
--HG--
extra : rebase_source : dc4604e04cae84b8dcbd2d9890191713555c8c7a
2014-10-20 10:55:49 +01:00
Jonathan Watt
884793d6d9 Bug 1085160 - Port the code that uses nsRenderingContext::IntersectClip() to Moz2D. r=mattwoodrow
--HG--
extra : rebase_source : 54226509a1b16efdc76f92f202cc2be07cf43ab4
2014-10-20 10:55:48 +01:00
Jonathan Watt
c972886b3e Bug 1085159 - Port the code that uses nsRenderingContext::DrawLine() to Moz2D. r=mattwoodrow
--HG--
extra : rebase_source : 70553292850517d695994c0a3422fab8ea0b760a
2014-10-20 10:55:48 +01:00
David Parks
5b3ab326b6 Bug 918634 - swapFrameLoader not implemented for e10s r=nical
Allow layers to change layermanager if using LayerManagerComposite.

--HG--
extra : rebase_source : f24fde110f91fff7e2ceb3ddcd4549077a15f3c6
2014-10-14 15:11:38 -07:00
Mason Chang
390d93ee3d Bug 1069037 - Prevent touch events from piling up on the main thread. r=mwu 2014-10-16 14:02:00 +02:00
L. David Baron
731e55f016 Back out changeset 197317c196cf (bug 1077301) for apparently breaking component alpha on some Windows variants (perhaps those without accelerated layers backends). 2014-10-20 00:23:46 -04:00
Phil Ringnalda
d37beb9414 Back out 820188e039a0 (bug 1067748) for Android reftest-2 failures 2014-10-19 13:50:29 -07:00
Jonathan Watt
b8b833765e Bug 1083753, part 2 - Port the code that uses nsRenderingContext::FillRect(nsRect) to Moz2D. r=mattwoodrow 2014-10-19 13:22:22 +01:00
Jonathan Watt
c6407bc7fb Bug 1083753, part 1 - Port the code that uses nsRenderingContext::FillRect(nscoord,...) to Moz2D. r=mattwoodrow 2014-10-19 11:55:36 +01:00
Jonathan Watt
5cf1157461 Bug 1082530, part 5 - remove the variant of Moz2D's UserToDevicePixelSnapped that takes a Matrix argument instead of a DrawTarget argument. r=mattwoodrow 2014-10-19 10:22:47 +01:00
Jonathan Watt
c1682f3de0 Bug 1082530, part 4 - Make BasicColorLayer use the variant of Moz2D's UserToDevicePixelSnapped that honors disabling of pixel snapping and make it ignore scaling in the matrix (restore the pre-bug 989858 beharior). r=mattwoodrow 2014-10-19 10:22:47 +01:00
Jonathan Watt
5a3d8c69bd Bug 1082530, part 3 - Get rid of gfxContext::FLAG_DISABLE_SNAPPING and use DrawTarget UserData to store information on whether to disable pixel snapping. r=mattwoodrow 2014-10-19 10:22:47 +01:00
Jonathan Watt
2e12270def Bug 1082530, part 2 - Fix up Moz2D's UserToDevicePixelSnapped to be more like gfxContext::UserToDevicePixelSnapped, and add a temporary variant to aid in porting. r=mattwoodrow 2014-10-19 10:22:47 +01:00
Jonathan Watt
15c45a74fe Bug 1082530, part 1 - Mark DrawTarget::GetUserData as const. r=mattwoodrow 2014-10-19 10:22:46 +01:00
Matt Woodrow
5f774f10ac Bug 1085223 - Add an occlusion culling pass to compositor layers. r=BenWa
--HG--
extra : rebase_source : fc5e7007477a8d999fdd1380bf81dd4c205099df
2014-10-20 17:04:39 +13:00
Robert O'Callahan
4e78797955 Bug 1067748. When a solid-color display item covers everything else in its layer, make it a ColorLayer. r=tn 2014-09-16 16:27:14 +12:00
Robert O'Callahan
f49b65148e Bug 1072528. Part 2: Remove layers code. r=bas 2014-09-24 16:35:06 -04:00
Matt Woodrow
e57f853968 Bug 1085223 - Add an occlusion culling pass to compositor layers. r=BenWa 2014-10-20 17:04:39 +13:00
chiajung hung
29e15d9b54 Bug 1062475 - [Camera] Camera button highlight appears as a square. r=sotaro 2014-10-20 02:49:00 -04:00
Sotaro Ikeda
7857088154 Bug 1084570 - Add HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED r=nical 2014-10-20 06:43:42 -07:00
Benoit Girard
03e4a59d59 Bug 737967 - Add simple platform GPU Profiling based on GL_TIME_ELAPSED_EXT. r=ehsan,jgilbert 2014-05-24 16:14:14 +00:00
Robert O'Callahan
6e80dcb31b Bug 1081185. Traverse rect edges when searching for w=0 crossings instead of taking diagonals. r=mattwoodrow
--HG--
extra : rebase_source : c87d145abea750cf0d8b02f0ea387ec9148e6be1
2014-10-22 11:01:00 +13:00
Benoit Girard
e56f3b4b68 Bug 737967 - Add simple platform GPU Profiling based on GL_TIME_ELAPSED_EXT. r=ehsan,jgilbert 2014-05-24 16:14:14 +00:00
Ryan VanderMeulen
9c995d0076 Merge m-c to inbound. a=merge 2014-10-22 16:38:48 -04:00
Mike Hommey
75e7142b89 Fixup bug 1084696 on a busted tree. r=me 2014-10-18 16:14:45 +09:00
Jeff Gilbert
fa2a8063a7 Bug 1084696 - Actually use the RAII helper for locking the DrawTarget. - r=kamidphish 2014-10-17 21:31:27 -07:00
Wes Kocher
36939bc3c8 Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
Wes Kocher
ae0090428f Backed out changeset 869a28961b5c (bug 1084514) 2014-10-17 16:33:35 -07:00
Wes Kocher
27734959f9 Backed out changeset e3fe86623065 (bug 1084607) 2014-10-17 16:32:27 -07:00
Ralph Giles
ef7e176ba7 Bug 1084607 - Add missing namespace references for GLImages.cpp. r=jgilbert CLOSED TREE
This fixes undeclared type errors on non-unified builds.
2014-10-17 15:03:00 -07:00
Ralph Giles
9dbc70f9ac Bug 1084514 - Fix AndroidSourceTexture namespace issues. r=dholbert CLOSED TREE
This worked in the unified build because it borrowed includes
and namespace references from other files.
2014-10-17 11:31:00 -07:00
James Willcox
5e54d8daab Bug 1014614 - Fix readback of SurfaceTextureImage r=jgilbert
--HG--
extra : rebase_source : 3580c219b47615d55bfa3d1c672d017dd67ef0a1
extra : histedit_source : 24c932ac4ebabad7d706fa5599d5f32762ce5a02
2014-10-17 10:35:13 -05:00
James Willcox
dfb835773a Bug 1014614 - Add GLBlitHelper::BlitImageToFramebuffer and support SurfaceTexture images r=jgilbert
--HG--
extra : rebase_source : 2718fddef7754bb84ef893fc81f175d963b01760
extra : histedit_source : efba21204779c8995e55623ca398d3f0b8336c31
2014-10-17 10:35:13 -05:00
James Willcox
b1bb293164 Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : b309ea1761abdb26261fe8f2eda03de66952c018
2014-10-17 10:35:11 -05:00
James Willcox
be81b623ed Bug 1014614 - Do not try to use a temporary texture for SurfaceTexture r=jgilbert
--HG--
extra : rebase_source : b2108d17ef5d87328d1dc0e9ff190d667bfeaa44
2014-10-17 10:35:11 -05:00
James Willcox
d9918ba35a Bug 1014614 - Expose more SurfaceTexture API in AndroidSurfaceTexture r=blassey
--HG--
extra : rebase_source : b6ee26cf973e7d4821fefbcd3b8dba0585779d86
2014-10-17 10:35:10 -05:00
James Willcox
399aa1c748 Bug 1014614 - Expose Android native window via AndroidNativeWindow wrapper r=blassey
--HG--
extra : rebase_source : a2d27a4223c1bd1189c4c6a32431cc306a3e93c6
2014-10-17 10:35:10 -05:00
James Willcox
9450484c06 Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : 70d12286eb15808a4a540bae0d6785e560e97b29
2014-10-17 10:35:10 -05:00
Jeff Muizelaar
2ff5fd9a2c Bug 1084024. Remove graphite Makefile.in. r=jfkthame
This doesn't seem to be needed anymore.

--HG--
extra : rebase_source : 41cf994417c1e0fb3e8167b8e25b2c9e3efe9a02
2014-10-17 11:07:28 -04:00
Jonathan Watt
9f5596b76b Bug 1083597 - Port the code that uses nsRenderingContext::DrawRect() to Moz2D. r=mattwoodrow 2014-10-17 15:06:34 +01:00
Jonathan Watt
e20775a0d6 Bug 1083557 - Port the code that uses nsRenderingContext::FillPolygon() to Moz2D. r=mattwoodrow 2014-10-17 15:06:34 +01:00
Jeff Muizelaar
6e632ada07 Bug 1070308. Add Acquire and Release semantics to SharedSurface. r=jgilbert
This is needed for D3D11 keyed mutex support. The added assertions
also ensure we're doing things at the right times.

--HG--
extra : rebase_source : 7af4dccca745ee62e4ae97972de8a8eb83f2e8d3
2014-10-09 16:33:22 -04:00
Nicolas Silva
52335c4b52 Bug 1077301 - Simplify the gralloc texture code. r=sotaro 2014-10-16 19:08:32 +02:00
Jonathan Watt
a9c98517eb Bug 1083533 - Port the code that uses nsRenderingContext::SetClip() to Moz2D. r=mattwoodrow 2014-10-17 12:53:16 +01:00
Jonathan Watt
c27c6452d8 Bug 1084093, part 3 - Use the new ToDeviceColor() function to undo the breakage to gfx.color_management.mode=1 (eCMSMode_All) caused by the Moz2D porting work. r=Bas 2014-10-17 12:53:16 +01:00
Jonathan Watt
03e708cc58 Bug 1084093, part 2 - Convert gfxPlatform::TransformPixel to Moz2D, and move gfxPlatform::MaybeTransformColor to ToDeviceColor in gfxUtils.h. r=Bas 2014-10-17 12:53:15 +01:00
Jonathan Watt
39e820da80 Bug 1084093, part 1 - Add some helpers to Moz2D Color to convert to/from packed ARGB. r=Bas 2014-10-17 12:53:15 +01:00
Nicholas Nethercote
75bb32cc85 Bug 1083624 - Fix assertion failure in Factory::GetDirect3D10Device(). r=bas.
--HG--
extra : rebase_source : e28b1575b8bd4706d7d203696a1280c76e103ef6
2014-10-16 19:02:51 -07:00
Benoit Jacob
08fbad97d7 Bug 1083936 - WebGL2: Add texImage3D - r=jgilbert,smaug 2014-10-16 22:03:34 -04:00
John Daggett
556a622173 Bug 1083599 - fixup small problem with userfont logging. r=m_kato 2014-10-17 09:15:29 +09:00
Christoph Kerschbaumer
bfc8e917fb Bug 1063197 - Callsites of NS_NewInputStreamChannel in /gfx/ (r=roc) 2014-10-16 11:15:40 -07:00
Ryan VanderMeulen
95c05d4b68 Backed out changeset d16adf321576 (bug 1077301) for B2G bustage.
CLOSED TREE
2014-10-16 14:38:29 -04:00
Nicolas Silva
d90c3a1c7d Bug 1077301 - Simplify the gralloc texture code. r=sotaro 2014-10-16 19:08:32 +02:00
Jeff Muizelaar
d8dd019790 Bug 1083931. Remove pedantic filtering that snuck back in.
The ANGLE update from bug 801158 accidentally added this back.

--HG--
extra : rebase_source : 492105a4a518c0c4cb78e0ccc64efbe0ffc0d78e
2014-10-16 13:54:35 -04:00
David Parks
faf8b8adce Bug 1065881 - [e10s] Crash on child process shutdown in ShadowLayerForwarder::InWorkerThread
Had caused a crash in the test_streams_element_capture mochitest on Windows.  The issue was that the audio decoder thread was destroying stale media frames by releasing a reference to them.  This was causing the release of an Image on that thread, but that thread does not process a MessageLoop so the current MessageLoop is null.  This is not a problem.  Obviously, any thread that has no MessageLoop can't be the worker thread.
2014-10-12 16:23:20 -07:00
Ryan VanderMeulen
6ec44ff41f Backed out changeset 96aefa302688 (bug 1065881) for breaking content process leak checking.
CLOSED TREE
2014-10-16 12:23:56 -04:00
Kartikaya Gupta
f5acfa8103 Bug 1083398 - Check the entire handoff chain for fast-moving APZCs when disabling tapping during flings. r=botond 2014-10-16 10:14:38 -04:00
Kartikaya Gupta
6c0076eb8f Bug 1083398 - Sprinkle some const keywords around. r=botond 2014-10-16 10:14:37 -04:00
Sotaro Ikeda
11b001307a Bug 1082986 - Use RefPtr to hold Compositor r=nical 2014-10-16 06:48:29 -07:00
Chris Jones
cc1383c2fc Bug 1082902 - Make it possible to have GL debugging in release builds. r=jgilbert 2014-10-14 18:24:53 -07:00
Chris Jones
54281ff17a Bug 1082997 - Add an option to explicitly disable skia-gpu and fix the build when it's disabled. r=mattwoodrow 2014-10-14 20:55:37 -07:00
Chris Jones
23c257776c Bug 1082895 - Don't use gralloc surfaces when layers.gralloc.disable is set. r=mattwoodrow 2014-10-14 18:30:13 -07:00
Kartikaya Gupta
72ea4fdacd Bug 1013612 - Remove APZ-internal headers from being exported to non-layers code. r=botond 2014-10-16 09:23:52 -04:00
Jonathan Kew
0e773b6fc0 Bug 1081867 - Convert textrun metrics to physical coordinates before merging with visual-overflow region. r=smontagu 2014-10-16 09:40:19 +01:00
Jonathan Watt
5de5850bc5 Bug 1083501 - Port the code that uses nsRenderingContext::SetLineStyle/nsLineStyle to Moz2D. r=mattwoodrow 2014-10-16 12:03:44 +01:00
Jonathan Watt
953853c7bd Bug 1083221 - Port the code that uses nsRenderingContext::DrawEllipse/FillEllipse and gfxContext::Ellipse to Moz2D. r=mattwoodrow 2014-10-16 12:03:44 +01:00
Markus Stange
cd9122458b Bug 1078262 - Only use the fixed epsilon for the translation components. r=roc 2014-10-16 12:37:09 +02:00
Markus Stange
1d372b2e28 Bug 1076695 - Don't convert alpha surfaces into RGBA surfaces for FilterNodeTransformSoftware. r=Bas 2014-10-16 12:35:58 +02:00
Jonathan Watt
57ce443206 Bug 1083215, part 1 - Add a Moz2D helper for snapping lines to device pixels. r=mattwoodrow 2014-10-16 10:51:14 +01:00
Jonathan Watt
b411165881 Bug 1082553 - Remove gfxContext::OriginalSurface. r=Bas 2014-10-16 10:51:13 +01:00
Jonathan Watt
c5b87ba504 Bug 1082518 - Get rid of some unused gfxContext flags. r=Bas 2014-10-16 10:51:13 +01:00
Jonathan Watt
370a10c692 Bug 1082483, part 3 - Remove the temporary Matrix4x4::Translate/Scale methods. r=Bas 2014-10-16 10:51:13 +01:00
Jonathan Watt
08d7dd3f8f Bug 1082483, part 2 - Convert Mozilla code to use the new Matrix4x4::PreTranslate/PreScale method names. r=Bas 2014-10-16 10:51:12 +01:00
Jonathan Watt
a47a426fe5 Bug 1082483, part 1 - Rename Matrix4x4::Translate/Scale to Matrix4x4::PreTranslate/PreScale, leaving temporary inlines for the old names. r=Bas 2014-10-16 10:51:12 +01:00
Jonathan Watt
b841266ac1 Bug 1082477, part 2 - Remove the Matrix4x4::TranslatePost/ScalePost methods. r=Bas 2014-10-16 10:51:12 +01:00
Jonathan Watt
c1c0f335ce Bug 1082477, part 1 - Convert Matrix4x4::TranslatePost/ScalePost callers to Matrix4x4::PostTranslate/PostScale. r=Bas 2014-10-16 10:51:12 +01:00
Carsten "Tomcat" Book
a20685ff2b Backed out changeset 1abddb50ed34 (bug 1081867) for bustage on a CLOSED TREE 2014-10-16 11:42:11 +02:00
Jonathan Kew
1428512193 Bug 1081867 - Convert textrun metrics to physical coordinates before merging with visual-overflow region. r=smontagu 2014-10-16 09:40:19 +01:00
David Parks
51b2436fc1 Bug 1065881 - [e10s] Crash on child process shutdown in ShadowLayerForwarder::InWorkerThread. r=nical
Had caused a crash in the test_streams_element_capture mochitest on Windows.  The issue was that the audio decoder thread was destroying stale media frames by releasing a reference to them.  This was causing the release of an Image on that thread, but that thread does not process a MessageLoop so the current MessageLoop is null.  This is not a problem.  Obviously, any thread that has no MessageLoop can't be the worker thread.
2014-10-12 16:23:20 -07:00
Michael Wu
4ca86f8969 Bug 1082745 - Avoid reoptimizing optimized SourceSurfaceCairos, r=bas 2014-10-15 17:13:14 -04:00
Jim Chen
60eb885c7d Bug 1077662 - Label GL calls in profiler; r=snorp 2014-10-14 23:20:16 -04:00
Jeff Gilbert
82bb894465 Bug 1081363 - Don't do readback eagerly in ShSurf_Basic. - r=kamidphish 2014-10-10 14:36:17 -07:00
John Daggett
067dd6c32b Bug 1082167 - don't leak featurelookups within InputsForOpenTypeFeature. r=jfkthame 2014-10-15 08:38:03 +09:00
David Anderson
47b288ee47 WebGL2: Implement invalidateFramebuffer and invalidateSubFramebuffer (bug 1076456, r=jgilbert).
--HG--
extra : rebase_source : 5ce9c956475388896fe193ca37c9595978adf15c
2014-10-14 14:49:49 -07:00
Jon Morton
1700296f02 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Jonathan Kew
6fea005a92 Bug 1082083 - Apply division to the y-coordinate only, not to the point as a whole. r=jdaggett 2014-10-14 20:56:08 +01:00
Dan Glastonbury
a12a00353a Bug 1081666 - Fix detection of ARB_transform_feedback2 GL extension.; r=jgilbert
--HG--
extra : rebase_source : da5cfd6bc33a5d7c99aadd6edd20e4b6c1999865
2014-10-13 12:26:16 +10:00
Benoit Jacob
1d66ded08a Bug 1081125 - WebGL2 3D textures - Part 2: update our texture state tracking to handle 3D textures - r=jgilbert 2014-10-13 19:42:20 -04:00
Nicolas Silva
1b96a7f2be Bug 966284 - Fix the shutdown sequence of PLayerTransaction and PTexture. r=sotaro 2014-10-13 10:43:59 +02:00
Jeff Gilbert
4407c7735f Bug 1066280 - Fix non-unified bustage. CLOSED TREE 2014-10-10 13:57:19 -07:00
jdashg
abcfedabea Bug 1066280 - Handle dirtying in BasicCanvasLayer. - r=mattwoodrow 2014-10-08 15:18:28 -07:00
jdashg
ca85c23987 Bug 1066280 - Review fixes. - r=kamidphish,mattwoodrow 2014-10-08 13:04:19 -07:00
jdashg
fbd3252fc0 Bug 1066280 - Fixes for SurfaceStream removal. - r=kamidphish,mattwoodrow 2014-10-07 21:16:14 -07:00
jdashg
9b7291ca7a Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow 2014-10-07 21:15:39 -07:00
jdashg
97fbd15434 Bug 1066280 - Fixes. - r=kamidphish,mattwoodrow
From 4e9f52ab105333e8b1120342e9583b2d833a4465 Mon Sep 17 00:00:00 2001
---
 dom/canvas/WebGLContext.cpp                | 10 +++++--
 gfx/gl/GLContext.cpp                       | 20 --------------
 gfx/gl/GLContext.h                         |  3 --
 gfx/gl/GLReadTexImageHelper.cpp            |  5 +++-
 gfx/gl/GLScreenBuffer.cpp                  | 13 +++++++--
 gfx/gl/GLUploadHelpers.cpp                 | 27 ++++++++++++++++++
 gfx/gl/SharedSurfaceGralloc.cpp            | 14 ++++------
 gfx/gl/SharedSurfaceGralloc.h              | 10 +++++--
 gfx/gl/SurfaceTypes.cpp                    |  2 ++
 gfx/gl/SurfaceTypes.h                      |  1 +
 gfx/layers/client/CanvasClient.cpp         | 44 ++++++++++++++++++------------
 gfx/layers/client/CanvasClient.h           |  8 +++---
 gfx/layers/client/ClientCanvasLayer.cpp    |  6 ++++
 gfx/layers/client/ClientCanvasLayer.h      |  2 +-
 gfx/layers/client/TextureClient.cpp        | 11 ++++----
 gfx/layers/client/TextureClient.h          |  6 ++--
 gfx/layers/composite/TextureHost.cpp       | 15 +++++-----
 gfx/layers/composite/TextureHost.h         | 10 +++----
 gfx/layers/d3d10/CanvasLayerD3D10.cpp      |  9 ++++--
 gfx/layers/d3d9/CanvasLayerD3D9.cpp        |  8 ++++--
 gfx/layers/ipc/LayersSurfaces.ipdlh        |  4 +--
 gfx/layers/moz.build                       |  4 ++-
 gfx/layers/opengl/GrallocTextureClient.cpp | 26 +++++++++++++++++-
 gfx/layers/opengl/GrallocTextureClient.h   |  3 ++
 24 files changed, 171 insertions(+), 90 deletions(-)
2014-10-07 21:11:54 -07:00
jdashg
bd7ba17b6a Bug 1066280 - Add TexClient for ShSurf. - r=kamidphish,mattwoodrow
From a7c09c0f17e19fd2254cb1d7a8ddd07b327151ad Mon Sep 17 00:00:00 2001
---
 gfx/2d/HelpersCairo.h                   |   2 +
 gfx/gl/GLContext.cpp                    |   3 +-
 gfx/gl/GLContext.h                      |   2 -
 gfx/gl/GLReadTexImageHelper.cpp         |  21 +--
 gfx/gl/GLReadTexImageHelper.h           |   6 +
 gfx/gl/GLScreenBuffer.h                 |   6 +-
 gfx/gl/ScopedGLHelpers.cpp              |  40 +++++
 gfx/gl/ScopedGLHelpers.h                |  26 ++-
 gfx/gl/SharedSurface.cpp                |  94 +++++++++++
 gfx/gl/SharedSurface.h                  |  19 +++
 gfx/gl/SharedSurfaceIO.h                |   4 +
 gfx/layers/CopyableCanvasLayer.cpp      |   3 +-
 gfx/layers/client/CanvasClient.cpp      | 276 +++++++++++++++++++++++++++++---
 gfx/layers/client/CanvasClient.h        |  34 ++++
 gfx/layers/client/ClientCanvasLayer.cpp |  21 ++-
 gfx/layers/client/ClientCanvasLayer.h   |   9 +-
 gfx/layers/client/TextureClient.cpp     |  35 ++++
 gfx/layers/client/TextureClient.h       |  85 +++++++++-
 gfx/layers/composite/TextureHost.cpp    | 131 ++++++++++++++-
 gfx/layers/composite/TextureHost.h      |  64 ++++++++
 gfx/layers/d3d10/CanvasLayerD3D10.cpp   |   5 +-
 gfx/layers/ipc/LayersSurfaces.ipdlh     |   5 +
 22 files changed, 828 insertions(+), 63 deletions(-)
2014-10-07 21:01:51 -07:00
jdashg
70b2daa211 Bug 1066280 - Implement GLScreenBuffer simplification. - r=kamidphish
From 2aa5dfd3c1e0ef8d8033ad1daf864455fb01f87b Mon Sep 17 00:00:00 2001
---
 gfx/gl/GLScreenBuffer.cpp | 70 +++++++++++++++++++++++------------------------
 gfx/gl/GLScreenBuffer.h   | 36 ++++++++----------------
 2 files changed, 45 insertions(+), 61 deletions(-)
2014-10-07 21:01:07 -07:00
jdashg
ff193dd037 Bug 1066280 - Implement ShSurfHandle. - r=kamidphish
From 09b5a1bc279f051e1e491b33e20a5b492ea7ef51 Mon Sep 17 00:00:00 2001
---
 gfx/gl/SharedSurface.cpp | 10 ++++++++++
 gfx/gl/SharedSurface.h   | 38 +++++++++++++++++++++++++++++++++++++-
 2 files changed, 47 insertions(+), 1 deletion(-)
2014-10-07 20:59:37 -07:00
jdashg
4317d9fdda Bug 1080296 - Clear out glGetError after checking it. - r=kamidphish 2014-10-07 15:17:42 -07:00
Bas Schouten
2b3c0ef901 Bug 1078693: Correctly indicate validity of a SourceSurfaceD2D1 and deal with failed surface creation. r=jrmuizel 2014-10-10 17:04:26 +02:00
Jonathan Kew
ca024fe34c Bug 1074809 - For OTS warning (rather than failure) messages, only log the first occurrence of any given message per font. r=jdaggett 2014-10-10 14:50:52 +01:00
Sotaro Ikeda
a2b3d39ae6 Bug 1075077 - Update buffer's addresses r=nical 2014-10-10 06:21:43 -07:00
Jeff Muizelaar
20abd56cbd Bug 1076020. Update to ANGLE 2182 + fixes.
This corresponds to ANGLE commit 9a2e6ac98a10907b1241bd5709597912e08f63fb

It vastly improves D3D11 performance on Intel GPUs by
avoiding write to multiple render targets when unneeded.
2014-10-09 15:08:59 -04:00
Nicolas Silva
0836f2451a Bug 1079250 - SharedDataGonkOGL::DeleteTextureIfPresent to assert mCompositor rather than gl(). r=sotaro 2014-10-09 16:00:17 +02:00
Jonathan Kew
b2782ecfb8 Bug 1074223 - Update OTS to pick up fixes for upstream issues 35, 37. Current rev: c24a839b1c66c4de09e58fabaacb82bf3bd692a4. r=jdaggett 2014-10-09 08:43:30 +01:00
Sotaro Ikeda
0e2aaae2ef Bug 1075136 - Initialize TileClient::mCompositableClient correctly r=nical 2014-10-08 20:47:17 -07:00
Kartikaya Gupta
6a1b9bac86 Bug 1078316 - Tweaks for root-frame overlay scrollbars so they don't oscillate while panning around. r=botond,tn 2014-10-08 22:56:38 -04:00
Ehsan Akhgari
9f13f71594 Bug 1079321 - Fix some more bad implicit constructors in gfx; r=jrmuizel 2014-09-24 09:16:53 -04:00
Sotaro Ikeda
0f2b546487 Bug 1079251 - fix CbCr buffer address r=nical 2014-10-08 13:34:52 -07:00
Eric Rahm
7fffd05532 Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan 2014-10-08 13:19:14 -07:00
Eric Rahm
8d715a7fe4 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00