Login Page - Create Account

Support Board


Date/Time: Thu, 17 Jun 2021 17:59:10 +0000



opengl and custom graphics

[2021-04-23 00:32:42]
jesslinn - Posts: 108 | Ending Date: 2021-07-21
I understand that when opengl is activated that p_GDIFunction is no longer called. Is there any way to do custom graphics when use of opengl is enabled?

Would it be possible to add a hook, similar to p_GDIFunction, that would call an ACSIL user code function after you have rendered the current graph but before the buffer is swapped. Wouldn't such a call allow user code to draw anything onto the back buffer with normal gl calls?

It is a shame to have the huge improvement of using opengl available but not be able to use it because of the need to support custom graphics.

Thanks
[2021-04-23 02:12:51]
Sierra Chart Engineering - Posts: 96589 | Ending Date: 2022-04-10
Yes if you know what you are doing:
Wouldn't such a call allow user code to draw anything onto the back buffer with normal gl calls?

We will have to look into this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2021-05-05 08:52:42]
jesslinn - Posts: 108 | Ending Date: 2021-07-21
Any chance that such a hook could be added? I would be happy to test it out. I was able to use opengl through p_GDIFunction in the past but all ability to draw custom graphics goes away when one turns on opengl in SC.

Thanks.

To post a message in this thread, you need to login with your Sierra Chart account:

Login

Login Page - Create Account