Home
last modified time | relevance | path

Searched refs:m_Buffer (Results 1 – 5 of 5) sorted by relevance

/NW4C-1.2.23/demos/Nw4cDemo/include/
DSmFile.h29 : m_Buffer(NULL), in m_Buffer() function
46 NW_ASSERT(m_Buffer == NULL); in Read()
58 this->m_Buffer = static_cast<u8*>(m_Allocator->Alloc(this->m_Size, 128)); in Read()
59 if (this->m_Buffer == NULL) in Read()
65 fileReader.Read(this->m_Buffer, this->m_Size); in Read()
74 return this->m_Buffer; in Buffer()
86 if ( m_Buffer ) in Release()
88 m_Allocator->Free( m_Buffer ); in Release()
89 m_Buffer = NULL; in Release()
94 u8* m_Buffer;
/NW4C-1.2.23/demos/lyt/simple/sources/
Dmain.cpp127 : m_Buffer(NULL), m_Size(0) in File()
141 NW_ASSERT(m_Buffer == NULL); in Read()
150 this->m_Buffer = static_cast<u8*>(allocator.Alloc(this->m_Size, 128)); in Read()
151 if (this->m_Buffer == NULL) in Read()
157 fileReader.Read(this->m_Buffer, this->m_Size); in Read()
170 return this->m_Buffer; in Buffer()
184 u8* m_Buffer; member in __anonfa4fdf6c0111::File
/NW4C-1.2.23/include/nw/dev/
Ddev_DirectPrint.h166 return m_Buffer.m_Address; in GetTargetBuffer()
175 return m_Buffer.m_Width; in GetTargetWidth()
184 return m_Buffer.m_Height; in GetTargetHeight()
320 internal::FrameBufferInfo m_Buffer;
/NW4C-1.2.23/include/nw/demo/
Ddemo_Utility.h767 if (m_Buffer != NULL) in Execute()
769 ::std::memcpy(m_Buffer + BufferSize / 2, m_Buffer, BufferSize / 2); in Execute()
778 m_Buffer = NULL; in FlushCache()
782 m_Buffer = (u8*)m_Allocator->Alloc(BufferSize); in FlushCache()
783 NW_ASSERT(nw::os::IsDeviceMemory(m_Buffer)); in FlushCache()
790 if (m_Buffer != NULL) in ~FlushCache()
792 m_Allocator->Free(m_Buffer); in ~FlushCache()
797 u8* m_Buffer; variable
/NW4C-1.2.23/sources/libraries/dev/
Ddev_DirectPrint.cpp865 return m_Initialized && m_Buffer.m_Address != NULL; in IsActive()
875 m_Buffer.m_Address = static_cast<u8*>(buffer); in SetTargetBuffer()
876 m_Buffer.m_Format = format; in SetTargetBuffer()
877 m_Buffer.m_Width = width; in SetTargetBuffer()
878 m_Buffer.m_Height = height; in SetTargetBuffer()
884 m_Buffer.m_Address = static_cast<u8*>(buffer); in SetTargetBuffer()
927 PixelWriter& pixelWriter = GetPixelWriter_(m_Buffer.m_Format); in Erase()
928 pixelWriter.Erase(m_Buffer, m_Direction, x, y, width, height); in Erase()
1022 PixelWriter& pixelWriter = GetPixelWriter_(m_Buffer.m_Format); in DrawString()
1023 pixelWriter.DrawString(m_Buffer, m_Direction, m_Color, x, y, str, turnOver, backErase); in DrawString()