Coder Social home page Coder Social logo

Comments (3)

peter-ha avatar peter-ha commented on July 17, 2024

Regarding the 2nd issue from above:

The reason why the IOT dashboard is displaying the icons correctly and the gallery doesn't is because in the IOT dashboard we draw our textures with the raster mode (QskSetup::setUpdateFlag( QskItem::PreferRasterForTextures, true );.

I am not sure if we want to detect the Wasm platform and default to raster or so, or if there is a better solution...

from qskinny.

uwerat avatar uwerat commented on July 17, 2024

Using the raster mode as default makes sense - at least for small icons. The quality of the antialiasing is better and filling the pixels isn't much more expensive than the tesselation. IIRC my performance tests ( should be in the history of the git repository ) with loading tons of small icons showed the raster path being slightly faster ( Qt 5.4 at that time ).

However using the raster paint engine seems to be a workaround for a general problem that might have to do with the availability of FBOs. Maybe we have to do some additional checks: https://doc.qt.io/qt-6/qopenglfunctions.html#openGLFeatures ?

from qskinny.

peter-ha avatar peter-ha commented on July 17, 2024

These are the OpenGL functions that are available on desktop and not on Wasm; to me it doesn't look like we are using those, but maybe I just don't know the code well enough:

QOpenGLFunctions::NPOTTextures
QOpenGLFunctions::NPOTTextureRepeat
QOpenGLFunctions::FixedFunctionPipeline
QOpenGLFunctions::TextureRGFormats
QOpenGLFunctions::MultipleRenderTargets
QOpenGLFunctions::BlendEquationAdvanced

from qskinny.

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.