Commit Graph

16470 Commits

Author SHA1 Message Date
James Willcox
c1f4998abb Bug 1251065 - Add prefs for logging the current and peak texture usage r=nical 2016-02-25 10:25:45 -06:00
James Willcox
e216712462 Bug 1247405 - Track peak texture memory usage r=nical 2016-02-25 10:25:34 -06:00
Kartikaya Gupta
30e6cec4f3 Bug 1249943 - Make test_basic_pan work on Fennec and Linux as well. r=botond
This patch convers the APZ:TransformEnd notification from a MessageManager message
to an observer notification so that it is more general and works on other platforms.

MozReview-Commit-ID: 8SSir828Ch7
2016-02-25 11:15:14 -05:00
Nicolas Silva
1c71b55955 Bug 1250873 - Rename HasInternalBuffer into HasIntermediateBuffer in layers. r=sotaro 2016-02-25 14:15:58 +01:00
Nicolas Silva
1cf381d3c2 Bug 1250500 - Avoid copying BufferTextureHost when possible. r=sotaro 2016-02-25 14:15:52 +01:00
Nicolas Silva
b79854ccb2 Bug 1249273 - Lazily prepare TextureSources and recycle them when possible in ImageHost. r=sotaro 2016-02-25 14:15:40 +01:00
Nicolas Silva
4901fe77ea Bug 1249273 - Enable BufferTextureHost to recycle a TextureSource that is not marked as owned. r=sotaro 2016-02-25 14:15:34 +01:00
Nicolas Silva
028ae7b453 Bug 1250117 - Trivial b2g build fix. r=me 2016-02-25 13:50:27 +01:00
Nicolas Silva
b1a495c201 Bug 1250117 - Fix b2g timeouts when gralloc is disabled. r=sotaro 2016-02-25 09:23:23 +01:00
Lee Salzman
57c1435104 Bug 1248223 - verify that stroke widths are finite for Skia. r=jmuizelaar 2016-02-23 18:09:03 -05:00
Jean-Yves Avenard
0e0957a81a Bug 1248323: P2. Add readback code for converting YUV422 MacIOSurfaces into RGB. r=nical
MozReview-Commit-ID: 4jhP5fgXZhq
2016-02-23 23:47:29 +11:00
Jean-Yves Avenard
8841e294a0 Bug 1248323: P1. Add support for YUV422 IOSurface. r=nical
Those are really UYVY 16bpp surface.

MozReview-Commit-ID: DWkqrF6Norj
2016-02-23 13:26:27 +11:00
Lee Salzman
5fbc9ac6a3 Bug 1250787 - ensure that subpixel text is disabled for Skia's Cairo font host so that font rendering matches our font metrics. r=mchang 2016-02-24 20:35:38 -05:00
Randall Barker
ecab73b530 Bug 1251001 - Input fields at the bottom of a page do not pan into view when gaining focus. r=botond 2016-02-24 16:19:00 -08:00
Randall Barker
2465df9ffd Bug 1250614 - Repeated zooming in bug on mobile Wikipedia site r=botond 2016-02-24 16:19:00 -08:00
L. David Baron
a5babe3a7d Back out changeset 027c6cc12078 (bug 1249943) for making test_basic_pan.html permafail (timeout) on Linux, on a CLOSED TREE. 2016-02-24 15:57:29 -08:00
Bas Schouten
e83469ef7c Bug 1232042 - Addendum: Add comment for mLayerManager check. r=jrmuizel 2016-02-24 21:24:26 +00:00
Bas Schouten
7599726722 Bug 1232042: Execute an additional present for D3D11 on the compositor thread when a WM_PAINT event has returned. r=jrmuizel 2016-02-24 03:50:09 +00:00
Jonathan Kew
e26d39772c Bug 1249861 - Update harfbuzz to release 1.2.2 from upstream. r=jrmuizel 2016-02-24 20:54:53 +00:00
Nathan Froyd
1d0a3cc8f3 Bug 1249389 - followup - fix compilation bustage in gfxFT2FontList.cpp; r=me 2016-02-24 15:48:35 -05:00
Nathan Froyd
db6827b2c3 Bug 1249389 - part 4 - make StartupCache::GetBuffer take a UniquePtr outparam; r=erahm
This change eliminates a number of nsAutoArrayPtr usages, as well as
making the pattern GetBuffer() -> NewObjectInputStreamFromBuffer more
pleasant.
2016-02-18 12:26:28 -05:00
Kartikaya Gupta
c3f8fc819a Bug 1249943 - Make test_basic_pan work on Fennec and Linux as well. r=botond
This patch convers the APZ:TransformEnd notification from a MessageManager message
to an observer notification so that it is more general and works on other platforms.

