[tgtl-devel] Hello and more
Brought to you by:
bobvodka
From: Markus H. <mar...@gm...> - 2007-07-27 20:24:21
|
Hi there, as you have noticed I'm through with my patches in the bug fixing branch. There is one "bug" left I would like to discuss first: Bug: Loading a texture from a file fails when the file cannot be opened for writing (read only file system!). While it would be easy to just change the io mode when opening the file my solution would be to just remove the whole writing and seeking stuff and just work with boost source like devices. I didn't see writing being used anywhere and I think I removed seeking from all the filters. Do you see any problems with that? This leads me to another point. The whole device concept with boost::iostreams seems a little bit over engineered to me. While I think boost is a great thing and I advice it's usage in all bigger C++ projects I think for GTL the cost is bigger than it's value. I think it would be much easier for users of GTL not being forced to install additional dependencies to use it. The device interface could be implemented just as easy without boost::iostreams. The fixed size data types could be easyly moved to custom typedefs too. So for the next major release I think it would be a good idea to kick out boost and simplify the device concept. Do you agree? Have a nice weekend! Markus |