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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include "Headers/d3dVertexBuffer.h"

namespace Divide {

IMPLEMENT_CUSTOM_ALLOCATOR(d3dVertexBuffer, 0, 0)

d3dVertexBuffer::d3dVertexBuffer(GFXDevice& context)
    : VertexBuffer(context)
{
}

d3dVertexBuffer::~d3dVertexBuffer()
{
    destroy();
}

bool d3dVertexBuffer::create(bool staticDraw) {
    return VertexBuffer::create(staticDraw);
}

void d3dVertexBuffer::destroy() {
}

void d3dVertexBuffer::draw(const GenericDrawCommand& command, bool useCmdBuffer) {
}

bool d3dVertexBuffer::queueRefresh() {
    return refresh();
}

bool d3dVertexBuffer::createInternal() {
    return VertexBuffer::createInternal();
}

bool d3dVertexBuffer::refresh() {
    return true;
}

void d3dVertexBuffer::checkStatus() {
}
};

Commits for Divide-Framework/trunk/Source Code/Platform/Video/Direct3D/Buffers/VertexBuffer/d3dVertexBuffer.cpp

Diff revisions: vs.
Revision Author Commited Message
727 Diff Diff IonutCava picture IonutCava Tue 14 Jun, 2016 16:01:38 +0000

[IonutCava]
- Remove node and cmd buffers from GFXDevice and add them as a new BufferData struct to RenderPass class.
— Each render pass holds its own buffers
- Improvements / fixes to the CSM code
- Added a global toggle to enable/disable custom memory allocators

671 Diff Diff IonutCava picture IonutCava Fri 08 Apr, 2016 16:26:49 +0000

[Ionut]
- Custom memory allocation system part 1:
— Add http://www.codeproject.com/Articles/1089905/A-Custom-STL-std-allocator-Replacement-Improves-Pe
— Add custom allocators to strings and vectors
— Add custom allocators to a few test classes
— No support for aligned memory yet, so vec4<F32> and mat4<F32> vectors use the old allocation system
- Replace more std::async call with our custom task system

669 Diff Diff IonutCava picture IonutCava Mon 04 Apr, 2016 16:15:35 +0000

[IonutCava]
- Move Task creation calls to TaskPool.h
- Allow tasks to use any pool, but default behaviour is to use the Kernel’s main task pool
- Change image transparency check to use the task pool instead of OpenMP
— Perfect place for future parallel_for implementation
- Warning fixes
- Some method renaming for improved readability

350 Diff Diff IonutCava picture IonutCava Tue 10 Feb, 2015 16:25:39 +0000

[Ionut]
- Simplified some Util-namespace level functions by using STL algorithms where possible
- Formatted the entire codebase using clang-format with the following style: "{BasedOnStyle: Google, IndentWidth: 4}"
- Attempted to make ProfileTimer thread-safe (temp fix until std::chrono works properly in Visual Studio)

334 IonutCava picture IonutCava Wed 10 Dec, 2014 17:21:22 +0000

[Ionut]
- Reorganized the Hardware project and renamed to "Platform"
- Reorganized the Server project