functions are there, but they don't have the formula contents in them yet
This commit is contained in:
parent
ac5ff62fb5
commit
8014064407
17 changed files with 13465 additions and 6 deletions
|
|
@ -97,14 +97,65 @@ def apiEmuProcsHeaderCode( e, apis ):
|
|||
def apiEmuProcsSourceCode( e, apis ):
|
||||
code = ''
|
||||
|
||||
o = emuGetInterceptList( e['formulae'], apis )
|
||||
intercept = []
|
||||
|
||||
for api in apis:
|
||||
|
||||
code += '\n'
|
||||
if api.name in cond:
|
||||
code += '#if %s\n' % cond[api.name]
|
||||
|
||||
for function in sorted( api.functions, key = lambda function: function.name):
|
||||
if not function.needsContext:
|
||||
continue
|
||||
if getattr(function,'regalOnly',False)==True:
|
||||
continue
|
||||
|
||||
name = function.name
|
||||
params = paramsDefaultCode(function.parameters, True)
|
||||
callParams = paramsNameCode(function.parameters)
|
||||
rType = typeCode(function.ret.type)
|
||||
category = getattr(function, 'category', None)
|
||||
version = getattr(function, 'version', None)
|
||||
|
||||
emue = emuFindEntry( function, e['formulae'], e['member'] )
|
||||
|
||||
if not emue:
|
||||
continue
|
||||
|
||||
intercept.append( name )
|
||||
|
||||
code += '\nstatic %sREGAL_CALL %s%s(%s) \n{\n' % (rType, 'emuProcIntercept%s_' % e['suffix'], name, params)
|
||||
code += ' RegalContext *_context = REGAL_GET_CONTEXT();\n'
|
||||
code += ' RegalAssert(_context);\n'
|
||||
code += '\n'
|
||||
|
||||
retInit = ''
|
||||
rTypes = rType.strip()
|
||||
if not typeIsVoid(rType):
|
||||
if rTypes in api.defaults:
|
||||
retInit += '%s' % ( api.defaults[rTypes] )
|
||||
else:
|
||||
if rType[-1]=='*' or typeIsVoidPointer(rType):
|
||||
retInit += 'NULL'
|
||||
else:
|
||||
retInit += '(%s) 0' % ( rTypes )
|
||||
|
||||
if not typeIsVoid(rType):
|
||||
code += ' %s ret = %s;\n' % (rType, retInit)
|
||||
code += ' return ret;\n'
|
||||
code += '}\n'
|
||||
|
||||
if api.name in cond:
|
||||
code += '#endif // %s\n' % cond[api.name]
|
||||
|
||||
code += 'void EmuProcsIntercept%s( Dispatch::GL & dt ) {\n' % e['suffix']
|
||||
|
||||
if len(o) == 0:
|
||||
code += '}\n'
|
||||
return code
|
||||
|
||||
maxf = 0
|
||||
for f in intercept:
|
||||
maxf = max( maxf, len(f) )
|
||||
for f in sorted(intercept):
|
||||
spc = ' ' * ( maxf - len(f) )
|
||||
code += ' dt.%s%s = emuProcIntercept%s_%s;\n' % ( f, spc, e['suffix'], f )
|
||||
code += '}\n'
|
||||
return code
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,479 @@ REGAL_GLOBAL_END
|
|||
|
||||
REGAL_NAMESPACE_BEGIN
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glBindBuffer(GLenum target, GLuint buffer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glBindVertexArray(GLuint array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glBindVertexBuffer(GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glClientActiveTexture(GLenum texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glClientActiveTextureARB(GLenum texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDisable(GLenum cap)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDisableClientState(GLenum cap)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDisableClientStateIndexedEXT(GLenum array, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDisableClientStateiEXT(GLenum array, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDisableIndexedEXT(GLenum target, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDisableVertexArrayAttribEXT(GLuint vaobj, GLenum array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDisableVertexArrayEXT(GLuint vaobj, GLenum array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDisableVertexAttribArray(GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDisablei(GLenum cap, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDrawElementsInstancedBaseVertexBaseInstance(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex, GLuint baseinstance)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glEnable(GLenum cap)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glEnableClientState(GLenum cap)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glEnableClientStateIndexedEXT(GLenum array, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glEnableClientStateiEXT(GLenum array, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glEnableIndexedEXT(GLenum target, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glEnableVertexArrayAttribEXT(GLuint vaobj, GLenum array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glEnableVertexArrayEXT(GLuint vaobj, GLenum array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glEnableVertexAttribArray(GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glEnablei(GLenum cap, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount, const GLint *basevertex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glMultiTexCoordPointerEXT(GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glPrimitiveRestartIndex(GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexArrayColorOffsetEXT(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexArrayEdgeFlagOffsetEXT(GLuint vaobj, GLuint buffer, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexArrayFogCoordOffsetEXT(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexArrayIndexOffsetEXT(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexArrayMultiTexCoordOffsetEXT(GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexArrayNormalOffsetEXT(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexArraySecondaryColorOffsetEXT(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexArrayTexCoordOffsetEXT(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexArrayVertexAttribIOffsetEXT(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexArrayVertexAttribOffsetEXT(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexArrayVertexOffsetEXT(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexAttribBinding(GLuint attribindex, GLuint bindingindex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexAttribDivisor(GLuint index, GLuint divisor)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexAttribFormat(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexAttribIFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexAttribLFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexBindingDivisor(GLuint bindingindex, GLuint divisor)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBaseVertex_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
void EmuProcsInterceptBaseVertex( Dispatch::GL & dt ) {
|
||||
dt.glBindBuffer = emuProcInterceptBaseVertex_glBindBuffer;
|
||||
dt.glBindVertexArray = emuProcInterceptBaseVertex_glBindVertexArray;
|
||||
dt.glBindVertexBuffer = emuProcInterceptBaseVertex_glBindVertexBuffer;
|
||||
dt.glClientActiveTexture = emuProcInterceptBaseVertex_glClientActiveTexture;
|
||||
dt.glClientActiveTextureARB = emuProcInterceptBaseVertex_glClientActiveTextureARB;
|
||||
dt.glColorPointer = emuProcInterceptBaseVertex_glColorPointer;
|
||||
dt.glDisable = emuProcInterceptBaseVertex_glDisable;
|
||||
dt.glDisableClientState = emuProcInterceptBaseVertex_glDisableClientState;
|
||||
dt.glDisableClientStateIndexedEXT = emuProcInterceptBaseVertex_glDisableClientStateIndexedEXT;
|
||||
dt.glDisableClientStateiEXT = emuProcInterceptBaseVertex_glDisableClientStateiEXT;
|
||||
dt.glDisableIndexedEXT = emuProcInterceptBaseVertex_glDisableIndexedEXT;
|
||||
dt.glDisableVertexArrayAttribEXT = emuProcInterceptBaseVertex_glDisableVertexArrayAttribEXT;
|
||||
dt.glDisableVertexArrayEXT = emuProcInterceptBaseVertex_glDisableVertexArrayEXT;
|
||||
dt.glDisableVertexAttribArray = emuProcInterceptBaseVertex_glDisableVertexAttribArray;
|
||||
dt.glDisablei = emuProcInterceptBaseVertex_glDisablei;
|
||||
dt.glDrawElementsBaseVertex = emuProcInterceptBaseVertex_glDrawElementsBaseVertex;
|
||||
dt.glDrawElementsInstancedBaseVertex = emuProcInterceptBaseVertex_glDrawElementsInstancedBaseVertex;
|
||||
dt.glDrawElementsInstancedBaseVertexBaseInstance = emuProcInterceptBaseVertex_glDrawElementsInstancedBaseVertexBaseInstance;
|
||||
dt.glDrawRangeElementsBaseVertex = emuProcInterceptBaseVertex_glDrawRangeElementsBaseVertex;
|
||||
dt.glEdgeFlagPointer = emuProcInterceptBaseVertex_glEdgeFlagPointer;
|
||||
dt.glEnable = emuProcInterceptBaseVertex_glEnable;
|
||||
dt.glEnableClientState = emuProcInterceptBaseVertex_glEnableClientState;
|
||||
dt.glEnableClientStateIndexedEXT = emuProcInterceptBaseVertex_glEnableClientStateIndexedEXT;
|
||||
dt.glEnableClientStateiEXT = emuProcInterceptBaseVertex_glEnableClientStateiEXT;
|
||||
dt.glEnableIndexedEXT = emuProcInterceptBaseVertex_glEnableIndexedEXT;
|
||||
dt.glEnableVertexArrayAttribEXT = emuProcInterceptBaseVertex_glEnableVertexArrayAttribEXT;
|
||||
dt.glEnableVertexArrayEXT = emuProcInterceptBaseVertex_glEnableVertexArrayEXT;
|
||||
dt.glEnableVertexAttribArray = emuProcInterceptBaseVertex_glEnableVertexAttribArray;
|
||||
dt.glEnablei = emuProcInterceptBaseVertex_glEnablei;
|
||||
dt.glFogCoordPointer = emuProcInterceptBaseVertex_glFogCoordPointer;
|
||||
dt.glIndexPointer = emuProcInterceptBaseVertex_glIndexPointer;
|
||||
dt.glInterleavedArrays = emuProcInterceptBaseVertex_glInterleavedArrays;
|
||||
dt.glMultiDrawElementsBaseVertex = emuProcInterceptBaseVertex_glMultiDrawElementsBaseVertex;
|
||||
dt.glMultiTexCoordPointerEXT = emuProcInterceptBaseVertex_glMultiTexCoordPointerEXT;
|
||||
dt.glNormalPointer = emuProcInterceptBaseVertex_glNormalPointer;
|
||||
dt.glPrimitiveRestartIndex = emuProcInterceptBaseVertex_glPrimitiveRestartIndex;
|
||||
dt.glSecondaryColorPointer = emuProcInterceptBaseVertex_glSecondaryColorPointer;
|
||||
dt.glTexCoordPointer = emuProcInterceptBaseVertex_glTexCoordPointer;
|
||||
dt.glVertexArrayColorOffsetEXT = emuProcInterceptBaseVertex_glVertexArrayColorOffsetEXT;
|
||||
dt.glVertexArrayEdgeFlagOffsetEXT = emuProcInterceptBaseVertex_glVertexArrayEdgeFlagOffsetEXT;
|
||||
dt.glVertexArrayFogCoordOffsetEXT = emuProcInterceptBaseVertex_glVertexArrayFogCoordOffsetEXT;
|
||||
dt.glVertexArrayIndexOffsetEXT = emuProcInterceptBaseVertex_glVertexArrayIndexOffsetEXT;
|
||||
dt.glVertexArrayMultiTexCoordOffsetEXT = emuProcInterceptBaseVertex_glVertexArrayMultiTexCoordOffsetEXT;
|
||||
dt.glVertexArrayNormalOffsetEXT = emuProcInterceptBaseVertex_glVertexArrayNormalOffsetEXT;
|
||||
dt.glVertexArraySecondaryColorOffsetEXT = emuProcInterceptBaseVertex_glVertexArraySecondaryColorOffsetEXT;
|
||||
dt.glVertexArrayTexCoordOffsetEXT = emuProcInterceptBaseVertex_glVertexArrayTexCoordOffsetEXT;
|
||||
dt.glVertexArrayVertexAttribIOffsetEXT = emuProcInterceptBaseVertex_glVertexArrayVertexAttribIOffsetEXT;
|
||||
dt.glVertexArrayVertexAttribOffsetEXT = emuProcInterceptBaseVertex_glVertexArrayVertexAttribOffsetEXT;
|
||||
dt.glVertexArrayVertexOffsetEXT = emuProcInterceptBaseVertex_glVertexArrayVertexOffsetEXT;
|
||||
dt.glVertexAttribBinding = emuProcInterceptBaseVertex_glVertexAttribBinding;
|
||||
dt.glVertexAttribDivisor = emuProcInterceptBaseVertex_glVertexAttribDivisor;
|
||||
dt.glVertexAttribFormat = emuProcInterceptBaseVertex_glVertexAttribFormat;
|
||||
dt.glVertexAttribIFormat = emuProcInterceptBaseVertex_glVertexAttribIFormat;
|
||||
dt.glVertexAttribIPointer = emuProcInterceptBaseVertex_glVertexAttribIPointer;
|
||||
dt.glVertexAttribLFormat = emuProcInterceptBaseVertex_glVertexAttribLFormat;
|
||||
dt.glVertexAttribLPointer = emuProcInterceptBaseVertex_glVertexAttribLPointer;
|
||||
dt.glVertexAttribPointer = emuProcInterceptBaseVertex_glVertexAttribPointer;
|
||||
dt.glVertexBindingDivisor = emuProcInterceptBaseVertex_glVertexBindingDivisor;
|
||||
dt.glVertexPointer = emuProcInterceptBaseVertex_glVertexPointer;
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
|
|
@ -53,7 +53,15 @@ REGAL_GLOBAL_END
|
|||
|
||||
REGAL_NAMESPACE_BEGIN
|
||||
|
||||
static void REGAL_CALL emuProcInterceptBin_glShaderBinary(GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
void EmuProcsInterceptBin( Dispatch::GL & dt ) {
|
||||
dt.glShaderBinary = emuProcInterceptBin_glShaderBinary;
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -53,7 +53,47 @@ REGAL_GLOBAL_END
|
|||
|
||||
REGAL_NAMESPACE_BEGIN
|
||||
|
||||
static void REGAL_CALL emuProcInterceptHint_glGetBooleanv(GLenum pname, GLboolean *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptHint_glGetDoublev(GLenum pname, GLdouble *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptHint_glGetFloatv(GLenum pname, GLfloat *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptHint_glGetIntegerv(GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptHint_glHint(GLenum target, GLenum mode)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
void EmuProcsInterceptHint( Dispatch::GL & dt ) {
|
||||
dt.glGetBooleanv = emuProcInterceptHint_glGetBooleanv;
|
||||
dt.glGetDoublev = emuProcInterceptHint_glGetDoublev;
|
||||
dt.glGetFloatv = emuProcInterceptHint_glGetFloatv;
|
||||
dt.glGetIntegerv = emuProcInterceptHint_glGetIntegerv;
|
||||
dt.glHint = emuProcInterceptHint_glHint;
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -53,7 +53,223 @@ REGAL_GLOBAL_END
|
|||
|
||||
REGAL_NAMESPACE_BEGIN
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glBindBuffer(GLenum target, GLuint buffer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glBindBufferARB(GLenum target, GLuint buffer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glBindTexture(GLenum target, GLuint texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glBindVertexArray(GLuint array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glDeleteBuffers(GLsizei n, const GLuint *buffers)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glDeleteBuffersARB(GLsizei n, const GLuint *buffers)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glDeleteTextures(GLsizei n, const GLuint *textures)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glDeleteVertexArrays(GLsizei n, const GLuint *arrays)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glFramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glFramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glFramebufferTexture2DMultisampleEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glFramebufferTexture2DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glFramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glGenBuffers(GLsizei n, GLuint *buffers)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glGenBuffersARB(GLsizei n, GLuint *buffers)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glGenTextures(GLsizei n, GLuint *textures)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glGenVertexArrays(GLsizei n, GLuint *arrays)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptObj_glGetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment, GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static GLboolean REGAL_CALL emuProcInterceptObj_glIsBuffer(GLuint buffer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
GLboolean ret = GL_FALSE;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static GLboolean REGAL_CALL emuProcInterceptObj_glIsBufferARB(GLuint buffer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
GLboolean ret = GL_FALSE;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static GLboolean REGAL_CALL emuProcInterceptObj_glIsTexture(GLuint texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
GLboolean ret = GL_FALSE;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static GLboolean REGAL_CALL emuProcInterceptObj_glIsVertexArray(GLuint array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
GLboolean ret = GL_FALSE;
|
||||
return ret;
|
||||
}
|
||||
|
||||
void EmuProcsInterceptObj( Dispatch::GL & dt ) {
|
||||
dt.glBindBuffer = emuProcInterceptObj_glBindBuffer;
|
||||
dt.glBindBufferARB = emuProcInterceptObj_glBindBufferARB;
|
||||
dt.glBindTexture = emuProcInterceptObj_glBindTexture;
|
||||
dt.glBindVertexArray = emuProcInterceptObj_glBindVertexArray;
|
||||
dt.glDeleteBuffers = emuProcInterceptObj_glDeleteBuffers;
|
||||
dt.glDeleteBuffersARB = emuProcInterceptObj_glDeleteBuffersARB;
|
||||
dt.glDeleteTextures = emuProcInterceptObj_glDeleteTextures;
|
||||
dt.glDeleteVertexArrays = emuProcInterceptObj_glDeleteVertexArrays;
|
||||
dt.glFramebufferTexture1D = emuProcInterceptObj_glFramebufferTexture1D;
|
||||
dt.glFramebufferTexture1DEXT = emuProcInterceptObj_glFramebufferTexture1DEXT;
|
||||
dt.glFramebufferTexture2D = emuProcInterceptObj_glFramebufferTexture2D;
|
||||
dt.glFramebufferTexture2DEXT = emuProcInterceptObj_glFramebufferTexture2DEXT;
|
||||
dt.glFramebufferTexture2DMultisampleEXT = emuProcInterceptObj_glFramebufferTexture2DMultisampleEXT;
|
||||
dt.glFramebufferTexture2DOES = emuProcInterceptObj_glFramebufferTexture2DOES;
|
||||
dt.glFramebufferTexture3DEXT = emuProcInterceptObj_glFramebufferTexture3DEXT;
|
||||
dt.glFramebufferTexture3DOES = emuProcInterceptObj_glFramebufferTexture3DOES;
|
||||
dt.glGenBuffers = emuProcInterceptObj_glGenBuffers;
|
||||
dt.glGenBuffersARB = emuProcInterceptObj_glGenBuffersARB;
|
||||
dt.glGenTextures = emuProcInterceptObj_glGenTextures;
|
||||
dt.glGenVertexArrays = emuProcInterceptObj_glGenVertexArrays;
|
||||
dt.glGetFramebufferAttachmentParameteriv = emuProcInterceptObj_glGetFramebufferAttachmentParameteriv;
|
||||
dt.glGetFramebufferAttachmentParameterivEXT = emuProcInterceptObj_glGetFramebufferAttachmentParameterivEXT;
|
||||
dt.glIsBuffer = emuProcInterceptObj_glIsBuffer;
|
||||
dt.glIsBufferARB = emuProcInterceptObj_glIsBufferARB;
|
||||
dt.glIsTexture = emuProcInterceptObj_glIsTexture;
|
||||
dt.glIsVertexArray = emuProcInterceptObj_glIsVertexArray;
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -53,7 +53,543 @@ REGAL_GLOBAL_END
|
|||
|
||||
REGAL_NAMESPACE_BEGIN
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glBindBuffer(GLenum target, GLuint buffer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glBindVertexArray(GLuint array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glBindVertexBuffer(GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glBindVertexBuffers(GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glClientActiveTexture(GLenum texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glClientActiveTextureARB(GLenum texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glClientAttribDefaultEXT(GLbitfield mask)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glDeleteBuffers(GLsizei n, const GLuint *buffers)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glDeleteVertexArrays(GLsizei n, const GLuint *arrays)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glDisable(GLenum cap)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glDisableClientState(GLenum cap)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glDisableClientStateIndexedEXT(GLenum array, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glDisableClientStateiEXT(GLenum array, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glDisableIndexedEXT(GLenum target, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glDisableVertexArrayAttribEXT(GLuint vaobj, GLenum array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glDisableVertexArrayEXT(GLuint vaobj, GLenum array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glDisableVertexAttribArray(GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glDisablei(GLenum cap, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glEnable(GLenum cap)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glEnableClientState(GLenum cap)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glEnableClientStateIndexedEXT(GLenum array, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glEnableClientStateiEXT(GLenum array, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glEnableIndexedEXT(GLenum target, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glEnableVertexArrayAttribEXT(GLuint vaobj, GLenum array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glEnableVertexArrayEXT(GLuint vaobj, GLenum array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glEnableVertexAttribArray(GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glEnablei(GLenum cap, GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glGetBooleanv(GLenum pname, GLboolean *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glGetDoublev(GLenum pname, GLdouble *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glGetFloatv(GLenum pname, GLfloat *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glGetIntegerv(GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glMultiTexCoordPointerEXT(GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glPixelStoref(GLenum pname, GLfloat param)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glPixelStorei(GLenum pname, GLint param)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glPopClientAttrib(void)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glPrimitiveRestartIndex(GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glPushClientAttrib(GLbitfield mask)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glPushClientAttribDefaultEXT(GLbitfield mask)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexArrayColorOffsetEXT(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexArrayEdgeFlagOffsetEXT(GLuint vaobj, GLuint buffer, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexArrayFogCoordOffsetEXT(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexArrayIndexOffsetEXT(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexArrayMultiTexCoordOffsetEXT(GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexArrayNormalOffsetEXT(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexArraySecondaryColorOffsetEXT(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexArrayTexCoordOffsetEXT(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexArrayVertexAttribIOffsetEXT(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexArrayVertexAttribOffsetEXT(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexArrayVertexOffsetEXT(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, const GLintptr offset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexAttribBinding(GLuint attribindex, GLuint bindingindex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexAttribDivisor(GLuint index, GLuint divisor)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexAttribFormat(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexAttribIFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexAttribLFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexBindingDivisor(GLuint bindingindex, GLuint divisor)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptPpca_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
void EmuProcsInterceptPpca( Dispatch::GL & dt ) {
|
||||
dt.glBindBuffer = emuProcInterceptPpca_glBindBuffer;
|
||||
dt.glBindVertexArray = emuProcInterceptPpca_glBindVertexArray;
|
||||
dt.glBindVertexBuffer = emuProcInterceptPpca_glBindVertexBuffer;
|
||||
dt.glBindVertexBuffers = emuProcInterceptPpca_glBindVertexBuffers;
|
||||
dt.glClientActiveTexture = emuProcInterceptPpca_glClientActiveTexture;
|
||||
dt.glClientActiveTextureARB = emuProcInterceptPpca_glClientActiveTextureARB;
|
||||
dt.glClientAttribDefaultEXT = emuProcInterceptPpca_glClientAttribDefaultEXT;
|
||||
dt.glColorPointer = emuProcInterceptPpca_glColorPointer;
|
||||
dt.glDeleteBuffers = emuProcInterceptPpca_glDeleteBuffers;
|
||||
dt.glDeleteVertexArrays = emuProcInterceptPpca_glDeleteVertexArrays;
|
||||
dt.glDisable = emuProcInterceptPpca_glDisable;
|
||||
dt.glDisableClientState = emuProcInterceptPpca_glDisableClientState;
|
||||
dt.glDisableClientStateIndexedEXT = emuProcInterceptPpca_glDisableClientStateIndexedEXT;
|
||||
dt.glDisableClientStateiEXT = emuProcInterceptPpca_glDisableClientStateiEXT;
|
||||
dt.glDisableIndexedEXT = emuProcInterceptPpca_glDisableIndexedEXT;
|
||||
dt.glDisableVertexArrayAttribEXT = emuProcInterceptPpca_glDisableVertexArrayAttribEXT;
|
||||
dt.glDisableVertexArrayEXT = emuProcInterceptPpca_glDisableVertexArrayEXT;
|
||||
dt.glDisableVertexAttribArray = emuProcInterceptPpca_glDisableVertexAttribArray;
|
||||
dt.glDisablei = emuProcInterceptPpca_glDisablei;
|
||||
dt.glEdgeFlagPointer = emuProcInterceptPpca_glEdgeFlagPointer;
|
||||
dt.glEnable = emuProcInterceptPpca_glEnable;
|
||||
dt.glEnableClientState = emuProcInterceptPpca_glEnableClientState;
|
||||
dt.glEnableClientStateIndexedEXT = emuProcInterceptPpca_glEnableClientStateIndexedEXT;
|
||||
dt.glEnableClientStateiEXT = emuProcInterceptPpca_glEnableClientStateiEXT;
|
||||
dt.glEnableIndexedEXT = emuProcInterceptPpca_glEnableIndexedEXT;
|
||||
dt.glEnableVertexArrayAttribEXT = emuProcInterceptPpca_glEnableVertexArrayAttribEXT;
|
||||
dt.glEnableVertexArrayEXT = emuProcInterceptPpca_glEnableVertexArrayEXT;
|
||||
dt.glEnableVertexAttribArray = emuProcInterceptPpca_glEnableVertexAttribArray;
|
||||
dt.glEnablei = emuProcInterceptPpca_glEnablei;
|
||||
dt.glFogCoordPointer = emuProcInterceptPpca_glFogCoordPointer;
|
||||
dt.glGetBooleanv = emuProcInterceptPpca_glGetBooleanv;
|
||||
dt.glGetDoublev = emuProcInterceptPpca_glGetDoublev;
|
||||
dt.glGetFloatv = emuProcInterceptPpca_glGetFloatv;
|
||||
dt.glGetIntegerv = emuProcInterceptPpca_glGetIntegerv;
|
||||
dt.glIndexPointer = emuProcInterceptPpca_glIndexPointer;
|
||||
dt.glInterleavedArrays = emuProcInterceptPpca_glInterleavedArrays;
|
||||
dt.glMultiTexCoordPointerEXT = emuProcInterceptPpca_glMultiTexCoordPointerEXT;
|
||||
dt.glNormalPointer = emuProcInterceptPpca_glNormalPointer;
|
||||
dt.glPixelStoref = emuProcInterceptPpca_glPixelStoref;
|
||||
dt.glPixelStorei = emuProcInterceptPpca_glPixelStorei;
|
||||
dt.glPopClientAttrib = emuProcInterceptPpca_glPopClientAttrib;
|
||||
dt.glPrimitiveRestartIndex = emuProcInterceptPpca_glPrimitiveRestartIndex;
|
||||
dt.glPushClientAttrib = emuProcInterceptPpca_glPushClientAttrib;
|
||||
dt.glPushClientAttribDefaultEXT = emuProcInterceptPpca_glPushClientAttribDefaultEXT;
|
||||
dt.glSecondaryColorPointer = emuProcInterceptPpca_glSecondaryColorPointer;
|
||||
dt.glTexCoordPointer = emuProcInterceptPpca_glTexCoordPointer;
|
||||
dt.glVertexArrayColorOffsetEXT = emuProcInterceptPpca_glVertexArrayColorOffsetEXT;
|
||||
dt.glVertexArrayEdgeFlagOffsetEXT = emuProcInterceptPpca_glVertexArrayEdgeFlagOffsetEXT;
|
||||
dt.glVertexArrayFogCoordOffsetEXT = emuProcInterceptPpca_glVertexArrayFogCoordOffsetEXT;
|
||||
dt.glVertexArrayIndexOffsetEXT = emuProcInterceptPpca_glVertexArrayIndexOffsetEXT;
|
||||
dt.glVertexArrayMultiTexCoordOffsetEXT = emuProcInterceptPpca_glVertexArrayMultiTexCoordOffsetEXT;
|
||||
dt.glVertexArrayNormalOffsetEXT = emuProcInterceptPpca_glVertexArrayNormalOffsetEXT;
|
||||
dt.glVertexArraySecondaryColorOffsetEXT = emuProcInterceptPpca_glVertexArraySecondaryColorOffsetEXT;
|
||||
dt.glVertexArrayTexCoordOffsetEXT = emuProcInterceptPpca_glVertexArrayTexCoordOffsetEXT;
|
||||
dt.glVertexArrayVertexAttribIOffsetEXT = emuProcInterceptPpca_glVertexArrayVertexAttribIOffsetEXT;
|
||||
dt.glVertexArrayVertexAttribOffsetEXT = emuProcInterceptPpca_glVertexArrayVertexAttribOffsetEXT;
|
||||
dt.glVertexArrayVertexOffsetEXT = emuProcInterceptPpca_glVertexArrayVertexOffsetEXT;
|
||||
dt.glVertexAttribBinding = emuProcInterceptPpca_glVertexAttribBinding;
|
||||
dt.glVertexAttribDivisor = emuProcInterceptPpca_glVertexAttribDivisor;
|
||||
dt.glVertexAttribFormat = emuProcInterceptPpca_glVertexAttribFormat;
|
||||
dt.glVertexAttribIFormat = emuProcInterceptPpca_glVertexAttribIFormat;
|
||||
dt.glVertexAttribIPointer = emuProcInterceptPpca_glVertexAttribIPointer;
|
||||
dt.glVertexAttribLFormat = emuProcInterceptPpca_glVertexAttribLFormat;
|
||||
dt.glVertexAttribLPointer = emuProcInterceptPpca_glVertexAttribLPointer;
|
||||
dt.glVertexAttribPointer = emuProcInterceptPpca_glVertexAttribPointer;
|
||||
dt.glVertexBindingDivisor = emuProcInterceptPpca_glVertexBindingDivisor;
|
||||
dt.glVertexPointer = emuProcInterceptPpca_glVertexPointer;
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
|
|
@ -53,7 +53,95 @@ REGAL_GLOBAL_END
|
|||
|
||||
REGAL_NAMESPACE_BEGIN
|
||||
|
||||
static void REGAL_CALL emuProcInterceptQuads_glBindBuffer(GLenum target, GLuint buffer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptQuads_glCullFace(GLenum mode)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptQuads_glDisable(GLenum cap)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptQuads_glDrawArrays(GLenum mode, GLint first, GLsizei count)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptQuads_glDrawArraysEXT(GLenum mode, GLint first, GLsizei count)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptQuads_glEnable(GLenum cap)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptQuads_glFrontFace(GLenum mode)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptQuads_glPolygonMode(GLenum face, GLenum mode)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptQuads_glProvokingVertex(GLenum mode)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptQuads_glProvokingVertexEXT(GLenum mode)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptQuads_glShadeModel(GLenum mode)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
void EmuProcsInterceptQuads( Dispatch::GL & dt ) {
|
||||
dt.glBindBuffer = emuProcInterceptQuads_glBindBuffer;
|
||||
dt.glCullFace = emuProcInterceptQuads_glCullFace;
|
||||
dt.glDisable = emuProcInterceptQuads_glDisable;
|
||||
dt.glDrawArrays = emuProcInterceptQuads_glDrawArrays;
|
||||
dt.glDrawArraysEXT = emuProcInterceptQuads_glDrawArraysEXT;
|
||||
dt.glEnable = emuProcInterceptQuads_glEnable;
|
||||
dt.glFrontFace = emuProcInterceptQuads_glFrontFace;
|
||||
dt.glPolygonMode = emuProcInterceptQuads_glPolygonMode;
|
||||
dt.glProvokingVertex = emuProcInterceptQuads_glProvokingVertex;
|
||||
dt.glProvokingVertexEXT = emuProcInterceptQuads_glProvokingVertexEXT;
|
||||
dt.glShadeModel = emuProcInterceptQuads_glShadeModel;
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
|
|
@ -53,7 +53,71 @@ REGAL_GLOBAL_END
|
|||
|
||||
REGAL_NAMESPACE_BEGIN
|
||||
|
||||
static void REGAL_CALL emuProcInterceptRect_glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptRect_glRectdv(const GLdouble *v1, const GLdouble *v2)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptRect_glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptRect_glRectfv(const GLfloat *v1, const GLfloat *v2)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptRect_glRecti(GLint x1, GLint y1, GLint x2, GLint y2)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptRect_glRectiv(const GLint *v1, const GLint *v2)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptRect_glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptRect_glRectsv(const GLshort *v1, const GLshort *v2)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
void EmuProcsInterceptRect( Dispatch::GL & dt ) {
|
||||
dt.glRectd = emuProcInterceptRect_glRectd;
|
||||
dt.glRectdv = emuProcInterceptRect_glRectdv;
|
||||
dt.glRectf = emuProcInterceptRect_glRectf;
|
||||
dt.glRectfv = emuProcInterceptRect_glRectfv;
|
||||
dt.glRecti = emuProcInterceptRect_glRecti;
|
||||
dt.glRectiv = emuProcInterceptRect_glRectiv;
|
||||
dt.glRects = emuProcInterceptRect_glRects;
|
||||
dt.glRectsv = emuProcInterceptRect_glRectsv;
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
|
|
@ -53,7 +53,537 @@ REGAL_GLOBAL_END
|
|||
|
||||
REGAL_NAMESPACE_BEGIN
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glActiveTexture(GLenum texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glActiveTextureARB(GLenum texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glBindSampler(GLuint unit, GLuint sampler)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glBindTexture(GLenum target, GLuint texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDeleteSamplers(GLsizei count, const GLuint *samplers)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDeleteTextures(GLsizei n, const GLuint *textures)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawArrays(GLenum mode, GLint first, GLsizei count)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawArraysEXT(GLenum mode, GLint first, GLsizei count)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawArraysIndirect(GLenum mode, const GLvoid *indirect)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawArraysInstanced(GLenum mode, GLint start, GLsizei count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawArraysInstancedARB(GLenum mode, GLint start, GLsizei count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawArraysInstancedEXT(GLenum mode, GLint start, GLsizei count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawElementArrayAPPLE(GLenum mode, GLint first, GLsizei count)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawElementArrayATI(GLenum mode, GLsizei count)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawElementsInstancedARB(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawElementsInstancedEXT(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawRangeElementArrayAPPLE(GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawRangeElementArrayATI(GLenum mode, GLuint start, GLuint end, GLsizei count)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glDrawRangeElementsEXT(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGenSamplers(GLsizei count, GLuint *samplers)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGenTextures(GLsizei n, GLuint *textures)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGetDoublev(GLenum pname, GLdouble *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGetFloatv(GLenum pname, GLfloat *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGetInteger64v(GLenum pname, GLint64 *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGetIntegerv(GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static GLboolean REGAL_CALL emuProcInterceptSo_glIsSampler(GLuint sampler)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
GLboolean ret = GL_FALSE;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glMultiDrawArraysEXT(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glMultiDrawArraysIndirect(GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glMultiDrawArraysIndirectAMD(GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glMultiDrawElementArrayAPPLE(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount, const GLint *basevertex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glMultiDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glMultiDrawElementsIndirectAMD(GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glMultiDrawRangeElementArrayAPPLE(GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glSamplerParameteri(GLuint sampler, GLenum pname, GLint param)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glTexParameterIiv(GLenum target, GLenum pname, const GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glTexParameterIivEXT(GLenum target, GLenum pname, const GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glTexParameterIuivEXT(GLenum target, GLenum pname, const GLuint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glTexParameterf(GLenum target, GLenum pname, GLfloat param)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glTexParameteri(GLenum target, GLenum pname, GLint param)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptSo_glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
void EmuProcsInterceptSo( Dispatch::GL & dt ) {
|
||||
dt.glActiveTexture = emuProcInterceptSo_glActiveTexture;
|
||||
dt.glActiveTextureARB = emuProcInterceptSo_glActiveTextureARB;
|
||||
dt.glBindSampler = emuProcInterceptSo_glBindSampler;
|
||||
dt.glBindTexture = emuProcInterceptSo_glBindTexture;
|
||||
dt.glDeleteSamplers = emuProcInterceptSo_glDeleteSamplers;
|
||||
dt.glDeleteTextures = emuProcInterceptSo_glDeleteTextures;
|
||||
dt.glDrawArrays = emuProcInterceptSo_glDrawArrays;
|
||||
dt.glDrawArraysEXT = emuProcInterceptSo_glDrawArraysEXT;
|
||||
dt.glDrawArraysIndirect = emuProcInterceptSo_glDrawArraysIndirect;
|
||||
dt.glDrawArraysInstanced = emuProcInterceptSo_glDrawArraysInstanced;
|
||||
dt.glDrawArraysInstancedARB = emuProcInterceptSo_glDrawArraysInstancedARB;
|
||||
dt.glDrawArraysInstancedEXT = emuProcInterceptSo_glDrawArraysInstancedEXT;
|
||||
dt.glDrawElementArrayAPPLE = emuProcInterceptSo_glDrawElementArrayAPPLE;
|
||||
dt.glDrawElementArrayATI = emuProcInterceptSo_glDrawElementArrayATI;
|
||||
dt.glDrawElements = emuProcInterceptSo_glDrawElements;
|
||||
dt.glDrawElementsBaseVertex = emuProcInterceptSo_glDrawElementsBaseVertex;
|
||||
dt.glDrawElementsIndirect = emuProcInterceptSo_glDrawElementsIndirect;
|
||||
dt.glDrawElementsInstanced = emuProcInterceptSo_glDrawElementsInstanced;
|
||||
dt.glDrawElementsInstancedARB = emuProcInterceptSo_glDrawElementsInstancedARB;
|
||||
dt.glDrawElementsInstancedBaseVertex = emuProcInterceptSo_glDrawElementsInstancedBaseVertex;
|
||||
dt.glDrawElementsInstancedEXT = emuProcInterceptSo_glDrawElementsInstancedEXT;
|
||||
dt.glDrawRangeElementArrayAPPLE = emuProcInterceptSo_glDrawRangeElementArrayAPPLE;
|
||||
dt.glDrawRangeElementArrayATI = emuProcInterceptSo_glDrawRangeElementArrayATI;
|
||||
dt.glDrawRangeElements = emuProcInterceptSo_glDrawRangeElements;
|
||||
dt.glDrawRangeElementsBaseVertex = emuProcInterceptSo_glDrawRangeElementsBaseVertex;
|
||||
dt.glDrawRangeElementsEXT = emuProcInterceptSo_glDrawRangeElementsEXT;
|
||||
dt.glGenSamplers = emuProcInterceptSo_glGenSamplers;
|
||||
dt.glGenTextures = emuProcInterceptSo_glGenTextures;
|
||||
dt.glGetDoublev = emuProcInterceptSo_glGetDoublev;
|
||||
dt.glGetFloatv = emuProcInterceptSo_glGetFloatv;
|
||||
dt.glGetInteger64v = emuProcInterceptSo_glGetInteger64v;
|
||||
dt.glGetIntegerv = emuProcInterceptSo_glGetIntegerv;
|
||||
dt.glGetSamplerParameterIiv = emuProcInterceptSo_glGetSamplerParameterIiv;
|
||||
dt.glGetSamplerParameterIuiv = emuProcInterceptSo_glGetSamplerParameterIuiv;
|
||||
dt.glGetSamplerParameterfv = emuProcInterceptSo_glGetSamplerParameterfv;
|
||||
dt.glGetSamplerParameteriv = emuProcInterceptSo_glGetSamplerParameteriv;
|
||||
dt.glGetTexParameterIiv = emuProcInterceptSo_glGetTexParameterIiv;
|
||||
dt.glGetTexParameterIuiv = emuProcInterceptSo_glGetTexParameterIuiv;
|
||||
dt.glGetTexParameterfv = emuProcInterceptSo_glGetTexParameterfv;
|
||||
dt.glGetTexParameteriv = emuProcInterceptSo_glGetTexParameteriv;
|
||||
dt.glIsSampler = emuProcInterceptSo_glIsSampler;
|
||||
dt.glMultiDrawArrays = emuProcInterceptSo_glMultiDrawArrays;
|
||||
dt.glMultiDrawArraysEXT = emuProcInterceptSo_glMultiDrawArraysEXT;
|
||||
dt.glMultiDrawArraysIndirect = emuProcInterceptSo_glMultiDrawArraysIndirect;
|
||||
dt.glMultiDrawArraysIndirectAMD = emuProcInterceptSo_glMultiDrawArraysIndirectAMD;
|
||||
dt.glMultiDrawElementArrayAPPLE = emuProcInterceptSo_glMultiDrawElementArrayAPPLE;
|
||||
dt.glMultiDrawElements = emuProcInterceptSo_glMultiDrawElements;
|
||||
dt.glMultiDrawElementsBaseVertex = emuProcInterceptSo_glMultiDrawElementsBaseVertex;
|
||||
dt.glMultiDrawElementsEXT = emuProcInterceptSo_glMultiDrawElementsEXT;
|
||||
dt.glMultiDrawElementsIndirect = emuProcInterceptSo_glMultiDrawElementsIndirect;
|
||||
dt.glMultiDrawElementsIndirectAMD = emuProcInterceptSo_glMultiDrawElementsIndirectAMD;
|
||||
dt.glMultiDrawRangeElementArrayAPPLE = emuProcInterceptSo_glMultiDrawRangeElementArrayAPPLE;
|
||||
dt.glSamplerParameterIiv = emuProcInterceptSo_glSamplerParameterIiv;
|
||||
dt.glSamplerParameterIuiv = emuProcInterceptSo_glSamplerParameterIuiv;
|
||||
dt.glSamplerParameterf = emuProcInterceptSo_glSamplerParameterf;
|
||||
dt.glSamplerParameterfv = emuProcInterceptSo_glSamplerParameterfv;
|
||||
dt.glSamplerParameteri = emuProcInterceptSo_glSamplerParameteri;
|
||||
dt.glSamplerParameteriv = emuProcInterceptSo_glSamplerParameteriv;
|
||||
dt.glTexParameterIiv = emuProcInterceptSo_glTexParameterIiv;
|
||||
dt.glTexParameterIivEXT = emuProcInterceptSo_glTexParameterIivEXT;
|
||||
dt.glTexParameterIuiv = emuProcInterceptSo_glTexParameterIuiv;
|
||||
dt.glTexParameterIuivEXT = emuProcInterceptSo_glTexParameterIuivEXT;
|
||||
dt.glTexParameterf = emuProcInterceptSo_glTexParameterf;
|
||||
dt.glTexParameterfv = emuProcInterceptSo_glTexParameterfv;
|
||||
dt.glTexParameteri = emuProcInterceptSo_glTexParameteri;
|
||||
dt.glTexParameteriv = emuProcInterceptSo_glTexParameteriv;
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
|
|
@ -53,7 +53,111 @@ REGAL_GLOBAL_END
|
|||
|
||||
REGAL_NAMESPACE_BEGIN
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glActiveTexture(GLenum texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glActiveTextureARB(GLenum texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glBindTexture(GLenum target, GLuint texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glBindTextureEXT(GLenum target, GLuint texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glDeleteTextures(GLsizei n, const GLuint *textures)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glDeleteTexturesEXT(GLsizei n, const GLuint *textures)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glGenTextures(GLsizei n, GLuint *textures)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glGenTexturesEXT(GLsizei n, GLuint *textures)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glGenerateMipmap(GLenum target)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glGenerateMipmapEXT(GLenum target)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glPixelStorei(GLenum pname, GLint param)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexC_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
void EmuProcsInterceptTexC( Dispatch::GL & dt ) {
|
||||
dt.glActiveTexture = emuProcInterceptTexC_glActiveTexture;
|
||||
dt.glActiveTextureARB = emuProcInterceptTexC_glActiveTextureARB;
|
||||
dt.glBindTexture = emuProcInterceptTexC_glBindTexture;
|
||||
dt.glBindTextureEXT = emuProcInterceptTexC_glBindTextureEXT;
|
||||
dt.glDeleteTextures = emuProcInterceptTexC_glDeleteTextures;
|
||||
dt.glDeleteTexturesEXT = emuProcInterceptTexC_glDeleteTexturesEXT;
|
||||
dt.glGenTextures = emuProcInterceptTexC_glGenTextures;
|
||||
dt.glGenTexturesEXT = emuProcInterceptTexC_glGenTexturesEXT;
|
||||
dt.glGenerateMipmap = emuProcInterceptTexC_glGenerateMipmap;
|
||||
dt.glGenerateMipmapEXT = emuProcInterceptTexC_glGenerateMipmapEXT;
|
||||
dt.glPixelStorei = emuProcInterceptTexC_glPixelStorei;
|
||||
dt.glTexImage2D = emuProcInterceptTexC_glTexImage2D;
|
||||
dt.glTexSubImage2D = emuProcInterceptTexC_glTexSubImage2D;
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
|
|
@ -53,7 +53,95 @@ REGAL_GLOBAL_END
|
|||
|
||||
REGAL_NAMESPACE_BEGIN
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexSto_glDeleteTextures(GLsizei n, const GLuint *textures)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexSto_glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexSto_glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexSto_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexSto_glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexSto_glTexStorage1D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexSto_glTexStorage1DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexSto_glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexSto_glTexStorage2DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexSto_glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptTexSto_glTexStorage3DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
void EmuProcsInterceptTexSto( Dispatch::GL & dt ) {
|
||||
dt.glDeleteTextures = emuProcInterceptTexSto_glDeleteTextures;
|
||||
dt.glGetTexParameterIiv = emuProcInterceptTexSto_glGetTexParameterIiv;
|
||||
dt.glGetTexParameterIuiv = emuProcInterceptTexSto_glGetTexParameterIuiv;
|
||||
dt.glGetTexParameterfv = emuProcInterceptTexSto_glGetTexParameterfv;
|
||||
dt.glGetTexParameteriv = emuProcInterceptTexSto_glGetTexParameteriv;
|
||||
dt.glTexStorage1D = emuProcInterceptTexSto_glTexStorage1D;
|
||||
dt.glTexStorage1DEXT = emuProcInterceptTexSto_glTexStorage1DEXT;
|
||||
dt.glTexStorage2D = emuProcInterceptTexSto_glTexStorage2D;
|
||||
dt.glTexStorage2DEXT = emuProcInterceptTexSto_glTexStorage2DEXT;
|
||||
dt.glTexStorage3D = emuProcInterceptTexSto_glTexStorage3D;
|
||||
dt.glTexStorage3DEXT = emuProcInterceptTexSto_glTexStorage3DEXT;
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
|
|
@ -53,7 +53,545 @@ REGAL_GLOBAL_END
|
|||
|
||||
REGAL_NAMESPACE_BEGIN
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glBindBuffer(GLenum target, GLuint buffer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glBindBufferARB(GLenum target, GLuint buffer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glBindVertexArray(GLuint array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glClientActiveTexture(GLenum texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glClientActiveTextureARB(GLenum texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDeleteVertexArrays(GLsizei n, const GLuint *arrays)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDisableClientState(GLenum cap)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDisableVertexAttribArray(GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDisableVertexAttribArrayARB(GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawArrays(GLenum mode, GLint first, GLsizei count)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawArraysEXT(GLenum mode, GLint first, GLsizei count)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawArraysIndirect(GLenum mode, const GLvoid *indirect)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawArraysInstanced(GLenum mode, GLint start, GLsizei count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawArraysInstancedARB(GLenum mode, GLint start, GLsizei count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawArraysInstancedEXT(GLenum mode, GLint start, GLsizei count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawElementArrayAPPLE(GLenum mode, GLint first, GLsizei count)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawElementArrayATI(GLenum mode, GLsizei count)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawElementsInstancedARB(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glDrawElementsInstancedEXT(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glEnableClientState(GLenum cap)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glEnableVertexAttribArray(GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glEnableVertexAttribArrayARB(GLuint index)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glFogCoordPointerEXT(GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGenVertexArrays(GLsizei n, GLuint *arrays)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetBooleanv(GLenum pname, GLboolean *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetDoublev(GLenum pname, GLdouble *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetFloatv(GLenum pname, GLfloat *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetInteger64v(GLenum pname, GLint64 *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetIntegerv(GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid **pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetVertexAttribPointervARB(GLuint index, GLenum pname, GLvoid **pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetVertexAttribdvARB(GLuint index, GLenum pname, GLdouble *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetVertexAttribfvARB(GLuint index, GLenum pname, GLfloat *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glGetVertexAttribivARB(GLuint index, GLenum pname, GLint *params)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static GLboolean REGAL_CALL emuProcInterceptVao_glIsVertexArray(GLuint array)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
GLboolean ret = GL_FALSE;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glMultiDrawArraysEXT(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glMultiDrawArraysIndirect(GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glMultiDrawArraysIndirectAMD(GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glMultiDrawElementArrayAPPLE(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount, const GLint *basevertex)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glMultiDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glMultiDrawElementsIndirectAMD(GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glNormalPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glSecondaryColorPointerEXT(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glVertexAttribPointerARB(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptVao_glVertexPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
void EmuProcsInterceptVao( Dispatch::GL & dt ) {
|
||||
dt.glBindBuffer = emuProcInterceptVao_glBindBuffer;
|
||||
dt.glBindBufferARB = emuProcInterceptVao_glBindBufferARB;
|
||||
dt.glBindVertexArray = emuProcInterceptVao_glBindVertexArray;
|
||||
dt.glClientActiveTexture = emuProcInterceptVao_glClientActiveTexture;
|
||||
dt.glClientActiveTextureARB = emuProcInterceptVao_glClientActiveTextureARB;
|
||||
dt.glColorPointer = emuProcInterceptVao_glColorPointer;
|
||||
dt.glColorPointerEXT = emuProcInterceptVao_glColorPointerEXT;
|
||||
dt.glDeleteVertexArrays = emuProcInterceptVao_glDeleteVertexArrays;
|
||||
dt.glDisableClientState = emuProcInterceptVao_glDisableClientState;
|
||||
dt.glDisableVertexAttribArray = emuProcInterceptVao_glDisableVertexAttribArray;
|
||||
dt.glDisableVertexAttribArrayARB = emuProcInterceptVao_glDisableVertexAttribArrayARB;
|
||||
dt.glDrawArrays = emuProcInterceptVao_glDrawArrays;
|
||||
dt.glDrawArraysEXT = emuProcInterceptVao_glDrawArraysEXT;
|
||||
dt.glDrawArraysIndirect = emuProcInterceptVao_glDrawArraysIndirect;
|
||||
dt.glDrawArraysInstanced = emuProcInterceptVao_glDrawArraysInstanced;
|
||||
dt.glDrawArraysInstancedARB = emuProcInterceptVao_glDrawArraysInstancedARB;
|
||||
dt.glDrawArraysInstancedEXT = emuProcInterceptVao_glDrawArraysInstancedEXT;
|
||||
dt.glDrawElementArrayAPPLE = emuProcInterceptVao_glDrawElementArrayAPPLE;
|
||||
dt.glDrawElementArrayATI = emuProcInterceptVao_glDrawElementArrayATI;
|
||||
dt.glDrawElements = emuProcInterceptVao_glDrawElements;
|
||||
dt.glDrawElementsBaseVertex = emuProcInterceptVao_glDrawElementsBaseVertex;
|
||||
dt.glDrawElementsIndirect = emuProcInterceptVao_glDrawElementsIndirect;
|
||||
dt.glDrawElementsInstanced = emuProcInterceptVao_glDrawElementsInstanced;
|
||||
dt.glDrawElementsInstancedARB = emuProcInterceptVao_glDrawElementsInstancedARB;
|
||||
dt.glDrawElementsInstancedBaseVertex = emuProcInterceptVao_glDrawElementsInstancedBaseVertex;
|
||||
dt.glDrawElementsInstancedEXT = emuProcInterceptVao_glDrawElementsInstancedEXT;
|
||||
dt.glEnableClientState = emuProcInterceptVao_glEnableClientState;
|
||||
dt.glEnableVertexAttribArray = emuProcInterceptVao_glEnableVertexAttribArray;
|
||||
dt.glEnableVertexAttribArrayARB = emuProcInterceptVao_glEnableVertexAttribArrayARB;
|
||||
dt.glFogCoordPointer = emuProcInterceptVao_glFogCoordPointer;
|
||||
dt.glFogCoordPointerEXT = emuProcInterceptVao_glFogCoordPointerEXT;
|
||||
dt.glGenVertexArrays = emuProcInterceptVao_glGenVertexArrays;
|
||||
dt.glGetBooleanv = emuProcInterceptVao_glGetBooleanv;
|
||||
dt.glGetDoublev = emuProcInterceptVao_glGetDoublev;
|
||||
dt.glGetFloatv = emuProcInterceptVao_glGetFloatv;
|
||||
dt.glGetInteger64v = emuProcInterceptVao_glGetInteger64v;
|
||||
dt.glGetIntegerv = emuProcInterceptVao_glGetIntegerv;
|
||||
dt.glGetVertexAttribPointerv = emuProcInterceptVao_glGetVertexAttribPointerv;
|
||||
dt.glGetVertexAttribPointervARB = emuProcInterceptVao_glGetVertexAttribPointervARB;
|
||||
dt.glGetVertexAttribdv = emuProcInterceptVao_glGetVertexAttribdv;
|
||||
dt.glGetVertexAttribdvARB = emuProcInterceptVao_glGetVertexAttribdvARB;
|
||||
dt.glGetVertexAttribfv = emuProcInterceptVao_glGetVertexAttribfv;
|
||||
dt.glGetVertexAttribfvARB = emuProcInterceptVao_glGetVertexAttribfvARB;
|
||||
dt.glGetVertexAttribiv = emuProcInterceptVao_glGetVertexAttribiv;
|
||||
dt.glGetVertexAttribivARB = emuProcInterceptVao_glGetVertexAttribivARB;
|
||||
dt.glInterleavedArrays = emuProcInterceptVao_glInterleavedArrays;
|
||||
dt.glIsVertexArray = emuProcInterceptVao_glIsVertexArray;
|
||||
dt.glMultiDrawArrays = emuProcInterceptVao_glMultiDrawArrays;
|
||||
dt.glMultiDrawArraysEXT = emuProcInterceptVao_glMultiDrawArraysEXT;
|
||||
dt.glMultiDrawArraysIndirect = emuProcInterceptVao_glMultiDrawArraysIndirect;
|
||||
dt.glMultiDrawArraysIndirectAMD = emuProcInterceptVao_glMultiDrawArraysIndirectAMD;
|
||||
dt.glMultiDrawElementArrayAPPLE = emuProcInterceptVao_glMultiDrawElementArrayAPPLE;
|
||||
dt.glMultiDrawElements = emuProcInterceptVao_glMultiDrawElements;
|
||||
dt.glMultiDrawElementsBaseVertex = emuProcInterceptVao_glMultiDrawElementsBaseVertex;
|
||||
dt.glMultiDrawElementsEXT = emuProcInterceptVao_glMultiDrawElementsEXT;
|
||||
dt.glMultiDrawElementsIndirect = emuProcInterceptVao_glMultiDrawElementsIndirect;
|
||||
dt.glMultiDrawElementsIndirectAMD = emuProcInterceptVao_glMultiDrawElementsIndirectAMD;
|
||||
dt.glNormalPointer = emuProcInterceptVao_glNormalPointer;
|
||||
dt.glNormalPointerEXT = emuProcInterceptVao_glNormalPointerEXT;
|
||||
dt.glSecondaryColorPointer = emuProcInterceptVao_glSecondaryColorPointer;
|
||||
dt.glSecondaryColorPointerEXT = emuProcInterceptVao_glSecondaryColorPointerEXT;
|
||||
dt.glTexCoordPointer = emuProcInterceptVao_glTexCoordPointer;
|
||||
dt.glTexCoordPointerEXT = emuProcInterceptVao_glTexCoordPointerEXT;
|
||||
dt.glVertexAttribPointer = emuProcInterceptVao_glVertexAttribPointer;
|
||||
dt.glVertexAttribPointerARB = emuProcInterceptVao_glVertexAttribPointerARB;
|
||||
dt.glVertexPointer = emuProcInterceptVao_glVertexPointer;
|
||||
dt.glVertexPointerEXT = emuProcInterceptVao_glVertexPointerEXT;
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
|
|
@ -53,7 +53,95 @@ REGAL_GLOBAL_END
|
|||
|
||||
REGAL_NAMESPACE_BEGIN
|
||||
|
||||
static void REGAL_CALL emuProcInterceptXfer_glActiveTexture(GLenum texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptXfer_glActiveTextureARB(GLenum texture)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptXfer_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptXfer_glCompressedTexImage2DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptXfer_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptXfer_glCompressedTexSubImage2DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptXfer_glPixelStoref(GLenum pname, GLfloat param)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptXfer_glPixelStorei(GLenum pname, GLint param)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptXfer_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptXfer_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
static void REGAL_CALL emuProcInterceptXfer_glTexSubImage2DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
|
||||
{
|
||||
RegalContext *_context = REGAL_GET_CONTEXT();
|
||||
RegalAssert(_context);
|
||||
|
||||
}
|
||||
|
||||
void EmuProcsInterceptXfer( Dispatch::GL & dt ) {
|
||||
dt.glActiveTexture = emuProcInterceptXfer_glActiveTexture;
|
||||
dt.glActiveTextureARB = emuProcInterceptXfer_glActiveTextureARB;
|
||||
dt.glCompressedTexImage2D = emuProcInterceptXfer_glCompressedTexImage2D;
|
||||
dt.glCompressedTexImage2DARB = emuProcInterceptXfer_glCompressedTexImage2DARB;
|
||||
dt.glCompressedTexSubImage2D = emuProcInterceptXfer_glCompressedTexSubImage2D;
|
||||
dt.glCompressedTexSubImage2DARB = emuProcInterceptXfer_glCompressedTexSubImage2DARB;
|
||||
dt.glPixelStoref = emuProcInterceptXfer_glPixelStoref;
|
||||
dt.glPixelStorei = emuProcInterceptXfer_glPixelStorei;
|
||||
dt.glTexImage2D = emuProcInterceptXfer_glTexImage2D;
|
||||
dt.glTexSubImage2D = emuProcInterceptXfer_glTexSubImage2D;
|
||||
dt.glTexSubImage2DEXT = emuProcInterceptXfer_glTexSubImage2DEXT;
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
Loading…
Reference in a new issue