21.06.2014 Views

OpenGL 4.2 (Compatibility Profile) - April 27, 2012

OpenGL 4.2 (Compatibility Profile) - April 27, 2012

OpenGL 4.2 (Compatibility Profile) - April 27, 2012

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.5. DISPLAY LISTS 466<br />

the effect of creating an empty display list for each of the indices n, . . . , n + s − 1,<br />

so that these indices all become used. GenLists returns 0 if there is no group of s<br />

contiguous previously unused display list indices, or if s = 0.<br />

boolean IsList( uint list );<br />

returns TRUE if list is the index of some display list.<br />

A contiguous group of display lists may be deleted by calling<br />

void DeleteLists( uint list, sizei range );<br />

where list is the index of the first display list to be deleted and range is the number<br />

of display lists to be deleted. All information about the display lists is lost, and the<br />

indices become unused. Indices to which no display list corresponds are ignored.<br />

If range = 0, nothing happens.<br />

5.5.1 Commands Not Usable In Display Lists<br />

Certain commands, when called while compiling a display list, are not compiled<br />

into the display list but are executed immediately. These commands fall in several<br />

categories including<br />

Display lists: GenLists and DeleteLists.<br />

Render modes: FeedbackBuffer, SelectBuffer, and RenderMode.<br />

Vertex arrays: ClientActiveTexture, ColorPointer, EdgeFlagPointer, Fog-<br />

CoordPointer, IndexPointer, InterleavedArrays, NormalPointer, Secondary-<br />

ColorPointer, TexCoordPointer, VertexAttribPointer, VertexAttribIPointer,<br />

VertexAttribLPointer, VertexPointer, PrimitiveRestartIndex, GenVertexArrays,<br />

DeleteVertexArrays, and BindVertexArray.<br />

Client state: EnableClientState, DisableClientState, EnableVertexAttrib-<br />

Array, DisableVertexAttribArray, PushClientAttrib, and PopClientAttrib.<br />

Pixels and textures: PixelStore, ReadPixels, GenTextures, DeleteTextures,<br />

AreTexturesResident, TexBuffer, TexStorage1D, TexStorage2D, TexStorage3D,<br />

and GenerateMipmap.<br />

Occlusion queries: GenQueries and DeleteQueries.<br />

Buffer objects: GenBuffers, DeleteBuffers, BindBuffer, BindBufferRange,<br />

BindBufferBase, TransformFeedbackVaryings, MemoryBarrier, BufferData,<br />

BufferSubData, MapBuffer, MapBufferRange, FlushMappedBufferRange,<br />

and UnmapBuffer.<br />

Sampler objects: GenSamplers and DeleteSamplers.<br />

Transform feedback objects: GenTransformFeedbacks and DeleteTransformFeedbacks.<br />

<strong>OpenGL</strong> <strong>4.2</strong> (<strong>Compatibility</strong> <strong>Profile</strong>) - <strong>April</strong> <strong>27</strong>, <strong>2012</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!