Lines Matching refs:m_pBuffer
58 m_pBuffer = NULL;
64 m_pBuffer = NULL;
81 m_pBuffer = pBuffer;
87 m_pBuffer = FX_AllocNL(FX_BYTE, size);
89 m_pBuffer = FX_Alloc(FX_BYTE, size);
91 if (m_pBuffer == NULL) {
94 FXSYS_memset32(m_pBuffer, 0, sizeof (FX_BYTE) * size);
103 if (!m_bExtBuf && m_pBuffer) {
104 FX_Free(m_pBuffer);
105 m_pBuffer = NULL;
115 if (m_pBuffer) {
124 FXSYS_memcpy32(m_pBuffer + row * m_Pitch, pSrc->GetScanline(row), m_Pitch);
130 if (m_pBuffer && !m_bExtBuf) {
131 FX_Free(m_pBuffer);
133 m_pBuffer = NULL;
137 if (m_pBuffer && !m_bExtBuf) {
138 FX_Free(m_pBuffer);
146 m_pBuffer = pSrcBitmap->m_pBuffer;
149 pSrcBitmap->m_pBuffer = NULL;
301 if (m_pBuffer == NULL) {
306 FXSYS_memset8(m_pBuffer, (color & 0xff000000) ? 0xff : 0, m_Pitch * m_Height);
310 FXSYS_memset8(m_pBuffer, index ? 0xff : 0, m_Pitch * m_Height);
314 FXSYS_memset8(m_pBuffer, color >> 24, m_Pitch * m_Height);
318 FXSYS_memset8(m_pBuffer, index, m_Pitch * m_Height);
326 FXSYS_memset8(m_pBuffer, r, m_Pitch * m_Height);
330 m_pBuffer[byte_pos++] = b;
331 m_pBuffer[byte_pos++] = g;
332 m_pBuffer[byte_pos++] = r;
335 FXSYS_memcpy32(m_pBuffer + row * m_Pitch, m_pBuffer, m_Pitch);
344 ((FX_DWORD*)m_pBuffer)[i] = color;
347 FXSYS_memcpy32(m_pBuffer + row * m_Pitch, m_pBuffer, m_Pitch);
390 if (m_pBuffer == NULL) {
402 FX_LPBYTE dest_scan = m_pBuffer + (dest_top + row) * m_Pitch;
415 FX_LPBYTE dest_scan = m_pBuffer + (dest_top + row) * m_Pitch + dest_left * Bpp;
427 FX_LPBYTE dest_buf = m_pBuffer + dest_top * m_Pitch + dest_left * GetBPP() / 8;
439 if (m_pBuffer == NULL) {
479 m_pBuffer + (dest_top + row) * m_Pitch + dest_left * 4);
503 FX_LPBYTE dest_color_pos = m_pBuffer + (dest_top + row) * m_Pitch + dest_left * comps;
627 if (m_pBuffer == NULL) {
765 if (m_pBuffer == NULL) {
808 FXSYS_memset8(m_pBuffer, value, m_Height * m_Pitch);
816 FX_LPBYTE scan_line = m_pBuffer + row * m_Pitch + destOffset;
826 if (m_pBuffer == NULL) {
852 FX_LPBYTE dest_scan = m_pBuffer + m_Pitch * row;
853 FX_LPBYTE src_scan = pSrcClone->m_pBuffer + pSrcClone->m_Pitch * row;
876 FX_LPBYTE dest_scan = m_pBuffer + m_Pitch * row + 3;
877 FX_LPBYTE src_scan = pSrcClone->m_pBuffer + pSrcClone->m_Pitch * row;
894 if (m_pBuffer == NULL) {
919 FX_LPBYTE src_pos = m_pBuffer + row * m_Pitch;
953 FX_LPBYTE src_pos = m_pBuffer + row * m_Pitch;
972 FX_LPBYTE src_pos = m_pBuffer + row * m_Pitch;
993 FX_LPBYTE src_pos = m_pBuffer + row * m_Pitch;
1011 if (m_pBuffer == NULL) {
1023 FX_LPBYTE scan_line = m_pBuffer + row * m_Pitch;
1032 FX_LPBYTE scan_line = m_pBuffer + row * m_Pitch + 3;
1061 if (m_pBuffer == NULL) {
1064 FX_LPBYTE pos = m_pBuffer + y * m_Pitch + x * GetBPP() / 8;
1098 if (m_pBuffer == NULL) {
1104 FX_LPBYTE pos = m_pBuffer + y * m_Pitch + x * GetBPP() / 8;
1169 if (m_pBuffer == NULL) {
1173 FX_LPBYTE scanline = m_pBuffer + line * m_Pitch;
1233 if (m_pBuffer == NULL || IsAlphaMask()) {
1288 FX_LPBYTE scanline = m_pBuffer + row * m_Pitch;
1303 FX_LPBYTE scanline = m_pBuffer + row * m_Pitch;
1317 FX_LPBYTE scanline = m_pBuffer + row * m_Pitch;
1331 FX_LPBYTE scanline = m_pBuffer + row * m_Pitch;
1345 if (m_pBuffer == NULL) {
1371 FX_LPBYTE scan = m_pBuffer + row * m_Pitch;
1372 FX_LPBYTE next_scan = m_pBuffer + (row + 1) * m_Pitch;