Double buffer and shader fixes (#273)

* DoubleBufferFixes

* Add NeoBitmapFile Render
This commit is contained in:
Michael Miller authored and GitHub committed 2019-06-12 23:10:42 -07:00
1 parent 0eed256d33
commit 2d3609e15d
12 files changed
+113 -34

No files matched your search

+4 -3
View File
@@ -57,8 +57,9 @@ License along with NeoPixel. If not, see
#include "internal/NeoBufferMethods.h"
#include "internal/NeoBuffer.h"
#include "internal/NeoSpriteSheet.h"
#include "internal/NeoBitmapFile.h"
#include "internal/NeoDib.h"
#include "internal/NeoBitmapFile.h"
#include "internal/NeoEase.h"
#include "internal/NeoGamma.h"
@@ -145,14 +146,14 @@ public:
Dirty();
}
void Show()
void Show(bool maintainBufferConsistency = true)
{
if (!IsDirty())
{
return;
}
_method.Update();
_method.Update(maintainBufferConsistency);
ResetDirty();
}