Support Board
Date/Time: Tue, 04 Nov 2025 03:18:10 +0000
opengl and custom graphics
View Count: 978
|   [2021-04-23 00:32:42]     |  
| jesslinn - Posts: 108 | 
| 
                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]     |  
|   |  
| 
                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. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing  | 
        
|   [2021-05-05 08:52:42]     |  
| jesslinn - Posts: 108 | 
| 
                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 log in with your Sierra Chart account:
