mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 01:21:47 +00:00
(GLSM) Update
This commit is contained in:
parent
9a7bde6a02
commit
b0193885ca
@ -1139,6 +1139,46 @@ void rglBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
|
|||||||
glBlendEquationSeparate(modeRGB, modeAlpha);
|
glBlendEquationSeparate(modeRGB, modeAlpha);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* Core in:
|
||||||
|
* OpenGL : 2.0
|
||||||
|
* OpenGLES : 3.2
|
||||||
|
*/
|
||||||
|
void rglCopyImageSubData( GLuint srcName,
|
||||||
|
GLenum srcTarget,
|
||||||
|
GLint srcLevel,
|
||||||
|
GLint srcX,
|
||||||
|
GLint srcY,
|
||||||
|
GLint srcZ,
|
||||||
|
GLuint dstName,
|
||||||
|
GLenum dstTarget,
|
||||||
|
GLint dstLevel,
|
||||||
|
GLint dstX,
|
||||||
|
GLint dstY,
|
||||||
|
GLint dstZ,
|
||||||
|
GLsizei srcWidth,
|
||||||
|
GLsizei srcHeight,
|
||||||
|
GLsizei srcDepth)
|
||||||
|
{
|
||||||
|
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) && defined(HAVE_OPENGLES32)
|
||||||
|
glCopyImageSubData(srcName,
|
||||||
|
srcTarget,
|
||||||
|
srcX,
|
||||||
|
srcY,
|
||||||
|
srcZ,
|
||||||
|
dstName,
|
||||||
|
dstTarget,
|
||||||
|
dstLevel,
|
||||||
|
dstX,
|
||||||
|
dstY,
|
||||||
|
dstZ,
|
||||||
|
srcWidth,
|
||||||
|
srcHeight,
|
||||||
|
srcDepth);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Category: VAO
|
* Category: VAO
|
||||||
*
|
*
|
||||||
|
@ -125,6 +125,7 @@ RETRO_BEGIN_DECLS
|
|||||||
#define glBlendEquation rglBlendEquation
|
#define glBlendEquation rglBlendEquation
|
||||||
#define glBlendColor rglBlendColor
|
#define glBlendColor rglBlendColor
|
||||||
#define glBlendEquationSeparate rglBlendEquationSeparate
|
#define glBlendEquationSeparate rglBlendEquationSeparate
|
||||||
|
#define glCopyImageSubData rglCopyImageSubData
|
||||||
|
|
||||||
void rglBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
|
void rglBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
|
||||||
void rglBlendEquation(GLenum mode);
|
void rglBlendEquation(GLenum mode);
|
||||||
@ -244,6 +245,21 @@ void rglUniform2ui(GLint location, GLuint v0, GLuint v1);
|
|||||||
void rglUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
|
void rglUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
|
||||||
void rglUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
|
void rglUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
|
||||||
void rglBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
|
void rglBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
|
||||||
|
void rglCopyImageSubData( GLuint srcName,
|
||||||
|
GLenum srcTarget,
|
||||||
|
GLint srcLevel,
|
||||||
|
GLint srcX,
|
||||||
|
GLint srcY,
|
||||||
|
GLint srcZ,
|
||||||
|
GLuint dstName,
|
||||||
|
GLenum dstTarget,
|
||||||
|
GLint dstLevel,
|
||||||
|
GLint dstX,
|
||||||
|
GLint dstY,
|
||||||
|
GLint dstZ,
|
||||||
|
GLsizei srcWidth,
|
||||||
|
GLsizei srcHeight,
|
||||||
|
GLsizei srcDepth);
|
||||||
|
|
||||||
RETRO_END_DECLS
|
RETRO_END_DECLS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user