Commit Graph

22729 Commits

Author SHA1 Message Date
Nathan Froyd
2f28c4b3a4 Bug 1287784 - micro-optimize GPUParent::RecvInit; r=milan
We can make GPUParent::RecvInit more efficient in two ways:

1. Using `auto&' for the type of the for-loop variable means that we're
   not copying each GfxPrefSetting value that we're iterating over,
   which is a win.

2. Pulling the `gfxPrefs::all()' call out of the loop means that we
   don't have to call it on each iteration.  You may think the compiler
   could do this for you, but the compiler can't be sure that
   sGfxPrefList isn't being modified by SetCachedValue.
2016-07-20 16:55:07 -04:00
Carsten "Tomcat" Book
021bec0a4e Merge mozilla-central to mozilla-inbound 2016-07-20 11:35:42 +02:00
Carsten "Tomcat" Book
8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
David Anderson
471ed8630a Implement ImageBridge support for the GPU process. (bug 1287366 part 3, r=mattwoodrow,billm)
--HG--
extra : rebase_source : 0fc5f5bab52e6f49ed2c607e63c9a14d0509dd9a
2016-07-20 00:19:27 -07:00
David Anderson
6aca1d9865 Use Endpoints for content-process ImageBridges. (bug 1287366 part 2, r=billm)
--HG--
extra : rebase_source : 388c44e8df0ff45eb32e12d2b98c654cb0592bf0
2016-07-20 00:18:30 -07:00
David Anderson
20e7252a49 Move parent-process ImageBridgeChild startup to GPUProcessManager. (bug 1287366 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : c8c1ca6fdea8f4f87bd5da392e120834c3c27a24
2016-07-20 00:17:28 -07:00
Xidorn Quan
76db18facb Bug 1284406 part 3 - Export ICU headers in include/unicode. r=glandium
MozReview-Commit-ID: FuwAgEGjhxm

--HG--
extra : source : c07ceab42b47b18a1e8d436e7c888bdd113575fa
2016-07-20 15:00:13 +10:00
Xidorn Quan
17ee95ed83 Bug 1284406 part 1 - Move warning suppression of C4577 to global level. r=glandium
MozReview-Commit-ID: 66TD5A3L73D

--HG--
extra : source : e35f507952ccb081e77d5ba78c1b0d2ed566ac73
2016-07-20 15:00:13 +10:00
David Anderson
fe699affc1 Remove CompositorLRU and associated code. (bug 1287362, r=mattwoodrow) 2016-07-19 21:12:54 -07:00
David Anderson
21a8ece643 Ensure GPU process initializes ScrollMetadata::sNullMetrics. (bug 1287917, r=kats) 2016-07-19 21:11:44 -07:00
Kartikaya Gupta
85a734ff8d Bug 1283826. r=mstange,Bas
MozReview-Commit-ID: HiwjHBlhmKk
2016-07-19 21:50:09 -04:00
David Anderson
0c44123fe6 Use normal refcounting for ISurfaceAllocator. (bug 1287232, r=billm) 2016-07-19 16:59:30 -07:00
Wes Kocher
08c17907d7 Backed out changeset 8b59e729f75e (bug 1287182) for webgl failures
--HG--
extra : histedit_source : 4f82442bd4a877623eaa3744c3ecdec42ec93449%2Cece28bdaa8427acb4fb00a5e2f7b1a45a21d3989
2016-07-19 11:58:26 -07:00
David Anderson
3855cd246d Don't use Preferences to get the vsync rate pref. (bug 1285625 part 4, r=mchang) 2016-07-19 11:56:07 -07:00
David Anderson
969d03ec34 Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang) 2016-07-19 11:56:07 -07:00
David Anderson
0bdcce6956 Don't expose CompositorVsyncDispatcher from CompositorWidget. (bug 1285625 part 2, r=mchang) 2016-07-19 11:56:07 -07:00
David Anderson
ad5abd7a72 Add a top-level protocol for sending vsync messages to the GPU process. (bug 1285625 part 1, r=billm) 2016-07-19 11:56:06 -07:00
Bob Owen
ab7e8e7d7d Bug 1285942 Part 2: Check result of CreateGlyphRunAnalysis in _cairo_dwrite_scaled_show_glyphs. r=bas
MozReview-Commit-ID: 8D3HE5O1ZrJ

