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
#include "stdafx.h"

#include "Headers/PushConstant.h"

namespace Divide {
namespace GFX {
    PushConstant::~PushConstant()
    {
        //clear();
    }


    PushConstant::PushConstant(const PushConstant& other)
    {
        assign(other);
    }

    PushConstant& PushConstant::operator=(const PushConstant& other) {
        return assign(other);
    }

    PushConstant& PushConstant::assign(const PushConstant& other) {
        _binding = other._binding;
        _bindingHash = other._bindingHash;
        _type = other._type;
        _flag = other._flag;
        _buffer = other._buffer;
        return *this;
    }

    void PushConstant::clear() {
        _buffer.clear();
        _binding.clear();
        _type = PushConstantType::COUNT;
        _flag = false;
    }

}; //namespace GFX
}; //namespace Divide

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

Diff revisions: vs.
Revision Author Commited Message
1021 Diff Diff IonutCava picture IonutCava Sun 21 Jan, 2018 22:19:16 +0000

[Ionut]
- Performance optimizations

1020 Diff Diff IonutCava picture IonutCava Fri 19 Jan, 2018 17:51:19 +0000

[Ionut]
- Second attempt at improving PushConstant performance

1015 IonutCava picture IonutCava Tue 16 Jan, 2018 17:15:50 +0000

[Ionut]
- Update to the newest PhysX SDK
- Some more performance improvements