Nicholas Nethercote
07f15d61e6
Bug 1209351 (part 3) - Optimize nsTHashTable::RemoveEntry() usage in gfx/. r=jrmuizel.
2015-09-24 19:07:22 -07:00
Morris Tseng
9ae39aa599
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
2015-10-05 10:50:17 +08:00
Morris Tseng
4695e137b7
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
2015-10-05 10:50:16 +08:00
Morris Tseng
ae7d727d4f
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
2015-10-05 10:50:16 +08:00
Carsten "Tomcat" Book
1955db09bc
Merge m-c to mozilla-inbound
2015-10-02 13:37:27 +02:00
Jacek Caban
572373a762
Bug 1207437 - Extra qualification fixup.
2015-10-02 12:27:16 +02:00
Jared Wein
00c104096f
Backout of bug 1208636 due to it causing large black areas on long pages (bug 1210411). rs=kats
2015-10-02 00:04:21 -04:00
Nicholas Nethercote
8fd9cbd2d0
Bug 1209206 (part 2) - Rename and re-comment HasNonOpaqueColor(). r=jdaggett.
...
So that the comment and the name match what the code is doing.
2015-09-28 13:20:06 -07:00
Bas Schouten
fb0b579f8d
Bug 1208465 - Part 2: Disable using Direct2D when 1.1 is unavailable. r=jrmuizel
2015-09-25 13:30:57 +00:00
Wes Kocher
d8619c7d1e
Backed out changeset 919a831786f1 (bug 1208638) for windows build failures
2015-09-30 16:43:26 -07:00
David Anderson
6f09b1c220
Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel)
2015-09-30 16:16:16 -07:00
Mason Chang
9221c1578a
Bug 1209649. Take into account border radius sizes for min inset box shadow. r=mstange
2015-09-30 14:20:23 -07:00
Ehsan Akhgari
f9c83defd4
Bug 1208927 - Initialize queryD3DKMTStatistics so that it can't be accessed uninitialized; r=jrmuizel
2015-09-30 11:55:49 -04:00
David Anderson
80f5317cbc
Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel)
2015-10-01 23:06:43 -07:00
Mason Chang
69cfc343d1
Bug 1208636 - Adjust displayport size based on available system memory. r=kats
2015-09-29 15:42:37 -07:00
Wes Kocher
6482c81f9b
Backed out 13 changesets (bug 709490) for android webgl-color-test.html failures
...
Backed out changeset 5be7514914b6 (bug 709490)
Backed out changeset 04b6f94fbe8a (bug 709490)
Backed out changeset 00c0e85dd8cd (bug 709490)
Backed out changeset 221385b7b81a (bug 709490)
Backed out changeset ecc38c18734f (bug 709490)
Backed out changeset 22878c936384 (bug 709490)
Backed out changeset 0edcbb60eee3 (bug 709490)
Backed out changeset 5feceec2014b (bug 709490)
Backed out changeset 835b655cb873 (bug 709490)
Backed out changeset 6fbb4a3f8cf7 (bug 709490)
Backed out changeset a5f8646fa156 (bug 709490)
Backed out changeset 2ae1386916b3 (bug 709490)
Backed out changeset 6b29a2a0a8fb (bug 709490)
2015-09-29 08:57:36 -07:00
Bas Schouten
9732a07ecd
Bug 1208833: Disable DWrite when D2D device creation fails. r=dvander
2015-09-29 16:39:14 +02:00
Morris Tseng
fe706cfad0
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref, r=baku
2015-09-29 11:51:25 +01:00
Morris Tseng
0b17a6fcc9
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer, r=roc
2015-09-29 11:51:25 +01:00
Morris Tseng
c68b782dc7
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers., r=ehsan, r=jgilbert, r=nical
2015-09-29 11:51:24 +01:00
Nicholas Nethercote
7700404de3
Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
...
Hooray!
2015-09-24 19:24:16 -07:00
Nicholas Nethercote
aef2fb44b4
Bug 1208300 (part 1) - Remove unused default arguments from ClearThebesSurface. r=jwatt.
2015-09-24 19:09:04 -07:00
John Daggett
54ef2c180d
Bug 1182361 p7 - fixups based on review comments. r=heycam
2015-09-29 10:51:29 +09:00
John Daggett
e87f3a8bf3
Bug 1182361 p6 - eliminate old pref font caching. r=heycam
2015-09-29 10:51:29 +09:00
John Daggett
dd7e44c9c1
Bug 1182361 p5 - cache pref fonts per langGroup. r=heycam
2015-09-29 10:51:29 +09:00
John Daggett
f066f7abaa
Bug 1182361 p4 - move pref font util methods to platform fontlist. r=heycam
2015-09-29 10:51:28 +09:00
John Daggett
07261a8702
Bug 1182361 p3 - move generic lookup methods to platform fontlist. r=heycam
2015-09-29 10:51:28 +09:00
John Daggett
fedd10aa75
Bug 1182361 p2 - count generic lookups. r=heycam
2015-09-29 10:51:28 +09:00
John Daggett
b5a1d5dbd5
Bug 1182361 p1 - move old generic lookup methods into gfxPangoFontGroup. r=heycam
2015-09-29 10:51:28 +09:00
Nicholas Nethercote
29e309e59f
Bug 1208937 - Remove gfxPattern::GraphicsPatternType. r=jwatt.
...
This is easy because the only remaining uses occur in uncalled functions, which
can be removed.
2015-09-27 20:38:20 -07:00
David Anderson
5421d4ced4
Don't use Direct 2D 1.0 if Direct3D11 is using WARP. (bug 1207665 part 2, r=jmuizelaar)
2015-09-28 12:45:43 -07:00
Botond Ballo
c9caf7aa13
Bug 1206915 - Move dumping of compositor textures under its own environment variable. r=mattwoodrow
...
The rationale is that it's broken at least on some platforms (e.g.
TextureHost::GetAsSurface() is not implemented), and moving it under its own
environment variable allows us to use the client-side parts of paint dumping
without crashing while attempting to do the compositor-side parts.
2015-09-21 18:27:27 -04:00
James Willcox
13052973d2
Bug 1201541 - Add a pref for disabling single tile layers r=mattwoodrow
2015-09-28 09:37:01 -05:00
James Willcox
cea145b269
Bug 1182665 - Adjust tile sizes depending on the screen size r=nical
2015-09-28 09:36:57 -05:00
James Willcox
365b1b0164
Bug 1182665 - Add gfxPlatform::GetScreenSize() and use nsIScreen for gfxPlatform::GetScreenDepth() r=nical
2015-09-28 09:36:54 -05:00
Nicholas Nethercote
75834a0998
Bug 1208283 (part 3) - Remove the ToDeviceColor() that takes a gfxRGBA. r=jwatt.
2015-09-24 18:16:51 -07:00
Nicholas Nethercote
323718acf6
Bug 1208283 (part 1) - Change gfxPattern's single-arg constructor to take a gfx::Color& instead of a gfxRGBA&. r=jwatt.
2015-09-24 17:50:46 -07:00
Nicholas Nethercote
bcd2fb7111
Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt.
...
Also...
- Rename various "operator" identifiers as "op" to match |CompositionOp|.
- Rename |nsBackgroundLayerState::mCompositingOp| as |mCompositionOp| to match
|CompositionOp|.
- Remove some deprecated functions that are no longer needed.
2015-09-24 22:38:58 -07:00
Wes Kocher
4693a1ca71
Merge m-c to inbound, a=merge
2015-09-25 18:02:38 -07:00
Hayden Huang
0516bcf115
Bug 1175447
- mono audio support. r=padenot, r=sotaro
...
This patch is to enable mono audio option for those who has full hearing loss in one ear.
With this feature, they can get the complete audio with using one ear.
2015-08-06 14:30:22 +08:00
Nicholas Nethercote
55d5c653f3
Bug 1207944 (part 5) - Use SetColor(const Color&) when setting from a constructed gfxRGBA. r=jwatt.
...
In various places SetColor() gets passed a gfxRBGA that is constructed at the
call site. This patch changes these to construct a gfx::Color directly,
avoiding the subsequent conversion.
2015-09-23 23:42:58 -07:00
Nicholas Nethercote
47eb6fced8
Bug 1207944 (part 3) - Add a gfxContext::SetColor method that takes a gfx::Color&. r=jwatt.
...
The existing one, which takes a gfxRGBA&, will be removed a few patches hence.
2015-09-23 23:37:24 -07:00
Nicholas Nethercote
efccf08686
Bug 1207944 (part 2) - Pass a gfx::Color& instead of a gfxRGBA& to GetDeviceColor(). r=jwatt.
...
This requires doing likewise for GetSolidColor(), PushSolidColor()
HasNonOpaqueColor().
This removes a ThebesRGBA() call in GetDeviceColor() and a ThebesColor() call in
GetSolidColor().
2015-09-23 23:36:15 -07:00
Nicholas Nethercote
b438b53666
Bug 1207944 (part 1) - Pass a gfx::Color& instead of a gfxRGBA& to SetDeviceColor(). r=jwatt.
...
This avoids a gfxRGBA-to-Color conversion in SetDeviceColor() itself.
2015-09-23 23:33:31 -07:00
Nicholas Nethercote
f7e8a9e813
Bug 1207741 - Remove gfxIntSize. r=nical.
...
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
2015-09-23 11:49:05 -07:00
Nicholas Nethercote
9c04985582
Bug 1207437 (part 3) - Fix and disallow warnings in gfx/thebes/. r=dvander.
...
This requires putting the structured exception blocks in their own functions,
away from local variables with types that have destructors.
2015-09-24 15:52:05 -07:00
Nicholas Nethercote
aeccf72543
Bug 1207437 (part 2) - Don't re-get D3D11CreateDevice. r=dvander.
...
It's always obtained during gfxWindowPlatform initialization and put into
sD3D11CreateDeviceFn.
2015-09-24 15:52:04 -07:00
Nicholas Nethercote
ff73d2195a
Bug 1207437 (part 1) - Don't recompute Windows feature levels. r=dvander.
...
This is valid because mFeatureLevels is set when gfxWindowsPlatform is
initialized.
2015-09-24 15:52:02 -07:00
Mason Chang
9e89498adf
Bug 1188075 - Speed up inner box-shadow drawing by using a border-image style approach. r=mstange
2015-09-24 09:50:29 -07:00
Nicholas Nethercote
f27f30a136
Bug 1207944 (part 9) - Remove SetColor(const gfxRGBA&). r=jwatt.
2015-09-24 00:48:15 -07:00