OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sort.h File Reference
#include "common/common.h"

Go to the source code of this file.

Functions

bool sort_init ()
 
void sort_free ()
 
void radix_sort (GLuint particles, vec3 axis, float z_min, float z_max)
 

Variables

const uint32_t BLOCK_SIZE = 128
 
const uint32_t NUM_KEYS = 1 << 14
 
const uint32_t NUM_BLOCKS = NUM_KEYS / BLOCK_SIZE
 

Function Documentation

void radix_sort ( GLuint  particles,
vec3  axis,
float  z_min,
float  z_max 
)

Definition at line 181 of file sort.cpp.

void sort_free ( )

Definition at line 87 of file sort.cpp.

bool sort_init ( )

Definition at line 44 of file sort.cpp.

Variable Documentation

const uint32_t BLOCK_SIZE = 128

Definition at line 25 of file sort.h.

const uint32_t NUM_BLOCKS = NUM_KEYS / BLOCK_SIZE

Definition at line 27 of file sort.h.

const uint32_t NUM_KEYS = 1 << 14

Definition at line 26 of file sort.h.