Giter Club home page Giter Club logo

Comments (7)

ProhtMeyhet avatar ProhtMeyhet commented on May 3, 2024

oh, and i've just successfully compiled and ran ephoto against this install of efl, so this efl works.

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

Out of curiosity does it work correctly if you run "go run -tags gl ."?
I ask merely because the EFL driver has caused many problems and there is an alternative OpenGL one nearly ready...

from fyne.

ProhtMeyhet avatar ProhtMeyhet commented on May 3, 2024

Out of curiosity does it work correctly if you run "go run -tags gl ."?
I ask merely because the EFL driver has caused many problems and there is an alternative OpenGL one nearly ready...

yep, that works. it seems to run something like xrandr though, because starting through it makes my main screen flicker.

is the "EFL Driver" a software driver like the setting in Enlightenment under Compositor?

from fyne.

ProhtMeyhet avatar ProhtMeyhet commented on May 3, 2024

ah and the tag building for whatever reason doesn't pull all requirements. have to fix manually so leaving it here...

go get github.com/go-gl/gl/v3.2-core/gl
go get github.com/go-gl/glfw/v3.2/glfw
go get github.com/golang/freetype
go get github.com/srwiley/oksvg
go get github.com/srwiley/rasterx

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

Thanks for that. Is the flicker in app start or continually whilst it is running?

Yes the “efl” driver is “software” mode - our new driver will, after we do a bunch of optimisation, should be properly accelerated (but It does require OpenGL support).

from fyne.

ProhtMeyhet avatar ProhtMeyhet commented on May 3, 2024

Is the flicker in app start or continually whilst it is running?

no it's just once at the start. thats why i mentioned xrandr, because it is the same with xrandr. as far as i remember, xrandr at the start "grabs" the X Server which does some internal resetting. it looks like somewhere your gl code does something similar.

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

The OpenGL driver is now the default, so if you update your fyne library the application should work as expected.

I'd be grateful if you could report if the flicker is better or worse, there has been much development of the window sizing code.

from fyne.

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.