summaryrefslogtreecommitdiff
path: root/indra/llrender/llimagegl.cpp
AgeCommit message (Collapse)Author
2024-05-16Merge tag '7.1.7-release'Erik Kundiman
source for viewer 7.1.7.8974243247
2024-04-29#824 Process source files in bulk: replace tabs with spaces, convert CRLF to ↵Andrey Lihatskiy
LF, and trim trailing whitespaces as needed
2024-03-28Merge tag '7.1.4-release'Erik Kundiman
source for viewer 7.1.4.8149792635
2024-03-05SL-17896 Don't crash silently if files are missing or out of memoryAndrey Kleshchev
Under debug LL_ERRS will show a message as well, but release won't show anything and will quit silently so show a notification when applicable.
2023-10-01Merge branch 'DRTVWR-559' of https://github.com/secondlife/viewer into ↵Erik Kundiman
DRTVWR-559
2023-09-28Fix integer overflow when framebuffers are extremely high resolution ↵Rye Mutt
resulting in INT_MAX texture bias (#393)
2023-09-11Preprocess texture compression codeErik Kundiman
2023-09-11Preprocess non portable OpenGL 1.2 codeErik Kundiman
2023-09-10Merge branch 'main' into DRTVWR-559Erik Kundiman
2023-09-06Suffixless GL_LUMINANCE(_ALPHA)Erik Kundiman
for those that don't implement the 8 suffixed ones.
2023-09-06Check for GL_BGRA_EXT before compiling its codeErik Kundiman
2023-09-06Check texture compression implementationsErik Kundiman
before compiling its code.
2023-09-05Preprocess non portable GL funcs & macrosErik Kundiman
so that implementations that don't include a certain GL implementation won't fail trying to compile the code.
2023-08-22Can link to libglvnd, no need to set LEGACY prefErik Kundiman
2023-07-17Merge remote-tracking branch 'origin/main' into DRTVWR-559Brad Linden
2023-04-05SL-19331: Move media updates off-thread on select hardware (#153)cosmic-linden
* SL-19331: Have media updates on the LLImageGL thread even when texture updates are on the main thread. Add config. Off-thread media updates seem work best performance-wise when using glTexImage2D, not sub_image_lines. Otherwise, there are lots of main thread stalls. * SL-19331: Bump featuretable * SL-19331: Cleanup, annotate comment
2023-03-21SL-19434: Fix texture issues with minimap, but keep performance from SL-19331Cosmic Linden
2023-03-21Revert "SL-19434 Temporary fix for minimap breakage."Cosmic Linden
This reverts commit 084ef5173fb79644ce2fd3e640c241a05529db70.
2023-03-21SL-19266 Potential Use-After-Free in LLImageGL::setImageAlexander Gavriliuk
2023-03-21SL-19434 Temporary fix for minimap breakage.Dave Parks
2023-03-13SL-19331: Improve performance of setSubImage (ex: media updates)Cosmic Linden
2023-03-10SL-19389: Fix textures not being optimally queued after the fix in SL-19338Cosmic Linden
In the future, some uses of glTexSubImage2D should be better vetted, ex: media prims
2023-03-08SL-19338: Don't use glTexSubImage2D on compressed texturesCosmic Linden
2023-03-08Revert "SL-19338: (WIP) Test disabling new use of glTexSubImage2D and see if ↵Cosmic Linden
the bug still repros" This reverts commit 6c486e485372a6f79e632839a7217c5208a09d0c.
2023-03-08SL-19338: (WIP) Test disabling new use of glTexSubImage2D and see if the bug ↵Cosmic Linden
still repros
2023-02-25Hammering on more mac optimizations.Jonathan "Geenz" Goodman
SL-18563
2023-01-19Fix for SL-19010 mac crash in LLManipTranslartge::restoreGL().Brad Linden
Attempt to simplify and avoid use of GL_UNSIGNED_INT_8_8_8_8_REV where not needed
2023-01-19SL-18869 Followup -- leverage "small commands" and time slicing to get rid ↵Dave Parks
of frame stalls on main thread without the need for multithreaded GL
2022-12-09SL-18809: Add WorkSchedule; remove timestamps from WorkQueue.Nat Goodspeed
For work queues that don't need timestamped tasks, eliminate the overhead of a priority queue ordered by timestamp. Timestamped task support moves to WorkSchedule. WorkQueue is a simpler queue that just waits for work. Both WorkQueue and WorkSchedule can be accessed via new WorkQueueBase API. Of course the WorkQueueBase API doesn't deal with timestamps, but a WorkSchedule can be accessed directly to post timestamped tasks and then handled normally (e.g. by ThreadPool) to run them. Most ThreadPool functionality migrates to new ThreadPoolBase class, with template subclass ThreadPoolUsing<WorkQueue> or ThreadPoolUsing<WorkSchedule> depending on need. ThreadPool is now an alias for ThreadPoolUsing<WorkQueue>. Importantly, ThreadPoolUsing::getQueue() delivers a reference to the specific queue subclass type, so you can post timestamped tasks on a queue retrieved from ThreadPoolUsing<WorkSchedule>::getQueue(). Since ThreadPool is no longer a simple class but an alias for a particular template specialization, introduce threadpool_fwd.h to forward-declare it. Recast workqueue_test.cpp to exercise WorkSchedule, since some of the tests are time-based. A future todo would be to exercise each applicable test with both WorkQueue and WorkSchedule.
2022-10-21Merge branch 'master' (DRTVWR-548) into DRTVWR-559Andrey Kleshchev
# Conflicts: # indra/llrender/llgl.cpp # indra/llrender/llrendertarget.cpp # indra/newview/VIEWER_VERSION.txt # indra/newview/app_settings/shaders/class1/deferred/materialF.glsl # indra/newview/llfloaterpreference.cpp # indra/newview/llviewercontrol.cpp # indra/newview/llviewermenu.cpp # indra/newview/llviewertexturelist.cpp # indra/newview/llvovolume.cpp
2022-09-16Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into ↵Dave Parks
DRTVWR-559
2022-09-16SL-18128 Clear out much OpenGL cruft and switch to core profile on AMDDave Parks
2022-09-16Merge branch master (DRTVWR-571) into DRTVWR-559Andrey Kleshchev
# Conflicts: # indra/newview/llpanelface.cpp # indra/newview/llpanelface.h
2022-09-15Merge branch 'master' into DRTVWR-548-maint-NAndrey Lihatskiy
# Conflicts: # indra/newview/llmodelpreview.h
2022-09-01SL-17967 - Git rid of ARB that is in coreHoward Stearns
2022-08-30Merge remote-tracking branch 'remotes/origin/DRTVWR-563' into DRTVWR-559Dave Parks
2022-08-26SL-17997 Follow up from beta breakers results.Dave Parks
2022-07-06SL-17732 std_bad_alloc at setManualImageAndrey Kleshchev
2022-06-09SL-17483: Merge branch 'track-threadpools' into sl-17483.Nat Goodspeed
This picks up ThreadPoolSizes override logic embedded in ThreadPool's constructor, plus the new static ThreadPool::getConfiguredWidth() and getWidth() methods.
2022-06-09SL-17483: Simplify ThreadPool instantiations.Nat Goodspeed
Now that LL::ThreadPool's constructor has subsumed the work of discovering a runtime override width, LLAppViewer::initGeneralThread() can simply pass the compile-time default width instead of redundantly checking ThreadPoolSizes. Also the default ThreadPool capacity has been bumped up to what "General" and "LLImageGL" were requesting, so they need not pass that explicitly or explain in comments why they're doing it. But until we start throwing work at the "General" ThreadPool, configure it down to 1 thread in settings.xml.
2022-06-01SL-17485 Add texture memory accounting for OS XDave Parks
2022-05-26SL-17473 Viewer not clearing all Vertex Buffers in some casesAndrey Kleshchev
Image thread doesn't need mBuffer and buffer isn't thread safe so no point allocating it in an image thread.
2022-05-20SL-17287 Instrument and optimize cubemap render. Fix for cubemap snapshots ↵Dave Parks
doing a full resolution render instead of a 512x512 render.
2022-05-16SL-17284 Reflection probe tuning and optimization take 1Dave Parks
2022-04-15SL-17219 WIP - Texture pipeline overhaulDave Parks
2022-03-29SL-17005 WIP - Use D3D/DXGI to query for available VRAM on WindowsDave Parks
2022-03-11SL-17005 WIP Simplify what feeds texture loading bias to only pay attention ↵Dave Parks
to available memory according to OS and GL driver, not (broken) internal accounting (breaks intel GPUs, compatibility pass incoming).
2022-03-04SL-16928 Fix for broken bumpmaps on Intel GPUsDave Parks
2022-02-23Fix for mac buildDave Parks
2022-02-23Fix for some GPUs thinking they have 0 available vram.Dave Parks