render/blur: Cache native texture type

This commit is contained in:
Victoria Brekenfeld 2026-06-11 13:18:41 +02:00 • committed by Victoria Brekenfeld
parent c92b91221c
commit f6cb4519a0
11 changed files with 74 additions and 61 deletions

View file

@ -1137,7 +1137,7 @@ where
impl<R> Element for CosmicMappedRenderElement<R>
where
R: AsGlowRenderer,
R::TextureId: 'static,
R::TextureId: Send + 'static,
{
fn id(&self) -> &smithay::backend::renderer::element::Id {
match self {
@ -1358,7 +1358,7 @@ where
impl<R> RenderElement<R> for CosmicMappedRenderElement<R>
where
R: AsGlowRenderer,
R::TextureId: 'static,
R::TextureId: Send + 'static,
{
fn draw(
&self,