Commit graph

369 commits

Author SHA1 Message Date
roytam1
a16549ddb7 D3D9 initialization fix by XPRTM@MSFN, Thanks!
with some coding style and spacing fixes applied.

original post: https://msfn.org/board/topic/182647-my-browser-builds-part-3/?do=findComment&comment=1226987
original modified file: https://pastebin.com/7aick8gm
2022-10-06 09:04:33 +08:00
roytam1
67a84940ea d3d9: further lowered MaxTexture limit to 1024 to give chance for Radeon 9550 and GMA 965 to use hardware acceleration 2022-09-20 14:58:51 +08:00
roytam1
591552c5bb partly import changes from tenfourfox:
- #651: M1767365+backbugs M1757604 M1771774 M1776658 (bc6daa0ae)
2022-09-19 16:18:37 +08:00
roytam1
92cf687331 Merge remote-tracking branch 'origin/tracking' into custom 2022-09-09 10:31:15 +08:00
Moonchild
f801bd1847 Issue #80 - Re-unify most of gfx 2022-09-09 10:19:25 +08:00
roytam1
866ded0b0a Merge remote-tracking branch 'origin/tracking' into custom 2022-09-07 11:03:19 +08:00
Brian Smith
8cc2925a24 No issue - Fix OutputVariable visibility issue, when building with clang. 2022-09-07 10:40:03 +08:00
Moonchild
5dfded811d Issue #80 - reinstated unified building for some large chunks of our code.
This should reduce compile complexity saving time and reducing linker stress.
2022-09-07 10:36:23 +08:00
roytam1
e235eb81c6 Merge remote-tracking branch 'origin/tracking' into custom 2022-09-01 10:29:38 +08:00
Moonchild
612a363977 Don't use gfxXlibSurface in GLContextGLX. 2022-09-01 10:20:38 +08:00
roytam1
f0288d3d71 Merge remote-tracking branch 'origin/tracking' into custom 2022-06-23 08:55:51 +08:00
Job Bautista
275ea2bcf5 Issue #326 - Part 1a: Update character property table generator script for Unicode 9, and adjust APIs to fit the new identifier-type property model
Backported from Mozilla bug 1281448.
2022-06-23 08:54:37 +08:00
roytam1
22356686f9 Merge remote-tracking branch 'origin/tracking' into custom 2022-06-13 09:12:00 +08:00
Moonchild
afbfbcb1e1 Issue #1914 - Implement white-space: break-spaces
This also simplifies GetCSSWhitespaceToCompressionMode (FFS with the function
names, Mozilla!) to be less fragile.
2022-06-13 09:10:57 +08:00
roytam1
79792a91ee Merge remote-tracking branch 'origin/tracking' into custom 2022-06-06 08:58:26 +08:00
Brian Smith
d18524ab7e Issue #1905 - Part 2b - Fix crash on startup due to inability to load system font with newer SDKs. Fix based on Mozilla Bug 1672842. 2022-06-06 08:57:19 +08:00
roytam1
e8b114fe4f Merge remote-tracking branch 'origin/tracking' into custom 2022-06-02 10:16:06 +08:00
Moonchild
9fa9622d5b [DOM] Clip image data transfers. 2022-06-02 10:11:38 +08:00
roytam1
2cedfc1adf Merge remote-tracking branch 'origin/tracking' into custom 2022-05-31 10:17:22 +08:00
trav90
f2cfb9997e Issue #457 - Make GLContextSymbols a pure aggregate POD 2022-05-31 09:13:17 +08:00
trav90
c782076add Issue #457 - Remove the constructor from gfxShapedText::CompressedGlyph and make it a trivial class
Also provide a couple of convenience "factory" methods to create simple and complex glyph values.
2022-05-31 09:13:12 +08:00
roytam1
7f068ecce3 Merge remote-tracking branch 'origin/tracking' into custom 2022-05-04 10:14:24 +08:00
Brian Smith
d5c43d1d35 Issue #1829 - Readd code cleanup that is not Mac related that got clobbered by reverting Issue #1751 2022-05-04 10:01:23 +08:00
Brian Smith
13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
roytam1
6de07653b9 Merge remote-tracking branch 'origin/tracking' into custom 2022-04-28 10:45:19 +08:00
Moonchild
8d800b1cb0 Issue #21 - Remove Telemetry plumbing and fix build.
Note this won't give working applications. Requires FE changes and
additional js module changes (next part).
2022-04-28 10:25:48 +08:00
roytam1
059e35a463 Merge remote-tracking branch 'origin/tracking' into custom 2022-04-21 21:59:16 +08:00
Moonchild
d4eac725fd Issue #1877 - Resolve RELEASE_OR_BETA conditionals. 2022-04-21 21:46:47 +08:00
roytam1
96fb72ec56 Merge remote-tracking branch 'origin/tracking' into custom 2022-04-19 22:11:35 +08:00
trav90
908d58ab7b Issue #1804 - Fix building with GCC 11 2022-04-19 22:05:31 +08:00
roytam1
f155978c51 libpixman: enable SSSE3 code in compilation 2022-03-24 21:08:08 +08:00
roytam1
40f0327a83 pixman: restore XP hacks 2022-03-23 01:36:36 +08:00
roytam1
c277d761f3 Merge remote-tracking branch 'origin/tracking' into custom 2022-03-22 23:32:48 +08:00
Moonchild
3bb1c962eb Issue #3039 - Don't try to pass a dash array of > 16 elements to ExtCreatePen.
According to MSDN documentation, the count of the style array passed to
ExtCreatePen is limited to 16. When we call ExtCreatePen with cStyle=17 or more,
it simply returns an error and the cairo surface used for printing is getting
into an error state, after which nothing further gets printed.
Instead of erroring out, this code change returns an unsupported status so that
cairo will provide fallback handling for it.
2022-03-22 22:54:05 +08:00
David Major
dda2b7972a Issue #3039 - Reapply bug 624198 fix that got lost in an upstream update. 2022-03-22 22:53:33 +08:00
Moonchild
35164e2860 Issue #3039 - Increase the MAX_FONT_SIZE limit applied in cairo_ft_font to match the gfxFont size limit.
Also adds synching comments just to be sure.
2022-03-22 22:52:59 +08:00
Moonchild
42fc0af325 Issue #3039 - Add closure point to bounds calculation.
This addition of a closure point (explicitly completing the closed shape) isn't
strictly needed in our current cairo version as it works perfectly fine without,
but if our clipping extents code changes then this might cause problems if the
extra point isn't added (in case of 0-length paths).
2022-03-22 22:52:24 +08:00
Moonchild
517a6b90a3 Issue #3039 - Extend cairo API with an explicit font_get_hint_metrics function.
This extension allows us to get font hint metrics without having to create and
destroy cairo font options structs. Since this is used in loops, this will
improve performance, especially in documents which have many text segments.
2022-03-22 22:51:39 +08:00
Matt A. Tobin
be7e9c26bb Issue #3038 - Update libpixman 2022-03-22 22:46:24 +08:00
roytam1
c0cea40182 Merge remote-tracking branch 'origin/master' into custom 2021-07-15 09:47:07 +08:00
Moonchild
d3f293ec09 [ANGLE] Cherry-pick upstream fix 2021-07-15 09:26:24 +08:00
roytam1
8803266417 Merge remote-tracking branch 'origin/master' into custom 2021-07-02 11:02:20 +08:00
Moonchild
4363b6cac3 Issue #1751 - Remove Mac/ARM C fallback on gcc from pixman 2021-07-02 10:46:07 +08:00
roytam1
20c6498ca1 Merge remote-tracking branch 'origin/master' into custom 2021-06-24 11:13:09 +08:00
Moonchild
ba00d14c12 Issue #1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa' 2021-06-24 11:09:47 +08:00
roytam1
da96236a03 Merge remote-tracking branch 'origin/master' into custom 2021-05-14 00:22:41 +08:00
Moonchild
215e93606d Issue #1751 -- Remove cocoa and uikit gfx and hal support code 2021-05-14 00:21:09 +08:00
roytam1
2c79eebb23 Merge remote-tracking branch 'origin/master' into custom 2021-05-05 10:32:33 +08:00
Moonchild
ccf9e5f54b Issue #1751 -- Remove XP_MACOSX conditionals and support files from /gfx 2021-05-05 10:27:35 +08:00
Moonchild
9aed800398 Issue #1751 -- Remove files unused without XP_DARWIN 2021-05-05 10:27:29 +08:00