OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

context IDs

Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
andyskinner (Andy Skinner)
User


Joined: 06 Mar 2012
Posts: 51

PostPosted: Mon Sep 17, 2018 6:13 pm    Post subject:
context IDs
Reply with quote

If we get our contextIDs from GraphicsContext::createNewContextID(), it could give us a new number or return a previous one, if we are returning them with GraphicsContext::decrementContextIDUsageCount. Right?

Is there an intended connection between a contextID that has been used and a new one? It looks to me that extensions are stored per context ID and never reset.

So if we change something about what we are looking for in the context (sometimes we fall back to software OpenGL for testing or helping a customer through an issue), we might reuse a context ID, but still have extensions associated with the ID that are not appropriate for it.

Am I missing an assumption here? Should I be able to reuse a contextID for an unrelated context? If not, I'll just remove call to decrementContextIDUsageCount. That means the number and various maps will continue to grow.

thanks
andy

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Android: Survive Context Loss without... Martin Siggel General 9 Mon Jul 22, 2019 12:17 pm View latest post
No new posts Shared openGL Context generating Glyp... pioupiou General 0 Fri Jul 19, 2019 3:23 pm View latest post
No new posts osgQt doesn't set a context ID AnyOldName3 General 2 Tue Mar 12, 2019 6:35 pm View latest post
No new posts ~GLExtensions clears cached values fo... robertosfield Submission 0 Tue Oct 02, 2018 11:32 am View latest post
No new posts Graphics context issues eventhorizon5 General 6 Mon Jul 09, 2018 7:00 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP