Next | Prev | Up | Top | Contents | Index

Using Proxy Histograms

Histograms can easily get quite large and require more memory than is available to the graphics subsystem. You can call glHistogramEXT() with target set to GL_PROXY_HISTOGRAM_EXT to find out whether a histogram fits into memory. The process is similar to that discussed in "The Texture Extension Proxy Mechanism" and illustrated in Example 6-1.

To query histogram state values, call glGetHistogramParameter*EXT(). Histogram calls with the proxy target (like texture and color table calls with the proxy target) have no effect on the histogram itself.


Next | Prev | Up | Top | Contents | Index