system/helpers: disable GetWidth4FB_HW_ACC()

...will be removed later


Origin commit data
------------------
Commit: e1e2052edb
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-14 (Tue, 14 Feb 2017)
This commit is contained in:
Stefan Seyfried
2017-02-14 00:15:11 +01:00
committed by Michael Liebmann
parent ee986e0e2f
commit fb65402fa0
2 changed files with 5 additions and 1 deletions

View File

@@ -47,7 +47,7 @@
#include "debug.h" #include "debug.h"
#include <global.h> #include <global.h>
#include <driver/fontrenderer.h> #include <driver/fontrenderer.h>
#include <driver/framebuffer.h> //#include <driver/framebuffer.h>
#include <system/helpers.h> #include <system/helpers.h>
#include <gui/update_ext.h> #include <gui/update_ext.h>
using namespace std; using namespace std;
@@ -1113,6 +1113,7 @@ bool split_config_string(const std::string &str, std::map<std::string,std::strin
return !smap.empty(); return !smap.empty();
} }
#if 0
/* align for hw blit */ /* align for hw blit */
uint32_t GetWidth4FB_HW_ACC(const uint32_t _x, const uint32_t _w, const bool max) uint32_t GetWidth4FB_HW_ACC(const uint32_t _x, const uint32_t _w, const bool max)
{ {
@@ -1132,6 +1133,7 @@ uint32_t GetWidth4FB_HW_ACC(const uint32_t _x, const uint32_t _w, const bool max
return ret; return ret;
} }
#endif
std::vector<std::string> split(const std::string &s, char delim) std::vector<std::string> split(const std::string &s, char delim)
{ {

View File

@@ -116,7 +116,9 @@ class CFileHelpers
static uint64_t getDirSize(const std::string& dir){return getDirSize(dir.c_str());}; static uint64_t getDirSize(const std::string& dir){return getDirSize(dir.c_str());};
}; };
#if 0
uint32_t GetWidth4FB_HW_ACC(const uint32_t _x, const uint32_t _w, const bool max=true); uint32_t GetWidth4FB_HW_ACC(const uint32_t _x, const uint32_t _w, const bool max=true);
#endif
#if __cplusplus < 201103L #if __cplusplus < 201103L
std::string to_string(int); std::string to_string(int);