Comments (3)
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.
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.
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)
- QPlatformTheme::Palette HOT 1
- Visual Studio Simple Example Runtime Error
- QskMenu needs current and selected states
- QPlatformTheme::DialogType
- QColor vs. QskColor
- memory corruption in QskBoxRenderer HOT 2
- Configurable scale factors for font and metrics
- Material3 Slider
- Material3 Progress Indicator
- Fontroles and lineHeights
- USER properties
- QskSpinBox Buttons for Material3
- File too big error qt6.6.1 mingw64 HOT 6
- QskTextInput for Material3
- WebAssembly Support HOT 8
- QskDialog with callbacks
- QskGraphic + ViewBox HOT 1
- qmake HOT 2
- Hope it can be added as a vcpkg port HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qskinny.