Daniel Holbert
85c396a165
Bug 904184: Replace "//" comment with "/**/" comment, to fix GCC "warning: multi-line comment" for trailing backslash in ASCII art. r=BenWa
2013-08-12 13:40:28 -07:00
Kartikaya Gupta
8792f2231a
Bug 903460 - Apply the async transform after the CSS transform for a given layer. r=BenWa
...
Since the CSS transform includes a 1/resolution scaling factor, the translation
amount in the async transform is now in LayoutDevicePixels instead of LayerPixels.
The shadow tree transform is now effectively:
(1/resolution * rest of CSS transform * async translation * async resolution)
Whereas before it was
(async translation * async resolution * 1/resolution * rest of CSS transform)
2013-08-10 11:19:47 -04:00
Jeff Muizelaar
8c90099fc3
Bug 897532. Add support for better filtering in Azure. r=bas
...
This fixes the quality regression on OS X.
--HG--
extra : rebase_source : f045caa95800d05098ea49e05fe90fc933f8849f
2013-07-31 14:46:25 -04:00
Kartikaya Gupta
5f324bf8f9
Bug 890280 - Update the AsyncPanZoomController tests to also test the transformation matrices. r=BenWa
2013-08-15 08:03:31 -04:00
Ryan VanderMeulen
e00814595a
Backed out changeset 5432f96b6ba0 (bug 899855) for B2G test bustage.
...
CLOSED TREE
2013-08-14 13:21:52 -04:00
Brian O'Keefe
3a92f0ae7c
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Guillaume Abadie
1f509d1e9b
bug 899855 - GLContext parse GL_VERSION - r=jgilbert
2013-08-14 10:07:08 -04:00
Ms2ger
2797100606
Merge m-c to inbound.
2013-08-14 14:47:39 +02:00
Markus Stange
97605b2c55
Bug 904538 - Don't #include nsITheme.h in nsIWidget.h. r=roc
2013-08-14 13:19:55 +02:00
Ryan VanderMeulen
181107aedd
Backed out changeset ce3a1df4d559 (bug 875247) for mochitest-mc crashes.
2013-08-09 17:56:15 -04:00
Chris Pearce
0f20fe47c3
Bug 875247 - Use DXVA2 via D3D11 on Windows 8 to avoid readback of video frames when we turn on OMTC on Windows 8. r=Bas,padenot,gps
2013-08-10 08:17:44 +12:00
David Zbarsky
04ff4c97fa
Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc
2013-08-20 15:45:30 -04:00
Trevor Saunders
7da524d402
bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium
2013-08-08 20:12:37 -04:00
Po-Chun Chang
0a4275cc10
Bug 897258 - Avoid wasted work in GestureEventListener::HandleInputEvent(). r=kentuckyfriedtakahe
2013-08-09 15:01:56 -04:00
Daniel Holbert
3c80ac68bf
Bug 903071: Drop unused variable 'gfxSize' from ImageDataSerializer::ComputeMinBufferSize. r=nical
2013-08-09 15:07:32 +02:00
Jonathan Kew
716dfd6e48
bug 880818 - check for failure when creating the cairo_scaled_font in gfxFT2Font::GetOrMakeFont. r=jdaggett
2013-08-09 09:51:51 +01:00
Matt Brubeck
5455c6f576
Merge mozilla-central to mozilla-inbound
2013-08-08 21:49:53 -07:00
Matt Brubeck
ce29854576
Back out d10581fd8202 (bug 897532) on suspicion of causing intermittent pgo-only Metro crashes
2013-08-08 14:58:00 -07:00
Nicholas Cameron
117fcc1062
Bug 899435. Part 4 - smooth resizing with OMTC. r=roc
2013-08-09 11:32:26 +12:00
Nicholas Cameron
8c55f2161b
Bug 902330. Initialise shmem texture clients properly. r=mattwoodrow
2013-08-09 11:32:25 +12:00
Nicholas Cameron
a008e42aff
Bug 902330. Fix the SupportsAzureContent mess. r=mattwoodrow
2013-08-09 11:32:19 +12:00
Nicholas Cameron
82872d7790
Bug 901722. Part 2 - changes to generated files. r=bas
2013-08-09 11:30:19 +12:00
Nicholas Cameron
eab2453adf
Bug 901722. Implement component alpha for d3d11 compositor. r=Bas
2013-08-09 11:30:19 +12:00
Nicholas Cameron
94bba53801
Bug 901722. Tweek to d3d9 compositor blend modes. r=bas
2013-08-09 11:30:19 +12:00
Nicholas Cameron
ac18777e7e
Bug 902329. Implement component alpha thebes layers with Azure. r=mattwoodrow
2013-08-09 11:30:19 +12:00
Nicholas Cameron
27e0d267bc
Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow
2013-08-09 11:30:19 +12:00
Nicholas Cameron
ebeffbbd97
Bug 901404. Support Azure with single buffered thebes layers. r=mattwoodrow
2013-08-09 11:30:18 +12:00
Nicholas Cameron
f2050ee1aa
Bug 902528. Check we still have a render target in BeginFrame. r=Bas
2013-08-09 11:30:18 +12:00
Nicholas Nethercote
b756f6b258
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
25d70fdd97
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Ed Morley
8ed777a5a6
Merge mozilla-central and inbound
2013-08-07 16:19:03 -07:00
Edwin Flores
c80309e9c2
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00
Ryan VanderMeulen
8ff5704901
Merge m-c to b2g-inbound.
2013-08-07 14:41:41 -04:00
Kartikaya Gupta
fcf357b7f1
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 16:20:14 -04:00
Ryan VanderMeulen
426e61090b
Backed out changeset aada9eac6fd3 (bug 900742) for checktest failures.
2013-08-06 12:50:36 -04:00
Kartikaya Gupta
a44a912056
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 10:39:19 -04:00
Guillaume Abadie
e4fe59d4e4
bug 893180 - [WebGL 2.0] gl.vertexAttribDivisor (GL_ARB_instanced_array) - r=jgilbert
2013-08-06 20:05:51 -04:00
Josh Aas
4b110483c8
Bug 899473 - Remove OS X 10.4 and 10.5 code from gfx. r=jmuizelaar
2013-08-06 17:52:52 -04:00
Guillaume Abadie
5e549ecde2
bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert
2013-08-06 17:23:46 -04:00
Jonathan Kew
cb73405190
bug 854897 - prefer harfbuzz shaping for Indic text on WinXP. r=jdaggett
2013-08-05 21:06:09 +01:00
Nicolas Silva
05d8fbff3f
Bug 900793 - Rename TextureSourceOGL::ReleaseTexture into UnbindTexture. r=nrc
2013-08-05 12:15:21 +02:00
Nicolas Silva
9953dba9ff
Bug 899667 - Make layer borders more readable. r=BenWa
2013-08-03 00:50:17 +02:00
Kartikaya Gupta
0ca2b25eb0
Bug 899810 - Ensure that mFrameMetrics is updated properly in NotifyLayersUpdated. r=bbondy
...
In some cases the mScrollOffset was getting updated on the mFrameMetrics
before the IsDefault() check, so the IsDefault() check would return false
when it should have returned true. Calling IsDefault() on the
mFrameMetrics before writing stuff into it fixes this.
2013-08-04 12:26:54 -04:00
Nicholas Cameron
beb04c20b9
Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow
2013-08-04 19:46:17 +12:00
Matt Woodrow
a973a3feba
Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas
2013-08-01 21:12:16 -04:00
Matt Woodrow
4ba95200f3
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-03 13:30:28 -04:00
Matt Woodrow
7d3eb6ea35
Bug 900133 - Make sure we always call OnTransaction when we might recreate textures. r=nical
2013-08-03 13:29:48 -04:00
Matt Woodrow
441ceaa9c3
Bug 893302 - Implement CanvasClient2D on top of NewTextures. r=nical
2013-08-03 13:29:37 -04:00
Matt Woodrow
bb37119f48
Bug 893302 - Rename the CanvasClient class to include Deprecated so we can implement one on top of NewTextureHost. r=nical
2013-08-03 13:29:28 -04:00
Matt Woodrow
8e348831fe
Bug 900133 - Recreate the TextureClient for an ImageClient if the image size changes. r=nical
2013-08-03 13:29:18 -04:00
Jonathan Kew
95d34d6bf0
bug 900975 - include font-smoothing setting in the nsFont::BaseEquals comparison. r=dbaron
2013-08-03 08:58:53 +01:00
Wes Kocher
c62360f0a2
Backed out 6 changesets (bug 900133, bug 881634, bug 893302) for build bustage
...
Backed out changeset 49632bc14e27 (bug 900133)
Backed out changeset 036780fccc89 (bug 900133)
Backed out changeset b8db58f5e209 (bug 893302)
Backed out changeset 67c3e4204e44 (bug 893302)
Backed out changeset a857a4246dd9 (bug 900133)
Backed out changeset e0e2e27af6c1 (bug 881634)
2013-08-02 20:35:39 -07:00
Matt Woodrow
dc6d8d865a
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-02 23:00:02 -04:00
Matt Woodrow
525b8e3ed6
Bug 900133 - Make sure we always call OnTransaction when we might recreate textures. r=nical
2013-08-02 22:59:56 -04:00
Matt Woodrow
7cc3af6d44
Bug 893302 - Implement CanvasClient2D on top of NewTextures. r=nical
2013-08-02 22:59:49 -04:00
Matt Woodrow
8131a7ca09
Bug 893302 - Rename the CanvasClient class to include Deprecated so we can implement one on top of NewTextureHost. r=nical
2013-08-02 22:59:40 -04:00
Matt Woodrow
c9e97a4c47
Bug 900133 - Recreate the TextureClient for an ImageClient if the image size changes. r=nical
2013-08-02 22:59:26 -04:00
Matt Woodrow
11a9268d36
Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas
2013-08-01 21:12:16 -04:00
Guillaume Abadie
198631ee3c
bug 901084 - remove deprecated GLContext extension group queries. - r=bjacob
2013-08-02 21:13:46 -04:00
Guillaume Abadie
bf9b5060d1
Bug 901131 - GLContext's extension group queries do a static assert on sExtensionGroupInfoArr - r=jgilbert
2013-08-02 21:04:16 -04:00
Guillaume Abadie
3428b1ac94
bug 900101 - build bustage fix on an CLOSED TREE - r=bjacob IRL
2013-08-02 18:26:09 -04:00
Guillaume Abadie
51a5a7c554
bug 900101 - GLContext let extension group queries XXX_* use mVersion and mProfile - r=jgilbert,bjacob
2013-08-02 17:30:58 -04:00
Guillaume Abadie
545570e176
bug 900964 - GLContext::GLErrorToString changed to a static function - r=bjacob
2013-08-02 17:08:55 -04:00
Avi Halachmi
ed3a4890f3
Bug 888899 - Part 2 - Uses layout.frame_rate=0 for ASAP mode instead of 10k. r=jrmuizel
2013-08-02 23:29:57 +03:00
Matt Woodrow
ec36c050ca
Bug 893824 - Don't allow 0 sized SourceSurfaces with Moz2D. r=jrmuizel
...
--HG--
extra : rebase_source : dc5e18fe96966a86cbb3b2fbaa508247cbe73142
2013-07-15 13:28:04 -04:00
Matt Woodrow
7a21a3d884
Bug 900133 - Only draw the picture rect of a tiled image. r=nical
...
--HG--
extra : rebase_source : 836d60efd38040971f2bff9c2b24e66fb084d65d
2013-08-01 21:12:16 -04:00
Matt Woodrow
9ab546ba2f
Bug 900133 - Fix leak reporting for MemoryTextureHost. r=nical
...
--HG--
extra : rebase_source : 445d3cc5ed8d82bf26e357dc878d0d1b846b113a
2013-08-01 21:12:16 -04:00
Matt Woodrow
dae70cf683
Bug 900133 - Support MaskLayers that are backed by a NewTextureHost. r=nical
...
--HG--
extra : rebase_source : 8494dd32a837fc1ca44ed7c838e4def84f3292e1
2013-08-01 21:12:16 -04:00
Matt Woodrow
65d7a5e5b2
Bug 900133 - Remove unnecessary printf when adding textures. r=nical
...
--HG--
extra : rebase_source : 78b76ede5e23d445833a65fd18c7eb336709c1b4
2013-08-01 21:12:15 -04:00
Matt Woodrow
b862d4eb55
Bug 898129 - Only set the texture transform for shaders where it will be used. r=nrc
...
--HG--
extra : rebase_source : 6f636720a53dac7d0842caf41dffb457cecd379c
2013-08-01 21:12:15 -04:00
Matt Woodrow
7507ff06bc
Bug 900188 - Correctly treat WebGL as being single buffered when we share it across ipdl. r=nrc
...
--HG--
extra : rebase_source : 92be3f39d6e07d1e5f5de0a484a0c94eca93a97c
2013-08-01 21:12:15 -04:00
Milan Sreckovic
86bce198df
Bug 900729: Make TextureFlags constant names (UseNearestFilter, NeedsYFlip, AllowRepeat, NewTile, ComponentAlpha) all caps in CompositorTypes.h and prefix them with TEXTURE_ for consistency and uniqueness. r=nsilva.
2013-08-06 13:36:35 -04:00
Kartikaya Gupta
93d2d86777
Bug 901339 - Fix the focal point when zooming in and out. r=BenWa
2013-08-07 12:34:16 -04:00
James Willcox
8ae4ae4db0
Bug 896670 - Don't release SkiaGL render target after creating POT texture r=gwright
2013-08-06 22:28:47 -04:00
George Wright
657b9b1b9c
Bug 902483 - Expose missing GLES2 extensions to SkiaGL r=mattwoodrow
2013-07-31 20:10:55 -04:00
Jeff Muizelaar
6ecc49ff82
Bug 897532. Add support for better filtering in Azure. r=bas
...
This fixes the quality regression on OS X.
--HG--
extra : rebase_source : afbf0c332c23933096fa97a022698dc992908c12
2013-07-31 14:46:25 -04:00
Nicolas Silva
12be64f32d
Bug 900393 - Implement missing method in DeprecatedSharedRGBImage. r=eflores
2013-08-06 18:47:44 +02:00
Benoit Girard
3a14303c1c
Bug 865902 - Port old gfx unit tests. r=milan
...
--HG--
rename : gfx/tests/TestColorNames.cpp => gfx/tests/gtest/TestColorNames.cpp
rename : gfx/tests/TestRect.cpp => gfx/tests/gtest/TestRect.cpp
rename : gfx/tests/TestRegion.cpp => gfx/tests/gtest/TestRegion.cpp
rename : gfx/tests/gfxFontSelectionTest.cpp => gfx/tests/gtest/gfxFontSelectionTest.cpp
rename : gfx/tests/gfxFontSelectionTests.h => gfx/tests/gtest/gfxFontSelectionTests.h
rename : gfx/tests/gfxSurfaceRefCountTest.cpp => gfx/tests/gtest/gfxSurfaceRefCountTest.cpp
rename : gfx/tests/gfxTextRunPerfTest.cpp => gfx/tests/gtest/gfxTextRunPerfTest.cpp
rename : gfx/tests/gfxWordCacheTest.cpp => gfx/tests/gtest/gfxWordCacheTest.cpp
rename : gfx/tests/per-word-runs.h => gfx/tests/gtest/per-word-runs.h
2013-04-25 19:02:13 -04:00
Ms2ger
5c2b63d2c7
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
8c0b92ef87
Bug 900096 - Cleanup Touch some; r=dzbarsky
2013-08-02 09:06:35 +02:00
Ms2ger
78f9e66db8
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Ms2ger
db93468e84
Bug 898895 - Define MOZ_WEBGL globally; r=ted
2013-08-02 09:04:35 +02:00
Ms2ger
ea4299c3b1
Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc
2013-08-02 09:04:22 +02:00
Mike Hommey
2e65ede53b
Backout changesets 8b67eb363e5c (bug 893824), 2f603fe51b71, d623d68577ec, 12adb590b761, e08e42b8435b (bug 900133) and c8230843d507 (bug 898129) for crashtest bustage on a CLOSED TREE
2013-08-02 15:35:25 +09:00
Ryan VanderMeulen
9de3c19600
Backed out changeset 9a5f4bbd4fcb (bug 900188) to see if it fixes the OSX crashtest and reftest asserts.
...
CLOSED TREE
2013-08-02 00:45:09 -04:00
Matt Woodrow
09344976cf
Backout 0b0a0b491740 (bug 881634) for causing crashes on android CLOSED TREE
2013-08-01 22:46:06 -04:00
Matt Woodrow
8f333132eb
Bug 893824 - Don't allow 0 sized SourceSurfaces with Moz2D. r=jrmuizel
2013-07-15 13:28:04 -04:00
Matt Woodrow
7aa53e7468
Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas
2013-08-01 21:12:16 -04:00
Matt Woodrow
56febb33e8
Bug 900133 - Only draw the picture rect of a tiled image. r=nical
2013-08-01 21:12:16 -04:00
Matt Woodrow
ec3fc759a8
Bug 900133 - Fix leak reporting for MemoryTextureHost. r=nical
2013-08-01 21:12:16 -04:00
Matt Woodrow
77b9490231
Bug 900133 - Support MaskLayers that are backed by a NewTextureHost. r=nical
2013-08-01 21:12:16 -04:00
Matt Woodrow
d96bf88ffc
Bug 900133 - Remove unnecessary printf when adding textures. r=nical
2013-08-01 21:12:15 -04:00
Matt Woodrow
9b157d1aa6
Bug 898129 - Only set the texture transform for shaders where it will be used. r=nrc
2013-08-01 21:12:15 -04:00
Matt Woodrow
09667de963
Bug 900188 - Correctly treat WebGL as being single buffered when we share it across ipdl. r=nrc
2013-08-01 21:12:15 -04:00
Guillaume Abadie
d5c2e9336d
bug 899264 - Add OpenGL version and profile support in GLContext - r=jgilbert
2013-08-01 19:43:27 -04:00
Nicolas Silva
134b1e0673
Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa
2013-08-02 01:02:06 +02:00
Guillaume Abadie
b1118d01bf
bug 900702 - GLContext DrawArraysInstanced and DrawElementsInstanced doesn't call {Before,After}GLDrawCall() - r=bjacob
2013-08-01 18:27:54 -04:00
Nicolas Silva
8339f95aa5
Bug 900012 - Make async-video double buffered. r=mattwoodrow
2013-08-02 00:14:55 +02:00
Nicholas Cameron
afd732f308
back out bug 874721, bug 899435
2013-08-01 18:30:46 +12:00
Nicholas Cameron
80251db2ca
Bug 899435. Tidy up pt 3 - d3d11. r=Bas
2013-08-01 17:00:47 +12:00
Nicholas Cameron
d09f989b3d
Bug 899435. Tidy up pt 2 - d3d9. r=Bas
2013-08-01 17:00:41 +12:00
Nicholas Cameron
f0b645b939
Bug 899435. Tidy up pt 1. r=mattwoodrow
2013-08-01 17:00:16 +12:00
Nicholas Cameron
f0a53200b9
Bug 874721; implement CreateRenderTargetFromSource and clear surfaces before use. r=Bas
2013-08-01 16:53:07 +12:00
Nicholas Cameron
3595dbcb83
Bug 874721; Re-fix WebGL. r=mattwoodrow
2013-08-01 16:53:04 +12:00
Nicholas Cameron
afcda0726b
Bug 874721. Ensure a compositable is valid before use. r=Bas
2013-08-01 16:52:57 +12:00
Nicholas Cameron
386aa78597
Bug 874721; don't OOM with large canvases. r=Bas
2013-08-01 16:52:53 +12:00
Nicholas Cameron
feedf03d05
Bug 874721; identify multi-process OMTC and use shmem. r=Bas
2013-08-01 16:52:46 +12:00
Nicholas Cameron
6146fb5d56
Bug 874721. Fallback for EnsureAllocated and compositor, and some more sanity checks. r=mattwoodrow
2013-08-01 16:52:36 +12:00
Nicholas Cameron
158886aea1
Bug 874721. CompositorD3D9, r=Bas
2013-08-01 16:50:52 +12:00
Guillaume Abadie
6a5443f0b6
bug 899811 - step 01 - gfx/gl/GLContext.h consolidation - r=bjacob,jgilbert
2013-07-31 19:18:06 -04:00
Nicholas Cameron
fb76e04605
Bug 897839. Use OMTC for invisible windows and initialise LayerTreeState::mParent. r=mattwoodrow
2013-08-01 10:20:24 +12:00
Nicholas Cameron
ad3bd7c048
Bug 897409. Use a temporary surface instead of forcing image surfaces (v2). r=mattwoodrow
2013-08-01 10:17:41 +12:00
Jim Chen
6ccf2e358c
Bug 881018 - Never inline TiledLayerBuffer::GetScaledTileLength to avoid crash; r=Cwiiis
2013-07-31 13:26:44 -04:00
Jim Chen
aadef1e4f8
Backout rev 9497429e8463 (bug 881018) to land real fix
2013-07-31 13:26:21 -04:00
Birunthan Mohanathas
573d76ec6d
Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan
2013-07-31 11:44:31 -04:00
Kartikaya Gupta
3bf989536b
Bug 890932 - Add a missing lock in AsyncPanZoomController::SendAsyncScrollEvent. r=BenWa
2013-07-31 08:53:17 -04:00
Kartikaya Gupta
6efaf5b921
Bug 890932 - Remove unnecessary internal method now that the monitor re-entrant. r=BenWa
2013-07-31 08:53:16 -04:00
Kartikaya Gupta
9b2fc07177
Bug 890932 - Make AsyncPanZoomController::mMonitor re-entrant to reduce code madness. r=BenWa
2013-07-31 08:53:16 -04:00
Ryan VanderMeulen
25d01011bd
Backed out changeset 6846b610be41 (bug 897409) for suspicion of making Win8 mochitest-mc perma-orange.
2013-07-30 22:28:46 -04:00
Ryan VanderMeulen
2ebd22d781
Merge m-c to inbound.
2013-07-30 18:08:18 -04:00
Nicholas Cameron
841a60fca7
Bug 897839. Add some null checks for the compositor map. r=mattwoodrow
2013-07-31 09:45:42 +12:00
Nicholas Cameron
ddb4a0b4c4
Bug 897409. Use a temporary surface instead of forcing image surfaces. r=mattwoodrow
2013-07-31 09:45:31 +12:00
Timothy Nikkel
a6c655a9fe
Bug 899730. Part 2. Use nsIntRegion::Area in layers and get rid of the unneeded GetRegionArea function that does the same. r=nrc
2013-07-30 16:10:32 -05:00
Timothy Nikkel
de40c43eb8
Bug 899730. Part 1. Add nsIntRegion::Area (it just uses nsRegion::Area). r=mats
2013-07-30 16:10:29 -05:00
Kartikaya Gupta
b285a3bbc5
Bug 866232 - Fix build breakage introduced in f69d34718660. r=me
2013-07-30 14:55:57 -04:00
Kartikaya Gupta
8a21c3e5f3
Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:43 -04:00
Kartikaya Gupta
e0f930eb52
Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa
2013-07-30 14:03:42 -04:00
Kartikaya Gupta
6c95b81e60
Bug 866232 - Update and re-enable the test for hit detection in the APZC tree. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
01acbedef2
Bug 866232 - Add visible region tracking and hit-testing code for APZCTreeManager. r=BenWa, mattwoodrow
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
2435f93954
Bug 866232 - Extract a GetCurrentAsyncTransform method in APZC. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
f079210b22
Bug 866232 - Some documentation/variable renaming cleanup. r=BenWa
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
28585ff1be
Bug 866232 - Add code to build the APZC tree on layer updates. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
5c723f09e5
Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
205f0b42a0
Bug 866232 - Add support for delaying APZC creation until the layer update. r=BenWa
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
d054dd92d3
Bug 866232 - Guard some APZC fields by a lock so they can be nulled out from the compositor thread. r=BenWa
2013-07-30 14:03:39 -04:00
Kartikaya Gupta
1704ae2ddf
Bug 866232 - Move around code in APZC to more easily allow creating it on the compositor thread. r=BenWa
2013-07-30 14:03:39 -04:00
Kartikaya Gupta
0655a3142d
Bug 866232 - Reserve a layer tree id for the root layer tree. r=BenWa
2013-07-30 14:03:38 -04:00
Nicolas Silva
5ec3fda767
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
David Zbarsky
82250218e6
Backout 40683014a638 for causing mochitest orange
2013-07-29 21:11:01 -07:00
David Zbarsky
b2cb1b3e43
Bug 895116: Lock the mask texture before compositing with BasicCompositor r=bas
2013-07-29 16:04:09 -07:00
David Zbarsky
3b2bbf2c84
Bug 898105 - Remove nsIDOMTouch r=reuben
2013-07-29 16:04:09 -07:00
Ehsan Akhgari
5ee21d6d3f
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Chris Kitching
a3b82d4e55
Bug 898028 - Fix crash @ gfxUtils::ConvertBGRAtoRGBA(). r=jgilbert
2013-07-29 16:24:57 -04:00
Jeff Muizelaar
aca5a086d7
Bug 898803. Add support for different surface formats to DrawTargetCG. r=joe
...
This causes us to get cleartype when drawing with alpha with CG.
--HG--
extra : rebase_source : 611c5b76ce0ea926ea8e1e26501ca3d8d9a6b452
2013-07-29 15:01:29 -04:00
John Daggett
49087c1b1c
Bug 857142 - change name and switch to grayscale value. r=dbaron
2013-07-30 05:01:14 +09:00
John Daggett
852023e695
Bug 898267 - support font smoothing in Azure CG backend. r=jrmuizel
2013-07-30 05:00:53 +09:00
John Daggett
b439b6e590
Bug 857142 - implement -moz-font-smoothing. r=dbaron
2013-07-30 05:00:41 +09:00
Trevor Saunders
6b3c839046
backout bug 886526 because it probably made us use a lot more memory to link on windows
2013-07-29 11:03:21 -04:00
Bas Schouten
89fedaea2e
Bug 877700: Limit the Source region to the area of the parent layer surface. r=roc
2013-07-29 10:35:48 +00:00
Ed Morley
213793252e
Backed out changeset 31a1b6fff957 (bug 857142) for reftest failures
2013-07-29 11:09:26 +01:00
Ed Morley
b711f1b3aa
Backed out changeset 04a45dec4326 (bug 898267)
2013-07-29 11:08:52 +01:00
Ed Morley
b8c5ca2e7d
Backed out changeset 7174bdf1201e (bug 857142)
2013-07-29 11:08:49 +01:00
John Daggett
f227c3953c
Bug 857142 - change name and switch to grayscale value. r=dbaron
2013-07-29 17:33:52 +09:00
John Daggett
79e2fd3173
Bug 898267 - support font smoothing in Azure CG backend. r=jrmuizel
2013-07-29 17:33:43 +09:00
John Daggett
f843bbb3ea
Bug 857142 - implement -moz-font-smoothing. r=dbaron
2013-07-29 17:33:35 +09:00
Robert O'Callahan
3e7193cc66
Backing out 6ba07a3e0c80 (bug 892978) to fix test failures
2013-07-29 11:51:37 +12:00
Nicholas Cameron
a344f7194c
Bug 756606. Add LockDrawTarget to shmem texture clients. r=Bas
2013-07-29 10:12:37 +12:00
Nicholas Cameron
7472580c15
Bug 756606. Don't try to fast path D2D A8 surfaces in GetSourceSurfaceForSurface. r=Bas
2013-07-29 10:12:37 +12:00
Guillaume Abadie
f95f151549
bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query) - r=jgilbert
2013-07-28 11:59:03 -04:00
Ryan VanderMeulen
bc61d30573
Merge m-c to inbound.
2013-07-25 21:59:02 -04:00
Ed Morley
817db8cfd2
Merge mozilla-central and birch
2013-07-25 17:05:50 +01:00
Michael Wu
08e5ed7e9c
Bug 895417 - Fix refpoint coordinates sent to child processes, r=kats
2013-07-24 21:49:49 -04:00
Peter Chang
c5597b87f2
Bug 758845 - Enable Skia on B2G, r=gw280
2013-07-25 19:46:53 +08:00
Guillaume Abadie
5fe5b14264
bug 892546 - [WebGL 2.0] Instanced Rendering (GL_ARB_draw_instanced) - r=jgilbert
2013-07-25 20:38:58 -04:00
Peter Chang
416da61282
Bug 894262 - Merge GonkIOSurfaceImage to GrallocImage, r=nical, kanru
2013-07-25 10:13:35 +08:00
Ryan VanderMeulen
4089fb5f64
Merge m-c to inbound.
2013-07-24 18:27:51 -04:00
Guillaume Abadie
937db9e125
bug 890277 - ANGLE libGLESv2 Integer Overflow - r=bjacob
2013-07-24 17:57:41 -04:00
Ryan VanderMeulen
d19fb9ee63
Backed out changeset d264bdb8b400 (bug 884188).
2013-07-24 11:15:47 -04:00
Nicolas Silva
5d2089d328
Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD
2013-07-24 18:08:35 +02:00
Nicolas Silva
9f9eaddba9
backed out changeset 9089fe288899 because of wrong bug number
2013-07-24 18:03:41 +02:00
Nicolas Silva
7a55cdf819
Backed out changeset 9089fe288899
2013-07-24 18:01:39 +02:00
David Anderson
562e0d0eac
Only use DirectX 11.1 on Windows 8 or higher (bug 893221, r=bas).
...
--HG--
extra : rebase_source : 147493bef3e487c6ab5424c3e4a4fd2fd2440e09
2013-07-24 11:52:54 -04:00
Nicolas Silva
a6bf10f5a6
Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel
2013-07-24 17:43:35 +02:00
Nicolas Silva
93faf1e0b6
Bug 858914 - Make CreateTexturedEffect take SurfaceFormat + TextureSource instead of TextureHost. r=Bas
2013-07-24 17:34:09 +02:00
Nicholas Cameron
f86278893f
Bug 895369. Add some asserts to ThebesLayerBuffer. r=mattwoodrow
2013-07-24 18:46:27 +12:00
Nicolas Silva
a86c11b476
Bug 892505 - Implement gfx::Factory::CreateDataSourceSurface. r=bas
2013-07-17 16:07:44 +02:00
Jim Chen
c16d2bf628
Bug 881018 - Crash when TiledLayerBuffer::GetScaledTileLength returns 0; r=cwiiis
2013-07-24 11:17:49 -04:00
Jim Chen
eb22575f8c
Backout f26e4c26ce4a (bug 881018) to land a different patch
2013-07-24 11:10:55 -04:00
David Zbarsky
4ad468f754
Bug 895116: Fix masking with BasicCompositor r=mattwoodrow
2013-07-23 16:38:46 -07:00
Bill McCloskey
a41affaec0
Bug 896651 - Need to clean up resources for out-of-process layer trees when shutting down (r=mattwoodrow)
2013-07-23 14:53:22 -07:00
Guillaume Abadie
e82d2a8363
Bug 896814 - GLContext add enum GLExtensionPackages. r=jgilbert
...
DONTBUILD
2013-07-23 17:33:51 -04:00
Ryan VanderMeulen
1716cf86d4
Backed out changeset 590fc39b6a1c (bug 892546) for landing with the wrong bug number.
2013-07-23 17:40:28 -04:00
Guillaume Abadie
e2d3ec9763
bug 892546 - GLContext add enum GLExtensionPackages - r=jgilbert
2013-07-23 17:33:51 -04:00
Botond Ballo
f1334508a1
Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats
2013-07-23 16:41:22 -04:00
Brian R. Bondy
4e2819f011
Bug 869940 - Fix scaling issue with high dpi devices. r=kats
2013-07-25 13:15:10 -04:00
Brian R. Bondy
821930e929
Bug 869940 - Implement pan start/end notifications from APZC. r=kats
2013-07-25 13:15:06 -04:00
Arnaud Bienner
5937850e84
Bug 875753 - Color input: Gtk widget. r=karlt
2013-06-22 15:39:43 +02:00
Timothy Nikkel
3cbce855ee
Bug 837242. Part 2. Add a function to calculate the area of an nsRegion. r=roc
2013-07-30 11:22:43 -05:00
Jeff Muizelaar
7dfe172ed7
Bug 891650. Use mTransform instead of GetDTTransform() in Mask(). r=bas
...
GetDTTransform includes the device offset. We need to avoid that in order for things to work properly.
--HG--
extra : rebase_source : 5a8ae0011f16b85421df182263ec3137cecf6a6b
2013-07-30 10:15:27 -04:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Joshua Cranmer
7b9a04da79
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
3913605515
Bug 884061 - Part 3i: Use NS_DECL_THREADSAFE_ISUPPORTS in gfx/, r=roc
...
--HG--
extra : rebase_source : 130357bc9a7ad66cb0574f7bf3ac69e1c3f4a2ff
2013-07-18 21:23:31 -05:00
Jonathan Kew
7bda5a6c80
backout bug 879963 (changesets 4a3befee43f1, 09c9359bdd43, 32ffcd6db605) due to Nightly crashiness, see bug 896200.
2013-07-23 09:38:57 +01:00
Botond Ballo
a0929ab998
Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats
2013-07-22 22:33:05 -04:00
Nicholas Cameron
910d7fc289
Bug 756606. Implement CreateRenderTargetFromSource. r=Bas
2013-07-23 11:07:49 +12:00
Nicholas Cameron
5664deab18
Bug 756606. Fix a bug in EnsureAllocated. r=Bas
2013-07-23 11:05:49 +12:00
Nicholas Cameron
4a6edeaac3
Bug 756606; formatting nits for the d3d11 compositor. r=Bas
2013-07-23 11:05:04 +12:00
Ed Morley
fc0be15eff
Merge mozilla-central and inbound
2013-07-22 16:52:23 +01:00
Ed Morley
80f7935e32
Merge latest green birch changeset and mozilla-central
2013-07-22 16:18:53 +01:00
Birunthan Mohanathas
2c4c4a6e82
Bug 784739 - Switch from NULL to nullptr in gfx/src/; r=ehsan
...
--HG--
extra : rebase_source : 28d7747c0a41a87ee064129b4f06ee23f1731c12
2013-07-20 11:48:56 +03:00