Marco Bonardo
b245bb61dd
Merge last green changeset from mozilla-inbound to mozilla-central
2011-08-03 10:46:22 +02:00
Matt Woodrow
8d4ab549b6
Bug 505115 - Part 11b - Layout changes to use a z component for -moz-transform-origin. r=roc
2011-08-03 15:04:23 +12:00
Matt Woodrow
7a41f6a8a2
Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron
2011-08-03 15:04:22 +12:00
Matt Woodrow
9bd05fb9c7
Bug 505115 - Part 8b - Add 3D Point support, and ray tracing to gfx3DMatrix. r=bjacob, sr=roc
2011-08-03 15:04:20 +12:00
Matt Woodrow
af6bccfe08
Bug 505115 - Part 8a - Add BasePoint3D and gfxPoint3D. r=roc
2011-08-03 15:04:20 +12:00
Matt Woodrow
a58142bb2a
Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc
2011-08-03 15:04:20 +12:00
Matt Brubeck
1fbbc4fcf5
Bug 669851 - Update reftest annotations for tests that no longer have Android-specific failures
2011-08-02 19:57:42 -07:00
Benoit Jacob
6b663cacbc
Bug 675634 - import ANGLE r712 - r=upstream
2011-08-02 18:06:25 -04:00
Benoit Jacob
b8f605479f
Bug 675625 - limit GLSL identifiers to 250 characters to work around a NVIDIA bug - r=jrmuizel
2011-08-02 18:06:25 -04:00
Marco Bonardo
94181da50c
Backout changeset 984e656becec (Bug 664659) due to regressions in Tp5 XRES and RSS.
2011-08-01 10:20:18 +02:00
Mike Hommey
171858fa54
Bug 654049 - Use global optimization flags for jemalloc, cairo, pixman and sqlite. r=ted
2011-07-21 08:32:23 +02:00
Brad Lassey
525d81c315
bug 636042 - All fonts are serif, follow up to fix build warning r=jdaggett
2011-07-29 21:44:32 -04:00
Walter Meinl
fdfa2074d3
Bug672951 [OS/2] follow-up for bug668758 r=dragtext
2011-07-31 14:05:14 -07:00
Walter Meinl
cb19c1051f
Bug672959 [OS/2] follow-up to bug467669 r=dragtext
2011-07-31 14:00:13 -07:00
Justin Lebar
de9cb8f577
Bug 664659 - Fix about:memory image reporters. r=joe
2011-07-18 09:20:27 -04:00
Marco Bonardo
506125133a
Merge mozilla-central and mozilla-inbound
2011-07-29 13:46:15 +02:00
Marco Bonardo
90e7ef2184
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-29 11:48:24 +02:00
Benoit Jacob
46b893fa86
Bug 674042 - WebGL: crash in getUniformLocation with too long uniform identifiers - r=jrmuizel
...
This limits the length of uniform and attrib identifiers to 4095 characters, to steer clear GL implementation bugs with too long identifiers. The 4095 is totally arbitrary, all we know is that crashes happen after 2^22 chars.
2011-07-28 17:12:31 -04:00
Jeffrey Gilbert
c77b88d953
Bug 674731 - WebGL/ANGLE interop with D3D layers requests incorrect extension - r=bjacob
2011-07-28 16:37:58 -04:00
Ehsan Akhgari
3f0737e881
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-28 10:37:23 -04:00
Benoit Jacob
3495fb4249
Bug 668743 - ANGLE fails to load on WinXP after upgrade from r653 to r686 - r=jrmuizel
...
This patch implements delay-loading of DWMAPI.DLL to prevent ANGLE's libEGL.dll from failing to load on WinXP where DWMAPI.DLL is not present.
2011-07-27 14:46:14 -04:00
Scott Ruff
4e4c1347d5
Bug 649525 - WebGL layer compositing through the BasicCanvasLayer is very slow (desktop version). r=jmuizelaar
2011-07-27 13:00:17 +02:00
Michael Wu
46a170c5f0
Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc
2011-07-26 23:43:37 -07:00
Michael Wu
ae7c998e7f
Bug 668133 - Add telemetry probes for font enumeration, r=jtd
2011-07-26 23:42:53 -07:00
Matthew Gregan
2f39e6408b
Bug 672755 - Add memory reporters for decoded video and audio queues. r=cpearce r=joe
2011-07-22 15:17:23 +12:00
Brad Lassey
0054b876f9
bug 636042 - All fonts are serif, give preference to stock android fonts r=jdaggett
2011-07-28 01:28:43 -04:00
Benoit Girard
ef924f54c8
Bug 674230 - Rename qcms pref; r=jmuizelaar
2011-07-27 16:09:27 -04:00
Joe Drew
3f070e581f
Bug 660090 - EGL: Track creation/allocation/valid status of textures; r=florian.haenel,romaxa
2011-07-26 13:52:03 -07:00
Joe Drew
ddc2ef9921
Bug 660090 - EGL: Allocate Texture in Constructor; r=florian.haenel,romaxa
2011-07-26 13:51:56 -07:00
Benoit Girard
91d2f42577
Bug 674230 - Add 'Add gfx.color_management.force_v4' pref; r=jmuizelaar
2011-07-27 13:56:22 -04:00
Benoit Girard
e6e07e47b0
Bug 674230 - Merge from qcms github branch v4; r=jmuizelaar
2011-07-27 10:11:19 -04:00
Daniel Holbert
1bfbc2bfd3
Merge last green mozilla-central changeset to mozilla-inbound
2011-07-28 14:53:21 -07:00
Jeff Muizelaar
f5a851c283
Bug 674003. D2D: Fix premultiplying to only premultiply the color components. r=bjacob
...
We were accidentally squaring alpha this caused our surface to end up with superluminescent values.
Fix this by only multiplying alpha with the color componenets and not itself.
2011-07-28 16:31:28 -04:00
Chris Lord
cce1031323
Bug 669851 - Use bilinear image scaling on all ARM devices, even without NEON [r=mbrubeck,jmuizelaar]
2011-07-07 03:08:00 -07:00
Ed Morley
3fcab63ef0
Bug 670338 - Add double overload to NSToIntRound to stop build warnings; r=roc
2011-07-11 09:14:12 -04:00
Ed Morley
6a93ba2760
Bug 670111 - Add double overloads to NSToCoord(Round|Floor|Ceil|Clamped) to stop numerous build warnings; r=roc
2011-07-11 09:14:12 -04:00
Ehsan Akhgari
aed48ece37
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-26 14:03:34 -04:00
Benoit Jacob
b1e34442ee
Bug 646825 - import ANGLE r702 - r=upstream
2011-07-26 11:53:47 -04:00
Paul ADENOT
a3c01f8b05
Bug 634997 - no synthetic bolding on Android. r=jdaggett
2011-07-26 10:04:55 -04:00
Marco Castelluccio
acf4cce0bc
Bug 635643. Remove nsIRegion, because it is a useless wrapper class. r=tnikkel
2011-07-25 17:19:37 -05:00
Josh Matthews
6a01ab106a
Bug 671960 - Prevent calling cairo functions on invalid surfaces through gfxASurface. r=joe,dougt,jmuizelaar
2011-07-21 20:41:39 -07:00
Matt Woodrow
e2113eb4db
Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf
2011-07-25 19:32:56 +12:00
Matt Woodrow
22504be7f5
Backed out changeset 39fef2383893
2011-07-25 13:18:23 +12:00
Matt Woodrow
c9c57295d3
Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf
2011-07-25 12:50:00 +12:00
Matt Woodrow
d92559eb1e
Bug 505115 - Part 4 - Add a lot of new functionality to gfx3DMatrix. r=jrmuizel
2011-07-23 10:28:33 +12:00
Matt Woodrow
5afc317166
Bug 505115 - Part 3 - Convert nsStyleTransformMatrix to be backed by a 4x4 matrix. r=dbaron
2011-07-23 10:28:07 +12:00
Steven Michaud
d2a413e2ae
Bug 671064 - Work around bug in Cairo 1.10 that causes Print Preview to crash. r=jmuizelaar
2011-08-02 12:30:42 +02:00
Jonathan Kew
66b17a9313
bug 671385 - restore the recursive application of ForEachFontInternal to font names from preferences, to avoid breaking Fontconfig generics. r=jdaggett
2011-07-26 10:50:14 +01:00
Jonathan Kew
95022769d4
bug 672955 - prefer harfbuzz to core text backend for Thai OT fonts on OS X. r=jdaggett
2011-07-26 10:47:36 +01:00
Jeff Muizelaar
e4aa8bf5dd
Bug 672646. D2D: Fix trasparent radial gradients. r=roc
...
The output merger stage was expecting premultiplied alpha
and we were giving non-premultiplied. Fix by premultiplying
in the shader.
Also adds a reftest for this situation.
2011-07-21 18:40:41 -04:00
arno renevier
8ed39834bd
Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg
2011-07-21 04:37:31 +02:00
Justin Lebar
e28ed030a2
Backing out bug 664659 (rev 7b49a2857e18) due to Mac memory regressions.
2011-07-19 19:25:19 -04:00
Jeff Muizelaar
05510f6c09
Bug 672280. qcms: Use C99-style flexible arrays. r=bgirard
...
This is in preparation for adding more of these for the
upcoming ICCv4 parsing.
2011-07-19 11:17:47 -04:00
Justin Lebar
3e32b14471
Bug 664659 - Fix about:memory image reporters. r=joe,njn
2011-07-18 09:20:27 -04:00
Mats Palmgren
53f57b278f
Bug 665218 - Keep the printing surface until the next BeginPage to avoid null-ptr crash [MacOSX only]. r=roc
2011-07-19 14:20:33 +02:00
Oleg Romashin
02c7078314
Bug 671986 - ImageLayerOGL does not apply offset/transform for layer r=jrmuizel
2011-07-17 12:07:41 +02:00
Joe Drew
43b3d449c6
Rebase mozilla-inbound to 569a960b4a64 and then re-merge with mozilla-central so we're in a known good state.
2011-07-16 21:37:41 -04:00
Chris Jones
0c9abec3e2
Merge backout
2011-07-15 11:36:22 -07:00
Chris Jones
bd33e7e43e
Back out bug 648484
2011-07-15 11:35:55 -07:00
Jonathan Kew
12a6085258
bug 670072 - round font sizes to integers in the GDI backend. r=jdaggett
2011-07-15 15:16:15 +01:00
Mike Hommey
a8bdb31026
Bug 670329 - Avoid bumping ARM target because of NEON code in gfx. r=jmuizelaar
2011-07-15 10:15:28 +02:00
Ehsan Akhgari
3fb8c94a3d
Backout changeset ed3036facfb2 (bug 670338) to see if it affects the frequency of bug 629196; rs=joe
2011-07-15 16:28:13 -04:00
Ehsan Akhgari
baae951464
Backout changeset e2139ab44181 (bug 670111) to see if it affects the frequency of bug 629196; rs=joe
2011-07-15 16:27:27 -04:00
Chris Jones
e53cec2813
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
6e20d62d53
Bug 648484, part C: Forward a shadow-layer transaction after rendering in the D3D10 backend, if remote. r=joedrew
...
* * *
Unrot bug 648484. r=Bas. To be folded.
2011-07-13 22:43:43 -07:00
Chris Jones
24d9e755e6
Bug 648484, part B: Implement shadowable layer goop for D3D10, just enough to allow sending a window buffer to the compositor. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
712fac36c8
Bug 648484, part A: Allow D3D10 layers to render directly to a share-able texture. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
28e0de0333
Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
c1c168aa40
Bug 648484, part 8: Implement a very basic shadow thebes layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
18ad2a3d0c
Bug 648484, part 7: Implement a very basic shadow container layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
7f04c5ba64
Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
d2060002c1
Bug 648484, part 5: Create our D3D10 device so as to allow cross-process resource sharing. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
726c115d22
Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
f536ed7edf
Bug 648484, part 3 and part 3.1: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc
2011-07-13 22:43:43 -07:00
Chris Jones
fcb0f65051
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-07-13 22:43:43 -07:00
Chris Jones
0369ff5024
Bug 648484, part 1: Fix some warning spam. r=roc
2011-07-13 22:43:43 -07:00
Matt Woodrow
d76b381d9f
Bug 670106 - Check the surface type before attempting to create a GLXPixmap. r=joe
2011-07-15 08:45:33 +12:00
Rob Bradford
f27ff56d6f
Bug 670645 - Lookup texture_from_pixmap symbols using glXGetProcAddress. r=mattwoodrow
2011-07-11 14:07:49 +01:00
Adrian Johnson
a8a9a3744c
Bug 624699. Fix some landscape printing bugs. r=roc
...
Specifically:
1) Only rotate print output for PostScript, not PDF.
2) Rotate in the correct direction for PostScript.
3) Set the %%Orientation comment correctly.
2011-07-14 13:02:20 -04:00
Jacek Caban
99f37a11db
Bug 670913 - LayerManagerD3D10.h fails to compile on mingw (r=joe)
2011-07-13 17:58:17 +02:00
Ehsan Akhgari
0823e559de
Merge mozilla-central and mozilla-inbound
2011-07-13 11:51:33 -04:00
Ehsan Akhgari
3e4044476c
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-13 11:40:03 -04:00
Jonathan Kew
9911ba235d
bug 668758 - don't look up prefs font families in the user font set. r=jdaggett
2011-07-13 09:40:32 +01:00
Jonathan Kew
7945b12f01
Backed out changeset 51b49a7cf2e4 (bug 668758) because of android bustage
2011-07-13 10:50:37 +01:00
Jonathan Kew
2ef267be9d
bug 668758 - don't look up prefs font families in the user font set. r=jdaggett
2011-07-13 09:40:32 +01:00
Bas Schouten
8367a2ca66
Bug 666452 - Part 3: Create a minimal size temp surface for canvas shadow drawing. r=roc
2011-07-13 02:36:28 +02:00
Bas Schouten
e72bf56f22
Bug 666452 - Part 2: Minimize drawing done with shadow in the Azure D2D backend. r=BenWa
2011-07-13 02:34:43 +02:00
Bas Schouten
9c36d75cba
Bug 666452 - Part 1: Expose functions to get the (stroked) bounds of a path. r=BenWa sr=roc
2011-07-13 02:34:40 +02:00
Benoit Girard
2ab0d12f09
Bug 663259 - Enable Mac Async plugin by default. r=cjones,mattwoodrow
...
--HG--
extra : rebase_source : 6d397273f10e659a08125b3861e1651a3994aaa0
2011-07-12 10:31:18 -04:00
Jonathan Kew
8d6d499d91
bug 494130 - log downloadable font errors to console. r=jdaggett
2011-07-12 12:24:36 +01:00
Daniel Holbert
6a8e68ad73
Bug 670025: Use more fine-grained checks to pick depth in GLContext::ResizeOffscreenFBO. r=vlad
2011-07-12 00:11:20 -07:00
Daniel Holbert
6dcbfef97d
backout 36b64e9837f5 (Bug 668764) due to reftest orange on Win7
2011-07-11 18:24:03 -07:00
Jeff Gilbert
5163c2d02a
Bug 669522: Removed unused function bool IsFloatInteger(float) r=joe
2011-07-11 12:24:21 -07:00
Bas Schouten
05d344302f
Bug 668764: Properly specify stroke offset in Direct2D cairo backend. r=jrmuizel
2011-07-11 16:37:01 +02:00
Ed Morley
380667f6fa
Bug 631155 - undefined return value in function '_cairo_surface_wrapper_flush'; r=jrmuizel
2011-07-11 09:14:12 -04:00
Ed Morley
bbcadd9496
Bug 670111 - Add double overloads to NSToCoord(Round|Floor|Ceil|Clamped) to stop numerous build warnings; r=roc
2011-07-11 09:14:12 -04:00
Ed Morley
2732bc62de
Bug 670338 - Add double overload to NSToIntRound to stop build warnings; r=roc
2011-07-11 09:14:12 -04:00
Bas Schouten
371b57bace
Bug 666097 - Fix radial gradient drawing in Azure. r=jrmuizel
...
* * *
Part 2: Adjust tests to properly confirm passing. r=jrmuizel
2011-07-08 18:49:35 +00:00
Robert O'Callahan
d4259656be
Bug 649924. Use image surfaces to implement canvases beyond the texture size limit. r=bas
2011-07-08 22:42:21 +12:00
Marco Bonardo
77013a6607
Merge mozilla-inbound and mozilla-central
2011-07-08 11:53:56 +02:00
Nicholas Nethercote
14e0e78adc
Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz.
2011-07-08 12:45:16 +10:00
Benoit Jacob
225de6a36d
Bug 665070 - part 1: implement GLContext::GetAndClearError - r=jrmuizel
2011-07-07 20:01:16 -04:00
Marco Bonardo
5b0aa644a2
Merge mozilla-inbound and mozilla-central
2011-07-07 12:02:38 +02:00
Justin Lebar
b17feeb414
Backing out bug Bug 648484 (csets 9fcd404d97aa through 2bfa7417504d) due to orange.
2011-07-06 20:27:35 -04:00
Florian Haenel
a0b30fbce6
Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar
2011-07-06 11:00:47 -07:00
Chris Jones
6a84167e1b
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
154d42025d
Bug 648484, part C: Forward a shadow-layer transaction after rendering in the D3D10 backend, if remote. r=joedrew
...
* * *
Unrot bug 648484. r=Bas. To be folded.
2011-07-06 13:29:27 -04:00
Chris Jones
d800ece14d
Bug 648484, part B: Implement shadowable layer goop for D3D10, just enough to allow sending a window buffer to the compositor. r=Bas
2011-07-06 13:29:27 -04:00
Chris Jones
45d4ecff84
Bug 648484, part A: Allow D3D10 layers to render directly to a share-able texture. r=Bas
2011-07-06 13:29:27 -04:00
Chris Jones
b5f3d7f6c7
Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas
2011-07-06 13:29:27 -04:00
Chris Jones
065d10e894
Bug 648484, part 8: Implement a very basic shadow thebes layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-07-06 13:29:27 -04:00
Chris Jones
22f7db5a6c
Bug 648484, part 7: Implement a very basic shadow container layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-07-06 13:29:27 -04:00
Chris Jones
d501a4a634
Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas
2011-07-06 13:29:27 -04:00
Chris Jones
d4463e8330
Bug 648484, part 5: Create our D3D10 device so as to allow cross-process resource sharing. r=Bas
2011-07-06 13:29:26 -04:00
Chris Jones
5639c8d598
Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas
2011-07-06 13:29:26 -04:00
Chris Jones
c462de96d4
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-07-06 13:29:26 -04:00
Chris Jones
cac704ffe4
Bug 648484, part 1: Fix some warning spam. r=roc
2011-07-06 13:29:26 -04:00
Mounir Lamouri
4c9de5f9e9
Merge mozilla-central into mozilla-inbound.
2011-07-06 14:49:29 +02:00
L. David Baron
1b49ece84f
Only apply overflow area reported by native theme to the visual overflow, and not to the scrollable overflow. (Bug 669284) r=bzbarsky
2011-07-06 12:03:23 +02:00
Jonathan Kew
117a28457f
bug 669175 - [harfbuzz] fix indexing in reverse_range() to avoid pathological perf & incorrect results. r=behdad
2011-07-06 08:01:41 +01:00
Jacob Bramley
9a97cc1996
Bug 666918: Allow some routines to omit the frame pointer even with --enable-profiling. This will break call-graphs for these functions, but an --enable-profiling build won't work without it. [r=cjones]
2011-07-05 09:48:40 +01:00
Bas Schouten
300196ee5f
Bug 668801 - Followup: Properly address review comments.
2011-07-05 08:52:48 +00:00
Bas Schouten
aa0a80ced3
Bug 668801 - Part 3: Adjust dealing with clipped shadows to be accurate. r=jrmuizel
2011-07-05 06:28:20 +00:00
Bas Schouten
c17281a505
Bug 668801 - Part 2: Fix small bug in Azure shadow drawing. r=jrmuizel
2011-07-05 06:28:17 +00:00
Bas Schouten
ab39deeadf
Bug 668801 - Part 1: Adjust Azure for traditional shadow drawing style. r=jrmuizel
2011-07-05 06:28:14 +00:00
Matt Woodrow
ef4adc6afb
Bug 656185 - Part 4 - Upload the entire image for PlanarYCbCrImageD3D10 to a texture and clip using texture coordinates. r=Bas
2011-07-05 14:52:50 +12:00
Matt Woodrow
a1491697a0
Bug 656185 - Part 3 - Upload the entire image for PlanarYCbCrImageD3D9 to a texture and clip using texture coordinates. r=Bas
2011-07-05 14:52:34 +12:00
Matt Woodrow
e64b02f01a
Bug 656185 - Part 2 - Upload the entire image for PlanarYCbCrImageOGL to a texture and clip using texture coordinates. r=derf
2011-07-05 14:52:00 +12:00
Matt Woodrow
9879aa7837
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-07-05 14:50:38 +12:00
Benoit Girard
2f27b1192a
Bug 636707 - Check for null MacIOSurfaceImageOGL. r=mattwoodrow
2011-07-04 09:51:37 -04:00
Benoit Girard
5b3036138c
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-04 09:15:05 -04:00
Ed Morley
acfd91cd49
Bug 661584 - Substitute final PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-07-03 11:53:40 +02:00
Benoit Girard
3a51e1fdfa
Backout 627489bb6288.
2011-07-01 18:05:54 -04:00
Marco Bonardo
e1de548d00
Merge last green changeset from mozilla-central to mozilla-inbound
2011-07-01 23:56:44 +02:00
Benoit Girard
4ec96c8c7f
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-01 16:57:15 -04:00
Jonathan Kew
53962f854b
bug 666893 - add padding pixels to DWrite text bounds because of ClearType bleed when using GDI Classic mode. r=roc
2011-07-01 07:38:17 +01:00
Jonathan Kew
ca191217c7
bug 553571 - try to avoid breaking font runs at ZWNJ when using font fallback, because Indic scripts require shaping across the ZWNJ character. r=roc
2011-07-01 07:38:14 +01:00
Makoto Kato
e16e58937a
Bug 413019 - Remove PGO workaround for some modules. r=ted
2011-07-01 12:46:02 +09:00
Steven Michaud
36d54eefdb
Bug 659851 - Firefox and Lion disagree on GLintptr. f=bas.schouten r=bjacob
2011-06-30 14:06:25 -05:00
Benoit Girard
1e93785b55
Bug 663259 - Part 1: Mac Async rendering fixes. r=josh
2011-06-30 12:46:25 -04:00
Ryan VanderMeulen
7676326719
Bug 667663 - Silence MSVC warning by returning NULL if DWrite is disabled. r=bas
2011-06-30 14:35:46 +02:00
Ehsan Akhgari
86da6932d3
Merge mozilla-central and mozilla-inbound
2011-06-30 05:08:20 -04:00
Oleg Romashin
37e4c451c1
Bug 668368 - Logging.h compile fail due to missing stdio.h r=bas.schouten
2011-06-29 15:13:21 -07:00
Jonathan Kew
e9e59d071d
bug 663688 - back out changeset c4b84b05c46c to revert the workaround that disabled downloadable fonts on Lion. r=jdaggett
2011-06-29 14:16:12 +01:00
Justin Lebar
5daed65b45
Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
...
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Jeff Muizelaar
12139c87c5
2D: Add a comment about why we need to know the fill mode early. r=bas
2011-07-07 12:57:52 -04:00
Mike Hommey
73e9c2d6c7
Bug 676252 part 1 - Don't use $(OBJ_SUFFIX) before including config.mk. r=ted
2011-08-29 07:34:02 +02:00
Matt Brubeck
539e6ce545
Merge mozilla-central and mozilla-inbound
2011-08-12 07:08:33 -07:00
Jeff Muizelaar
1f4cd33169
Bug 660662. Eliminate NS_(ceil|floor). r=roc
...
These just called the system versions.
2011-05-30 15:08:55 -04:00
Jonathan Kew
d05c5c7fd5
bug 667166 - apply 'locl' feature early along with 'ccmp', before Arabic-specific shaping features. r=jdaggett
2011-08-12 11:49:36 +01:00
Chris Jones
e0d217fcaa
Bug 662038, part 3: Implement dashing for d2d. r=Bas
2011-06-29 14:34:58 -07:00
Chris Jones
952bc1a668
Bug 662038, part 2: Add dashing API to Azure. r=Bas sr=roc
2011-06-29 14:34:58 -07:00
Chris Jones
d27b646301
Bug 662038, part 0: Add gfxContext::CurrentDash(). r=jrmuizel
2011-06-29 14:34:58 -07:00
Marco Bonardo
97e50f4bc9
Merge last green changeset from mozilla-inbound to mozilla-central
2011-06-28 11:17:15 +02:00
Bas Schouten
e768a19cf6
Bug 667290: Properly clear the downsampled destination before blending to it. r=jrmuizel
2011-06-28 02:10:06 +02:00
Benoit Jacob
9884944aa7
Bug 665934 - fix bug: arev was meant instead of amap - r=upstream
...
This patch has been taken in ANGLE upstream as r699.
2011-06-27 13:27:04 -04:00
Mounir Lamouri
00c9c62df5
Backout changeset 4e87265b9c11 (bug 663259) due to Talos regression.
2011-06-27 14:52:57 +02:00
Matt Woodrow
f47d6dca8b
Back out bug 656185 due to windows compile failures
2011-06-27 15:21:22 +12:00
Matt Woodrow
efa3bcd4b7
Bug 656185 - Part 4 - Fix for D3D9. r=Bas
2011-06-27 14:32:42 +12:00
Matt Woodrow
63f8b0a243
Bug 656185 - Part 3 - Fix for D3D10. r=Bas
2011-06-27 14:32:34 +12:00
Matt Woodrow
6e295129f3
Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf
2011-06-27 14:32:16 +12:00
Matt Woodrow
fe8fe23d3c
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-06-27 14:32:06 +12:00
Benoit Girard
e717beef93
Enabled Mac Async plugin by default + Fixes. b=663259 r=josh
2011-06-25 15:12:59 -04:00
Benoit Girard
c9729f2d7f
Bug 577224 - Fix nsCARenderer warnings; r=smichaud
2011-06-24 10:49:42 -04:00
Takanori MATSUURA
4041dc2544
Bug 667286 - Include cairo.h as "cairo.h" instead of "cairo/cairo.h"; r=bas
2011-06-26 23:10:35 +09:00
Ed Morley
3f49fdcb2a
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Jonathan Kew
5c01379b6a
bug 663688 - prefer CGFont APIs to older ATS APIs on 10.6 or later. r=smichaud,roc
2011-06-24 18:55:27 +01:00
Bas Schouten
662596f4fb
Bug 651858 - Part 5: Add CanvasLayer code for azure. r=jrmuizel
2011-06-24 19:41:18 +02:00
Bas Schouten
c504745112
Bug 651858 - Part 4: Implement API for creating a D3D10 compatible DrawTarget. r=roc
2011-06-24 19:41:18 +02:00
Bas Schouten
bc37e50310
Bug 651858 - Part 3: Add layers API for creating an optimal DrawTarget. r=roc
2011-06-24 19:41:18 +02:00
Bas Schouten
208c771f07
Bug 651858 - Part 2: Add glue code in gfx for thebes-azure interop. r=jrmuizel
2011-06-24 19:41:18 +02:00
Bas Schouten
189472e8c9
Bug 651858 - Part 1: Add the Azure API and Direct2D backend. r=jrmuizel sr=roc
...
--HG--
rename : gfx/src/BaseMargin.h => gfx/2d/BaseMargin.h
rename : gfx/src/BasePoint.h => gfx/2d/BasePoint.h
rename : gfx/src/BaseRect.h => gfx/2d/BaseRect.h
rename : gfx/src/BaseSize.h => gfx/2d/BaseSize.h
2011-06-24 19:41:16 +02:00
Marco Bonardo
8d56f5c0e0
Merge last green changeset in mozilla-inbound to mozilla-central
2011-06-24 11:32:12 +02:00
Ed Morley
8e9e496bf0
Bug 665622 - Fix unused variable warnings in GLContext.cpp & GLContextProviderEGL.cpp; r=joedrew
2011-06-23 19:01:17 -07:00
Daniel Holbert
b646a615bc
Bug 661969: If no delay is passed to gfxFontInfoLoader::StartLoader, use the interval as delay. r=jdaggett
2011-06-23 19:01:17 -07:00
Jeff Muizelaar
4b67acc2d6
Bug 662649. DrawFPS: Make the conversion loop easier to follow. r=joe
2011-06-22 14:53:11 -04:00
Jeff Muizelaar
ad8a1fabad
Bug 662649. DrawFPS: Add a comment about why DrawFPS is a little weird.
2011-06-22 14:49:31 -04:00
Jeff Muizelaar
3e64a3274a
Bug 662649. DrawFPS: Make sure we use a 32 bit type instead of a 64 bit one. r=joe
...
This was causing badness on platforms where unsigned long is 64 bits.
2011-06-22 14:46:27 -04:00
Jeff Muizelaar
7cfa60fc62
Bug 662649. DrawFPS: free leaked buffer. r=joe
...
glTexImage2D will keep a copy of this data around so we don't have to.
2011-06-22 14:43:52 -04:00
Jeff Muizelaar
e68edc37a9
Bug 661658. Fix pointer as int size problem on Win64. r=joedrew
...
The glyph cache uses a pointer for a hash value, and uses
that hash value as a pointer. We need to ensure that the
hash type is large enough to fit a pointer.
2011-06-22 14:38:25 -04:00
Ehsan Akhgari
752a7fe810
Merge the last green changeset of mozilla-inbound to mozilla-central
2011-06-22 19:17:32 -04:00
Mats Palmgren
5b08cd1f9d
Bug 312156 - Make gfxFont::HasCharacter work for Pango fonts. r=roc
2011-06-22 20:11:47 +02:00
Robert O'Callahan
82eb2f46ce
Bug 637852. Part 26: Ensure that FrameMetrics coordinates are correctly stored as layer coordinates. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
9e63608c26
Bug 637852. Part 25: Add nsSize ScaleToNearestPixels. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
612c9f5ad3
Bug 637852. Part 21: Skip invalidation if aRegionToInvalidateIsEmpty (note that ScaleRoundOut on an empty bounds rect can return a non-empty rect). r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
9f092ece3e
Bug 637852. Part 18: Support computing the "residual transform" for a ThebesLayer --- the difference between its snapped transform and the ideal transform --- and use it to align ThebesLayer drawing for transforms that aren't changing. r=tnikkel
...
This fixes bug 637597 and probably other bugs.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
ce7be9d494
Bug 637852. Part 11: Remove ExtendForScaling from nsRect and nsRegion. r=joe
...
This is good because the semantics of this method always sucked.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
8b4e1a91a8
Bug 637852. Part 10: Remove mX/YResolution from ThebesLayer. r=joe
...
These are the last vestiges of Layer-based resolution API.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
a97f0fea4e
Bug 637852. Part 9: Remove resolution support from BasicLayers, ShadowLayers and GL layers. r=mattwoodrow
...
This is not needed anymore.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
829914f298
Bug 637852. Part 8: Remove resolution support from D3D9 layers. r=mattwoodrow
...
Layer-system resolution support is no longer needed.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
783029e208
Bug 637852. Part 7: Remove resolution support from D3D10 layers. r=mattwoodrow
...
Layer-system resolution support is no longer needed.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
9ddbfbb285
Bug 637852. Part 6: Implement resolution scaling in FrameLayerBuilder. r=tnikkel
...
FrameLayerBuilder::BuildContainerLayerFor takes responsibility for resolution scaling. The ContainerParameters
passed in are added to any transform requested. Then we extract the scale part of the transform, round the scale
up to the nearest power of two if the transform may be actively animated (so we don't have to redraw layer contents
constantly), pass that scale down to be applied by each child and set the residual transform on the ContainerLayer.
For child layers built via BuildLayer, we just pass the requested scale factor in via the ContainerParameters.
If the returned layer is a ContainerLayer then BuildLayer is guaranteed to have already done necessary scaling.
If the returned layer is not a ContainerLayer then we apply the scale ourselves by adding the scale to the
child layer's transform.
For child ThebesLayers containing non-layer display items, we scale the drawing of those display items so that
the child ThebesLayers are simply larger or smaller (larger or smaller visible regions).
We have to scale all visible rects, clip rects etc that are in the coordinates of ThebesLayers or the parent
ContainerLayer. To keep things simple we do this whenever we convert from appunits to integer layer coordinates.
When a ThebesLayer's resolution changes we need to rerender the whole thing.
nsDisplayList::PaintForFrame needs to respect the presshell's resolution setting. We do that by building a layer tree
with a ContainerParameters requesting a scale up by the presshell resolution; once that layer tree is built, we
adjust the root layer transform to scale back down by the resolution.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
91a72cf57f
Bug 637852. Part 4: Add nsRegion::ScaleInverseRoundOut and nsRegion::ScaleToOutsidePixels APIs. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
c2827bc133
Bug 637852. Part 3: Add nsPoint::ScaleToNearestPixels, nsRect::ScaleToNearestPixels, nsRect::ScaleToInsidePixels and nsRect::ScaleToOutsidePixels APIs. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
ac135884a6
Bug 637852. Part 2: Add BaseRect::ScaleInverseRoundOut API. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
29044a8c64
Bug 637852. Part 1: Don't snap BasicThebesLayer effective transforms when we're not retaining layers. r=tnikkel
...
The ThebesLayer contents are going to be drawn through directly without retaining, so there's no point in snapping.
2011-06-23 00:11:27 +12:00
Ehsan Akhgari
0f617c2905
Merge the last green changeset of mozilla-inbound to mozilla-central
2011-06-22 15:50:44 -04:00
Jonathan Kew
47ba59f255
bug 476927 - add padding to text bounds on OS X to allow for possible antialiasing pixels. r=roc
2011-06-22 09:49:57 +01:00
Jonathan Kew
fbae01af17
bug 475968 - add padding pixels to loose ink bounds on Windows because of ClearType pixel bleed. r=roc
2011-06-22 09:49:53 +01:00
Steven Michaud
f495493687
Bug 663688 - Temporarily default to turning off downloadable fonts on OS X Lion. r=jdaggett,jfkthame
2011-06-20 10:42:39 -05:00