Home | History | Annotate | Download | only in common

Lines Matching defs:m_width

53 	int						getWidth			(void) const { return m_width;  }
68 int m_width;
75 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height));
77 const int pixOffset = y*m_width + x;
92 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height));
94 const int pixOffset = y*m_width + x;
113 DE_ASSERT(x < m_width);
119 DE_ASSERT(x + width <= m_width);
122 const deUint8* ptr = (m_pixels.empty() ? NULL : ((deUint8*)&m_pixels[0]) + 4 * (x + y * m_width));
123 return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width, height, 1, m_width*4, 0, ptr);
131 DE_ASSERT(x < m_width);
137 DE_ASSERT(x + width <= m_width);
140 deUint8* ptr = (m_pixels.empty() ? NULL : ((deUint8*)&m_pixels[0]) + 4 * (x + y * m_width));
141 return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width, height, 1, m_width*4, 0, ptr);
147 return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m_height, 1, m_pixels.empty() ? DE_NULL : &m_pixels[0]);
153 return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m_height, 1, m_pixels.empty() ? DE_NULL : &m_pixels[0]);