mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5080eda0ba
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-01-16 (Sat, 16 Jan 2010)
------------------
This commit was generated by Migit
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