--HG--
extra : rebase_source : 1654bdd49bfa97a914400e2153ad37ea99302cfc
2016-07-18 12:13:18 +01:00
Bob Owen
0671a5539a Bug 1285942 Part 1: Make RecordedEvent::PlayEvent return a bool and null check DrawTarget creation. r=bas
MozReview-Commit-ID: 8tm7rjFEbw0

--HG--
extra : rebase_source : 5a85bec626644515ef5a261c4cba076bcddf136c
2016-07-18 12:13:04 +01:00
Kartikaya Gupta
0c72d9e20d Bug 1287155 - Fix build bustage when --disable-debug is combined with --enable-logrefcnt. r=froydnj
MozReview-Commit-ID: 9HZcYrsvvHX

--HG--
extra : rebase_source : 391b729d78e5cbeebba09b9a3255bd217169e9cb
2016-07-18 11:22:03 -04:00
eyim
70e55b9795 Bug 1271770 - Fallback to WARP if accelerated ANGLE fails r=BenWa,jrmuizel
MozReview-Commit-ID: LDJON8Vie5R

--HG--
extra : rebase_source : 9f1dda1f931b8b4ad91acda5a573587752e8017d
2016-07-13 13:51:40 -04:00
Jeff Muizelaar
2b6849e58e Bug 1287182. Fix static analysis build r=jrmuizel. 2016-07-19 12:55:34 -04:00
Benoit Girard
4537cb28f4 Bug 1287182 - log angle failureid via ANGLEPlatformInitialize. r=jrmuizel
MozReview-Commit-ID: 7Cg8AOVij1z
2016-07-19 11:48:08 -04:00
Sotaro Ikeda
b1f63863e8 Bug 1287627 - Handle flush TextureHost without composition r=nical 2016-07-19 05:38:35 -07:00
Carsten "Tomcat" Book
d9f4ddd364 Backed out changeset 1fbada95de3a (bug 1285692) to stop failing gl tests 2016-07-19 14:16:18 +02:00
Carsten "Tomcat" Book
75db33fcb6 Backed out changeset 9d0676755cf8 (bug 1285692) 2016-07-19 14:16:01 +02:00
Carsten "Tomcat" Book
7b77101203 Backed out changeset 45136034045a (bug 1285692) 2016-07-19 14:16:00 +02:00
Carsten "Tomcat" Book
c5603f7fb6 Backed out changeset b3924432ba21 (bug 1287362) for xpcshell crashes
--HG--
extra : rebase_source : 8dfa939e7b65558695c805a658a74c4c6b9ee98d
2016-07-19 14:07:09 +02:00
Bob Owen
4ec3db3eec Bug 1252877 Part 7: Wait for plugin updates during active animations. r=dvander, r=jimm
Also, apply plugin updates when they arrive not just during composition.

