Browse Source
Merge pull request #2977 from lioncash/algorithm
common: Rename binary_find.h to algorithm.h
pull/15/merge
bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
10 additions and
4 deletions
-
src/common/CMakeLists.txt
-
src/common/algorithm.h
-
src/video_core/texture_cache/surface_base.cpp
-
src/video_core/texture_cache/surface_base.h
|
|
|
@ -95,11 +95,11 @@ add_custom_command(OUTPUT scm_rev.cpp |
|
|
|
) |
|
|
|
|
|
|
|
add_library(common STATIC |
|
|
|
algorithm.h |
|
|
|
alignment.h |
|
|
|
assert.h |
|
|
|
detached_tasks.cpp |
|
|
|
detached_tasks.h |
|
|
|
binary_find.h |
|
|
|
bit_field.h |
|
|
|
bit_util.h |
|
|
|
cityhash.cpp |
|
|
|
|
|
|
|
@ -5,6 +5,12 @@ |
|
|
|
#pragma once |
|
|
|
|
|
|
|
#include <algorithm> |
|
|
|
#include <functional> |
|
|
|
|
|
|
|
// Algorithms that operate on iterators, much like the <algorithm> header. |
|
|
|
// |
|
|
|
// Note: If the algorithm is not general-purpose and/or doesn't operate on iterators, |
|
|
|
// it should probably not be placed within this header. |
|
|
|
|
|
|
|
namespace Common { |
|
|
|
|
|
|
|
@ -2,6 +2,7 @@ |
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "common/algorithm.h"
|
|
|
|
#include "common/assert.h"
|
|
|
|
#include "common/common_types.h"
|
|
|
|
#include "common/microprofile.h"
|
|
|
|
|
|
|
|
@ -4,12 +4,11 @@ |
|
|
|
|
|
|
|
#pragma once |
|
|
|
|
|
|
|
#include <algorithm> |
|
|
|
#include <optional> |
|
|
|
#include <tuple> |
|
|
|
#include <unordered_map> |
|
|
|
#include <vector> |
|
|
|
|
|
|
|
#include "common/assert.h" |
|
|
|
#include "common/binary_find.h" |
|
|
|
#include "common/common_types.h" |
|
|
|
#include "video_core/gpu.h" |
|
|
|
#include "video_core/morton.h" |
|
|
|
|