Skip to content

Commit

Permalink
WebGL 2: Mention all removed functions related to MapBufferRange
Browse files Browse the repository at this point in the history
Also add a note that getBufferSubData is provided as an alternative.
  • Loading branch information
Olli Etuaho committed Oct 27, 2014
1 parent 12d8dc0 commit 440f254
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion specs/latest/2.0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2415,9 +2415,16 @@ <h3>GLSL ES 1.00 Fragment Shader Output</h3>
<h3>No MapBufferRange</h3>

<p>
The <code>MapBufferRange</code> entry point is removed from the WebGL 2.0 API. The following enum values are removed together with it: <code>BUFFER_ACCESS_FLAGS</code>, <code>BUFFER_MAP_LENGTH</code>, <code>BUFFER_MAP_OFFSET</code>.
The <code>MapBufferRange</code>, <code>FlushMappedBufferRange</code>, and <code>UnmapBuffer</code>
entry points are removed from the WebGL 2.0 API. The following enum values are also removed:
<code>BUFFER_ACCESS_FLAGS</code>, <code>BUFFER_MAP_LENGTH</code>, and <code>BUFFER_MAP_OFFSET</code>.
</p>

<div class="note">
Instead of using <code>MapBufferRange</code>, buffer data may be read by using the
<code>getBufferSubData</code> entry point.
</div>

<h3><a name="CLIENT_WAIT_SYNC">clientWaitSync</a></h3>
<p>
In the WebGL 2.0 API, WebGL implementations must enforce a short maximum timeout on calls to clientWaitSync in
Expand Down

0 comments on commit 440f254

Please sign in to comment.