Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
516 changes: 516 additions & 0 deletions source/derelict/gles/constants3.d

Large diffs are not rendered by default.

497 changes: 494 additions & 3 deletions source/derelict/gles/ext2.d

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions source/derelict/gles/ext3.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*

Boost Software License - Version 1.0 - August 17th, 2003

Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:

The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

*/
module derelict.gles.ext3;

package void loadEXT3( ) {
}
388 changes: 388 additions & 0 deletions source/derelict/gles/functions3.d

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions source/derelict/gles/gles2.d
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ private {

class DerelictGLES2Loader : SharedLibLoader
{
private GLESVersion _loadedVersion;
protected GLESVersion _loadedVersion;
protected this( string libNames ) {
super( libNames );
}

public
{
Expand All @@ -60,7 +63,7 @@ class DerelictGLES2Loader : SharedLibLoader
}

GLESVersion reload() {
loadEXT( );
loadEXT2( );

return _loadedVersion;
}
Expand Down
333 changes: 333 additions & 0 deletions source/derelict/gles/gles3.d

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion source/derelict/gles/types2.d
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,7 @@ alias GLubyte = ubyte;
enum GLESVersion {
None,
GLES20,
HighestSupported = GLES20,
GLES30,
GLES31,
HighestSupported = GLES31,
}
32 changes: 32 additions & 0 deletions source/derelict/gles/types3.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*

Boost Software License - Version 1.0 - August 17th, 2003

Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:

The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

*/
module derelict.gles.types3;

public import derelict.gles.types2;

alias GLhalf = ushort;