drawing_gl 0.8.0

OpenGL backend for 2D graphics library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::{GlContext, GlTexture};

use super::Primitive;

#[derive(Clone)]
pub struct DisplayList {
    pub(crate) display_list: Vec<Primitive<GlTexture, crate::Fonts<GlContext>>>,
}

impl DisplayList {
    pub(crate) fn new() -> Self {
        DisplayList {
            display_list: Vec::new(),
        }
    }
}

impl drawing_api::DisplayList for DisplayList {}