MozReview-Commit-ID: 8SSir828Ch7
2016-02-24 13:19:45 -05:00
Kartikaya Gupta
692adda377 Bug 1249748 - Ensure the mHandledByAPZ flag is set on WidgetTouchEvents that are handled by APZ. r=botond
MozReview-Commit-ID: 4ABY2jgHkGl
2016-02-24 13:19:43 -05:00
Sebastian Hengst
c0dcd252ed Backed out changeset 303b759e886e (bug 1249640) 2016-02-24 19:02:00 +01:00
Sebastian Hengst
bdc8da6aac Backed out changeset 8151f4102646 (bug 1249640) 2016-02-24 19:01:50 +01:00
Sebastian Hengst
7ceeb44c7e Backed out changeset 21222476d9d9 (bug 1249640) 2016-02-24 19:01:29 +01:00
Jamie Nicol
3c90a7d6b5 Bug 1250517 - Differentiate between no critical display port and empty critical display port in ClientTiledPaintedLayer; r=kats
Currently the logic in ClientTiledPaintedLayer treats an empty critical
display port to mean that there is no critical display port, i.e. that
the entire visible region should be painted. However, the critical
displayport should be, and is, empty if either the display port or
composition bounds are entirely outwith the layer's bounds. We want to
render none of the layer in this case, not all of it.

Change BasicTiledLayerPaintData::mCriticalDisplayPort's type to a
Maybe<LayerIntRect>, and differentiate between it being not set and it
being an empty rect.

