Commit Graph

9099 Commits

Author SHA1 Message Date
Benoit Jacob
7438273a3f Bug 950903 - 7/8 - Simplifications around EGLSurface override - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
c1f0c05cb0 Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
19409e921d Bug 950903 - 5/8 - Add static Cast methods to allow getting the backend-specific object from a GLContext - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
829edabdf3 Bug 950903 - 4/8 - Expose GLContextWGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
d3cc19513c Bug 950903 - 3/8 - Expose GLContextCGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
5ace57f451 Bug 950903 - 2/8 - Expose GLContextGLX publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
174b06912b Bug 950903 - 1/8 - Expose GLContextEGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Nicolas Silva
4d46ad1708 Bug 938591 - Fix a test on a CLOSED TREE. r=me 2014-01-07 19:00:26 +01:00
Nicolas Silva
909730f4fa Bug 900244 - Implement the D3D9 specific TextureClients. r=nrc 2014-01-07 17:20:40 +01:00
Matt Woodrow
b6d62a28f6 Bug 900244 - Implement a shared D3D9 TextureClient. r=nical 2014-01-07 17:20:22 +01:00
Nicolas Silva
ad476e2176 Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc 2014-01-07 17:20:11 +01:00
Nicolas Silva
db6939af11 Bug 900244 - New D3D9 Textures for BufferTextures. r=nrc 2014-01-07 17:20:03 +01:00
Nicolas Silva
8aba9aaa4a Bug 938591 - New D3D11 TextureClient/Host. r=nrc 2014-01-07 17:19:52 +01:00
Ryan VanderMeulen
a7ec0e89f6 Backed out changeset 403ab3213879 (bug 893304) for bustage. 2014-01-07 10:07:32 -05:00
Morris Tseng
af6ed80837 Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob 2014-01-07 09:58:03 -05:00
Matt Woodrow
4c56177515 Bug 952235 - Handle device offset when applying pattern transform. r=bas 2014-01-07 10:25:05 +09:00
Nicholas Cameron
3255d2032d Bug 950550. Test. r=jrmuizel
--HG--
extra : rebase_source : b5d2cc463f423127948a65ddd9567671a67e9250
2014-01-07 11:27:07 +13:00
Nicholas Cameron
e2ed561e72 Bug 950550. Restore the transform in DrawTargetCairo::PopClip. r=jrmuizel
--HG--
extra : rebase_source : 999f2d3794de202f68bf4adee8f4b0034e5f91b6
2014-01-07 11:27:03 +13:00
Neil Rashbrook
c1e7ed6e6b Restore the string header included previous to bug 918923 so that this file can be used with the external string API again (c.f. bug 920073) r=ehsan 2014-01-06 19:35:42 +00:00
Kartikaya Gupta
73446f3e6c Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond 2014-01-06 13:26:44 -05:00
Birunthan Mohanathas
dfbad43639 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Anthony Jones
ffb3cc0bf2 Bug 951463 - Rename ClampRect to ForceInside; r=botond 2014-01-06 10:05:07 -05:00
Kevin Simons
148b139c96 Bug 951686 - Set the SkBitmapDevice to opaque for BGRX surfaces. r=gwright 2014-01-06 10:03:55 -05:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote
ed423fbdef Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Nethercote
a228c41d0b Bug 955942 (part 1) - Remove unnecessary nsIMemoryReporter qualifiers from UNITS_* and KIND_* constants. r=mccr8.
--HG--
extra : rebase_source : f760568c08af03d9fec316bf95e7d4388078a03d
2013-12-11 11:59:39 -08:00
Benoit Jacob
cfbfd4618e Bug 949347 - Temporary strong reference to the actor in case mActor might be nulled concurrently - r=nical 2014-01-02 17:54:13 -05:00
Alessandro Decina
2704a7592d Bug 952769 - Add explicit strides to YCbCrImageDataSerializer. r=nical 2014-01-02 10:50:14 -05:00
Benoit Jacob
47e5f6dc26 Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert 2014-01-02 10:17:29 -05:00
Benoit Jacob
ffb2d08f4f Bug 949816 - Move override-EGLSurface feature out of GLContext - r=jgilbert 2014-01-02 10:17:28 -05:00
Benoit Jacob
044d7d1535 Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert 2014-01-02 10:17:25 -05:00
Benoit Jacob
ad05069143 Bug 945586 - Fix a few things in GLReadTexImageHelper - r=jgilbert 2014-01-02 10:17:24 -05:00
Benoit Jacob
2b8df35bc7 Bug 945586 - Move GLReadTexImageHelper out of GLContext - r=jgilbert 2014-01-02 10:17:22 -05:00
Benoit Jacob
bae7b0d8e2 Bug 949813 - Remove mIsGlobalSharedContext from GLContext - r=jgilbert 2014-01-02 10:17:20 -05:00
Henri Sivonen
0a59ad7382 Bug 213517 part 2 - Remove the x-user-def language group. r=jfkthame. 2014-01-02 09:18:20 +02:00
Benoit Jacob
9a53357c9c Bug 877115 - some compilation fixes - no review, trivial build fix 2014-01-01 14:47:19 -05:00
Andreas Pehrson
af91dfe323 Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical 2013-12-16 15:50:53 -05:00
Andreas Pehrson
1c6ea38013 Bug 877115 - [Moz2Dify] Part 5. Minimize gfxIntSize usage in GLContext. r=nical 2013-12-10 17:12:42 +01:00
Andreas Pehrson
9f3925f915 Bug 877115 - [Moz2Dify] Part 4. Change gfxIntSize to gfx::IntSize in GLScreenBuffer and friends. (carries r=nical) 2013-12-10 17:12:18 +01:00
Andreas Pehrson
f3b2403568 Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical 2013-12-10 17:11:58 +01:00
Andreas Pehrson
72812546dc Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical) 2013-12-10 17:11:11 +01:00
Andreas Pehrson
86b0750f57 Bug 877115 - [Moz2Dify] Part 1. Remove ImageFormat typedef from GLContext. (r=nical) 2013-12-10 17:10:41 +01:00
Andreas Pehrson
7c766323a3 Bug 877115 - Add factory method for DataSourceSurfaces with custom stride. r=bas 2013-12-19 10:31:07 -05:00
Ms2ger
98586cdbc1 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Robert O'Callahan
b842ce7261 Bug 945203. Part 3: Implement nsRegion::Swap. r=jrmuizel
--HG--
extra : rebase_source : ee43bf510f8d2bac998d24511327c33362044c79
2013-12-17 00:01:38 +13:00
Robert O'Callahan
13d4ba530e Bug 945203. Part 2: Fix bogus comment. r=mattwoodrow
--HG--
extra : rebase_source : a7ef13ff14808109b003a72a6e55b21014801bc0
2013-12-17 00:01:02 +13:00
Robert O'Callahan
273ddfc1ac Bug 945203. Part 1: Add Layers API to annotate layers with hit-test regions. r=kats
--HG--
extra : rebase_source : baa695c0d6104f620a5b45a83e5b230ef584abd9
2013-12-16 23:47:06 +13:00
David Zbarsky
19e7f7ce22 Bug 952977: Use gfx::Matrix in ipdl r=nical 2013-12-26 13:06:53 -05:00
Martijn Wargers
a5369e2c73 Bug 358732 - crashtests. 2013-12-23 16:51:57 +00:00
Jacek Caban
0ada8f7573 Bug 944908 - Fixed mingw compilation in gfx/2d/. r=bas.schouten 2013-12-23 14:03:16 +01:00
Wes Kocher
14628d9b52 Merge inbound to m-c 2013-12-20 18:42:04 -08:00
Diego Wilson
9e48e9bdd8 Bug 950800 - Honor Composer2D toggling on the fly. r=nrc
Now you can toggle the hardware composer on/off at any point without restarting B2G.
2013-12-17 09:01:39 -08:00
Nicolas Silva
e2aebf6c16 Bug 951218 - Fix a bug in AutoLockTextureHost. r=bjacob 2013-12-20 23:30:52 +01:00
Benoit Jacob
01ed72bcab Bug 949347 - reference-count TextureChild and have TextureClient hold on to it - r=nical,sotaro 2013-12-20 16:44:30 -05:00
Nicholas Cameron
42cc7a3660 Bug 898828. Don't even try async video on Windows. r=nical 2013-12-21 10:37:07 +13:00
Tor Arvid Lund
ac7506b8fa Bug 950677 - Fix compile errors on Windows/FFOS builds. r=nical
The errors were discovered when running on the try server. Chose #include
in GrallocImages because there were problems with fwd declarations again.
2013-12-20 11:46:31 -05:00
Tor Arvid Lund
bbfc9d5dc7 Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
03a5dadfb2 Bug 950677 - gfxIntSize -> IntSize in ThebesLayer* classes. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
5aafe907f1 Bug 950677 - gfxIntSize -> IntSize for Texture* classes. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
69a8d8666c Bug 950677 - gfxIntSize -> IntSize in ipc/Shadow* files. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
d44e391678 Bug 950677 - gfxIntSize -> IntSize in ipc/ directory. r=nical
(Detail: Chose to put an #include for Point.h in a header instead of a
forward declaration because a fwd decl caused an "Already defined" error
and having neither fwd decl or #include caused another compile failure
saying IntSize was undefined)
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
19ca402f3f Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical 2013-12-20 11:46:29 -05:00
Tor Arvid Lund
9d33e07888 Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical 2013-12-20 11:46:29 -05:00
Tor Arvid Lund
48371ada8e Bug 950677 - Change gfxIntSize to gfx::IntSize in DirectX files. r=nical 2013-12-20 11:46:29 -05:00
Tor Arvid Lund
7b9c2a5b21 Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical 2013-12-20 11:46:28 -05:00
Anthony Jones
5d41ec019c Bug 952116 - Add mutex around APZC::CancelAnimation; r=kats 2013-12-20 09:58:24 +13:00
Randall Barker
bb2d67faf4 Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis 2013-12-19 12:19:25 -08:00
Jonathan Kew
3d30fb0ba7 bug 950590 - part 2 - make SetUserFontSet support updating a gfxFontGroup's user font set on the fly, and use this in canvas rendering context. r=roc 2013-12-19 20:21:11 +00:00
Jonathan Kew
b3bc7a8f7a bug 950590 - part 1 - use nsRefPtr instead of manual addref/release calls for gfxFontGroup's reference to the user font set. r=roc 2013-12-19 20:20:57 +00:00
Nicolas Silva
a7bb73bad9 Bug 951858 - Support DrawTarget::CopySurface with A8 D2D textures. r=Bas 2013-12-19 19:44:20 +01:00
Isura Edirisinghe
3eedf5ced4 Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa 2013-12-19 11:42:19 -05:00
Nicolas Silva
285bc16346 Bug 951218 - Use RAII to unlock TextureHost. r=bjacob 2013-12-19 17:20:51 +01:00
Nicolas Silva
3f68aecbec Bug 948470 - Correctly set the format of DataSourceSurfaceD2DDrawTarget. r=Bas 2013-12-19 16:36:46 +01:00
Ryan VanderMeulen
5df86bb751 Merge m-c to inbound. 2013-12-18 21:28:22 -05:00
Ryan VanderMeulen
9c7c648b58 Merge b2g-inbound to m-c. 2013-12-18 21:27:05 -05:00
Vivien Nicolas
25a0f50881 Bug 951321 - [B2G][Messages] Create New Message button gets selected but does not open New Message page. r=kats 2013-12-19 01:12:47 +01:00
Vivien Nicolas
eb2ad7d573 Bug 951290 - [B2G] [Browser] The first swipe after zooming has no effect. r=kats 2013-12-19 01:12:47 +01:00
Benoit Jacob
945daca329 Bug 950203 - Let GfxInfo on Android create its own GL context to get GL strings, instead of waiting on the compositor's - r=jrmuizel 2013-12-18 15:49:13 -05:00
Vladimir Vukicevic
454fedcff5 b=949644; set mLibrary in WGL contexts before calling Init; r=bjacob 2013-12-18 13:09:11 -05:00
Vladimir Vukicevic
5b56494025 b=929506; call wglMakeCurrent before Init to get lookup working; r=bjacob 2013-12-18 13:09:11 -05:00
Vladimir Vukicevic
0693013e34 b=929511; fix WGL context sharing; r=bjacob 2013-12-18 13:09:10 -05:00
Vladimir Vukicevic
4667d6c4ff b=929508; implement gfxWindowsPlatform::GetScreenDepth; r=jrmuizel 2013-12-18 13:09:10 -05:00
Milan Sreckovic
401190b73d Bug 893572 - Add tests and backout part of bug 922942 for regressing the tests prior to them being landed. r=Bas, r=mattwoodrow 2013-12-17 16:51:16 -05:00
Markus Stange
d202381227 Bug 951302 - Fix BasicCompositor handling of mask layers. r=mattwoodrow 2013-12-18 12:19:47 +01:00
Phil Ringnalda
6cc1278352 Back out 024623d015e9:fa1dd7e7aa22 (bug 895358) for Windows build bustage
CLOSED TREE
2013-12-17 23:36:05 -08:00
Randall Barker
ffd53db5e1 Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis 2013-12-17 13:41:00 -08:00
Wes Kocher
e365f41e60 merge inbound to m-c 2013-12-17 21:00:02 -08:00
Ryan VanderMeulen
3fdded06ae Merge m-c to b2g-inbound. 2013-12-17 16:22:49 -05:00
Ryan VanderMeulen
947a3e877b Merge b2g-inbound to m-c. 2013-12-17 16:17:49 -05:00
Kartikaya Gupta
d5750e38bc Bug 951256 - Dump the APZC guid in rendertrace output. r=Cwiiis 2013-12-17 15:20:21 -05:00
Kartikaya Gupta
89188d1d52 Bug 951256 - Add a GetGuid function with return value to APZC. r=Cwiiis 2013-12-17 15:20:20 -05:00
Kartikaya Gupta
38db1b6d37 Bug 950487 - Remove unnecessary UpdateCompositionBounds function on APZC. r=Cwiiis 2013-12-17 14:25:57 -05:00
Ryan VanderMeulen
81208466f0 Merge m-c to inbound. 2013-12-17 16:20:31 -05:00
Markus Stange
8a9382d2d4 Bug 951186 - Propagate the current compositor in ContentHostBase::UseTextureHost. r=nical 2013-12-17 17:11:14 +01:00
Chris Lord
aa34694d94 Bug 950696 - Cache the 'enable tiles' layers pref. r=bgirard
Rename layers.force-tiles to layers.enable-tiles and cache it with the other
layers prefs in gfxPlatform.
2013-12-17 14:02:16 +00:00
Carsten "Tomcat" Book
799e8605e5 Merge mozilla-central to mozilla-inbound 2013-12-17 13:16:00 +01:00
Jacek Caban
03f0f15e52 Bug 945292 - Makefile.in part. r=glandium 2013-12-17 12:06:08 +01:00
Wes Kocher
9d014eeca5 Merge m-c to b2g-inbound 2013-12-16 21:36:02 -08:00
Wes Kocher
b8a8bd4ca4 Merge inbound to m-c 2013-12-16 21:33:31 -08:00
Ryan VanderMeulen
d81cf59890 Backed out changeset 96b0ddfc63f7 (bug 893304) for causing bug 950589. 2013-12-16 22:49:02 -05:00