Skip to content

Commit 4222339

Browse files
committed
remove GL_EXT_direct_state_access from some ES EXT extensions
internal issue 243
1 parent ca62982 commit 4222339

File tree

2 files changed

+20
-95
lines changed

2 files changed

+20
-95
lines changed

extensions/EXT/EXT_buffer_storage.txt

Lines changed: 17 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ Status
3030

3131
Version
3232

33-
Last Modified Date: May 1, 2015
34-
Author Revision: 3
33+
Last Modified Date: March 26, 2025
34+
Author Revision: 4
3535

3636
Number
3737

@@ -44,9 +44,6 @@ Dependencies
4444
This extension is written against the OpenGL ES 3.1 (June 4, 2014)
4545
Specification.
4646

47-
The definition of this extension is affected by the presence of
48-
GL_EXT_direct_state_access.
49-
5047
Overview
5148

5249
OpenGL ES has long supported buffer objects as a means of storing data
@@ -76,17 +73,9 @@ New Procedures and Functions
7673
const void * data,
7774
bitfield flags);
7875

79-
When EXT_direct_state_access is present:
80-
81-
void NamedBufferStorageEXT(uint buffer,
82-
sizeiptr size,
83-
const void * data,
84-
bitfield flags);
85-
8676
New Tokens
8777

88-
Accepted in the <flags> parameter of BufferStorageEXT and
89-
NamedBufferStorageEXT:
78+
Accepted in the <flags> parameter of BufferStorageEXT:
9079

9180
MAP_READ_BIT 0x0001 (existing)
9281
MAP_WRITE_BIT 0x0002 (existing)
@@ -245,8 +234,8 @@ Additions to Chapter 6 of the OpenGL ES 3.1 Specification (Buffer Objects)
245234
BUFFER_STORAGE_FLAGS_EXT | MAP_READ_BIT | | <flags>
246235
| MAP_WRITE_BIT | |
247236
| DYNAMIC_STORAGE_BIT_EXT |
248-
Table 6.3: Buffer object state after calling BufferData,
249-
BufferStorageEXT, or NamedBufferStorageEXT.
237+
Table 6.3: Buffer object state after calling BufferData
238+
or BufferStorageEXT.
250239

251240
A mutable data store may be allocated for a buffer object by calling
252241

@@ -274,23 +263,6 @@ Additions to Chapter 6 of the OpenGL ES 3.1 Specification (Buffer Objects)
274263
and the value of BUFFER_STORAGE_FLAGS_EXT for the buffer does not have
275264
the DYNAMIC_STORAGE_BIT_EXT set.
276265

277-
The command:
278-
279-
void NamedBufferStorageEXT(uint buffer,
280-
sizeiptr size,
281-
const void * data,
282-
bitfield flags);
283-
284-
behaves similarly to BufferStorageEXT, except that the buffer whose storage
285-
is to be defined is specified by <buffer> rather than by the current
286-
binding to <target>.
287-
288-
Add the following error:
289-
290-
An INVALID_OPERATION error is generated by NamedBufferStorageEXT if
291-
the BUFFER_IMMUTABLE_STORAGE_EXT flag of <buffer> is set to TRUE.
292-
293-
294266
Modify Section 6.3, (Mapping and Unmapping Buffer Data)
295267

296268
Add to the bulleted list describing flags that modify buffer mappings,
@@ -372,22 +344,22 @@ Errors
372344
INVALID_OPERATION is generated by BufferStorageEXT if zero is bound to
373345
<target>.
374346

375-
INVALID_OPERATION is generated by BufferStorageEXT, NamedBufferStorageEXT
347+
INVALID_OPERATION is generated by BufferStorageEXT
376348
and BufferData if the BUFFER_IMMUTABLE_STORAGE flag of the buffer bound to
377349
<target> is TRUE.
378350

379-
INVALID_VALUE is generated by BufferStorageEXT and NamedBufferStorageEXT
351+
INVALID_VALUE is generated by BufferStorageEXT
380352
if <size> is less than or equal to zero.
381353

382-
INVALID_VALUE is generated by BufferStorageEXT and NamedBufferStorageEXT
354+
INVALID_VALUE is generated by BufferStorageEXT
383355
if <flags> has any bits set other than those defined above.
384356

385-
INVALID_VALUE is generated by BufferStorageEXT and NamedBufferStorageEXT if
357+
INVALID_VALUE is generated by BufferStorageEXT if
386358
<flags> contains MAP_PERSISTENT_BIT_EXT but does not contain
387359
at least one of MAP_READ_BIT or
388360
MAP_WRITE_BIT.
389361

390-
INVALID_VALUE is generated by BufferStorageEXT and NamedBufferStorageEXT if
362+
INVALID_VALUE is generated by BufferStorageEXT if
391363
<flags> contains MAP_COHERENT_BIT_EXT, but does not also
392364
contain MAP_PERSISTENT_BIT_EXT.
393365

@@ -396,7 +368,7 @@ Errors
396368
<access>, but the same bit is not included in the buffer's storage
397369
flags.
398370

