15bd8deadSopenharmony_ciXXX - Not complete yet!!!
25bd8deadSopenharmony_ci
35bd8deadSopenharmony_ciName
45bd8deadSopenharmony_ci
55bd8deadSopenharmony_ci    SGIX_async_histogram
65bd8deadSopenharmony_ci
75bd8deadSopenharmony_ciName Strings
85bd8deadSopenharmony_ci
95bd8deadSopenharmony_ci    GL_SGIX_async_histogram
105bd8deadSopenharmony_ci
115bd8deadSopenharmony_ciVersion
125bd8deadSopenharmony_ci
135bd8deadSopenharmony_ci    $Date: 1998/02/11 23:24:25 $ $Revision: 1.3 $
145bd8deadSopenharmony_ci
155bd8deadSopenharmony_ciNumber
165bd8deadSopenharmony_ci
175bd8deadSopenharmony_ci    134
185bd8deadSopenharmony_ci
195bd8deadSopenharmony_ciDependencies
205bd8deadSopenharmony_ci
215bd8deadSopenharmony_ci    SGIX_async is required.
225bd8deadSopenharmony_ci    EXT_histogram is required.
235bd8deadSopenharmony_ci
245bd8deadSopenharmony_ciOverview
255bd8deadSopenharmony_ci
265bd8deadSopenharmony_ci    This extension introduces a new asynchronous mode for histogram
275bd8deadSopenharmony_ci    and minmax readbacks.  It allows programs to get the contents of a
285bd8deadSopenharmony_ci    histogram or minmax table without blocking and to continue issuing
295bd8deadSopenharmony_ci    graphics commands during the readback.
305bd8deadSopenharmony_ci
315bd8deadSopenharmony_ciNew Procedures and Functions
325bd8deadSopenharmony_ci
335bd8deadSopenharmony_ci    None
345bd8deadSopenharmony_ci
355bd8deadSopenharmony_ciNew Tokens
365bd8deadSopenharmony_ci
375bd8deadSopenharmony_ci    Accepted by the <cap> parameter of Enable, Disable and IsEnabled,
385bd8deadSopenharmony_ci    and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
395bd8deadSopenharmony_ci    and GetDoublev:
405bd8deadSopenharmony_ci
415bd8deadSopenharmony_ci        ASYNC_HISTOGRAM_SGIX		0x832C
425bd8deadSopenharmony_ci
435bd8deadSopenharmony_ci    Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
445bd8deadSopenharmony_ci    GetFloatv, and GetDoublev:
455bd8deadSopenharmony_ci
465bd8deadSopenharmony_ci        MAX_ASYNC_HISTOGRAM_SGIX        0x832D
475bd8deadSopenharmony_ci
485bd8deadSopenharmony_ciAdditions to Chapter 2 of the 1.1 Specification (OpenGL Operation)
495bd8deadSopenharmony_ci
505bd8deadSopenharmony_ci    None
515bd8deadSopenharmony_ci
525bd8deadSopenharmony_ciAdditions to Chapter 3 of the 1.1 Specification (Rasterization)
535bd8deadSopenharmony_ci
545bd8deadSopenharmony_ci    Add the following to the end of the specification of histogram and
555bd8deadSopenharmony_ci    minmax operators in section 3.6.4 ("Pixel Transfer Operations"):
565bd8deadSopenharmony_ci
575bd8deadSopenharmony_ci    Calling Enable with the <cap> parameter set to
585bd8deadSopenharmony_ci    ASYNC_HISTOGRAM_SGIX causes subsequent GetHistogramEXT and
595bd8deadSopenharmony_ci    GetMinmaxEXT commands to be asynchronous (similar to the
605bd8deadSopenharmony_ci    asynchronous DrawPixels command described earlier).  An
615bd8deadSopenharmony_ci    implementation of these asynchronous commands may be non-blocking:
625bd8deadSopenharmony_ci    It may return control to the program immediately rather than
635bd8deadSopenharmony_ci    waiting for an asynchronous query command's results to be written
645bd8deadSopenharmony_ci    into host memory.  Asynchronous histogram and minmax readback
655bd8deadSopenharmony_ci    commands sample the OpenGL state vector at the time they are
665bd8deadSopenharmony_ci    issued, but they may be executed at some undefined point in the
675bd8deadSopenharmony_ci    future.  In particular, if subsequent commands change the contents
685bd8deadSopenharmony_ci    of the histogram or minmax table then the result of the query is
695bd8deadSopenharmony_ci    undefined.
705bd8deadSopenharmony_ci
715bd8deadSopenharmony_ci    Calling Disable with the <cap> parameter set to
725bd8deadSopenharmony_ci    ASYNC_HISTOGRAM_SGIX restores the default synchronous behavior.
735bd8deadSopenharmony_ci    
745bd8deadSopenharmony_ciAdditions to Chapter 4 of the 1.1 Specification (Fragments and the
755bd8deadSopenharmony_ciFrame Buffer)
765bd8deadSopenharmony_ci
775bd8deadSopenharmony_ci    None
785bd8deadSopenharmony_ci    
795bd8deadSopenharmony_ciAdditions to Chapter 5 of the 1.1 Specification (Special Functions)
805bd8deadSopenharmony_ci
815bd8deadSopenharmony_ci    None
825bd8deadSopenharmony_ci
835bd8deadSopenharmony_ciAdditions to Chapter 6 of the 1.1 Specification (State and State Requests)
845bd8deadSopenharmony_ci
855bd8deadSopenharmony_ci    None
865bd8deadSopenharmony_ci
875bd8deadSopenharmony_ciAdditions to the GLX Specification
885bd8deadSopenharmony_ci
895bd8deadSopenharmony_ci    None
905bd8deadSopenharmony_ci
915bd8deadSopenharmony_ciGLX Protocol
925bd8deadSopenharmony_ci
935bd8deadSopenharmony_ci    None
945bd8deadSopenharmony_ci
955bd8deadSopenharmony_ciDependencies on SGIX_async
965bd8deadSopenharmony_ci
975bd8deadSopenharmony_ci    This document adds a new category of asynchronous commands to
985bd8deadSopenharmony_ci    the framework defined by SGIX_async.
995bd8deadSopenharmony_ci
1005bd8deadSopenharmony_ciDependencies on EXT_histogram
1015bd8deadSopenharmony_ci    
1025bd8deadSopenharmony_ci    This document changes the semantics of the query commands defined
1035bd8deadSopenharmony_ci    by EXT_histogram.
1045bd8deadSopenharmony_ci
1055bd8deadSopenharmony_ciErrors
1065bd8deadSopenharmony_ci
1075bd8deadSopenharmony_ci    INVALID_OPERATION is generated if GetHistogramEXT or GetMinmaxEXT
1085bd8deadSopenharmony_ci    is called and ASYNC_HISTOGRAM_SGIX is enabled and the number of
1095bd8deadSopenharmony_ci    asynchronous histogram or minmax readback commands that have been
1105bd8deadSopenharmony_ci    issued but not queried (using FinishAsyncSGIX or PollAsyncSGIX)
1115bd8deadSopenharmony_ci    exceeds MAX_ASYNC_HISTOGRAM_SGIX.
1125bd8deadSopenharmony_ci
1135bd8deadSopenharmony_ciNew State
1145bd8deadSopenharmony_ci
1155bd8deadSopenharmony_ci    Get Value			Get Command	Type	Value	Attrib
1165bd8deadSopenharmony_ci    ---------			-----------	----	-------	------
1175bd8deadSopenharmony_ci    ASYNC_HISTOGRAM_SGIX        IsEnabled       B       False   enable
1185bd8deadSopenharmony_ci
1195bd8deadSopenharmony_ciNew Implementation Dependent State
1205bd8deadSopenharmony_ci
1215bd8deadSopenharmony_ci								Minimum
1225bd8deadSopenharmony_ci    Get Value			Get Command	Type		Value
1235bd8deadSopenharmony_ci    ---------			-----------	----		-------
1245bd8deadSopenharmony_ci    MAX_ASYNC_HISTOGRAM_SGIX    GetIntegerv     Z+              1
125