git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor perf improvement on nVidia
[ipdf/code.git]
/
src
/
graphicsbuffer.h
diff --git
a/src/graphicsbuffer.h
b/src/graphicsbuffer.h
index
7cec235
..
dd25617
100644
(file)
--- a/
src/graphicsbuffer.h
+++ b/
src/graphicsbuffer.h
@@
-57,7
+57,7
@@
namespace IPDF
void Bind() const;
private:
void Bind() const;
private:
-
void RecreateBuffer(
);
+
bool RecreateBuffer(const void *data = nullptr
);
GLuint m_buffer_handle;
BufferType m_buffer_type;
BufferUsage m_buffer_usage;
GLuint m_buffer_handle;
BufferType m_buffer_type;
BufferUsage m_buffer_usage;
@@
-65,6
+65,7
@@
namespace IPDF
size_t m_buffer_size;
bool m_invalidated;
bool m_buffer_shape_dirty;
size_t m_buffer_size;
bool m_invalidated;
bool m_buffer_shape_dirty;
+ bool m_faking_map;
};
}
};
}
UCC
git Repository :: git.ucc.asn.au