Commit Graph

12332 Commits

Author SHA1 Message Date
Jonathan Kew
a4405591a5 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
757e37c881 Bug 1083501 - Port the code that uses nsRenderingContext::SetLineStyle/nsLineStyle to Moz2D. r=mattwoodrow 2014-10-16 12:03:44 +01:00
Jonathan Watt
0edf484d99 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
c275d79f99 Bug 1078262 - Only use the fixed epsilon for the translation components. r=roc 2014-10-16 12:37:09 +02:00
Markus Stange
bd3bc2c6e3 Bug 1076695 - Don't convert alpha surfaces into RGBA surfaces for FilterNodeTransformSoftware. r=Bas 2014-10-16 12:35:58 +02:00
Jonathan Watt
ed56b37f95 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
327ff240f2 Bug 1082553 - Remove gfxContext::OriginalSurface. r=Bas 2014-10-16 10:51:13 +01:00
Jonathan Watt
37744b9d6c Bug 1082518 - Get rid of some unused gfxContext flags. r=Bas 2014-10-16 10:51:13 +01:00
Jonathan Watt
f348571ae8 Bug 1082483, part 3 - Remove the temporary Matrix4x4::Translate/Scale methods. r=Bas 2014-10-16 10:51:13 +01:00
Jonathan Watt
7d236a045d 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
c4e837e83b 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
bc5fb392b7 Bug 1082477, part 2 - Remove the Matrix4x4::TranslatePost/ScalePost methods. r=Bas 2014-10-16 10:51:12 +01:00
Jonathan Watt
b4519eba1a 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
c9209156c7 Backed out changeset 1abddb50ed34 (bug 1081867) for bustage on a CLOSED TREE 2014-10-16 11:42:11 +02:00
Jonathan Kew
97e0934b55 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
9d03234368 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
899268f4ba Bug 1082745 - Avoid reoptimizing optimized SourceSurfaceCairos, r=bas 2014-10-15 17:13:14 -04:00
Jim Chen
e31fbbaeaa Bug 1077662 - Label GL calls in profiler; r=snorp 2014-10-14 23:20:16 -04:00
Jeff Gilbert
6771bde885 Bug 1081363 - Don't do readback eagerly in ShSurf_Basic. - r=kamidphish 2014-10-10 14:36:17 -07:00
John Daggett
b39637d6da Bug 1082167 - don't leak featurelookups within InputsForOpenTypeFeature. r=jfkthame 2014-10-15 08:38:03 +09:00
David Anderson
e8609c1ba4 WebGL2: Implement invalidateFramebuffer and invalidateSubFramebuffer (bug 1076456, r=jgilbert).
--HG--
extra : rebase_source : 5ce9c956475388896fe193ca37c9595978adf15c
2014-10-14 14:49:49 -07:00
Jon Morton
c559dd1ab0 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
2f93304c9b 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
59fee7075c 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
42de88496d 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
0adf22382f Bug 966284 - Fix the shutdown sequence of PLayerTransaction and PTexture. r=sotaro 2014-10-13 10:43:59 +02:00
Jeff Gilbert
bae4221d52 Bug 1066280 - Fix non-unified bustage. CLOSED TREE 2014-10-10 13:57:19 -07:00
jdashg
24d14eb13a Bug 1066280 - Handle dirtying in BasicCanvasLayer. - r=mattwoodrow 2014-10-08 15:18:28 -07:00
jdashg
7eaef7f7e5 Bug 1066280 - Review fixes. - r=kamidphish,mattwoodrow 2014-10-08 13:04:19 -07:00
jdashg
48843827a7 Bug 1066280 - Fixes for SurfaceStream removal. - r=kamidphish,mattwoodrow 2014-10-07 21:16:14 -07:00
jdashg
04beb50da5 Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow 2014-10-07 21:15:39 -07:00
jdashg
4e9300d191 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
2a692a2b9c 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
b34e879eb0 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
7fdc437010 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
eefb25b36a Bug 1080296 - Clear out glGetError after checking it. - r=kamidphish 2014-10-07 15:17:42 -07:00
Bas Schouten
90597ec20e 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
9e2e3b031b 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
99feedeafd Bug 1075077 - Update buffer's addresses r=nical 2014-10-10 06:21:43 -07:00
Jeff Muizelaar
825b62e2d3 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
4ecf264b9c Bug 1079250 - SharedDataGonkOGL::DeleteTextureIfPresent to assert mCompositor rather than gl(). r=sotaro 2014-10-09 16:00:17 +02:00
Jonathan Kew
ef646fb6da 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
d331a53d11 Bug 1075136 - Initialize TileClient::mCompositableClient correctly r=nical 2014-10-08 20:47:17 -07:00
Kartikaya Gupta
22f08e6ac7 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
6f5bb65d78 Bug 1079321 - Fix some more bad implicit constructors in gfx; r=jrmuizel 2014-09-24 09:16:53 -04:00
Sotaro Ikeda
9c96d1e89e Bug 1079251 - fix CbCr buffer address r=nical 2014-10-08 13:34:52 -07:00
Eric Rahm
739ad6c34e 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
be71a0b71a Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Jonathan Kew
8c25f595f9 Bug 1074735 pt 1 - Use more sensible values for underline and strikeout position in vertical font metrics. r=smontagu 2014-10-08 10:32:53 +01:00
Jonathan Kew
0b2044e10c Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas 2014-10-06 16:19:36 +01:00