Searched refs:m_Buffer (Results 1 – 5 of 5) sorted by relevance
31 : m_Buffer(NULL), in m_Buffer() function48 NW_ASSERT(m_Buffer == NULL); in Read()60 this->m_Buffer = static_cast<u8*>(m_Allocator->Alloc(this->m_Size, 128)); in Read()61 if (this->m_Buffer == NULL) in Read()67 fileReader.Read(this->m_Buffer, this->m_Size); in Read()76 return this->m_Buffer; in Buffer()88 if ( m_Buffer ) in Release()90 m_Allocator->Free( m_Buffer ); in Release()91 m_Buffer = NULL; in Release()96 u8* m_Buffer;
129 : m_Buffer(NULL), m_Size(0) in File()143 NW_ASSERT(m_Buffer == NULL); in Read()152 this->m_Buffer = static_cast<u8*>(allocator.Alloc(this->m_Size, 128)); in Read()153 if (this->m_Buffer == NULL) in Read()159 fileReader.Read(this->m_Buffer, this->m_Size); in Read()172 return this->m_Buffer; in Buffer()186 u8* m_Buffer; member in __anon3b8d87590111::File
181 return m_Buffer.m_Address; in GetTargetBuffer()190 return m_Buffer.m_Width; in GetTargetWidth()199 return m_Buffer.m_Height; in GetTargetHeight()355 internal::FrameBufferInfo m_Buffer;
873 return m_Initialized && m_Buffer.m_Address != NULL; in IsActive()883 m_Buffer.m_Address = static_cast<u8*>(buffer); in SetTargetBuffer()884 m_Buffer.m_Format = format; in SetTargetBuffer()885 m_Buffer.m_Width = width; in SetTargetBuffer()886 m_Buffer.m_Height = height; in SetTargetBuffer()892 m_Buffer.m_Address = static_cast<u8*>(buffer); in SetTargetBuffer()926 PixelWriter& pixelWriter = GetPixelWriter_(m_Buffer.m_Format); in StoreCache()927 size_t size = pixelWriter.GetPixelSize() * m_Buffer.m_Width * m_Buffer.m_Height; in StoreCache()928 nngxUpdateBuffer(m_Buffer.m_Address, size); in StoreCache()939 PixelWriter& pixelWriter = GetPixelWriter_(m_Buffer.m_Format); in Erase()[all …]
810 if (m_Buffer != NULL) in Execute()812 ::std::memcpy(m_Buffer + BufferSize / 2, m_Buffer, BufferSize / 2); in Execute()821 m_Buffer = NULL; in FlushCache()825 m_Buffer = (u8*)m_Allocator->Alloc(BufferSize); in FlushCache()826 NW_ASSERT(nw::os::IsDeviceMemory(m_Buffer)); in FlushCache()833 if (m_Buffer != NULL) in ~FlushCache()835 m_Allocator->Free(m_Buffer); in ~FlushCache()840 u8* m_Buffer; variable