Commit Graph

5056 Commits

Author SHA1 Message Date
David Zbarsky
73f1ca6717 Bug 764704 - Reorder initializer list in gfxReusableSurfaceWrapper r=benwa 2012-06-14 14:08:12 -07:00
Cody Brocious
40ab2a089f Bug 745137 - Removed double buffering stubs, fixed crashiness across all devices. r=gal 2012-06-14 14:57:26 -04:00
Benoit Jacob
f2ac5d188d Bug 764578 - WebGL context creation keeps failing after D3D device has been lost - r=jgilbert 2012-06-14 11:59:40 -04:00
John Daggett
b87de573df Bug 739804. Avoid using Cambria Math for symbol fallback. r=jkew 2012-06-14 15:31:56 +09:00
Nicholas Cameron
aa4bc97d31 Bug 761890 (was 746883); bug fixing Skia fonts; r=gw280 2012-04-26 10:04:35 +12:00
Nicholas Cameron
94da7bc7ce Bug 761890 (was 746883); changes to the Skia library. r=gw280 2012-05-16 17:42:07 +12:00
Nicholas Cameron
281be0879e Bug 761890; build Skia on Windows. r=gw280 2012-06-14 16:27:53 +12:00
Cody Brocious
25d0f0e95b Bug 745137: Direct texturing for Gonk through gralloc, pref'd off. r=cjones 2012-06-12 21:20:27 -07:00
Nicholas Cameron
e9550e5f75 Bug 759036. Fix a masking bug in Thebes-Azure. r=Bas 2012-06-14 10:40:43 +12:00
Jeff Muizelaar
e5ef842a1b Bug 757878. Add a fast path for 8888_over_565 with NEON. r=bgirard,joe
Add a 2 pass implementation of this op. This uses Siarhei Siamashka's
idea mentioned here:
http://lists.freedesktop.org/archives/pixman/2011-April/001156.html
2012-05-17 19:23:53 -04:00
Jeff Muizelaar
8006b61cd7 Bug 763120. Avoid using vm_copy when snapshoting. r=bgirard
CGBitmapContextCreateImage uses vm_copy which ends up being
slower than memcpy if we actually need to make a copy. Further,
since it does the copy by pagefaulting, it's shows up poorly
on profiles. Since, we already manually track modification we
don't really have need for the copy-on-write semantics. This
change ensures that we'll only use memcpy when we need to make
a copy.

--HG--
extra : rebase_source : 93afb1423605a13cb4c76a6c389e1989aa814ae0
2012-06-11 16:21:55 -07:00
Kartikaya Gupta
6435bb7e6d Bug 753444 - Remove device-space page rect from setPageRect as it is not needed. r=jrmuizel 2012-06-13 13:49:40 -04:00
Ehsan Akhgari
ff75c88d87 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (gfx parts); r=joedrew 2012-06-13 00:14:28 -04:00
Ed Morley
283e84e0e8 Backout a55eea2c294d (bug 627699) for bustage 2012-06-13 16:07:22 +01:00
Martin Stransky
23eecf1d40 Bug 627699 - Port GTK2 to GTK3, gfx patch; r=vlad 2012-06-13 10:47:54 -04:00
Bas Schouten
7c405d7b37 Bug 758980: Assume DirectWrite is buggy when it returns empty alpha texture bounds. r=jrmuizel 2012-06-13 10:42:23 +02:00
Chris Jones
27eb2547d2 Backed out changeset beba1a053f5e 2012-06-12 21:40:40 -07:00
Cody Brocious
607697b6ba Bug 745137: Direct texturing for Gonk through gralloc, pref'd off. r=cjones 2012-06-12 21:20:27 -07:00
Jeff Muizelaar
99eabd8851 Bug 764181. Keep the output of the TRC between 0 and 1. r=bgirard
Section 10.16: The domain and range of each function shall be [0,0 1,0].
Any function value outside the range shall be clipped to the range of the function.

