forked from eden-emu/eden
video_core: Add usages of ScratchBuffer
This commit is contained in:
parent
cfc34dd41d
commit
4bc2d82130
4 changed files with 21 additions and 33 deletions
|
|
@ -4,9 +4,10 @@
|
|||
#pragma once
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
#include "common/bit_field.h"
|
||||
#include "common/common_types.h"
|
||||
#include "common/scratch_buffer.h"
|
||||
|
||||
namespace Tegra {
|
||||
class MemoryManager;
|
||||
|
|
@ -73,8 +74,8 @@ private:
|
|||
|
||||
u32 write_offset = 0;
|
||||
u32 copy_size = 0;
|
||||
std::vector<u8> inner_buffer;
|
||||
std::vector<u8> tmp_buffer;
|
||||
Common::ScratchBuffer<u8> inner_buffer;
|
||||
Common::ScratchBuffer<u8> tmp_buffer;
|
||||
bool is_linear = false;
|
||||
Registers& regs;
|
||||
MemoryManager& memory_manager;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue