Cleanup dead code

This commit is contained in:
Brad Davis 2016-09-07 12:45:44 -07:00
parent a9ba92f16c
commit e03b0b5825
2 changed files with 0 additions and 25 deletions

View file

@ -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;

View file

@ -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;