mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
framebuffer: print info if accelerator is used
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@171 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -396,7 +396,13 @@ int CFrameBuffer::setMode(unsigned int /*nxRes*/, unsigned int /*nyRes*/, unsign
|
||||
}
|
||||
|
||||
stride = fix.line_length;
|
||||
printf("FB: %dx%dx%d line lenght %d\n", xRes, yRes, bpp, stride);
|
||||
printf("FB: %dx%dx%d line length %d. %s nevis GXA accelerator.\n", xRes, yRes, bpp, stride,
|
||||
#ifdef USE_NEVIS_GXA
|
||||
"Using"
|
||||
#else
|
||||
"Not using"
|
||||
#endif
|
||||
);
|
||||
|
||||
memset(getFrameBufferPointer(), 0, stride * yRes);
|
||||
if (ioctl(fd, FBIOBLANK, FB_BLANK_UNBLANK) < 0) {
|
||||
|
Reference in New Issue
Block a user