Commit Graph
12 Commits
Author SHA1 Message Date
NotAlexNoyleandClaude Opus 5.5 bb1e9f023a flash: the review's findings on the frame path (T-576)
An answer to a frame sent before Destroy no longer posts a draw on a dead instance. JihadShow takes no wrap of the
shared surface when a copy fails: it answers at once and the child draws there again, so the frame is dropped. The
lane's source is this frame's copy or nothing. The floor between draws is per instance, the pump's count of posted
draws counts. The proof takes an effect as one item with its own bounds (a transformed overlay's children are in
their own coordinates) and returns where the plugin is now; jihad_offscreen_popups_open: a popup is a display root of
its own. The plugin stays silent only as the one instance on its page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 12:23:14 -05:00
NotAlexNoyleandClaude Opus 5.5 2f1a398268 flash: a plugin frame without the wait, and a way straight to the card (T-576)
Bloxorz (36 fps) ran at 12 frames a second on the GPU path, against the stock browser's 28.6. Timed per frame:
Flash's own work 27 ms, its draw 2 ms, the synchronous Show 14-17 ms, nearly all of it waiting for the daemon's
main thread; and four copies on the parent's side.

- JihadShow/JihadShowDone: Show without the wait. Two surfaces take turns, so at most two frames are in flight
  and a draw due with two out waits for the answer without blocking the player.
- The glib pump is the player's clock and its delay started when a frame's work ended: 16 ms after 20 ms of work
  capped a movie at 27 frames a second. 4 ms while a movie plays, and it stops at a posted draw, or the player ran
  its next frame with this one never drawn.
- An opaque source keeps an opaque format: as B8G8R8A8 with its alpha forced the frame was blended over a white fill.
- A floor of 28 ms between draws. Bubble Tanks at 55 fps had each frame drawn and copied 50 times a second, and the
  card fell to 24 where the stock browser holds 32.
- jihad_plugin_lane_copy, _proof, _set: the frame for the daemon's plugin lane, the display-list proof that nothing
  lies over the plugin, and the plugin's marks off while the lane is open, so that the compositor's count of
  requests means the page changed. jihad_offscreen_compositor_animating says an animation wants frames.

The timers of a frame's parts are in the 2 s readouts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 11:43:25 -05:00
athenian200 b787af5702 Issue #1638 - Part 1: Put NPAPI code behind MOZ_ENABLE_NPAPI.
Adds --disable-npapi as an additional build option. The default is still to build in NPAPI compatibility, but with this flag, it's finally possible to build without pulling in GTK2 on systems that don't have the package.

This essentially ifdefs everything associated with NPAPI, following various Mozilla removal bugs.

Ref: BZ 1682030, BZ 1251202, BZ 1217665, BZ 1687239
2024-01-10 04:03:35 -06:00
Moonchild 5eab50c9f9 Issue #1656 - Remove more vim control lines.
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from embedding, extensions, gfx, hal, ipc, layout, mailnews,
media and memory. More to come.
2023-05-04 22:06:35 +02:00
Brian Smith e764f258e2 Issue #1829 - Revert "Issue #1751 -- Remove XP_MACOSX conditionals from /layout"
This reverts commit aa0fd3d68c.
2022-04-26 10:21:29 -05:00
Moonchild aa0fd3d68c Issue #1751 -- Remove XP_MACOSX conditionals from /layout 2021-05-03 12:26:37 +00:00
Moonchild 515c1193c5 Issue #1053 - Remove mobile-specific graphics "optimizations" (=compromises) 2021-03-10 18:58:26 +00:00
Moonchild ae2a160348 Issue #1053 - Part 2a: Remove android from /layout (partial)
This removes android code from base, build, forms, generic, inspector, style,
printing, tools and xul.
2020-12-26 10:16:55 +00:00
win7-7 f102e7f80d Issue #1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList
Also fix build bustage for De-unified layout/xul in nsRootBoxFrame.cpp
2020-05-08 15:20:01 +03:00
wolfbeast 793da7dd62 Revert "Issue #1355 - Better way to create display items for column backgrounds"
This reverts commit 44c47c5038.
2020-02-26 20:51:22 +01:00
win7-7 44c47c5038 Issue #1355 - Better way to create display items for column backgrounds
Part 1: Remove current table item, as it's never set.

Part 2: Get rid of generic table painting code, and handle each class separately.

Part 4: Hoist outline skipping into col(group) frame code.

Part 5: Skip box-shadow for table column and column groups.

Part 6: Store column and column group backgrounds separately, and then append them before the rest of the table contents.

Part 7: Pass rects in display list coordinates to AppendBackgroundItemsToTop.

Part 8: Create column and column group background display items as part of the cell's BuildDisplayList.

Part 9: Used cached values instead of calling nsDisplayListBuilder::ToReferenceFrame when possible, since it can be expensive when the requested frame isn't the builder's current frame.

Part 10: Make sure we build display items for table parts where only the normal position is visible, since we may need to create background items for ancestors at that position.

Part 11: Create an AutoBuildingDisplayList when we create background items for table columns and column groups, so that we initialize the invalidation state correctly.
2020-02-25 00:17:54 +02:00
Matt A. Tobin 5f8de423f1 Add m-esr52 at 52.6.0 2018-02-02 04:16:08 -05:00