Commit Graph

6992 Commits

Author SHA1 Message Date
Nicolas Silva
5ac0d55542 Bug 875211 - Make the number of temporary compositor textures dynamic. r=bjacob 2013-06-12 11:05:06 +02:00
Martin Stransky
577cf4c6d4 Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt 2013-06-11 13:40:27 -04:00
Ryan VanderMeulen
7dc9b824cd Merge m-c to inbound. 2013-06-11 10:41:06 -04:00
Kartikaya Gupta
c78c6af9f4 Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe 2013-06-11 09:46:51 -04:00
Matt Woodrow
494e8d58cd Bug 867226 - Don't crash if we can't create a valid framebuffer. r=bjacob 2013-06-11 11:38:03 +12:00
Guillaume Abadie
73226a51be Bug 879954 - Implement OES_texture_float_linear - r=bjacob 2013-06-10 16:00:52 -04:00
Ed Morley
8311a912cc Merge mozilla-central and birch 2013-06-11 09:38:18 +01:00
Kyle Machulis
64a9a345ae Bug 871624 - gralloc in b2g doesn't work on the Nexus S [r=bjacob r=mwu] 2013-06-05 13:42:00 -07:00
Ryan VanderMeulen
254db91ed2 Merge m-c to inbound. 2013-06-10 12:26:38 -04:00
Kartikaya Gupta
ca27aa8758 Bug 877728 - Use a local variable instead of a ref to store a temporary. r=Ms2ger 2013-06-10 11:37:24 -04:00
Thomas Zimmermann
ca96fee1d1 Bug 838995: Improve component swapping when reading texture in RGBA format r=vlad
The function SwapRAndBComponents spends a lot of time in the loops while
walking over the image data. This patch reworks the looping such that the
function only takes 75% of its original time.
2013-06-10 16:00:58 +02:00
Kartikaya Gupta
3add0c36b5 Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Kartikaya Gupta
21233ee23c Bug 879004 - Convert the async scroll offset fields in APZC.h to CSSPoints. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Kartikaya Gupta
44de711089 Bug 879004 - Cleanups for consistency; no functional changes. r=BenWa, ketuckyfriedtakahe 2013-06-10 09:05:43 -04:00
Kartikaya Gupta
fe148e065e Bug 879004 - Change FrameMetrics.mViewport to be a CSSRect. r=BenWa 2013-06-10 09:05:43 -04:00
Kartikaya Gupta
3fb54e7045 Bug 879004 - Move template methods to header file. r=BenWa 2013-06-10 09:05:43 -04:00
Kartikaya Gupta
8125a1cac7 Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa 2013-06-10 09:05:42 -04:00
Matt Woodrow
5dbeaae395 Backout Bug 861805 for causing Bug 871729. rs=roc 2013-06-10 12:13:10 +12:00
Ryan VanderMeulen
eeaf3c339a Merge m-c to inbound. 2013-06-07 15:28:41 -04:00
Daniel Holbert
12090263d7 Bug 880662 - Remove unused variable from YCbCrImageDataDeserializerBase::IsValid(). r=nical 2013-06-07 15:21:50 -04:00
Sotaro Ikeda
2da50de51d Bug 880268 - Handle default pixel format in BytesPerPixelForPixelFormat(). r=vlad 2013-06-07 12:05:03 -04:00
Daniel Holbert
1733ebe91f back out ac18c74b3a2c (Bug 874736) since it was independently fixed elsewhere 2013-06-07 08:16:45 -04:00
Ryan VanderMeulen
21aeaecbf0 Merge m-c to inbound. 2013-06-07 08:01:37 -04:00
Ryan VanderMeulen
963473dd67 Merge m-c to birch. 2013-06-06 15:20:09 -04:00
Michael Wu
3339a9f5d7 Bug 880095 - ShadowLayerUtilsGralloc.cpp uses pixel formats removed on gonk-JB, r=vlad 2013-06-06 14:01:30 -04:00
James Willcox
b2e56b037f Bug 848482 - Make SourceSurface work with SkiaGL r=mattwoodrow
--HG--
extra : rebase_source : ef4a315401edfad5e574ffd387c9951b12f1e9d7
2013-06-06 10:58:45 -04:00
Karl Tomlinson
dc29740b2d b=810252 remove default-unused Pango shaping code r=jfkthame
--HG--
extra : transplant_source : %19%97%F6%D5%F7h%1D-Yg%D6%08%226h%BE%D3%E4%12%22
2013-06-06 15:21:40 +12:00
Nicholas Cameron
87f23858e6 Bug 880441. Fix erroneous assertion with double buffering; r=mattwoodrow 2013-06-07 20:52:23 +12:00
Matt Woodrow
4a4ec454fe Bug 879149 - Don't attempt to use ContentClientIncremental when not using GL layers. r=nrc 2013-06-07 17:10:31 +12:00
Jeff Gilbert
47b1338caf Bug 876721 - Allow for failing during creation of ANGLE ShSurf. - r=bjbas 2013-06-06 13:56:15 -07:00
Jeff Gilbert
4d089fb324 Bug 878365 - Fallback to Basic ShSurf as needed, not permanently. - r=bjacob 2013-06-06 13:56:12 -07:00
Arnaud Sourioux
e47e38e014 Bug 874736 - Annotate "using CompositableHost::EnsureTextureHost;" to fix warnings with -Woverloaded-virtual in gfx/layers/composite. r=nical 2013-06-06 12:42:57 -04:00
Nicholas Cameron
6ee6b3fdfb Bug 862952, Re-enable Composer2D after layers refactoring. r=bjacob,f=diego
--HG--
extra : rebase_source : eb394b6a7157b399d2e67baf695e9684835bbfcf
2013-06-06 10:14:51 +12:00
Benoit Girard
637cd96046 Bug 879916 - Remove gfxTestCocoaHelper. r=joe DONTBUILD as NOPTB for obsolete files on a CLOSED TREE 2013-06-05 16:23:26 -04:00
Ehsan Akhgari
0256ba6673 Backed out changeset ae2b07dfd3d0 (bug 875218) because of build bustage on a CLOSED TREE 2013-06-05 14:54:43 -04:00
George Wright
fd75446404 Bug 874682 - Ensure SkThread_pthreads is built on platforms which use pthreads r=bjacob 2013-05-29 18:47:59 -04:00
George Wright
9e03db43d9 Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob 2013-05-29 14:04:25 -04:00
Vladimir Vukicevic
ef8707b5f0 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Jonathan Kew
9aa9a0aa9a bug 875629 - handle UTF-16 surrogate pairs in the SVG-in-OpenType glyphchar attribute. r=roc 2013-06-05 12:34:48 +01:00
Timothy Nikkel
e84c378072 Bug 879494. Remove bug685516 annotations from reftests, they are not needed anymore. r=khuey 2013-06-05 00:18:54 -05:00
David Zbarsky
83c7653da6 Bug 788549 Part 13: Sample animations on shadow layers update in testing mode r=roc 2013-06-04 20:11:56 -07:00
Jeff Gilbert
24cf997b90 Bug 874823 - Support unknown consumer for ShSurf_GLTex. - r=mattwoodrow 2013-06-04 17:05:28 -07:00
Jeff Gilbert
dea56bdef2 Bug 875696 - Disable oes_standard_derivatives for Adreno 320 for being broken. - r=bjacob 2013-06-04 15:23:40 -07:00
Nicolas Silva
72d938108e Bug 875211 - fix windows build on a CLOSED TREE 2013-06-04 21:08:15 +02:00
Nicolas Silva
36b7a99a6e Bug 875211 - fix build on a CLOSED TREE 2013-06-04 21:02:52 +02:00
Nicolas Silva
78867ef005 Bug 875211 - use one global gl texture per texture unit rather than one per GrallocTextureHostOGL. r=bjacob 2013-06-04 20:44:37 +02:00
David Zbarsky
f118fa9c91 Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron 2013-05-21 18:22:44 +08:00
Nicholas Cameron
6e0a3f59c0 Bug 863635. Make gfxPlatform smarter about when we can use Moz2D for content rendering r=Bas 2013-05-28 10:04:37 +12:00
Nicholas Cameron
8fd530d445 Bug 878522. Don't permit Azure/content/Cairo on Linux. r=kentuckyfriedtakahe 2013-06-04 17:18:27 +12:00
Bas Schouten
ae9c9b21aa Bug 829954 - Part 2: Check for allocation success inside AlphaBoxBlur::Blur. r=jrmuizel 2013-06-04 03:13:53 +02:00
Bas Schouten
919d149d6f Bug 829954 - Part 1: Make AlignedArray fallible. r=jrmuizel 2013-06-04 03:13:53 +02:00
Kartikaya Gupta
a470c3e0a4 Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa 2013-06-03 10:00:02 -04:00
Kartikaya Gupta
94f09001ff Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa 2013-06-03 09:58:34 -04:00
Kartikaya Gupta
3bec007d2f Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa 2013-06-03 09:58:07 -04:00
Kartikaya Gupta
d45ced53de Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
Kartikaya Gupta
83f51d55ac Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa 2013-06-03 09:52:44 -04:00
Nicholas Cameron
32fc4ce9b4 Bug 876661. Fix function hidden warnings. r=mattwoodrow
--HG--
extra : rebase_source : d008e636467c573723bc7de9cd0e13262d4ee9c1
2013-05-31 16:36:19 +12:00
Milan Sreckovic
637a4266f6 Bug 876208: only evaluate the preference for gfx.direct2d.* once, and require restart before any further changes to the preferences take effect in the code, r=bas 2013-05-30 16:53:37 -04:00
Connor Behan
4eee3aa7c0 Bug 722975: Unbreak builds using --with-system-cairo. r=bas 2013-06-01 00:23:05 +02:00
David Zbarsky
fe25f49f81 Bug 788549 Part 10: Fix RecvGetTransform to handle scale animations correctly r=roc 2013-05-31 11:06:57 -07:00
Phil Ringnalda
01dda39d42 Merge m-c to a CLOSED TREE m-i 2013-05-31 07:41:20 -07:00
Phil Ringnalda
ea17398276 Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
CLOSED TREE
2013-05-31 07:39:56 -07:00
Kartikaya Gupta
09a6269c24 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
David Zbarsky
41a2c77912 Bug 788549 Part 7: Make RecvGetTransform() return the untranslated transform since that is what getComputedStyle returns r=roc 2013-05-30 17:45:17 -07:00
Anthony Jones
d25f900f94 Bug 831237 - Reduce APZC buffer churn; r=BenWa
Prevents the display port from getting smaller as the visible region
approaches the edges of the scrollable rect.
2013-05-28 16:17:09 +12:00
Nicolas Silva
f52aecfad5 Bug 868946 - Make GrallocTextureHostOGL not crash when it doesn't have a GL context. r=bjacob 2013-05-07 16:19:15 -04:00
Benoit Girard
5a4e5c64c2 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 5b9be0892323195d4e24f11ae785f0663ff38fd0
2013-03-11 14:47:40 -04:00
Chiajung Hung
49f0808fda Bug 875246 - Ensure that UpdateTexture DispatchImageClientUpdate only dispatches if not in the ImageBridge thread. r=kchen
DispatchImageClientUpdate is a helper function to dispatch IPC message, only dispatch when not in the ImageBridge thread can improve responsibility.
2013-05-30 08:10:02 -04:00
Phil Ringnalda
315cb76195 Back out 816311e43409 (bug 844288) on suspicion of causing dep OS X universal builds to fail in packaging
CLOSED TREE
2013-05-29 23:42:20 -07:00
Robert O'Callahan
64eba24b0f Bug 868405. Support 'enabled' attribute on MediaStreamTrack. r=jesup
--HG--
extra : rebase_source : ec29ae2e45979baaf1b6a085549755ba86cadd40
2013-05-30 16:44:43 +12:00
Jonathan Kew
42f6e866bf bug 847344 followup - explicitly cast the AutoSwap type to avoid ambiguity r=roc 2013-05-20 11:33:16 +08:00
Kyle Huey
fb465d209c Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz 2013-05-30 11:15:31 +08:00
Matt Woodrow
6c5c28dd12 Bug 877034 - Initialize MemoryImage to 0 to match the behaviour of Shmem. r=nical 2013-05-30 14:44:08 +12:00
Benoit Girard
da3a0b92cd Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 04c9c2efbc7db1c04c121cf3022612b488f83eb4
2013-03-11 14:47:40 -04:00
David Zbarsky
67106717be Bug 788549 Part 5: Add a function to get opacity and transform property values from layers r=roc 2013-05-29 17:38:27 -07:00
Jeff Gilbert
028ad03f99 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
Chris Coulson
11f269ba46 Bug 877110 - Fix format-security errors introduced by bug 867656. r=mattwoodrow 2013-05-29 19:26:41 -04:00
James Willcox
0d335d769a Bug 854556 - Only hold SkCanvas in DrawTargetSkia r=mattwoodword 2013-05-29 12:49:40 -04:00
Kartikaya Gupta
43abffa297 Bug 865735 - Add a units template parameter to the gfx Point, Size, and Rect classes. r=bas,roc 2013-05-29 09:32:30 -04:00
Jonathan Kew
1d24d0f7d2 bug 876069 - update graphite2 library to release 1.2.2. r=jdaggett 2013-05-28 14:49:25 +01:00
Nicolas Silva
56b552e21e Bug 867656 - Part 2. Implement Dump for CompositableHost classes. r=mattwoodrow 2013-05-26 04:44:24 +02:00
Nicolas Silva
e71f1f8564 Bug 867656 - Part 1. Implement GetAsSurface for GL TextureHosts. r=bjacob 2013-05-26 04:43:43 +02:00
Bas Schouten
c8ce01567e Bug 843555 - Part 2: Optimize paint with operator source when there's no clip. r=jrmuizel 2013-05-28 14:12:30 +02:00
Bas Schouten
ed75daef7a Bug 843555 - Part 1: Use a content texture client for Canvas. r=nical 2013-05-28 14:12:01 +02:00
David Zbarsky
41dbdc53f7 Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc 2013-05-27 16:47:45 -07:00
David Zbarsky
3f06d8126b Backed out changeset 6c1cf4694a13 for not building on windows and android 2013-05-27 17:14:33 -07:00
David Zbarsky
9c87205101 Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc 2013-05-27 16:47:45 -07:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Markus Stange
3fe44cbe86 Bug 876256 - Restore the previous scissor rect at the end of CompositorOGL::DrawQuad. r=mattwoodrow 2013-05-27 14:48:15 +02:00
Stephen Pohl
7546829bc2 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-26 15:05:10 -07:00
Stephen Pohl
0e3edb584a Back out bug 869314 for missing r='s. 2013-05-26 15:00:17 -07:00
Stephen Pohl
622d3dddfd Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. 2013-05-26 14:40:16 -07:00
Jonathan Kew
4131e1e140 backout changesets d8f3694dd6df (bug 871961 pt 2) and b77d5e403c3d (bug 871961 pt 4) for making the browser crashy. r=me 2013-05-25 21:06:59 +08:00
Chris Lord
0cd5f226a3 Bug 870055 - Fix AsynPanZoomController continuing movement when touch point doesn't move. r=kats 2013-05-24 15:53:58 +01:00
Aryeh Gregor
b14c2cbab2 Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Anthony Jones
f4328c5b39 Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa 2013-05-24 09:43:36 +08:00
Nicolas Silva
2d17ddf2e3 Bug 874726 -split ShmemYCbCrImage into YCbCrImageDataSerializer and YCbCrImageDataDeserializer. r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShmemYCbCrImage.cpp => gfx/layers/YCbCrImageDataSerializer.cpp
rename : gfx/layers/ipc/ShmemYCbCrImage.h => gfx/layers/YCbCrImageDataSerializer.h
2013-05-23 09:17:10 +02:00
Jonathan Kew
e3e7dd0c6c bug 871961 pt 4 - on xpcom-shutdown notification, release any SVG-glyphs documents held by fonts. r=roc 2013-05-22 23:48:55 +08:00
Markus Stange
61b4f283ad Bug 861332 - Ensure that the drawing rect used for DrawWindowOverlay doesn't depend on the window's position on the screen, so that for example the 10.6 window resizer is drawn in the correct place. r=mattwoodrow
--HG--
extra : rebase_source : d47ea3f871a619bfab065dd0eddb74d8c309fed1
2013-05-22 11:42:49 +02:00
Jeff Gilbert
b7775449d9 Bug 859608 - Flush GL on overdraw on Tegra devices. - r=bjacob 2013-05-22 00:05:38 -07:00