Giter Site home page Giter Site logo

image transformation bug about blend2d HOT 12 CLOSED

blend2d avatar blend2d commented on May 23, 2024
image transformation bug

from blend2d.

Comments (12)

kobalicek avatar kobalicek commented on May 23, 2024

I'm not able to help without seeing the resulting image.

from blend2d.

randomguy76845 avatar randomguy76845 commented on May 23, 2024

This is from getting-started-4.

bl-getting-started-4

Windows 7
Visual Studio 2017
Default configurations from blend2d-beta-all.zip

from blend2d.

yzrmn avatar yzrmn commented on May 23, 2024

I cannot reproduce it with master or website download (Windows 10 and Visual Studio 2019).

@randomguy76845 What CPU are you using? Is your dev environment inside a VM?

from blend2d.

randomguy76845 avatar randomguy76845 commented on May 23, 2024

I've tried Visual Studio 2019, still same result.
I replaced my cairo backend for GUI subsystem with blend2d and everything else works except image transformation.
If everyone else have no problem, that means something is wrong with my environment.
No VM, this is Intel i5 processor.

from blend2d.

kobalicek avatar kobalicek commented on May 23, 2024

I will try to make this easier to report such bugs. It still can be Blend2D issue. I would recommend for now using the git version (instead of the package) - I will upload a new package for downloads soon.

from blend2d.

kobalicek avatar kobalicek commented on May 23, 2024

I did some digging and now I found the issue:

  • machine that has SSE4.1 but no AVX - problem in PipeCompiler::vblendv8_()

I'm not sure whether this is in AsmJit or Blend2D, but I will fix it.

from blend2d.

randomguy76845 avatar randomguy76845 commented on May 23, 2024

I just found out that my CPU is Clarkdale. It's before Sandy Bridge, that means no AVX. I forgot how old my computer is.

from blend2d.

kobalicek avatar kobalicek commented on May 23, 2024

It's okay, Blend2D baseline optimization level is SSE2 (you need at least SSE2 capable CPU on x86 arch).

from blend2d.

kobalicek avatar kobalicek commented on May 23, 2024

This commit fixes the issue: asmjit/asmjit@872b23b

from blend2d.

kobalicek avatar kobalicek commented on May 23, 2024

I will make a new source release today with the fix, for now you can just pull the git sources.

from blend2d.

randomguy76845 avatar randomguy76845 commented on May 23, 2024

okay it works on getting-started-4. Adding some scaling operation also works. Need sometime to test my GUI.

from blend2d.

randomguy76845 avatar randomguy76845 commented on May 23, 2024

Found some bugs. I think it's better i start another issues since this one already solved.

from blend2d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.