Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "Headers/GenericCommandPool.h"

namespace Divide {

GenericCommandPool::GenericCommandPool(U32 poolSize)
{
    _commandPool.resize(poolSize);
}

GenericCommandPool::~GenericCommandPool()
{
}

GenericDrawCommand& GenericCommandPool::aquire() {
    GenericDrawCommand& cmd = _commandPool.front();
    cmd.reset();
    return cmd;
}

}; //namespace Divide

Commits for Divide-Framework/trunk/Source Code/Platform/Video/GenericCommandPool.cpp

Diff revisions: vs.
Revision Author Commited Message
726 IonutCava picture IonutCava Fri 10 Jun, 2016 16:13:52 +0000

[IonutCava]
- More static analysis based corrections
- Added initial stub code for a command pool system for GenericDrawCommands