MozReview-Commit-ID: Gi1iZOQcOVL
2016-02-23 15:38:29 +00:00
Milan Sreckovic
f173f79e17 Bug 1249640: Part 4 Android to use new blocking. r=snorp 2016-02-22 14:23:00 +01:00
Milan Sreckovic
a5ec8bbc7b Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang 2016-02-19 14:40:00 +01:00
Milan Sreckovic
91bcd04c83 Bug 1249640: Part 2 gfxPlatform simplification when it comes to accelerated canvas, using the new blocking. r=gw280 2016-02-22 14:23:00 +01:00
Cameron McCormack
f15af8f225 Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert 2016-02-24 18:01:11 +11:00
Phil Ringnalda
9e91451e1a Back out 6a24b31747be (bug 1232042) for crashes @RecvForcePresent
CLOSED TREE
2016-02-23 21:27:46 -08:00
Bas Schouten
80d9d72061 Bug 1232042: Execute an additional present for D3D11 on the compositor thread when a WM_PAINT event has returned. r=jrmuizel 2016-02-24 03:50:09 +00:00
Eugen Sawin
eb51f3519d Bug 1116473 - [3.2] Use RefPtr for AndroidSurfaceTexture references. r=snorp 2016-02-23 21:04:25 +01:00
Eugen Sawin
b40f55b915 Bug 1116473 - [2.1] Const-correctness fixes. r=snorp 2016-02-23 21:04:24 +01:00
Eugen Sawin
ef9f2a2e58 Bug 1116473 - [1.1] Handle AndroidSurfaceTexture mapping in thread-safe class. r=snorp 2016-02-23 21:04:23 +01:00
Wes Kocher
7fc3ac8d1a Backed out 2 changesets (bug 1193557, bug 1209278) for build bustage
Backed out changeset 755b9088813c (bug 1193557)
Backed out changeset 21356fa4e353 (bug 1209278)
2016-02-23 10:39:08 -08:00
David Anderson
855d2dd4ea Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange) 2016-02-23 10:11:21 -08:00
Nicolas Silva
522e0924a5 Bug 1244234 - Simplify joining jobs with the gfx job scheduler. r=jrmuizel 2016-02-23 19:15:30 +01:00
Nicolas Silva
9b55cb18ac Bug 1245241 - Force the main thread to sync with the compositor when it tries to allocate insane amounts of shmems. r=lsalzman 2016-02-23 19:15:24 +01:00
Milan Sreckovic
45967416a1 Bug 1247700: Avoid crash from invalid fonts. r=bas
MozReview-Commit-ID: 9ULEBZAH9zz
2016-02-23 09:55:44 -08:00
Kartikaya Gupta
19d588cd0d Bug 1249915 - Write a test to ensure touch-driven tapping works. r=botond
MozReview-Commit-ID: HDwjus26fww
2016-02-23 10:17:46 -05:00
Andi-Bogdan Postelnicu
719c86f0b7 Bug 1230911 - modified asseert in order to prevent null pointer dereference. r=roc 2015-12-14 00:00:00 +01:00
Jeremy Chen
5ca92e5f0d Bug 1239564 - Post translate maskSurface to renderTarget. r=roc 2016-02-22 04:19:00 +01:00
Mason Chang
38b0570bdb Bug 1249659 - Disable accelerated Canvas on OS X versions < 10.8. r=milan 2016-02-22 17:12:40 -08:00
Ehsan Akhgari
6e593836db Bug 1250196 - Part 1: Import mozilla::Forward and mozilla::UniqePtr into the std namespace in a way that is compatible with libc++; r=lsalzman 2016-02-22 15:51:59 -05:00
Kearwood (Kip) Gilbert
3ba702c04e Bug 1237691 - Implement Oculus Head Pose Prediction
MozReview-Commit-ID: 4hbKmZycEcn
2016-02-16 12:53:33 -08:00
Sotaro Ikeda
a04ee1cb2b Bug 1248923 - Store result in Update ParamTraits<GonkNativeHandle>::Read() r=nical 2016-02-21 16:44:50 -08:00
Botond Ballo
6058abcb91 Bug 1237905 - Remove logging added temporarily to test_wheel_transactions to diagnose an intermittent failure. r=kats
MozReview-Commit-ID: JkuMXoTDXbL
2016-02-21 14:43:52 -05:00
Matthew S
79518370f0 Bug 1247450 - Rename LayerComposite::GetShadowTransform to GetShadowBaseTransform. r=botond
MozReview-Commit-ID: 4HkKFCDQW4l
2016-02-20 19:05:59 -05:00
Kartikaya Gupta
cd4c22f684 Bug 1246480 - Update test to not wait for a scroll event that might never arrive. r=botond
MozReview-Commit-ID: JZmRmqFCJAG
2016-02-17 15:53:45 -05:00
Alexandre Lissy
443b26ed9a Bug 1249280 - Fix coordinates of APZ-detected gestures when crossing process boundaries. r=kats
MozReview-Commit-ID: 9xPcG9uERB0
2016-02-19 21:46:31 -05:00
Milan Sreckovic
833618d53c Bug 1249312: UseAcceleratedCanvas on Mac should really be UseAcceleratedSkiaCanvas. r=mchang 2016-02-18 14:00:53 -05:00
Hiroyuki Ikezoe
71fe2ff072 Bug 1216842 - Part 10: Remove the limit of the computed timing progress. r=birtles
Now we produce computed timing progress outside [0,1] range.
We use the last segment to calculate animation values if the value is greater than 1.
We use the first segment to calculate animation values if the value is lesser than 0.
2016-02-18 14:20:00 +01:00
Lee Salzman
ba30bddd22 Bug 1019856 - avoid double-buffering in BasicCompositor when window allows it. r=mattwoodrow 2016-02-18 20:57:29 -05:00
Thinker K.F. Li
ccf12f990a Bug 1244943 - Make PostProcessLayers aware of preserve-3d. r=mattwoodrow 2016-02-18 17:12:40 -08:00
Nathan Froyd
c7e9ede331 Bug 1249368 - use UniquePtr instead of nsAutoArrayPtr in gfxAlphaBoxBlur; r=jrmuizel 2016-02-18 14:10:00 -05:00
kearwood
ac3ed9c41a Bug 1237689 - Enable Oculus hardware latency tester r=daoshengmu
- Generate and pass sequential frame indexes into the ovr_GetTrackingState call and the corresponding call to ovr_SubmitFrame

