{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"VisualC-WinRT","path":"VisualC-WinRT","contentType":"directory"},{"name":"VisualC","path":"VisualC","contentType":"directory"},{"name":"Xcode-iOS","path":"Xcode-iOS","contentType":"directory"},{"name":"Xcode","path":"Xcode","contentType":"directory"},{"name":"acinclude","path":"acinclude","contentType":"directory"},{"name":"android-project","path":"android-project","contentType":"directory"},{"name":"build-scripts","path":"build-scripts","contentType":"directory"},{"name":"cmake","path":"cmake","contentType":"directory"},{"name":"debian","path":"debian","contentType":"directory"},{"name":"include","path":"include","contentType":"directory"},{"name":"premake","path":"premake","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":"visualtest","path":"visualtest","contentType":"directory"},{"name":".hgignore","path":".hgignore","contentType":"file"},{"name":"Android.mk","path":"Android.mk","contentType":"file"},{"name":"BUGS.txt","path":"BUGS.txt","contentType":"file"},{"name":"CMakeLists.txt","path":"CMakeLists.txt","contentType":"file"},{"name":"COPYING.txt","path":"COPYING.txt","contentType":"file"},{"name":"CREDITS.txt","path":"CREDITS.txt","contentType":"file"},{"name":"INSTALL.txt","path":"INSTALL.txt","contentType":"file"},{"name":"Makefile.in","path":"Makefile.in","contentType":"file"},{"name":"Makefile.minimal","path":"Makefile.minimal","contentType":"file"},{"name":"Makefile.pandora","path":"Makefile.pandora","contentType":"file"},{"name":"Makefile.psp","path":"Makefile.psp","contentType":"file"},{"name":"Makefile.wiz","path":"Makefile.wiz","contentType":"file"},{"name":"README-SDL.txt","path":"README-SDL.txt","contentType":"file"},{"name":"README-android.txt","path":"README-android.txt","contentType":"file"},{"name":"README-cmake.txt","path":"README-cmake.txt","contentType":"file"},{"name":"README-directfb.txt","path":"README-directfb.txt","contentType":"file"},{"name":"README-dynapi.txt","path":"README-dynapi.txt","contentType":"file"},{"name":"README-gesture.txt","path":"README-gesture.txt","contentType":"file"},{"name":"README-hg.txt","path":"README-hg.txt","contentType":"file"},{"name":"README-ios.txt","path":"README-ios.txt","contentType":"file"},{"name":"README-linux.txt","path":"README-linux.txt","contentType":"file"},{"name":"README-macosx.txt","path":"README-macosx.txt","contentType":"file"},{"name":"README-nacl.txt","path":"README-nacl.txt","contentType":"file"},{"name":"README-pandora.txt","path":"README-pandora.txt","contentType":"file"},{"name":"README-platforms.txt","path":"README-platforms.txt","contentType":"file"},{"name":"README-porting.txt","path":"README-porting.txt","contentType":"file"},{"name":"README-psp.txt","path":"README-psp.txt","contentType":"file"},{"name":"README-raspberrypi.txt","path":"README-raspberrypi.txt","contentType":"file"},{"name":"README-touch.txt","path":"README-touch.txt","contentType":"file"},{"name":"README-wince.txt","path":"README-wince.txt","contentType":"file"},{"name":"README-windows.txt","path":"README-windows.txt","contentType":"file"},{"name":"README-winrt.txt","path":"README-winrt.txt","contentType":"file"},{"name":"README.txt","path":"README.txt","contentType":"file"},{"name":"SDL2.spec.in","path":"SDL2.spec.in","contentType":"file"},{"name":"TODO.txt","path":"TODO.txt","contentType":"file"},{"name":"VisualC.html","path":"VisualC.html","contentType":"file"},{"name":"WhatsNew.txt","path":"WhatsNew.txt","contentType":"file"},{"name":"autogen.sh","path":"autogen.sh","contentType":"file"},{"name":"cmake_uninstall.cmake.in","path":"cmake_uninstall.cmake.in","contentType":"file"},{"name":"configure","path":"configure","contentType":"file"},{"name":"configure.in","path":"configure.in","contentType":"file"},{"name":"sdl2-config.in","path":"sdl2-config.in","contentType":"file"},{"name":"sdl2.m4","path":"sdl2.m4","contentType":"file"},{"name":"sdl2.pc.in","path":"sdl2.pc.in","contentType":"file"}],"totalCount":58}},"fileTreeProcessingTime":2.4131650000000002,"foldersToFetch":[],"repo":{"id":330008801,"defaultBranch":"main","name":"SDL","ownerLogin":"libsdl-org","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-01-15T19:55:54.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/77683370?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"a838a56d45b237888810ca4c76d9345fe98f27f6","listCacheKey":"v0:1709678518.0","canEdit":false,"refType":"tree","currentOid":"a838a56d45b237888810ca4c76d9345fe98f27f6"},"path":"README-directfb.txt","currentUser":null,"blob":{"rawLines":["SDL on DirectFB\r","\r","Supports:\r","\r","- Hardware YUV overlays\r","- OpenGL - software only\r","- 2D/3D accelerations (depends on directfb driver)\r","- multiple displays\r","- windows\r","\r","What you need:\r","\r","DirectFB 1.0.1, 1.2.x, 1.3.0\r","Kernel-Framebuffer support: required: vesafb, radeonfb .... \r","Mesa 7.0.x\t - optional for OpenGL\r","\r","/etc/directfbrc\r","\r","This file should contain the following lines to make\r","your joystick work and avoid crashes:\r","------------------------\r","disable-module=joystick\r","disable-module=cle266\r","disable-module=cyber5k\r","no-linux-input-grab\r","------------------------\r","\r","To disable to use x11 backend when DISPLAY variable is found use\r","\r","export SDL_DIRECTFB_X11_CHECK=0\r","\r","To disable the use of linux input devices, i.e. multimice/multikeyboard support,\r","use\r","\r","export SDL_DIRECTFB_LINUX_INPUT=0\r","\r","To use hardware accelerated YUV-overlays for YUV-textures, use:\r","\r","export SDL_DIRECTFB_YUV_DIRECT=1\r","\r","This is disabled by default. It will only support one \r","YUV texture, namely the first. Every other YUV texture will be\r","rendered in software.\r","\r","In addition, you may use (directfb-1.2.x)\r","\r","export SDL_DIRECTFB_YUV_UNDERLAY=1\r","\r","to make the YUV texture an underlay. This will make the cursor to\r","be shown.\r","\r","Simple Window Manager\r","=====================\r","\r","The driver has support for a very, very basic window manager you may\r","want to use when running with \"wm=default\". Use\r","\r","export SDL_DIRECTFB_WM=1\r","\r","to enable basic window borders. In order to have the window title rendered,\r","you need to have the following font installed:\r","\r","/usr/share/fonts/truetype/freefont/FreeSans.ttf\r","\r","OpenGL Support\r","==============\r","\r","The following instructions will give you *software* OpenGL. However this\r","works at least on all directfb supported platforms.\r","\r","As of this writing 20100802 you need to pull Mesa from git and do the following:\r","\r","------------------------\r","git clone git://anongit.freedesktop.org/git/mesa/mesa\r","cd mesa \r","git checkout 2c9fdaf7292423c157fc79b5ce43f0f199dd753a\r","------------------------\r","\r","Edit configs/linux-directfb so that the Directories-section looks like\r","------------------------\r","# Directories\r","SRC_DIRS = mesa glu \r","GLU_DIRS = sgi\r","DRIVER_DIRS = directfb\r","PROGRAM_DIRS = \r","------------------------\r","\r","make linux-directfb\r","make\r","\r","echo Installing - please enter sudo pw.\r","\r","sudo make install INSTALL_DIR=/usr/local/dfb_GL\r","cd src/mesa/drivers/directfb\r","make\r","sudo make install INSTALL_DIR=/usr/local/dfb_GL\r","------------------------\r","\r","To run the SDL - testprograms:\r","\r","export SDL_VIDEODRIVER=directfb\r","export LD_LIBRARY_PATH=/usr/local/dfb_GL/lib\r","export LD_PRELOAD=/usr/local/dfb_GL/libGL.so.7\r","\r","./testgl\r","\r"],"stylingDirectives":[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/libsdl-org/SDL/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"README-directfb.txt","displayUrl":"https://github.com/libsdl-org/SDL/blame/a838a56d45b237888810ca4c76d9345fe98f27f6/README-directfb.txt?raw=true","headerInfo":{"blobSize":"2.59 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":null,"isGitLfs":false,"onBranch":false,"shortPath":"e358278","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Flibsdl-org%2FSDL%2Fblame%2Fa838a56d45b237888810ca4c76d9345fe98f27f6%2FREADME-directfb.txt","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"106","truncatedSloc":"73"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Text","languageID":372,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/libsdl-org/SDL/blame/a838a56d45b237888810ca4c76d9345fe98f27f6/README-directfb.txt","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/libsdl-org/SDL/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/libsdl-org/SDL/raw/a838a56d45b237888810ca4c76d9345fe98f27f6/README-directfb.txt","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":true,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"blame":{"ranges":{"1":{"start":1,"oldStart":1,"end":106,"oldEnd":106,"commitOid":"3dcb451f85773e07bef3c5d1668c58ea6755c7f1","reblamePath":null}},"commits":{"3dcb451f85773e07bef3c5d1668c58ea6755c7f1":{"oid":"3dcb451f85773e07bef3c5d1668c58ea6755c7f1","message":"Added a README file regarding WinRT support\n\nTo note, this file is currently formatted with CRLF line endings, rather than\nLF, to allow the file to be viewed with Notepad.","shortMessageHtmlLink":"Added a README file regarding WinRT support","authorAvatarUrl":"https://avatars.githubusercontent.com/u/475856?s=80&v=4","committerName":"David Ludwig","committerEmail":"dludwig@pobox.com","committedDate":"2014-04-09T21:29:19.000-04:00","firstParentOid":null}},"ignoreRevs":{"path":".git-blame-ignore-revs","present":false,"timedOut":null}},"csrf_tokens":{"/libsdl-org/SDL/branches":{"post":"7jBY0tpwMGOFr09je31uSF7OD-zKHdezsSL1ItL4VDKkr5MuxPuhB-zuDEn6AL073Gsy0O2iX9HOXyFmwN7HSw"},"/repos/preferences":{"post":"5ocIdfoWwjAVl6apTgfLF4NMK9p0CRtsagLmg4jB0TezSJ065qP2kFjq_zp0GfvsAympop7MUgxu2Xj8j3KyqQ"}}},"title":"Blaming SDL/README-directfb.txt at a838a56d45b237888810ca4c76d9345fe98f27f6 ยท libsdl-org/SDL"}