Skip to content

ImageBuffer: sync view on image copy #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

lonemadmax
Copy link

Brings back the gradient for not-hovered items in the menu bar in https://dev.haiku-os.org/.

Bisecting pointed to 5726cb7, where copyImage is devirtualized and calls copyNativeImage, so we lost our Sync. I don't know whether that is needed for both doCopy cases (putting it in the DontCopyBackingStore route seems to be enough) and why it wasn't needed before there.

@pulkomandy pulkomandy merged commit f0f77ce into haiku:haiku Nov 28, 2022
pulkomandy pushed a commit that referenced this pull request Apr 12, 2025
…rtions

https://bugs.webkit.org/show_bug.cgi?id=291090
rdar://148601073

Reviewed by Yusuke Suzuki.

This patch enhances loop unrolling debugging by adding support for tracking
the original source block (cloneSource) for each cloned basic block in DFGBasicBlock.
The cloneSource pointer is enabled only under ASSERT_ENABLED to avoid runtime
overhead in release builds.

Additionally, Graph::dumpBlockHeader() now prints the clone source block if
available, improving traceability during debugging and validation of loop
unrolling logic.

After loop unrolling, we might see output like the following, where block 17
is a clone of block 9:

    9 24:   Block #9 (bc#52):
 0  9 24:   D@62:<!0:->	    LoopHint(MustGen, W:SideState, bc#52, ExitValid)
            ...

   17 24:   Block #17<-#9 (bc#52):
 0 17 24:   D@256:<!0:->	LoopHint(MustGen, W:SideState, bc#52, ExitValid)
            ...

* Source/JavaScriptCore/dfg/DFGBasicBlock.h:
* Source/JavaScriptCore/dfg/DFGGraph.cpp:
(JSC::DFG::Graph::dumpBlockHeader):
* Source/JavaScriptCore/dfg/DFGLoopUnrollingPhase.cpp:
(JSC::DFG::LoopUnrollingPhase::unrollLoop):

Canonical link: https://commits.webkit.org/293265@main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants