#include <glt/config.h>
#include <glt/gl.h>
Include dependency graph for countsrf.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Enumerations | |
enum | countSurfacesMode { COUNT_SURFACES_ALL, COUNT_SURFACES_99TH_PERCENTILE } |
Functions | |
void | countSurfaces (const GltShape &shape) |
Use the stencil buffer to count the number of surfaces drawn at each pixel. | |
GLubyte | countSurfaces (const GltShape &shape, const countSurfacesMode mode) |
Use the stencil buffer to count the number of surfaces drawn at each pixel. | |
GLubyte | countSurfacesVisualise (const GltShape &shape) |
Visualise the number of rendered surfaces at each pixel. | |
GLuint | stencilHistogram (GLuint histogram[256]) |
Extract a stencil buffer histogram for the current viewport. |
Definition in file countsrf.h.
|
Definition at line 44 of file countsrf.h. Referenced by countSurfaces(). |
|
Use the stencil buffer to count the number of surfaces drawn at each pixel.
Definition at line 28 of file countsrf.cpp. References GltShape::draw(), and GLERROR. |
|
Use the stencil buffer to count the number of surfaces drawn at each pixel.
Definition at line 65 of file countsrf.cpp. References COUNT_SURFACES_99TH_PERCENTILE, COUNT_SURFACES_ALL, countSurfacesMode, GLERROR, and stencilHistogram(). Referenced by countSurfacesVisualise(). |
|
Visualise the number of rendered surfaces at each pixel.
Definition at line 139 of file countsrf.cpp. References COUNT_SURFACES_ALL, countSurfaces(), drawZnear(), GltColor::glColor(), and maxColors. |
|
Extract a stencil buffer histogram for the current viewport.
Definition at line 181 of file countsrf.cpp. Referenced by countSurfaces(). |