render/blur: Cache native texture type
This commit is contained in:
parent
c92b91221c
commit
f6cb4519a0
11 changed files with 74 additions and 61 deletions
|
|
@ -1275,7 +1275,7 @@ impl<R: AsGlowRenderer + ImportAll + ImportMem> From<SurfaceRenderElement<R>>
|
|||
impl<R> Element for CosmicWindowRenderElement<R>
|
||||
where
|
||||
R: Renderer + ImportAll + ImportMem + AsGlowRenderer,
|
||||
R::TextureId: 'static,
|
||||
R::TextureId: Send + 'static,
|
||||
{
|
||||
fn id(&self) -> &RendererId {
|
||||
match self {
|
||||
|
|
@ -1384,7 +1384,7 @@ where
|
|||
impl<R> RenderElement<R> for CosmicWindowRenderElement<R>
|
||||
where
|
||||
R: AsGlowRenderer,
|
||||
R::TextureId: 'static,
|
||||
R::TextureId: Send + 'static,
|
||||
{
|
||||
fn draw(
|
||||
&self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue