Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ACGL
acgl
Commits
eb4468a9
Commit
eb4468a9
authored
Mar 18, 2014
by
Philip Trettner
Browse files
Merge commit '
ee7199d7
'
parents
16ae5ae8
ee7199d7
Changes
22
Hide whitespace changes
Inline
Side-by-side
include/ACGL/OpenGL/Debug.hh
View file @
eb4468a9
...
...
@@ -26,7 +26,7 @@ const char *debugSeverityName( GLenum _type );
void
ACGLRegisterDefaultDebugCallback
();
//! default debug callback
void
APIENTRY
ACGL_KHR_default_debug_callback
(
GLenum
_source
,
GLenum
_type
,
GLuint
_id
,
GLenum
_severity
,
GLsizei
_length
,
const
GLchar
*
_message
,
const
void
*
_userParam
);
void
APIENTRY
ACGL_KHR_default_debug_callback
(
GLenum
_source
,
GLenum
_type
,
GLuint
_id
,
GLenum
_severity
,
GLsizei
_length
,
const
GLchar
*
_message
,
void
*
_userParam
);
}
// OpenGL
}
// ACGL
...
...
include/ACGL/OpenGL/glloaders/gl_compatibility_21.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_compatibility_30.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_compatibility_31.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_compatibility_32.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_compatibility_33.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_compatibility_40.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_compatibility_41.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_compatibility_42.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_compatibility_43.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_compatibility_44.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_core_32.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_core_33.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_core_40.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_core_41.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_core_42.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_core_43.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
include/ACGL/OpenGL/glloaders/gl_core_44.hh
View file @
eb4468a9
...
...
@@ -141,8 +141,8 @@ typedef unsigned int GLhandleARB;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
struct
_cl_event
;
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
const
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROC
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCARB
)(
GLenum
source
,
GLenum
type
,
GLuint
id
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
void
(
APIENTRY
*
GLDEBUGPROCAMD
)(
GLuint
id
,
GLenum
category
,
GLenum
severity
,
GLsizei
length
,
const
GLchar
*
message
,
void
*
userParam
);
typedef
unsigned
short
GLhalfNV
;
typedef
GLintptr
GLvdpauSurfaceNV
;
...
...
src/ACGL/OpenGL/Data/TextureData.cc
View file @
eb4468a9
...
...
@@ -265,7 +265,7 @@ void TextureData::setTexel( glm::uvec2 _texCoord, glm::vec4 _color )
GLint
*
data
=
(
GLint
*
)
(
mData
+
texelOffset
);
glm
::
ivec4
color
=
glm
::
ivec4
(
_color
*
glm
::
vec4
(
2147483648.0
f
)
);
color
=
glm
::
clamp
(
color
,
glm
::
ivec4
(
-
2147483648
),
glm
::
ivec4
(
2147483647
)
);
color
=
glm
::
clamp
(
color
,
glm
::
ivec4
(
std
::
numeric_limits
<
int
>::
min
()
),
glm
::
ivec4
(
2147483647
)
);
data
[
0
]
=
color
.
r
;
if
(
getNumberOfChannels
()
>
1
)
data
[
1
]
=
color
.
g
;
...
...
src/ACGL/OpenGL/Data/TextureDataLoadStore.cc
View file @
eb4468a9
...
...
@@ -527,6 +527,7 @@ SharedTextureData loadTextureDataFromPNM(const std::string& _filename, ColorSpac
if
(
offset
==
7
)
fileStream
.
ignore
(
1
);
}
else
elem
=
0
;
if
(
!
fileStream
.
good
())
break
;
...
...
@@ -692,9 +693,10 @@ bool saveTextureDataToLodepng( const SharedTextureData &_data, const std::string
LodePNGColorType
colorType
;
if
(
channelCount
==
1
)
colorType
=
LCT_GREY
;
if
(
channelCount
==
2
)
colorType
=
LCT_GREY_ALPHA
;
if
(
channelCount
==
3
)
colorType
=
LCT_RGB
;
if
(
channelCount
==
4
)
colorType
=
LCT_RGBA
;
else
if
(
channelCount
==
2
)
colorType
=
LCT_GREY_ALPHA
;
else
if
(
channelCount
==
3
)
colorType
=
LCT_RGB
;
else
if
(
channelCount
==
4
)
colorType
=
LCT_RGBA
;
else
colorType
=
LCT_RGBA
;
unsigned
int
errorCode
=
lodepng_encode_file
(
_filename
.
c_str
(),
processedData
,
_data
->
getWidth
(),
_data
->
getHeight
(),
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment