FLTK logo

STR #1372

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]

STR #1372

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:OpenGL
Summary:valid() insufficient for some purposes.
Version:1.1-current
Created By:wavexx
Assigned To:matt
Fix Version:1.1-current (SVN: v5322)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 wavexx
07:13 Jul 28, 2006
fltk-glctx.patch
1k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 wavexx
07:13 Jul 28, 2006
[see http://www.fltk.org/str.php?L1370]

In Gl_Window, the valid() state is invalidated on resize as well as real context invalidation. However, for several operations (like texture loading etc), I need to know wheter the context has _really_ be recreated or not.

This patch adds a new ctx_valid method that works just like valid(), but it's invalidated only on real context invalidation. valid() continues to work as before. Old code will continue to work as espected, but new code can take advantage of ctx_valid instead of manual context tracking.

Breaks the ABI.
 
 
#2 matt
02:49 Aug 17, 2006
Fixed in Subversion repository.

Your patch broke the ABI, so I implemented the changes a bit differently. The result should be the same though.
 
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.