sivarajankumar / screen3d

Automatically exported from code.google.com/p/screen3d
0 stars 0 forks source link

[SCREEN/MEMORY] global specification and implementation #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Screen/Memory component will intends to provide utility classes for easy
manipulate and optimize use of the memory.

The first step into this part is to write a complete specification for this
component.

Original issue reported on code.google.com by thoratou@gmail.com on 23 May 2010 at 7:32

GoogleCodeExporter commented 8 years ago
Take this enhancement because this is a prerequisite of complete Index and 
Vertex 
buffer fillers

Original comment by thoratou@gmail.com on 31 May 2010 at 7:59

GoogleCodeExporter commented 8 years ago
3 basis classes :
* BufferBase : it's the handler that contains the pointer to the real buffer, 
and 
the effective size of the buffer (used size in the buffer ==> effective size <= 
buffer size)
* BufferManager : His role is to create and reused BufferBase. It uses 2 kinds 
of 
stack :
  - the first that contains all instances of BufferBase
  - the second for unused BufferBases
  The number of stacks depends on the minimum size, maximum size and size step 
between buffers
* Buffer : this is the client class, that retrieves a BufferBase from 
BufferManager

Original comment by thoratou@gmail.com on 1 Jun 2010 at 7:44

GoogleCodeExporter commented 8 years ago
Basic tests in progress,

Must add more usable classes up to Buffer class :
- TypedBuffer
- TextBuffer
- WideTextBuffer
- ...

Original comment by thoratou@gmail.com on 2 Jun 2010 at 7:16

GoogleCodeExporter commented 8 years ago
Just to test "Implemented"

Original comment by thoratou@gmail.com on 2 Jun 2010 at 2:42

GoogleCodeExporter commented 8 years ago
Already in test, inplemented TypedBuffer and used it for VertexBufferFiller

Original comment by thoratou@gmail.com on 4 Jun 2010 at 3:00

GoogleCodeExporter commented 8 years ago
Must add a garbage method to buffer manager in order to free unlocked buffers

Original comment by thoratou@gmail.com on 9 Jun 2010 at 7:35

GoogleCodeExporter commented 8 years ago
Buffer, BufferManager, BufferBase and TypedBuffer implemented
Tests done
needs improvements

Original comment by tt.tranq...@gmail.com on 12 Jun 2010 at 6:36

GoogleCodeExporter commented 8 years ago
Can't compile on Windows due to unknown std::pow(int,int)

Original comment by thoratou@gmail.com on 7 Jul 2010 at 3:29

GoogleCodeExporter commented 8 years ago
power function will be added with [SCREEN/MATH] creation of the component

Original comment by thoratou@gmail.com on 22 Jul 2010 at 11:45

GoogleCodeExporter commented 8 years ago
Screen::Math::power function created and used in Screen/Memory

Original comment by thoratou@gmail.com on 26 Jul 2010 at 7:07

GoogleCodeExporter commented 8 years ago
Screen/Memory completed (for now ;) )

Original comment by thoratou@gmail.com on 27 Jul 2010 at 5:59

GoogleCodeExporter commented 8 years ago
verified

Original comment by thoratou@gmail.com on 27 Jul 2010 at 9:22