mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:24:22 +02:00
Cleanup dead code
This commit is contained in:
parent
a9ba92f16c
commit
e03b0b5825
2 changed files with 0 additions and 25 deletions
|
@ -23,30 +23,6 @@
|
|||
|
||||
namespace gpu { namespace gl {
|
||||
|
||||
using VoidLambda = std::function<void()>;
|
||||
|
||||
#if 0
|
||||
struct TextureTransferPackage {
|
||||
std::weak_ptr<Texture> texture;
|
||||
GLsync fence;
|
||||
};
|
||||
|
||||
struct TextureTransferBlock {
|
||||
GLuint _pbo { 0 };
|
||||
void* _mapped { nullptr };
|
||||
GLsync _fence;
|
||||
std::function<void()> _transferCallback;
|
||||
bool isSignaled();
|
||||
void transfer();
|
||||
};
|
||||
|
||||
using CommandQueue = std::list<VoidLambda>;
|
||||
struct FencedLambda {
|
||||
GLsync _fence { 0 };
|
||||
VoidLambda _callback;
|
||||
};
|
||||
#endif
|
||||
|
||||
using TextureList = std::list<TexturePointer>;
|
||||
using TextureListIterator = TextureList::iterator;
|
||||
|
||||
|
|
|
@ -66,7 +66,6 @@ public:
|
|||
void allocateMip(uint16_t mipLevel, uint8_t face = 0) const;
|
||||
void allocateStorage() const override;
|
||||
void updateSize() const override;
|
||||
// void transfer() const override;
|
||||
void syncSampler() const override;
|
||||
void generateMips() const override;
|
||||
void withPreservedTexture(std::function<void()> f) const override;
|
||||
|
|
Loading…
Reference in a new issue