MozReview-Commit-ID: 5tJl5YJt7Eo
2016-01-08 18:50:10 -08:00
Milan Sreckovic
718c1f90fb Bug 1240160: Add the TimeStamp based uptime value to crash reports, tagging it as UptimeTS, to differentiate from an existing Uptime value. A bit of additional code, avoiding the usage of C libraries to format some strings and a way to gtest these. r=BenWa,ted.mielczarek carrying ted.mielczarek review for the exception handler changes.
MozReview-Commit-ID: 12pRuD7agIG
2016-02-17 17:44:21 -05:00
Mason Chang
466c69e9fc Bug 1249033 - Enable Subpixel AA Text on Skia for Dwrite and GDI Fonts. r=jrmuizel 2016-02-18 08:37:43 -08:00
Lee Salzman
7f444182a3 Bug 1245241 - part 1 - Close Shmem file handles after mapping them when possible to reduce exhaustion issues. r=billm 2016-02-18 10:56:15 -05:00
Kan-Ru Chen
7c65a6e463 Bug 1249245 - Add missing header gfxPrefs.h to GrallocTextureClient.cpp. r=cyu
MozReview-Commit-ID: ILck1Eh6XGU
2016-02-18 18:59:38 +08:00
Milan Sreckovic
8be696e70d Bug 1247706 - "Please don't disable WebGL if crashed on WebGL context". r=dvander 2016-02-15 12:53:00 +01:00
Mason Chang
7b8a481330 Backout 2c97c2a5dad7 bug 1249033. r=me 2016-02-17 13:19:56 -08:00
Mason Chang
339e2571a3 Bug 1249033 - Enable Subpixel AA Text on Skia for Dwrite and GDI Fonts. r=jrmuizel 2016-02-17 13:09:35 -08:00
Wes Kocher
063fedf378 Merge m-c to inbound, a=merge 2016-02-17 11:14:33 -08:00
Wes Kocher
8114ad6468 Backed out changeset 3dce92c9562d (bug 1232042) for causing Win7 slaves to apparently crash and lock up a=backout 2016-02-17 11:11:10 -08:00
Bobby Holley
dc6e78bbf2 Bug 1248784 - Extract the AddRef/Release calls into a non-inner helper trait. r=froydnj 2016-02-17 10:15:19 -08:00
Milan Sreckovic
ae00b67fb3 Bug 1248450: Send the graphics messages to the parent process. r=dvander
MozReview-Commit-ID: EshCrdT5lYu
2016-02-16 18:07:37 -05:00
Mason Chang
a2b1f4d3fb Bug 1239152 Memset RGBX surfaces to opaque white. r=nical 2016-02-17 07:34:37 -08:00
Kartikaya Gupta
e83409aee0 Bug 1246056 - Ensure that the MockContentController's timestamp is always >= GetStartupTime(). r=botond
MozReview-Commit-ID: KfkX1ixpKaI
2016-02-16 17:25:54 -05:00
Botond Ballo
de7e8fb583 Bug 1247452 - Use the effective visible region rather than the visible region where appropriate in the compositor. r=mattwoodrow
MozReview-Commit-ID: 6wbe0kUWh9h
2016-02-12 20:24:38 -05:00
Jim Mathies
d0a55981c1 Bug 1229429 - Refresh plugin window state during composition if we detect a change of layer trees. Fixes issues with plugin window visibility during rapid tab switching. r=roc
MozReview-Commit-ID: pVnTksTt2d
2016-02-16 09:30:55 -06:00
Botond Ballo
0ba3583a1c Bug 1238137 - Telemetry pings for APZ-driven scroll input methods. r=kats 2016-02-03 20:34:43 -05:00
Botond Ballo
463bd958f5 Bug 1238137 - Define a telemetry histogram for tracking the input methods used to trigger scrolling. r=kats 2016-02-16 14:17:35 -05:00
Mason Chang
bc1757fb85 Bug 1246213 - Skia reftest fuzzing for Skia content on OS X. r=jmuizelaar 2016-02-16 09:07:52 -08:00
Sotaro Ikeda
2754238ed7 Bug 1248325 - Update BufferTextureHost::GetAsSurface() r=nical 2016-02-16 01:47:36 -08:00
David Anderson
5a8c923933 Add instrumentation for when content processes fail to acquire D3D11 devices. (bug 1247539, r=milan) 2016-02-15 23:59:24 -08:00
David Anderson
1474d26667 Lazily initialize D3D11 mix-blend shaders. (bug 1246388, r=mattwoodrow) 2016-02-12 17:15:33 -08:00
Jonathan Kew
93ca6ec060 Bug 1248248 - Don't break glyph run for orientation mismatch before a cluster-extender. r=xidorn 2016-02-15 09:07:53 +00:00
Michelangelo De Simone
121d760452 Bug 1247445 - Rename Layer::GetEffectiveVisibleRegion GetLocalVisibleRegion. r=botond 2016-02-13 16:50:51 -08:00
Bas Schouten
214ce7dc23 Bug 1247775 - Part 3: Remove Moz2D code to support Direct2D 1.0. r=dvander
MozReview-Commit-ID: KBZSqIdx0OC
2016-02-13 14:33:28 +01:00
Bas Schouten
be6710f800 Bug 1247775 - Part 2: Remove Direct2D 1.0 code from Thebes. r=dvander
MozReview-Commit-ID: EC8yhkvvood
2016-02-13 14:33:27 +01:00
Bas Schouten
4a24a0c310 Bug 1247775 - Part 1: Remove D3D10/D2D 1.0 texture integration from layers. r=dvander
MozReview-Commit-ID: CPBTl0cEG3p
2016-02-13 14:33:27 +01:00
Jeff Gilbert
042942596c Bug 1094458 - Implement RenderbufferStorageMultisample. - r=jrmuizel 2016-02-12 19:31:58 -08:00
Peter Van der Beken
b7324aa722 Bug 1020199 - Make sure APZ works with nested oop iframe. r=kats, r=dvander. 2016-01-08 20:17:39 +01:00
Lee Salzman
7b34f43312 Bug 1248228 - Build fix for SkOSFile_stdio on OpenBSD. r=jmuizelaar 2016-02-16 11:33:31 -05:00
Milan Sreckovic
8d6de99469 Bug 1187464 - Part 3. Check if GetSurface returned null. r=mstange 2016-02-08 11:58:00 +01:00
Milan Sreckovic
0be7c2a9ed Bug 1187464 - Part 2. RTTI for TextureSource debug purposes. Carry r=botond 2016-02-08 11:57:00 +01:00
Milan Sreckovic
b3751673dd Bug 1187464 - Part 1. We can get the wrong texture source type, so deal with it. Carry r=mstange 2016-02-08 11:56:00 +01:00
Jeff Muizelaar
b331c8c76d Bug 1247979. Optimize ScaleToOutsidePixels. r=kats
This does a union of all the rectangles at once, instead of one-by-one. It
also cuts down a lot on allocation churn.

