mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 22:25:55 +00:00
Refuse to capture on old contexts, warn on compat profiles. Closes #125
* If CreateContextAttribs is not used to create the context, the overlay will run in super-duper old mode using immediate mode calls and fixed function pipeline. This way it should display on (in theory) any GL app. Capturing will be prevented. * Compatibility profile contexts are still allowed, but a warning is displayed in the overlay. * If CreateContextAttribs is used to create a < 3.2 version context, we go down the same path as for legacy contexts, except with an accurate overlay message (just that the version isn't supported).
This commit is contained in:
@@ -341,5 +341,27 @@
|
||||
</para>
|
||||
</content>
|
||||
</section>
|
||||
<section address="FAQ11">
|
||||
<title>RenderDoc is complaining about my OpenGL app in the overlay - what gives?</title>
|
||||
<content>
|
||||
<para>
|
||||
The first thing to remember is that <legacyBold>RenderDoc only supports Core 3.2 and above OpenGL</legacyBold>.
|
||||
If your app is using features from before 3.2 it almost certainly won't work as most functionality
|
||||
is not supported. A couple of things like not creating a VAO (which are required in core profile) and
|
||||
luminance textures (which don't exist in core profile) are allowed, but none of the fixed function
|
||||
pipeline will work, etc etc.
|
||||
</para>
|
||||
<para>
|
||||
If your app is not using the CreateContextAttribs API then RenderDoc will completely refuse to capture,
|
||||
and will display overlay text to this effect using the simplest fixed-function pipeline code, so it will
|
||||
run on any OpenGL app, even on a 1.4 context or similar.
|
||||
</para>
|
||||
<para>
|
||||
If your app did use the CreateContextAttribs API, RenderDoc will allow you to capture, but compatibility
|
||||
profiles will have a warning displayed in the overlay - this is because you could easily use old functionality
|
||||
as it is all still available in the context.
|
||||
</para>
|
||||
</content>
|
||||
</section>
|
||||
</developerConceptualDocument>
|
||||
</topic>
|
||||
|
||||
Reference in New Issue
Block a user