Age | Commit message (Collapse) | Author |
|
|
|
|
|
This change removes the distance based bias (which is a large contributor to premature blurring) but adds a check using the importance factor to give some balance.
importance should be between 0 and 1 and is higher when the texture is facing the camera, lower when it is side on,
The unimportance setting defines the cutoff vaklue below which we'll consider the textures worth "down scaling" by the bias factor. The setting is inplace to allow us to play with this, 0.25 is current default.
Note this change moves the calcPixelArea() call to the top BEFORE we user getPixelArea(). Either that call is entirely redundant (i.e. if calc was called earlier in the frame) or we were using the stale pixelArea (one frame behind). If the former is true then it might be faster to just do an AABB frustum check.
|
|
ctrls aren't dynamically alocated so getChild is preferable, but since other elements use findchild and validy checks used findChild as well
|
|
|
|
Reduce string temporaries in LLUI part 2
|
|
|
|
LLKeywords using string_view
|
|
|
|
|
|
|
|
|
|
|
|
convert controlExists to string_view
|
|
|
|
|
|
secondlife/viewer#1847: Fix negative UV scale inverting normal texture lighting for PBR materials and PBR terrain
|
|
Fix for various TP where a mirror is present
|
|
materials and PBR terrain
|
|
|
|
|
|
|
|
|
|
|
|
these manifest as crashes in isDynamic, isBox and similar calls that are accessed through a dangling probe.
|
|
C++20 support anyway
|
|
|
|
|
|
|
|
|
|
|
|
I couldn't make it to work with gstreamer even though everything was in
place. It was already working anyway with LibVLC, and, Windows & macOS
use it too, so it's actually the more cross-platform solution.
|
|
From https://wiki.libsdl.org/SDL2/MigrationGuide
"So now that your window is back on the screen, let's talk strategy.
SDL2 still has SDL_Surface, but what you want, if possible, is the new
SDL_Texture. Surfaces are always in system RAM now, and are always
operated on by the CPU, so we want to get away from there. SDL2 has a
new rendering API. It's meant for use by simple 2D games, but most
notably, it's meant to get all that software rendering into video RAM
and onto the GPU. And even if you just want to use it to get your
software renderer's work to the screen, it brings some very nice
benefits: if possible, it will use OpenGL or Direct3D behind the scenes,
which means you'll get faster blits, a working Steam Overlay, and
scaling for free."
|
|
In viewer manifest the 10 suffix is removed, with CPack it might
as well be named without the suffix. I haven't been able to get
streaming working on FBSD, though. Maybe I need to install something.
|
|
|
|
|
|
FindPkgConfig does the work.
|
|
This reverts commit e7ad9b00ce677fc38f0dec809dc160e7bb307dd2.
|
|
that GCC did't like. Adding a compile flag to the file didn't help
somehow. So we're just initialising it with float 0.0.
|
|
More transparency
|
|
Less ugly alternative
|
|
add pirate theme!
|
|
Make outline slightly less transparent
|
|
|
|
The vertex buffer will use the original mapping for non Apple GPUs and the new optimized mapping for Apple GPUs.
It needs the Apple gpu detection in the gl manager
|
|
This improves the realiability of the fps limiter
|
|
This commit adds a mIsApple member to the gl manager and refines the buffers optimisations for Apple GPU in llvertexbuffer.cpp
|
|
|
|
After the Maintenance B merge, ironically it was Fedora's web
functionality that worked out of the box (after only
`patchelf --remove-rpath`-ing the dullahan_host binary from LL's
v1.14.0-r2 release, since rpmbuild wouldn't allow non-existent paths).
On Debian/Ubuntu somehow it wasn't working any more. It would complain
about "No usable sandbox!" in (the new, replacing cef_log.txt) cef.log.
The fix was done just by removing the chrome-sandbox' setuid permission
(that's been turned on all this time following the common practice for
CEF-based apps). On Fedora, it still works without setuid off.
It may not have been needed after all, and it's safer anyway that we
don't need to elevate the permission to use the effective UID of root to
run the sandbox.
|
|
|