| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
| |
missed creating vertex array objects in 04124988e8b4a9cdfc5995388ebfaad0005b4b31
add it.
|
| |
|
| |
Allows plugins to create and use shaders again
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* opengl: remove unnecessery glflush calls
glflushing forces the driver to break batching and issue commands
prematurely and prevents optimisations like command reordering and
merging.
many glFunctions already internally glflushes and eglsync creation still
has a glflush at end render. so lets reduce the overhead of these calls.
* opengl: reduce glUseProgram calls
apitrace shows cases where the same program gets called multiple times,
add a helper function that keeps track of current program and only call
it once on same program. reduces slight overhead.
* opengl: use more efficient vertex array object
use a more modern vertex array object approach with the shaders, makes
it a onetime setup on shader creation instead of once per drawcall, also
should make the driver not have to revalidate the vertex format on each
call.
|
| |
|
|
| |
ref #10348
|
| | |
|
| | |
|
| |
|
|
| |
fixes issues with transparent windows on 10b
|
| | |
|
| | |
|
| |
|
|
| |
precompute it once instead of calculating it every single call, was showing
up as a lot of time wasted in profiling.
|
| |
|
|
|
| |
* render: refactor class member vars
* render: fix clang format
|
| |
|
|
|
| |
* protocols: refactor class member vars (u-z)
* protocols: fix clang format
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* cleanup eglSync
* properly release buffers in renderer
* add renderingDoneCallback and use it in screencopy
* use static constructor for CEGLSync
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
fixes #10175
|
| | |
|
| | |
|
| |
|
|
|
| |
* layers: refactor class member vars
* popups: rename m_WLSurface to m_wlSurface
|
| |
|
|
| |
gap) (#9617)
|
| | |
|
| | |
|
| |
|
|
|
| |
* Refactor config classes vars
* Fix clang format errors
|
| |
|
|
|
| |
* ctm: enable fade animation on nvidia driver versions 575 and above
* format if statement without braces; handle potential throw when checking for nvidia version file
|
| |
|
|
|
| |
* render, helpers: Call OpenGL destroyMonitorResources on disconnect
* helpers: Add opengl null check
|
| | |
|
| | |
|
| | |
|
| |
|
| |
This reverts commit 0a7e2cb152a11db35aa134fad0919bc939f16bae.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* make CHLBufferReference not a SP anymore
* copy over release and acquire points in CHLBufferReference
* use CHLBufferReference in screencopy and toplevel export
TODO: use CHLBufferReference in direct scanout properly
the only problem is the scanout buffer release timing,
specifically the onBackendRelease mechanism
* cleanup SSurfaceState and surface pending commit tracking
* move surface code from DRMSyncobj, and move acquire to SSurfaceState
* use queue for comitted pending surface states like proto says
"The content update is placed in a queue until it becomes active." - wl_surface::commit
* drop, not release, prev buffer if 2nd buffer wl_surface.attach is sent
"A wl_buffer that has been attached and then replaced by another attach instead of committed will not receive a release event, and is not used by the compositor." - wl_surface::attach
|
| |
|
|
|
| |
* Groupbar: add keep_upper_gap setting to apply/remove outer gap offset to the upper side of groupbar
* Groupbar: add text_offset setting to adjust text vertical position in a group header
|
| |
|
|
|
|
| |
fixes #9717
closes #9796
|
| |
|
|
| |
restore the pointer check to avoid null ptr dereference on compositor
destruction.
|
| |
|
|
|
| |
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* opengl: check if g_pHyprOpengl exist
on compositor destruction we can hit a race where a CEGLSync destructs
and tries to call eglDestroySyncKHR on a null g_pHyprOpengl.
/src/render/OpenGL.cpp:3019:32: runtime error: member access within null pointer of type 'struct CHyprOpenGLImpl'
#0 0x555565eed979 in CEGLSync::~CEGLSync() /src/render/OpenGL.cpp:3019
#1 0x555565f6271e in std::default_delete<CEGLSync>::operator()(CEGLSync*)
const /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/unique_ptr.h:93
* xdgshell: dont apply state on empty states
setsize can be called before a state has been added to pending,
resulting in calling ApplyState with a empty state.
/src/protocols/XDGShell.cpp:323:11: runtime error: null pointer passed as argument 2, which is declared to never be null
#0 0x5555659bf67e in CXDGToplevelResource::applyState() /src/protocols/XDGShell.cpp:323
#1 0x5555659bcedc in CXDGToplevelResource::setSize(Hyprutils::Math::Vector2D const&) /src/protocols/XDGShell.cpp: 256
#2 0x555563eed0ef in Events::listener_commitWindow(void*, void*) /src/events/Windows.cpp:841
|
| |
|
|
|
|
| |
also disable the error for the cm shader
fixes #9738
|
| |
|
|
| |
ref #9730 ref #9709
|
| | |
|
| |
|
|
|
| |
remove unused timeline and waitpoint in texpass and especially remove
the passing it to renderTextureInternalWithDamage that implicitly
converted it to bool. setting discardActive and allowCustomUV
|