system/helpers: disable GetWidth4FB_HW_ACC()

...will be removed later


Origin commit data
------------------
Branch: ni/coolstream
Commit: c95601630a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-14 (Tue, 14 Feb 2017)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2017-02-14 00:15:11 +01:00
parent 5c02691597
commit 0c04a79245
2 changed files with 5 additions and 1 deletions

View File

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

View File

@@ -115,7 +115,9 @@ class CFileHelpers
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);
#endif
#if __cplusplus < 201103L
std::string to_string(int);