mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
screenshot-ui: Pre-compute PrimaryGpuTexture
This commit is contained in:
@@ -8,7 +8,7 @@ use super::texture::TextureRenderElement;
|
||||
use crate::backend::tty::{TtyFrame, TtyRenderer, TtyRendererError};
|
||||
|
||||
/// Wrapper for a texture from the primary GPU for rendering with the primary GPU.
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct PrimaryGpuTextureRenderElement(pub TextureRenderElement<GlesTexture>);
|
||||
|
||||
impl Element for PrimaryGpuTextureRenderElement {
|
||||
|
||||
Reference in New Issue
Block a user