--HG--
extra : rebase_source : 165927afb271980259c021fa0af25787be4a7ad3
2012-06-07 16:47:34 -04:00
Jeff Gilbert
f8c10a1c5b Bug 762263 - Add EGLSync - r=bjacob 2012-06-12 14:39:43 -07:00
Jeff Gilbert
102120e83e Bug 762265 - Modernize EGL extension detection, similar to GLContext - r=bjacob 2012-06-12 14:39:18 -07:00
Jeff Gilbert
ec2c14c939 Bug 762259 - Drop vendor suffixes from EGLImage for internal uses - r=bjacob 2012-06-12 14:36:10 -07:00
Ali Juma
57bc05ad45 Bug 763175 - Only create a new EGL surface when a new Android surface is created. r=BenWa 2012-06-12 10:24:31 -04:00
Matt Brubeck
8aad0a2626 Back out bug 761890, bug 746896, and bug 759036 because of reftest failures
--HG--
extra : rebase_source : b5bdad8a69eab8e9ba35d21637c0bbcb18bce703
2012-06-11 22:50:31 -07:00
Nicholas Cameron
b97c21b905 Bug 759036. Fix a masking bug in Thebes-Azure. r=Bas
--HG--
extra : rebase_source : 2bb553e52f2d4058e1c7865dadccfc6a20c6d66c
2012-06-08 11:44:07 +12:00
Nicholas Cameron
86ca4eed6a Bug 746896. Fix a bug with printing Azure canvas. r=joe
--HG--
extra : rebase_source : 0f1b44a5be4a3b7fa3f4df3080de50da96b95c58
2012-06-08 11:42:21 +12:00
Nicholas Cameron
480bde076f Bug 761890 (was 746883); changes to the Skia library. r=gw280
--HG--
extra : rebase_source : bf619eaad94265334b89e1adf97a00cb0d1d7c67
2012-05-16 17:42:07 +12:00
Nicholas Cameron
0826e53b52 Bug 761890 (was 746883); bug fixing Skia fonts; r=gw280
--HG--
extra : rebase_source : 89b3501dad46f0c1284107afe906869548623992
2012-04-26 10:04:35 +12:00
Nicholas Cameron
e9b95c1edf Bug 761890; build Skia on Windows. r=gw280
--HG--
extra : rebase_source : 51c85a45aa0ac50fd69ee054047f7ca19661737b
2012-06-08 11:42:20 +12:00
Chris Jones
84300d4bbe Bug 759653: Use RGB24 for offscreen surfaces on android-esque platforms. r=mwu 2012-06-11 20:41:46 -07:00
John Drinkwater
15c380056a Bug 758844 - Disable debug output unless MOZ_GL_DEBUG is defined. r=jgilbert 2012-06-11 08:25:06 -07:00
Ed Morley
a73fc227f9 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
d5d8ca1061 Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel 2012-06-11 16:45:40 +12:00
Matt Woodrow
d4acadf979 Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc 2012-06-11 16:45:39 +12:00
Oleg Romashin
4d14e84fec Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
e1af0db87a Bug 741682 - Disable component alpha layers with BasicLayers. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
147cab5783 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
1b5d7c74d7 Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc 2012-06-11 16:44:09 +12:00
Matt Woodrow
379ee49abc Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc 2012-06-11 16:44:08 +12:00
Matt Woodrow
1593e158d4 Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc 2012-06-11 16:44:08 +12:00
Matt Woodrow
c1bbbb5945 Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc 2012-06-11 16:44:08 +12:00
Matt Woodrow
fb73b4d31a Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc 2012-06-11 16:44:08 +12:00
Nicholas Cameron
a073280631 Bug 755078 - Backout previously-landed patch for bug 755078. r=roc 2012-06-09 14:22:40 -04:00
Jonathan Kew
41b58b77bf bug 762484 - update OTS to upstream rev.92. r=emk 2012-06-07 17:00:13 +01:00
Yoan TEBOUL
72e9bc2b32 Bug 659999 - Add a meterbar and meterchunk appearances. f=mounir r=roc 2012-05-16 12:24:55 +02:00
Chris Jones
797d753fce Bug 761894: Band-aid bustage from bug 760675 when using WebGL on same thread as GL compositor. rs=jrmuizel 2012-06-05 20:33:59 -07:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Oleg Romashin
68967e0b3c Bug 760834 - Fix mIterationCallback initialization order warning. r=Cwiis 2012-06-04 16:49:57 -07:00
George Wright
c9b3bda634 Bug 761201 - Trigger Skia's RGB565 blitter fast path by using SrcOver instead of Src. r=jrmuizel 2012-05-31 14:56:33 -04:00
Jacek Caban
b1497ba19b Bug 756996 - GCC warnings in gfx/2d r=bas 2012-06-04 13:02:02 +02:00
Landry Breuil
256e400a45 Bug 761019 - Remove extra comma at end of enum after bug 758236. r=jdaggett 2012-06-04 15:36:56 +09:00
Benoit Jacob
41e168c259 Bug 760675 - don't create a global context at all, on Android - r=jrmuizel
Indeed, it's currently unused except for Adreno blacklisting (see next commit) as
we don't do texture sharing just yet. We will soon do, though (bug 728524) and then
it is possible that on certain drivers we will have to use the global context as a
mean to share textures (if EGLImage can't be used). We'll see.
2012-06-02 16:28:16 -04:00
Andrew Quartey
2760bcfb43 Bug 731836 - Add preference to use Mesa LLVMpipe for software rendering - r=bjacob 2012-06-02 12:05:45 -04:00
Robert Longson
e7baf0d054 Bug 758505, Part 3: Avoid unnecessary invalidations on repeated calls to set the same animated value (for SMIL animations of CSS, mapped attrs, and motion). r=dholbert 2012-06-01 16:53:57 -07:00
Landry Breuil
2d64658038 Bug 759671 - reapply missing chunk from bug 722011 to fix build on OpenBSD - r=ms2ger 2012-06-01 15:12:44 -07:00
Landry Breuil
b125a37fb3 Bug 759683 - Check for -mssse3 instead of inconditionally using it. r=glandium 2012-06-01 15:12:09 -07:00
Bas Schouten
b2f14f0253 Bug 736460: Deal with gradient stops in a single position. r=jrmuizel 2012-06-02 00:00:28 +02:00
Ben Turner
b072e01d8f Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Ali Juma
476ae36564 Bug 748088 - Part 2: Drawing to a non-default target should happen on the shadow side, not the shadowable side. r=BenWa 2012-06-01 08:42:36 -04:00
Ali Juma
f5a079ba1b Bug 748088 - Part 1: Add a DrawToSurface message to PLayers. r=BenWa 2012-06-01 08:42:34 -04:00
Jonathan Kew
83524f6ce7 bug 758236 - force non-spacing marks to have zero width (merged forward from bug 727736). r=jdaggett 2012-04-21 22:25:03 +01:00
Jonathan Kew
491b0785ba bug 758236 - update harfbuzz to upstream commit a3547330fa88e30a138f6f17e60d9c7d1e316622. r=jdaggett 2012-06-01 08:19:28 +01:00
Andreas Gal
1518859a5b Bug 714408 Part 2 - Media plugin support for libstagefright - r=doublec
--HG--
extra : rebase_source : 308d1aab3cfffbb7ddeb0602a3991565603e6212
2012-06-01 12:54:23 +12:00
Jeff Muizelaar
633fcc1dfd Bug 759866. Crash more aggressively if we aren't going to be able to paint. r=bgirard
This should make it easier to get an idea how common these kinds of failures are.

--HG--
extra : rebase_source : c5c029ebfe723fc4d32d604528beb1769c21d98c
2012-05-31 17:51:52 -04:00
Ed Morley
b25cf7619c Backout fa3fe2aff1f5 (bug 756996) for bustage 2012-05-31 15:46:38 +01:00
Jacek Caban
1ff3736ac2 Bug 756996 - GCC warnings in gfx/2d r=bas 2012-05-31 16:09:20 +02:00
Ehsan Akhgari
081c39814b Bug 759979 - Compiler warning: 'MOZ_LAYERS_HAVE_LOG' macro redefined; r=roc 2012-05-30 23:32:10 -04:00
Marco Castelluccio
74a121900c Bug 703484 - Part 1: Allow OMTC to be used with basic layers. r=bgirard
--HG--
extra : rebase_source : a96747d6ea09d7112649fa46d2d6a84ababaeaab
2012-05-15 15:56:56 -04:00
George Wright
4bee8e9e08 Bug 755869 - Update the patches directory for Skia r=joe 2012-05-30 13:53:22 -04:00
Ed Morley
da18754c01 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Jonathan Kew
34f2eb3589 bug 753623 - update Graphite2 to release 1.1.3 from upstream. r=jdaggett 2012-05-30 14:17:51 +01:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ed Morley
7b41eeb233 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-30 12:20:57 +01:00
Bas Schouten
f1c73e9494 Bug 734404 - Part 1: Add support for DXGI shared surface handles to ImageLayers. r=roc 2012-05-30 07:14:30 +02:00
Bas Schouten
bae1accd49 Bug 759643: Only check for D3D 10.0 support when selecting a DXGI 1.1 adapter. r=roc 2012-05-30 06:55:15 +02:00
Bas Schouten
764c33bc5b Bug 758531: Prevent leaking Azure Patterns' GradientStops. r=roc 2012-05-30 06:42:41 +02:00
Nicholas Cameron
61b522c011 Bug 752380; correct use of enums. r=Bas 2012-05-30 15:04:59 +12:00
Doug Turner
ef3bbeabbc backout df4cf37667ac 2012-05-29 17:40:27 -07:00
Doug Turner
06990a8e6c backout cd033f175e87 2012-05-29 17:40:09 -07:00
Doug Turner
004e91d588 backout 664a8855fde5 2012-05-29 17:39:53 -07:00
Ehsan Akhgari
e587bd4e43 Bug 755869 - Re-apply patch from bug 719575 to fix clang builds for the new Skia r=gw280 2012-05-29 15:39:55 -04:00
Ed Morley
b2cb7d71ab Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-29 12:49:27 +01:00
Phil Ringnalda
a4324e2b9f Back out 36f327aaffa5 (bug 739804) for WinXP reftest orange 2012-05-27 22:14:25 -07:00
George Wright
a529641827 Bug 755869 - [13] Re-apply bug 750733 - Use handles in API object hooks where possible r=mattwoodrow 2012-05-23 14:52:36 -04:00
George Wright
8d2a39a547 Bug 755869 - [12] Re-apply bug 749533 - Add support for GNU/kFreeBSD and Hurd in Skia. r=mattwoodrow 2012-05-23 14:49:57 -04:00
George Wright
61e6428e3d Bug 755869 - [11] Re-apply bug 687188 - Skia radial gradients should use the 0/1 color stop values for clamping. r=mattwoodrow 2012-05-23 11:40:25 -04:00
Ed Morley
cee7bd6028 Merge mozilla-central to mozilla-inbound 2012-05-30 13:26:37 +01:00
Jonathan Kew
197e0a6850 bug 670901 pt 3 - add OTS message callback and enable error reporting in our build. r=jdaggett 2012-05-29 23:44:50 +01:00
Jonathan Kew
daa05b96b0 bug 670901 pt 2 - fix some typos and missing warning messages in OTS. r=jdaggett 2012-05-29 23:44:50 +01:00
Jonathan Kew
948b60acc6 bug 670901 pt 1 - add support for an error-message callback to OTS. r=jdaggett 2012-05-29 23:42:56 +01:00
George Wright
895c1a132d Bug 755869 - [10] Re-apply bug 719872 - Fix crash on Android by reverting to older FontHost impl r=mattwoodrow 2012-05-18 14:52:40 -04:00
George Wright
06e7a88a73 Bug 755869 - [9] Re-apply bug 751814 - Various Skia fixes for ARM without EDSP and ARMv6+ r=mattwoodrow 2012-05-18 14:16:08 -04:00
George Wright
fb3758384d Bug 755869 - [8] Re-apply bug 731384 - Fix compile errors on older versions of clang r=mattwoodrow 2012-05-18 14:15:50 -04:00
George Wright
1ec259a42d Bug 755869 - [7] Re-apply bug 722011 - Fix trailing commas at end of enum lists r=mattwoodrow 2012-05-18 14:15:28 -04:00
George Wright
991f57aa39 Bug 755869 - [6] Re-apply SkUserConfig (no original bug) r=mattwoodrow 2012-05-18 14:13:49 -04:00
George Wright
f0f601eb3b Bug 755869 - [5] Re-apply bug 688366 - Fix Skia marking radial gradients with the same radius as invalid. r=mattwoodrow 2012-05-18 14:11:32 -04:00
George Wright
fe6a0f355b Bug 755869 - [4] Re-apply bug 687189 - Implement SkPaint::getPosTextPath r=mattwoodrow 2012-05-18 14:10:44 -04:00
George Wright
dd6dfec444 Bug 755869 - [3] Re-apply bug 689069 - Patch to get arm opts to build with frame pointers enabled. r=mattwoodrow 2012-05-18 13:58:59 -04:00
George Wright
faeda4d046 Bug 755869 - [2] Update Makefile.in for the new Skia r=mattwoodrow 2012-05-18 14:47:02 -04:00
George Wright
5ed8f40fa3 Bug 755869 - [1] Update Skia to r4037 r=mattwoodrow 2012-05-23 14:43:41 -04:00