]> git.pld-linux.org Git - packages/GLStats.git/blob - GLStats-update.patch
- updated to 0.3.2
[packages/GLStats.git] / GLStats-update.patch
1 --- GLStats-0.3.2/GLStats/data.cpp.orig 2015-07-07 12:40:32.000000000 +0200
2 +++ GLStats-0.3.2/GLStats/data.cpp      2024-04-21 18:16:45.032225044 +0200
3 @@ -23,14 +23,15 @@
4  #include "type.h"
5  
6  #include <lunchbox/debug.h>
7 -#include <lunchbox/stdExt.h>
8 +#include <servus/uint128_t.h>
9  #include <limits>
10 +#include <unordered_map>
11  
12  namespace GLStats
13  {
14 -typedef stde::hash_map< uint32_t, Entity > EntityMap;
15 +typedef std::unordered_map< uint32_t, Entity > EntityMap;
16  typedef EntityMap::const_iterator EntityMapCIter;
17 -typedef stde::hash_map< uint32_t, Thread > ThreadMap;
18 +typedef std::unordered_map< uint32_t, Thread > ThreadMap;
19  typedef ThreadMap::const_iterator ThreadMapCIter;
20  typedef Items::const_iterator ItemsCIter;
21  typedef Items::iterator ItemsIter;
22 --- GLStats-0.3.2/GLStats/renderer.cpp.orig     2015-07-07 12:40:32.000000000 +0200
23 +++ GLStats-0.3.2/GLStats/renderer.cpp  2024-04-21 18:16:31.875629652 +0200
24 @@ -25,10 +25,12 @@
25  
26  #include <lunchbox/debug.h>
27  #include <lunchbox/os.h>
28 -#include <lunchbox/stdExt.h>
29 +#include <servus/uint128_t.h>
30  
31 +#include <algorithm>
32  #include <map>
33  #include <set>
34 +#include <unordered_map>
35  #ifdef __APPLE__
36  #  include <OpenGL/gl.h>
37  #else
38 @@ -48,7 +50,7 @@ typedef std::set< uint32_t > ThreadSet;
39  typedef ThreadSet::const_iterator ThreadSetCIter;
40  typedef std::map< uint32_t, ThreadSet > EntityMap;
41  typedef EntityMap::const_iterator EntityMapCIter;
42 -typedef stde::hash_map< uint32_t, float > EntityPos;
43 +typedef std::unordered_map< uint32_t, float > EntityPos;
44  
45  typedef Items::const_iterator ItemsCIter;
46  
47 @@ -122,8 +124,8 @@ public:
48          const Item* last = &items.front();
49          typedef std::pair< uint32_t, uint64_t > FrameTime;
50          typedef std::vector< FrameTime > FrameTimes;
51 -        typedef stde::hash_map< uint64_t, FrameTimes > FrameTimesMap;
52 -        typedef stde::hash_map< uint32_t, uint64_t > FrameEndMap;
53 +        typedef std::unordered_map< uint64_t, FrameTimes > FrameTimesMap;
54 +        typedef std::unordered_map< uint32_t, uint64_t > FrameEndMap;
55          typedef FrameTimes::const_iterator FrameTimesCIter;
56          typedef FrameTimesMap::const_iterator FrameTimesMapCIter;
57          typedef FrameEndMap::const_iterator FrameEndMapCIter;
This page took 0.213033 seconds and 3 git commands to generate.