Nicolas Silva
850e06aa00
Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel
2015-09-28 13:49:43 +02:00
Nicolas Silva
ae47538b3f
Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel
2015-09-28 13:49:33 +02:00
Nicholas Nethercote
ff7df9ad79
Bug 1208283 (part 4) - Change FrameMetrics::mBackgroundColor from gfxRGBA to gfx::Color. r=jwatt.
...
This removes some ToColor() calls.
--HG--
extra : rebase_source : 05ee3e5aaa784e12c15fa42845864eacec45271f
2015-09-24 18:17:45 -07:00
Nicholas Nethercote
62d71c049e
Bug 1208283 (part 3) - Remove the ToDeviceColor() that takes a gfxRGBA. r=jwatt.
...
--HG--
extra : rebase_source : afb31c9e9bb3367a165c079b06dc63ff9f87f468
2015-09-24 18:16:51 -07:00
Nicholas Nethercote
89189f2ced
Bug 1208283 (part 2) - Change ColorLayer::mColor, ColorLayerProperties::mColor, ReadbackLayer::mBackgroundColor from gfxRBGA to gfx::Color. r=jwatt.
...
This avoids some gfxRGBA-to-Color conversions.
--HG--
extra : rebase_source : ba62db5204301e4ab57f05b9f9901f986f5b09aa
2015-09-24 18:16:45 -07:00
Nicholas Nethercote
25d52ffe9f
Bug 1208283 (part 1) - Change gfxPattern's single-arg constructor to take a gfx::Color& instead of a gfxRGBA&. r=jwatt.
...
--HG--
extra : rebase_source : 09fece3af01326be1ea7a5c29d52266323f09ade
2015-09-24 17:50:46 -07:00
Nicholas Nethercote
342466f878
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.
--HG--
extra : rebase_source : 74e9b6eecf6f442e27cc18fd4ae6f668a45188aa
2015-09-24 22:38:58 -07:00
Wes Kocher
40f2f82907
Merge m-c to inbound, a=merge
2015-09-25 18:02:38 -07:00
Kearwood (Kip) Gilbert
55533524b4
Bug 1207326 - Part 1: Correct projection clipping rectangle,r=matt.woodrow
...
- The clipping rectangle used in a call to Matrix4x4::TransformAndClipRect
within CompositorOGL::DrawQuad is now using mRenderBound, with an
offset applied consistent with use later in the function.
2015-09-25 13:43:52 -07:00
Hayden Huang
997857d190
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.
--HG--
extra : transplant_source : %EC%27%97%1Ai%0D%E3%BC%D0%12%97-K%0Ek%BD%8A%C8%A9%85
2015-08-06 14:30:22 +08:00
Nicholas Nethercote
165270a482
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.
--HG--
extra : rebase_source : e2882f4af319c9541891da34da4202baee5470b0
2015-09-23 23:42:58 -07:00
Nicholas Nethercote
ef3e68e52b
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.
--HG--
extra : rebase_source : 13cd1cbd0d7f893eed27f530f7018751b98811c8
2015-09-23 23:37:24 -07:00
Nicholas Nethercote
8fa390b8ea
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().
--HG--
extra : rebase_source : 3b66f378443f1ca05b49bc763b2adf42ac3ef845
2015-09-23 23:36:15 -07:00
Nicholas Nethercote
2d94bd2f65
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.
--HG--
extra : rebase_source : b458a63b950ad0bfebdd7496a64c67a5dd92b9ea
2015-09-23 23:33:31 -07:00
Nicholas Nethercote
842dd1cf5a
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.
--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Nicholas Nethercote
db4bf9b138
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.
--HG--
extra : rebase_source : 66a374e598ca43e2c404a1832636535ee13425fd
2015-09-24 15:52:05 -07:00
Nicholas Nethercote
26c3ba3de8
Bug 1207437 (part 2) - Don't re-get D3D11CreateDevice. r=dvander.
...
It's always obtained during gfxWindowPlatform initialization and put into
sD3D11CreateDeviceFn.
--HG--
extra : rebase_source : a27abb673cfd250e1b26289295c8585b1541a29f
2015-09-24 15:52:04 -07:00
Nicholas Nethercote
631a28f191
Bug 1207437 (part 1) - Don't recompute Windows feature levels. r=dvander.
...
This is valid because mFeatureLevels is set when gfxWindowsPlatform is
initialized.
--HG--
extra : rebase_source : 60aea87f0b261f6410b311408c63728d6e1bb1cc
2015-09-24 15:52:02 -07:00
Andrew Comminos
b2668b2662
Bug 1193015 - Require MOZ_GLX_USE_SURFACE_SHARING to enable WebGL surface sharing on GLX. r=jgilbert
2015-09-24 15:21:36 -07:00
Mason Chang
91a913a490
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
Jeff Gilbert
187dfafc29
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-24 12:21:05 -07:00
Wes Kocher
39cabbcacc
Backed out changeset 1da385d6c46b (bug 1021845) for b2g r3 and r7 permafail CLOSED TREE
2015-09-24 12:06:03 -07:00
Wes Kocher
d28eb4d8c9
Backed out bug 1083101 for build bustage CLOSED TREE
...
changesets backed out:
e39dfd9e05cb, cd54e93993b4, 61db1a51a7c4, c20fd7506bb7, b5e97b0facb7, cdf356cb817e, b058a918f443, d421e79326a2, 34a0be9af3f3, bba6f89ab775, 2fd5cfcea4e5
--HG--
extra : amend_source : 9dd084c69c78fd2248dfb1b9ba562b8a396ba205
extra : histedit_source : 7dc833e4d0e1656ed98f560b0bd8fec9e0aee3ef%2C1df84fdd3e0adae06356f9ffbafc49538ffb8729
2015-09-24 11:14:50 -07:00
Nicolas Silva
5c994c47a4
Bug 1083101 - Back 5 patches out due to windows build issues, CLOSED TREE.
2015-09-24 19:47:20 +02:00
Nicolas Silva
b5f0ba8f9a
Bug 1083101 - build fix on CLOSED TREE
2015-09-24 19:11:26 +02:00
Nicolas Silva
da625cae5a
Bug 1083101 - build fix on CLOSED TREE
2015-09-24 18:08:10 +02:00
Nicolas Silva
b7926684ad
Bug 1083101 - Make SyncObject's list of waiting jobs lock-free. r=jrmuizel
2015-09-24 17:35:47 +02:00
Nicolas Silva
38f6ea4b47
Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel
2015-09-24 17:35:37 +02:00
Nicolas Silva
0819b3e7d5
Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel
2015-09-24 17:35:30 +02:00
Nicolas Silva
1ccd18a5b5
Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel
2015-09-24 17:35:27 +02:00
Matt Woodrow
c6cace0590
Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel
2015-09-24 18:33:59 -04:00
Kartikaya Gupta
a3d47ba1cd
Bug 1207270 - Update tests to ensure that TaskThrottlers are created as appropriate. r=botond
...
--HG--
extra : commitid : LcF5dobJwsF
2015-09-25 13:54:11 -04:00
Kartikaya Gupta
1a46906324
Bug 1207270 - Ensure that the TaskThrottler objects are created on the main thread. r=botond
...
--HG--
extra : commitid : C7pynADlf3C
2015-09-25 13:54:11 -04:00
Nicholas Nethercote
6e2ecba32f
Bug 1207944 (part 9) - Remove SetColor(const gfxRGBA&). r=jwatt.
...
--HG--
extra : rebase_source : 37ad81dc8634abebe42962d38749e39f5a0ce1df
2015-09-24 00:48:15 -07:00
Nicholas Nethercote
b33cbd6c59
Bug 1207944 (part 7) - Use gfx::Color instead of gfxRGBA in BlurCache. r=jwatt.
...
This avoids several gfxRBGA-to-Color conversions.
--HG--
extra : rebase_source : 9b60c0dd0169bd8b208639dd3a28cad4591179dd
2015-09-24 00:43:32 -07:00
Lee Salzman
a452602084
Bug 1202696 - check surface status in _cairo_surface_get_extents. r=jmuizelaar
...
--HG--
extra : rebase_source : bf9bf49cf9829370ab20567f10ce4c20fa5c9fca
2015-09-23 14:40:18 -04:00
Nicolas Silva
c41df579c1
Bug 1083101 - Extend DrawCommand storage functionality and fix a bug with dashed stroke patterns. r=jrmuizel
2015-06-10 19:57:08 +02:00
Nicolas Silva
9a89fcdfb3
Bug 1083101 - Implement gfx::DrawingJob. r=jrmuizel
2015-09-24 17:35:15 +02:00
Nicolas Silva
dbac937791
Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel
2015-09-24 17:35:10 +02:00
Nicolas Silva
d730a8ec5f
Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel
2015-09-24 17:34:43 +02:00
Sotaro Ikeda
ba3b3090fd
Bug 1187145 - Replace nsBaseHashtable::Enumerate() calls in gfx/ with iterators r=njn
2015-09-24 08:31:30 -07:00
Morris Tseng
2275dcb794
Bug 1207887 - Fix AsyncPanZoomAnimation, WheelScrollAnimation and TextureHost doesn't compile in non-unified build. r=nical
2015-09-23 18:53:00 +02:00
Nathan Froyd
5761751aa3
Bug 1207245 - part 1 - move RefCounted<T> to its own file
...
Various bits depend on RefPtr.h to provide RefCounted<T> and RefPtr<T>.
It will be easier to manage an automatic conversion from RefPtr<T> to
nsRefPtr<T> if we split out the dependency on RefCounted<T> first.
2015-09-22 21:27:34 -04:00
Markus Stange
6e7d153296
Bug 1021845 - Before compositing, clip the visible region of a layer to the layer's clip rect. r=mattwoodrow
...
--HG--
extra : commitid : 9ApIorZ6nmP
extra : histedit_source : 0313083254f244855be9663ac6878f8e353086d8
2015-09-23 16:18:29 +02:00
Jonathan Kew
a83eed3993
Bug 1193519 pt 2 - Handle sideways-left orientation in gfx text-drawing code. r=dholbert
2015-09-24 10:23:34 +01:00
Ted Mielczarek
76da157ae2
bug 1178956 - Specify precision in OGLShaderProgram.cpp to fix compositor on iOS. r=kip
...
--HG--
extra : commitid : JADdinHiHj
extra : rebase_source : f83c3a6d1d6f02f7744e0751eebd4c80c24028d0
2015-09-22 15:41:46 -04:00
Matt Woodrow
a9aab0bbb3
Bug 1150944 - Use correct origin for SkiaGL texture backed SourceSurfaces. r=gw280
...
--HG--
extra : rebase_source : 9c074672112c461c24552d9df770cad592c30d88
2015-09-23 20:27:58 -04:00
Jonathan Kew
a091884801
Bug 1193488 - Update values of writing-mode and text-orientation to reflect the CSS WG decision to revise them in the Writing Modes spec. r=dholbert
2015-09-23 22:16:01 +01:00
Avi Halachmi
648f55e7e6
Bug 1207656: APZ mouse wheel scroll: don't ignore minimum duration. r=dvander
2015-09-23 19:35:44 +03:00
Kartikaya Gupta
2379bce8fa
Bug 1204076 - Remove workaround for making a test pass now that the underlying issue is fixed. r=botond
...
--HG--
extra : commitid : DrEEMPLFv95
2015-09-23 16:25:51 -04:00