Commit graph

38 commits

Author SHA1 Message Date
Gered 39c8ee2a79 remove STACK_TRACE macro definition and supporting classes/functions 2013-04-02 14:26:33 -04:00
Gered 3993326711 add some doc comments to the type-system header 2013-04-02 14:01:32 -04:00
Gered c9d9152e45 convert all instances of copy+pasted type-system code to use the new macros 2013-04-02 13:48:16 -04:00
Gered 2ae39ff14f oops 2013-04-02 13:21:46 -04:00
Gered f052171e41 add macros for easy adding of the basic type system in use for a number of systems 2013-04-02 13:18:23 -04:00
Gered f71d7be30e more minor cleanups 2013-04-02 12:39:31 -04:00
Gered c18ed56011 some minor cleanups and new asserts 2013-04-02 12:14:09 -04:00
Gered 6de773f270 update all other uses of Image copy/create methods to use the new x,y,width,height arguments for specifying dimensions 2013-04-02 12:05:22 -04:00
Gered 0480bf5fea switch Image copy methods to use x,y,width,height instead of left,top,right,bottom style arguments 2013-04-02 12:02:18 -04:00
Gered c9cfceec39 shift GraphicsDevice's complex initialization to a new Initialize() method 2013-04-01 19:43:33 -04:00
Gered 07abad71c2 update GraphicsDevice's built-in shader properties. now initializes them only on first-access (lazy-load) 2013-04-01 19:32:46 -04:00
Gered 543e6bf409 update all shader subclasses to use Initialize() methods for all complex initialization instead of the constructor 2013-04-01 19:32:11 -04:00
Gered 6a5444abe0 shift Shader initialization from constructor to separate Initialize() methods, and update for GraphicsContextResource changes 2013-04-01 19:31:16 -04:00
Gered 34bcbfaec9 don't attempt to restore managed resources in GraphicsDevice::OnNewContext() if it's the first run (e.g. when things are guaranteed to be loaded already) 2013-04-01 19:21:07 -04:00
Gered 7f032498d7 add missing Release() call 2013-04-01 18:31:39 -04:00
Gered 98ff932880 minor swap of order of validation checks 2013-04-01 18:02:14 -04:00
Gered c8b2f73d9a update Renderbuffer with GraphicsContextResource changes 2013-04-01 18:00:49 -04:00
Gered decbe56cd0 update Framebuffer with the GraphicsContextResource changes. also fixed a few small issues with how it handled new/lost contexts and restored itself 2013-04-01 17:51:58 -04:00
Gered e5f17c1786 add checks to help prevent duplicate initialization of GraphicsContextResource 2013-04-01 17:45:40 -04:00
Gered bd5f43c5a1 add if-check for the graphics device object passed to GraphicsContextResource::Initialize() so it can fail gracefully instead of just relying on the assert 2013-04-01 17:42:15 -04:00
Gered 4db24ae39a update all uses of VertexBuffer, IndexBuffer and VERTEX_ATTRIBS to compile and run under the new changes 2013-04-01 17:38:46 -04:00
Gered 9f42c16c93 add Release() method to handle resource/mem freeing instead of doing it only in the destructor (the destructor in these classes just calls Release() now) 2013-04-01 17:37:56 -04:00
Gered d8c19411ec add missing return 2013-04-01 17:23:11 -04:00
Gered ee9928ad79 updated IndexBuffer to use Initialize() methods instead of doing it all in the constructor 2013-04-01 17:14:32 -04:00
Gered 2ec3ed3673 update VertexBuffer to use Initialize() methods to setup itself instead of the constructor. vertex attributes are now passed as an array instead of using "Add" methods 2013-04-01 17:14:05 -04:00
Gered a20bc14b71 update VERTEX_ATTRIBS, merging type and size enums into one 2013-04-01 14:17:04 -04:00
Gered 9d77f6b197 change BufferObject and GraphicsContextResource to use a simple "do-nothing" constructor, and do all important initialization in a separate method with a return value 2013-04-01 14:08:37 -04:00
Gered 75d827ac7c update BufferObject to provide support for new GraphicsContextResource support 2013-04-01 13:21:20 -04:00
Gered 183631c5e6 expand GraphicsContextResource to self-register itself with GraphicsDevice 2013-04-01 13:12:48 -04:00
Gered b0db10f77a fix incorrect glBindBuffer argument 2013-04-01 11:41:21 -04:00
Gered dc9344f09b make the "generate" shell scripts executable
on windows, should use the "git config core.filemode false"
2013-02-09 11:53:09 -05:00
Gered 18ff020233 fix a couple warnings about incorrect return types 2013-02-09 11:47:48 -05:00
Gered 3760771634 update ignore filters with new binary name & also catch mac app bundles 2013-02-09 11:47:34 -05:00
Gered 8254693b1e change project/solution name (matches repo name) 2013-02-09 11:46:48 -05:00
Gered 3095735268 fix error about concatenating a nil value
guess the "vs*" config is evaluated even if we aren't building for it...
2013-02-09 11:40:04 -05:00
Gered 6e90860293 add basic version of 3d tilemap sources 2013-01-31 13:07:46 -05:00
Gered ad3dd47192 add README 2013-01-31 13:00:09 -05:00
Gered c5cdddbeaa initial commit
current versions of all of my basic framework sources, build configurations/scripts, and supporting assets
2013-01-31 12:53:05 -05:00