Path: blob/main_old/extensions/ANGLE_client_arrays.txt
1693 views
Name12ANGLE_client_arrays34Name Strings56GL_ANGLE_client_arrays78Contributors910Geoff Lang1112Contact1314Geoff Lang (geofflang 'at' google.com)1516Notice1718Copyright (c) 2016 The Khronos Group Inc. Copyright terms at19http://www.khronos.org/registry/speccopyright.html2021Status2223Draft2425Version2627Version 1, February 13, 20162829Number3031OpenGL ES Extension #??3233Dependencies3435Requires OpenGL ES 2.03637Written against the OpenGL ES 2.0 specification.3839Overview4041This extension allows the OpenGL context to indicate if it supports drawing42with client-side vertex or index data. Client-side can be very inefficient43and unsafe, it is convenient for some users to completely disable its usage.4445New Procedures and Functions4647None4849New Tokens5051Accepted by the <cap> parameter to IsEnabled and the <pname> parameter to52GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v:5354CLIENT_ARRAYS_ANGLE 0x93AA5556Additions to the OpenGL ES Specification5758Add after paragraph 3 of section 2.8 "Vertex Arrays":5960If VertexAttribPointer is called while zero is bound to the ARRAY_BUFFER61buffer object binding point, the pointer argument is not NULL, and62CLIENT_ARRAYS_ANGLE is TRUE, an INVALID_OPERATION error is generated.6364Add to the end of section 2.9.1 "Vertex Arrays in Buffer Objects":6566Rendering commands that draw more than 0 primitives using enabled vertex67attributes with no buffer bound when CLIENT_ARRAYS_ANGLE is TRUE generate68an INVALID_OPERATION error.6970Add to the end of section 2.9.2 "Array Indices in Buffer Objects":7172Rendering commands that draw using index data when no buffer is bound to73the ELEMENT_ARRAY_BUFFER binding point when CLIENT_ARRAYS_ANGLE is TRUE74generate an INVALID_OPERATION error.7576New State7778Modify Table 6.22, Miscellaneous7980Add:8182Initial83Get Value Type Get Command Value Description84-------------------- ---- ----------- ------- ---------------------85CLIENT_ARRAYS_ANGLE B IsEnabled TRUE Client arrays enabled8687Conformance Tests8889TBD9091Issues9293None9495Revision History9697Rev. Date Author Changes98---- ------------- --------- ----------------------------------------992 Jun 12, 2018 Brandon Jones (Intel) Remove primitives > 0 requirement to error100when doing an indexed draw with no bound101ELEMENT_ARRAY_BUFFER1021 Feb 13, 2016 geofflang Initial version103104105