Searched refs:rgbaShift (Results 1 – 4 of 4) sorted by relevance
54 unsigned char rgbaShift[4]; in TerrainLayerBlendMap() local56 PixelUtil::getBitShifts(fmt, rgbaShift); in TerrainLayerBlendMap()57 mChannelOffset = rgbaShift[mChannel] / 8; // /8 to convert to bytes in TerrainLayerBlendMap()
2837 unsigned char rgbaShift[4]; in copyBlendTextureChannel() local2841 PixelUtil::getBitShifts(destBuffer->getFormat(), rgbaShift); in copyBlendTextureChannel()2842 uint8* pDest = pDestBase + rgbaShift[destChannel] / 8; in copyBlendTextureChannel()2850 pSrc = pDestBase + rgbaShift[srcChannel] / 8; in copyBlendTextureChannel()2856 PixelUtil::getBitShifts(srcBuffer->getFormat(), rgbaShift); in copyBlendTextureChannel()2857 pSrc += rgbaShift[srcChannel] / 8; in copyBlendTextureChannel()2880 unsigned char rgbaShift[4]; in clearGPUBlendChannel() local2884 PixelUtil::getBitShifts(buffer->getFormat(), rgbaShift); in clearGPUBlendChannel()2885 pData += rgbaShift[channel] / 8; in clearGPUBlendChannel()
2852 unsigned char rgbaShift[4]; in copyBlendTextureChannel() local2856 PixelUtil::getBitShifts(destBuffer->getFormat(), rgbaShift); in copyBlendTextureChannel()2857 uint8* pDest = pDestBase + rgbaShift[destChannel] / 8; in copyBlendTextureChannel()2865 pSrc = pDestBase + rgbaShift[srcChannel] / 8; in copyBlendTextureChannel()2871 PixelUtil::getBitShifts(srcBuffer->getFormat(), rgbaShift); in copyBlendTextureChannel()2872 pSrc += rgbaShift[srcChannel] / 8; in copyBlendTextureChannel()2895 unsigned char rgbaShift[4]; in clearGPUBlendChannel() local2899 PixelUtil::getBitShifts(buffer->getFormat(), rgbaShift); in clearGPUBlendChannel()2900 pData += rgbaShift[channel] / 8; in clearGPUBlendChannel()