399-
OUT_OF_MEMORY is generated by BufferStorageEXT and NamedBufferStorageEXT if
371+
OUT_OF_MEMORY is generated by BufferStorageEXT if
400372
the GL is not able to allocate a data store with the properties requested
401373
in <flags>.
402374

@@ -408,11 +380,6 @@ Errors
408380
MAP_PERSISTENT_BIT_EXT included in <access>.
409381

410382

411-
Dependencies on GL_EXT_direct_state_access
412-
413-
If GL_EXT_direct_state_access is not supported, remove all references to
414-
NamedBufferStorageEXT.
415-
416383
Conformance Tests
417384

418385
TBD
@@ -505,6 +472,11 @@ Issues
505472

506473
UNRESOLVED. TBD if there is interest in a DSA extension
507474
based on ARB_direct_state_access.
475+
476+
(4) There is still no EXT_direct_state_access available in ES.
477+
Should interactions to a non-existent extension be kept?
478+
479+
RESOLVED: No, they should be deleted.
508480

509481

510482
Revision History
@@ -521,3 +493,4 @@ Revision History
521493
to make CPU writes visible to the GPU in
522494
this case without an explicit flush (Bug
523495
13578, sync w/ ARB_buffer_storage v.25).
496+
4 03/26/25 zmike Delete references to GL_EXT_direct_state_access.

extensions/EXT/EXT_sparse_texture.txt

Lines changed: 3 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ Status
3030

3131
Version
3232

33-
Last Modified Date: 27/03/2015
34-
Revision: 3
33+
Last Modified Date: 26/03/2025
34+
Revision: 4
3535

3636
Number
3737

@@ -58,9 +58,6 @@ Dependencies
5858

5959
This extension interacts with EXT_texture_norm16.
6060

61-
The definition of this extension is affected by the presence of
62-
EXT_direct_state_access.
63-
6461
Overview
6562

6663
Recent advances in application complexity and a desire for higher
@@ -92,18 +89,6 @@ New Procedures and Functions
9289
sizei depth,
9390
boolean commit);
9491

95-
[[ The following is only added if EXT_direct_state_access is supported. ]]
96-
97-
void TexturePageCommitmentEXT(uint texture,
98-
int level,
99-
int xoffset,
100-
int yoffset,
101-
int zoffset,
102-
sizei width,
103-
sizei height,
104-
sizei depth,
105-
boolean commit);
106-
10792
New Tokens
10893

10994
Accepted by the <pname> parameter to TexParameter{if}{v},
@@ -497,35 +482,6 @@ Samplers)
497482
TEXTURE_IMMUTABLE_FORMAT or TEXTURE_SPARSE_EXT for the texture bound to
498483
<target> is FALSE.
499484

500-
[[ The following is only added if EXT_direct_state_access is supported. ]]
501-
502-
The command
503-
504-
void TexturePageCommitmentEXT(uint texture,
505-
int level,
506-
int xoffset,
507-
int yoffset,
508-
int zoffset,
509-
sizei width,
510-
sizei height,
511-
sizei depth,
512-
boolean commit);
513-
514-
may also be used to control the residency of sparse textures. This
515-
command behaves identically to TexPageCommitmentEXT, except that the
516-
texture is identified by the name <texture> instead of via <target>.
517-
518-
Errors
519-
520-
An INVALID_OPERATION error is generated if <texture> is not the name of
521-
an existing texture.
522-
523-
All other errors listed for TexPageCommitmentEXT also apply to
524-
TexturePageCommitmentEXT, except that references to "the texture bound
525-
to <target>" should be replaced with "the texture <texture>", and all
526-
other references to "<target>" should be replaced with "the target of
527-
texture <texture>".
528-
529485
Additions to Chapter 19 of the OpenGL ES 3.1 Specification (Context State
530486
Queries)
531487

@@ -663,11 +619,6 @@ Dependencies on EXT_texture_norm16
663619
R16_EXT, R16_SNORM_EXT, RG16_EXT, RG16_SNORM_EXT, RGB16_EXT,
664620
RGB16_SNORM_EXT, RGBA16_EXT, and RGBA16_SNORM_EXT.
665621

666-
Dependencies on GL_EXT_direct_state_access
667-
668-
If the GL_EXT_direct_state_access extension is not supported, remove all
669-
references to TexturePageCommitmentEXT.
670-
671622
Issues
672623

673624
Note: Issues 1-9 are the same as those in the OpenGL extension
@@ -794,6 +745,7 @@ Revision History
794745

795746
Rev. Date Author Changes
796747
---- ---------- -------- -----------------------------------------
748+
4 03/26/2025 zmike Delete references to GL_EXT_direct_state_access.
797749
3 03/27/2015 dkoch update status and contributors
798750
2 02/25/2015 xiche Additional interaction with GetInternalformativ
799751
1 11/13/2014 dkoch Initial version based on ARB_sparse_texture v11

0 commit comments

Comments
 (0)