Skip to content

Commit

Permalink
Optimize floor drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Aug 17, 2024
1 parent dc2406d commit b18c957
Show file tree
Hide file tree
Showing 5 changed files with 340 additions and 187 deletions.
8 changes: 2 additions & 6 deletions Source/engine/render/blit_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@
#include "engine/palette.h"
#include "utils/attributes.h"

namespace devilution {
#define DEVILUTIONX_BLIT_EXECUTION_POLICY DVL_EXECUTION_UNSEQ

#if __cpp_lib_execution >= 201902L
#define DEVILUTIONX_BLIT_EXECUTION_POLICY std::execution::unseq,
#else
#define DEVILUTIONX_BLIT_EXECUTION_POLICY
#endif
namespace devilution {

DVL_ALWAYS_INLINE DVL_ATTRIBUTE_HOT void BlitFillDirect(uint8_t *dst, unsigned length, uint8_t color)
{
Expand Down
Loading

0 comments on commit b18c957

Please sign in to comment.