windows: avoid unnecessary memory allocation
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
parent
96ed6df4a9
commit
c615e9507a
3 changed files with 20 additions and 2 deletions
|
|
@ -13,6 +13,8 @@ public:
|
|||
|
||||
void MarkVideoFrameAvailable(std::vector<uint8_t>& buffer, size_t width, size_t height);
|
||||
|
||||
void MarkVideoFrameAvailable2(const uint8_t* buffer, size_t buffer_length, size_t width, size_t height);
|
||||
|
||||
int64_t texture_id() const { return texture_id_; };
|
||||
|
||||
const FlutterDesktopPixelBuffer* buffer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue