forked from BillyDM/egui-baseview
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use baseview's built-in opengl context
- Loading branch information
Billy Messenger
authored and
Billy Messenger
committed
Sep 22, 2022
1 parent
4aaaa2e
commit 679b8cd
Showing
9 changed files
with
73 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[package] | ||
name = "egui-baseview" | ||
version = "0.0.0" | ||
version = "0.1.0" | ||
authors = ["Billy Messenger <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
description = "A baseview backend for egui" | ||
license = "MIT" | ||
repository = "https://github.com/BillyDM/egui-baseview" | ||
|
@@ -15,12 +15,11 @@ readme = "README.md" | |
|
||
[features] | ||
default = ["opengl"] | ||
opengl = ["raw-gl-context", "egui_glow"] | ||
opengl = ["egui_glow", "baseview/opengl"] | ||
|
||
[dependencies] | ||
egui = "0.19" | ||
egui_glow = { version = "0.19", optional = true } | ||
raw-gl-context = { version = "0.1", optional = true } | ||
keyboard-types = { version = "0.6.1", default-features = false } | ||
baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "b3712638bacb3fdf2883cb5aa3f6caed0e91ac8c" } | ||
raw-window-handle = "0.4.2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
mod renderer; | ||
mod settings; | ||
mod window; | ||
|
||
pub use renderer::RenderSettings; | ||
pub use settings::Settings; | ||
pub use window::{EguiWindow, Queue}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#[cfg(feature = "opengl")] | ||
mod opengl_renderer; | ||
#[cfg(feature = "opengl")] | ||
pub use opengl_renderer::RenderSettings; | ||
#[cfg(feature = "opengl")] | ||
pub(crate) use opengl_renderer::Renderer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters