Home
last modified time | relevance | path

Searched refs:CommandBufferStagingStream (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gfxstream/guest/vulkan_enc/
DCommandBufferStagingStream.cpp35 CommandBufferStagingStream::CommandBufferStagingStream() in CommandBufferStagingStream() function in gfxstream::vk::CommandBufferStagingStream
50 CommandBufferStagingStream::CommandBufferStagingStream(const Alloc& allocFn, const Free& freeFn) in CommandBufferStagingStream() function in gfxstream::vk::CommandBufferStagingStream
51 : CommandBufferStagingStream() { in CommandBufferStagingStream()
143 CommandBufferStagingStream::~CommandBufferStagingStream() { in ~CommandBufferStagingStream()
148 unsigned char* CommandBufferStagingStream::getDataPtr() { in getDataPtr()
154 void CommandBufferStagingStream::markFlushing() { in markFlushing()
162 size_t CommandBufferStagingStream::idealAllocSize(size_t len) { in idealAllocSize()
167 void* CommandBufferStagingStream::allocBuffer(size_t minSize) { in allocBuffer()
204 int CommandBufferStagingStream::commitBuffer(size_t size) { in commitBuffer()
209 const unsigned char* CommandBufferStagingStream::readFully(void*, size_t) { in readFully()
[all …]
DCommandBufferStagingStream.h28 class CommandBufferStagingStream : public gfxstream::guest::IOStream {
60 explicit CommandBufferStagingStream(const Alloc& allocFn, const Free& freeFn);
62 explicit CommandBufferStagingStream();
63 ~CommandBufferStagingStream();
Dmeson.build16 'CommandBufferStagingStream.cpp',
DAndroid.bp87 "CommandBufferStagingStream.cpp",
DResourceTracker.cpp133 std::vector<CommandBufferStagingStream*> streams;
138 void setAllocFree(CommandBufferStagingStream::Alloc&& allocFn, in setAllocFree()
139 CommandBufferStagingStream::Free&& freeFn) { in setAllocFree()
154 void pushStaging(CommandBufferStagingStream* stream, VkEncoder* encoder) { in pushStaging()
161 void popStaging(CommandBufferStagingStream** streamOut, VkEncoder** encoderOut) { in popStaging()
163 CommandBufferStagingStream* stream; in popStaging()
168 stream = new CommandBufferStagingStream(mAlloc, mFree); in popStaging()
170 stream = new CommandBufferStagingStream; in popStaging()
184 CommandBufferStagingStream::Alloc mAlloc = nullptr;
185 CommandBufferStagingStream::Free mFree = nullptr;
[all …]
DResourceTracker.h481 CommandBufferStagingStream::Alloc getAlloc();
482 CommandBufferStagingStream::Free getFree();
/hardware/google/gfxstream/guest/vulkan_enc_unit_tests/
DCommandBufferStagingStream_test.cpp29 CommandBufferStagingStream stream; in TEST()
36 CommandBufferStagingStream stream; in TEST()
63 CommandBufferStagingStream stream; in TEST()
86 CommandBufferStagingStream stream; in TEST()
112 CommandBufferStagingStream stream; in TEST()
122 TEST(CommandBufferStagingStream, NoReallocationIfBufferIsNotFull) { in TEST() argument
123 CommandBufferStagingStream stream; in TEST()
137 CommandBufferStagingStream stream; in TEST()
167 CommandBufferStagingStream stream; in TEST()
207 using MockAlloc = MockFunction<CommandBufferStagingStream::Memory(size_t)>;
[all …]
/hardware/google/gfxstream/guest/
DBUILD.gn229 "vulkan_enc/CommandBufferStagingStream.cpp",
230 "vulkan_enc/CommandBufferStagingStream.h",