It would be possible to avoid an additional allocation/copy if we change
the interface of this function to mutate the existing region instead of
returning a new one.
2016-02-12 18:48:28 -05:00
Milan Sreckovic
f91e9d3045 Bug 1247671: Increase the crash logging length to 16 by default (+ small white space change in the comments) r=dvander
MozReview-Commit-ID: 9KH6ZdWInZM
2016-02-11 13:04:20 -05:00
Jonathan Kew
85653d7ff2 Bug 1246346 - patch 1 - Expose a DesktopToDevice scale factor on nsDeviceContext. r=emk 2016-02-12 11:07:32 +00:00
Kartikaya Gupta
7b90c78cd7 Bug 1229624 - Disable chaos mode on APZ scrollbar tests, because it makes the reftest timeout fire chaotically. rs=Tomcat 2016-02-12 08:42:59 -05:00
Kartikaya Gupta
daca7c966c Bug 1247677 - Add support for the general.smoothScroll.{pages,pixels} prefs in APZ. r=dvander
MozReview-Commit-ID: HCOqbRZV5ui
2016-02-12 08:30:16 -05:00
Kartikaya Gupta
f26f566ab1 Bug 1243589 - Use SingleTiledContentClient even for scrollable layers if the layer is smaller than a single tile. r=mattwoodrow
MozReview-Commit-ID: 6eYFmoOVL6b
2016-02-12 08:29:25 -05:00
Lee Salzman
b682da0658 Bug 1246775 - use already_AddRefed in PersistentBufferProvider interface. r=bas 2016-02-10 13:16:13 -05:00
Carsten "Tomcat" Book
435a715411 Backed out changeset 9320c843aa7e (bug 1247775) for breaking win 8 reftests 2016-02-12 08:49:50 +01:00
Carsten "Tomcat" Book
45073db23a Backed out changeset 4adb7586410a (bug 1247775) 2016-02-12 08:49:29 +01:00
Carsten "Tomcat" Book
bf0eac8204 Backed out changeset 8e13ba75bccf (bug 1247775) 2016-02-12 08:49:28 +01:00