MozReview-Commit-ID: FZJYiPqb5uZ
2016-07-18 09:54:02 +01:00
Bob Owen
8968cf8b48 Bug 1252877 Part 5: Fix use of gfx.e10s.hide-plugins-for-scroll. r=jimm 2016-07-18 09:54:02 +01:00
Bob Owen
25fe73cb68 Bug 1252877 Part 2: On Windows capture an image for windowed plugins to be displayed during APZ scroll. r=jimm, r=mattwoodrow
MozReview-Commit-ID: ElE0GD3tLah
2016-07-18 09:54:02 +01:00
Bob Owen
b2b638175c Bug 1252877 Part 1: Allow ImageContainer to act as a proxy for another async ImageConatiner. r=mattwoodrow
MozReview-Commit-ID: BeUFWZOwkvh
2016-07-18 09:54:01 +01:00
Carsten "Tomcat" Book
89fdaae960 Backed out changeset fccc189b56d8 (bug 1284672) for Reftest failures
--HG--
extra : rebase_source : dd38242cd1769b980a11eb7d7f9fe269a0221ef5
2016-07-18 09:35:42 +02:00
Jeff Gilbert
95dd193042 Bug 1136494 - Try to pull <windows.h> include out of GLContext.h. - r=mtseng
MozReview-Commit-ID: 7LwGBIxUqxU
2016-07-18 00:19:19 -07:00
Jeff Gilbert
c62e7f4e72 Bug 1250710 - Save and restore state, since this is used by WebGL. - r=ethlin
MozReview-Commit-ID: 3KZdIMpcRch
2016-07-17 21:44:59 -07:00
Jeff Gilbert
2029fa20f2 Bug 1250710 - User of ReadPixel should clear PBO to 0. - r=ethlin
MozReview-Commit-ID: JvXOfN6138g
2016-07-17 21:44:49 -07:00
Jeff Gilbert
aba7d41e6f Bug 1250710 - Remove ScopedUnpackState due to unused. - r=ethlin
MozReview-Commit-ID: CO2ojolD6Lg
2016-07-17 21:44:37 -07:00
Jeff Gilbert
a8f58c13ac Bug 1250710 - Update usages of ScopedPackAlignment. - r=jrmuizel
MozReview-Commit-ID: DgngFxBu8kn
2016-07-17 21:44:33 -07:00
Jeff Gilbert
cb96b6df5d Bug 1250710 - Remove packAlign save/restore from ScopedGLDrawState. - r=jrmuizel
MozReview-Commit-ID: CESZzSfHbFj
2016-07-17 21:44:30 -07:00
Jeff Gilbert
e60281fa97 Bug 1250710 - Remove redundant IsCurrent checks. - r=ethlin
MozReview-Commit-ID: GApYK5HC0EO
2016-07-17 21:44:21 -07:00
Jeff Gilbert
6a332496c2 Bug 1250710 - Update scoped pack/unpack helpers. - r=jrmuizel
MozReview-Commit-ID: 1WHVAAb4V00
2016-07-17 21:44:18 -07:00
Jeff Gilbert
93f65aed12 Bug 1250710 - Add PACK PBO support. - r=jrmuizel
MozReview-Commit-ID: DK7FgtE9ymm
2016-07-17 21:44:05 -07:00
David Anderson
8b62f958d0 Support compositor bridges from the content process to the GPU process. (bug 1282348 part 8, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson
cce407eb5f Send content compositor bridges using endpoints rather than Opens. (bug 1282348 part 7, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson
1fc0d80f24 Don't call Close twice when the GPU process unexpectedly terminates. (bug 1282348 part 6, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson
0339421b99 Add a remote implementation of CompositorSession. (bug 1282348 part 5, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson
adf653992b Allow top-level protocols the ability to notify GPUProcessManager when their actors are unexpectedly destroyed. (bug 1282348 part 4, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson
2daec996e9 Move layers ID allocation to GPUProcessManager. (bug 1282348 part 3, r=mattwoodrow) 2016-07-17 21:24:27 -07:00
David Anderson
8760583973 Split InProcessCompositorBridge to its own file. (bug 1282348 part 2, r=mattwoodrow)
--HG--
rename : gfx/ipc/CompositorSession.cpp => gfx/ipc/InProcessCompositorSession.cpp
2016-07-17 21:24:27 -07:00
David Anderson
9e653f7da3 Split up CompositorBridgeParent initialization. (bug 1282348 part 1, r=mattwoodrow,billm) 2016-07-17 21:24:27 -07:00