Comments (16)
Yes, LIBGL_NPOT=2 expose a function that is not completly supported for now. LIBGL_NPOT=1 is 100% emulated, but not 2 for now. I may work on that, but real support as not been mandatory for anything yet.
from gl4es.
I see, Expose limited NPOT extension
sounded as if it might be too limited so I never tried that. My bad! :)
from gl4es.
Limited NPOT is : can use texture not NPOT, but cannot use Repeat or Mirror on NPOT, and no Mipmap neither.
basicaly what glshim does is can use NPOT texture (by creating a bigger NPOT texture), and so no Repeat or Mirror. Mipmap is supported but can lead to some artifact on the border (as you have already seen). That effect can probably be mitigated for textures with an alpha channel if I upload an empty texture first.
Full NPOT can do whatever they wants. Emulating that on non-NPOT hardware would mean resizing a non-NPOT texture to NPOT, meaning a lot of computational power at each upload, plus some artefact du to the resizing (espcially on SubImage manipulations).
from gl4es.
I'll close this ticket.
from gl4es.
Talking of glitches, just remembered this unrelated mouse pointer problem in TOME:
LIBGL_NOLUMALPHA
makes no difference and capturing the screen normally shows just the regular X-window mouse pointer.
from gl4es.
did you retry with latest changes (with added Pixmap, PBuffer and multiple glX Context, it may have just solved the issue) ?
I never compile ToME, and didn't look at the code, so no idea how the mouse cursor is built.
from gl4es.
On Tue, 01 Nov 2016 15:25:14 -0700
ptitSeb [email protected] wrote:
did you retry with latest changes (with added Pixmap, PBuffer and multiple glX Context, it may have just solved the issue) ?
I was using the latest glshim master and it's still there. Any special options to try?
from gl4es.
Ah no. I need to look in the code to see how that cursor is built.
from gl4es.
On Tue, 01 Nov 2016 15:55:25 -0700
ptitSeb [email protected] wrote:
Ah no. I need to look in the code to see how that cursor is built.
Thanks!
from gl4es.
@petevine : it turned out it's not a glshim issue, but an SDL2 one. Check my github repo of SDL2, there is push about this: ptitSeb/SDL2@604d108
from gl4es.
Nice find! However, and I hope I'm not misremembering things, the white silhouette wasn't present on real hardware. Could the fix be incomplete?
from gl4es.
white silouette is there depending on the theme.
But if you want, you can change the if(alpha==0)
by a if(alpha<25)
to have something probably better (there are 2 way of putting cursor in X11 in SDL2, and the "legacy" way use something similar).
from gl4es.
Yes, it's much better that way but it still looks artifactishly wide. The white background is not visible on x86/OpenGL 1.5, just a thin blue outline. I fired up my old Athlon box to take this picture :)
from gl4es.
Not much can be done here. It's X11 functions, and it seems they behave differently for machine to machine.
Play with the alpha stuff, put alpha<125 to remove moste of the semi-transparent stuff, or even up to <255 to just discard everything not solid color (but that will probably remove the blue aura too)
from gl4es.
For the record, here is the original PNG image (for the dark theme)
from gl4es.
And here the image for default theme.
from gl4es.
Related Issues (20)
- string_utils while loop has empty body HOT 1
- starfive visionfive2 support? HOT 8
- How to properly profile gl4es ? HOT 2
- EXT_color_buffer_float question HOT 2
- Building arbgenerator.c hangs at eating 100% CPU HOT 2
- glxgears wrong size and strange incorrect colors HOT 4
- //TODO: Add GL_COPY_READ_BUFFER and GL_COPY_WRITE_BUFFER HOT 3
- Seemingly broken triangle rendering
- nanovg example_gl2 errors
- Question about skips.h and #define guards HOT 2
- X11 WSI support for android targets? HOT 4
- EGL_BAD_DISPLAY error on Mali G52 driver blob (GKD Mini Plus) HOT 9
- Raylib clashes HOT 9
- When will gles3.0 be supported? HOT 1
- [Question]: About the LOAD_GL* macros HOT 20
- [Question]: NEON Intrisics HOT 6
- `LIBGL_ES=1` breaks rendering of MC 1.7.10 HOT 2
- [Question] how to use gl4es using box64 and wine?
- Amigaos4 slowdown possibly with displaylists HOT 4
- Commit c8cf6cb31aa12700e7cf30261159436653de8103 causes DSI error on AmigaOS4 HOT 8
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 gl4es.