Moved DeviceParams into PixelBuffer.