Commit graph

  • 9b9404724e SpriteBatch's VBO and IBO are now created on the GPU master Gered 2013-04-03 12:30:24 -0400
  • c5d4a3094c fix not creating an index buffer on the GPU if a graphics device object is passed in, and ensure all Initialize() overloads call BufferObject's Initialize() as well Gered 2013-04-03 12:30:01 -0400
  • 52d9989224 fix not creating a vertex buffer on the GPU if a graphics device object is passed Gered 2013-04-03 12:29:05 -0400
  • 45579fdf7f SpriteBatch now uses an index buffer for the sprites Gered 2013-04-03 12:05:26 -0400
  • 65df1bcc74 clean up initialization a bit and use some better default sizing Gered 2013-04-03 11:25:23 -0400
  • 66a8ee61d5 no magic numbers! Gered 2013-04-03 11:23:59 -0400
  • 96c6958674 SpriteBatch now always grows by a set amount to reduce the number of times it needs to resize it's arrays Gered 2013-04-03 11:21:06 -0400
  • 7b6f144f61 remove SpriteBatch's line/box rendering methods Gered 2013-04-03 11:13:27 -0400
  • b4033b9953 fix missing int/uint type changes Gered 2013-04-02 19:41:13 -0400
  • 4ce9c3c53a just use the built in bool type instead of a typedef around int32_t Gered 2013-04-02 19:36:39 -0400
  • ac3f30e3db prefer using int/uint instead of always using int32_t/uint32_t/etc Gered 2013-04-02 19:14:59 -0400
  • 863d01fce9 add typedefs for unsigned types (easier to type!) Gered 2013-04-02 16:25:04 -0400
  • 2c432a0b1f remove all uses of STACK_TRACE Gered 2013-04-02 15:55:06 -0400
  • 39c8ee2a79 remove STACK_TRACE macro definition and supporting classes/functions Gered 2013-04-02 14:26:33 -0400
  • 3993326711 add some doc comments to the type-system header Gered 2013-04-02 14:01:32 -0400
  • c9d9152e45 convert all instances of copy+pasted type-system code to use the new macros Gered 2013-04-02 13:48:16 -0400
  • 2ae39ff14f oops Gered 2013-04-02 13:21:46 -0400
  • f052171e41 add macros for easy adding of the basic type system in use for a number of systems Gered 2013-04-02 13:18:23 -0400
  • f71d7be30e more minor cleanups Gered 2013-04-02 12:39:31 -0400
  • c18ed56011 some minor cleanups and new asserts Gered 2013-04-02 12:14:09 -0400
  • 6de773f270 update all other uses of Image copy/create methods to use the new x,y,width,height arguments for specifying dimensions Gered 2013-04-02 12:05:22 -0400
  • 0480bf5fea switch Image copy methods to use x,y,width,height instead of left,top,right,bottom style arguments Gered 2013-04-02 12:02:18 -0400
  • c9cfceec39 shift GraphicsDevice's complex initialization to a new Initialize() method Gered 2013-04-01 19:43:33 -0400
  • 07abad71c2 update GraphicsDevice's built-in shader properties. now initializes them only on first-access (lazy-load) Gered 2013-04-01 19:32:46 -0400
  • 543e6bf409 update all shader subclasses to use Initialize() methods for all complex initialization instead of the constructor Gered 2013-04-01 19:32:11 -0400
  • 6a5444abe0 shift Shader initialization from constructor to separate Initialize() methods, and update for GraphicsContextResource changes Gered 2013-04-01 19:31:16 -0400
  • 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) Gered 2013-04-01 19:21:07 -0400
  • 7f032498d7 add missing Release() call Gered 2013-04-01 18:31:39 -0400
  • 98ff932880 minor swap of order of validation checks Gered 2013-04-01 18:02:14 -0400
  • c8b2f73d9a update Renderbuffer with GraphicsContextResource changes Gered 2013-04-01 18:00:49 -0400
  • decbe56cd0 update Framebuffer with the GraphicsContextResource changes. also fixed a few small issues with how it handled new/lost contexts and restored itself Gered 2013-04-01 17:51:58 -0400
  • e5f17c1786 add checks to help prevent duplicate initialization of GraphicsContextResource Gered 2013-04-01 17:45:40 -0400
  • 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 Gered 2013-04-01 17:42:15 -0400
  • 4db24ae39a update all uses of VertexBuffer, IndexBuffer and VERTEX_ATTRIBS to compile and run under the new changes Gered 2013-04-01 17:38:46 -0400
  • 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) Gered 2013-04-01 17:37:56 -0400
  • d8c19411ec add missing return Gered 2013-04-01 17:23:11 -0400
  • ee9928ad79 updated IndexBuffer to use Initialize() methods instead of doing it all in the constructor Gered 2013-04-01 17:14:32 -0400
  • 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 Gered 2013-04-01 17:14:05 -0400
  • a20bc14b71 update VERTEX_ATTRIBS, merging type and size enums into one Gered 2013-04-01 14:17:04 -0400
  • 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 Gered 2013-04-01 14:08:37 -0400
  • 75d827ac7c update BufferObject to provide support for new GraphicsContextResource support Gered 2013-04-01 13:21:20 -0400
  • 183631c5e6 expand GraphicsContextResource to self-register itself with GraphicsDevice Gered 2013-04-01 13:12:48 -0400
  • b0db10f77a fix incorrect glBindBuffer argument Gered 2013-04-01 11:41:21 -0400
  • dc9344f09b make the "generate" shell scripts executable Gered 2013-02-09 11:53:09 -0500
  • 18ff020233 fix a couple warnings about incorrect return types Gered 2013-02-09 11:47:48 -0500
  • 3760771634 update ignore filters with new binary name & also catch mac app bundles Gered 2013-02-09 11:47:34 -0500
  • 8254693b1e change project/solution name (matches repo name) Gered 2013-02-09 11:46:48 -0500
  • 3095735268 fix error about concatenating a nil value Gered 2013-02-09 11:40:04 -0500
  • 6e90860293 add basic version of 3d tilemap sources Gered 2013-01-31 13:07:46 -0500
  • ad3dd47192 add README Gered 2013-01-31 13:00:09 -0500
  • c5cdddbeaa initial commit Gered 2013-01-31 12:53:05 -0500