Home
last modified time | relevance | path

Searched refs:m_bufsize (Results 1 – 7 of 7) sorted by relevance

/hardware/google/gfxstream/guest/iostream/include/gfxstream/guest/
DIOStream.h34 m_bufsize = bufSize; in IOStream()
52 return m_bufsize < len ? len : m_bufsize; in idealAllocSize()
79 if (!m_iostreamBuf || len > m_bufsize) { in alloc()
86 m_bufsize = m_free = allocLen; in alloc()
91 ptr = m_iostreamBuf + (m_bufsize - m_free); in alloc()
99 if (!m_iostreamBuf || m_free == m_bufsize) return 0; in flush()
101 int stat = commitBuffer(m_bufsize - m_free); in flush()
108 if (m_iostreamBuf && m_free != m_bufsize) { in readback()
109 size_t size = m_bufsize - m_free; in readback()
127 m_bufsize = m_bufsizeOrig; in rewind()
[all …]
/hardware/google/gfxstream/include/render-utils/
DIOStream.h30 explicit IOStream(size_t bufSize) : m_bufsize(bufSize) {} in IOStream()
58 if (!m_buf || len > m_bufsize) { in alloc()
59 int allocLen = m_bufsize < len ? len : m_bufsize; in alloc()
65 m_bufsize = m_free = allocLen; in alloc()
68 unsigned char* ptr = m_buf + (m_bufsize - m_free); in alloc()
75 if (!m_buf || m_free == m_bufsize) return 0; in flush()
77 int stat = commitBuffer(m_bufsize - m_free); in flush()
89 stream->putBe32(m_bufsize); in save()
96 m_bufsize = stream->getBe32(); in load()
112 size_t m_bufsize; variable
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DQemuPipeStream.cpp32 m_bufsize(bufSize), in QemuPipeStream()
42 m_bufsize(bufSize), in QemuPipeStream()
77 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize); in allocBuffer()
81 else if (m_bufsize < allocSize) { in allocBuffer()
85 m_bufsize = allocSize; in allocBuffer()
90 m_bufsize = 0; in allocBuffer()
DVirtioGpuPipeStream.cpp34 m_bufsize(bufSize), in VirtioGpuPipeStream()
42 m_bufsize(bufSize), in VirtioGpuPipeStream()
115 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize); in allocBuffer()
119 else if (m_bufsize < allocSize) { in allocBuffer()
123 m_bufsize = allocSize; in allocBuffer()
128 m_bufsize = 0; in allocBuffer()
DQemuPipeStream.h52 size_t m_bufsize; variable
DVirtioGpuPipeStream.h66 size_t m_bufsize; variable
/hardware/google/gfxstream/host/vulkan/
DVkReconstruction.cpp181 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize); in allocBuffer()
184 } else if (m_bufsize < allocSize) { in allocBuffer()
188 m_bufsize = allocSize; in allocBuffer()
193 m_bufsize = 0; in allocBuffer()