Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Abstract out graphics library calls #2

Open
PatchMixolydic opened this issue Jan 5, 2019 · 0 comments
Open

Abstract out graphics library calls #2

PatchMixolydic opened this issue Jan 5, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@PatchMixolydic
Copy link
Owner

Right now, there are bare GL calls in AppBase. It's fine for a prototype, but it's worth abstracting out for portability.

@PatchMixolydic PatchMixolydic added the enhancement New feature or request label Jan 5, 2019
@PatchMixolydic PatchMixolydic self-assigned this Jan 5, 2019
PatchMixolydic added a commit that referenced this issue Jan 10, 2019
This probably isn't very useful for production games, but may be useful
for debugging, editors, etc. It may also serve well as a placeholder UI
for prototyping.

blackcomb::imgui::Wrapper will allow you to handle imgui's platform
specific tasks in a platform agnostic way. I'm considering how to make
this work with #2; right now I'm thinking of conditionally including
the contents of a platform-specific file depending on your configuration.
includes/blackcomb/imgui/imconfig.h will also have to be updated for this.

nb. imgui retains its own namespace, ImGui, rather than being shoved
into Blackcomb, since it's technically thirdparty. The only part in
the blackcomb namespace is blackcomb::imgui::Wrapper, since that's
Blackcomb specific.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant