forked from LukasBanana/LLGL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored render system information query.
- Deprecated protected member functions RenderSystem::SetRendererInfo() and RenderSystem::SetRenderingCaps() in the place of RenderSystem::QueryRendererDetails(). - GL backend can finally query renderer information before any resource has been created. - Introduced small breaking change as GetRendererInfo() and GetRenderingCaps() are no longer constant member functions; This was necessary to allow the backend to query the information on demand and cache it so that the GL backend can ensure a GL context is present.
- Loading branch information
1 parent
fe9dd61
commit 72efe96
Showing
21 changed files
with
407 additions
and
288 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* RenderSystem.Internal.inl | ||
* | ||
* Copyright (c) 2015 Lukas Hermanns. All rights reserved. | ||
* Licensed under the terms of the BSD 3-Clause license (see LICENSE.txt). | ||
*/ | ||
|
||
/* ----- Internal ------ */ | ||
|
||
virtual bool QueryRendererDetails( | ||
LLGL::RendererInfo* outInfo, | ||
LLGL::RenderingCapabilities* outCaps) | ||
override final; | ||
|
||
|
||
|
||
// ================================================================================ |
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
Oops, something went wrong.