X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fviewport.h;h=395131982cfa8d319ac1eaf373496e4b02998a4e;hb=34953f8907fddd0d2b27d276580a1d3223047987;hp=514ff1067ff1f5455375067e331f4c4ac99889c8;hpb=6340e609a354770e04192b9b44e91fb06aab0159;p=mesa.git diff --git a/src/mesa/main/viewport.h b/src/mesa/main/viewport.h index 514ff1067ff..395131982cf 100644 --- a/src/mesa/main/viewport.h +++ b/src/mesa/main/viewport.h @@ -57,9 +57,15 @@ _mesa_DepthRangef(GLclampf nearval, GLclampf farval); extern void GLAPIENTRY _mesa_DepthRangeArrayv(GLuint first, GLsizei count, const GLclampd * v); +extern void GLAPIENTRY +_mesa_DepthRangeArrayfvOES(GLuint first, GLsizei count, const GLfloat * v); + extern void GLAPIENTRY _mesa_DepthRangeIndexed(GLuint index, GLclampd n, GLclampd f); +extern void GLAPIENTRY +_mesa_DepthRangeIndexedfOES(GLuint index, GLfloat n, GLfloat f); + extern void _mesa_set_depth_range(struct gl_context *ctx, unsigned idx, GLclampd nearval, GLclampd farval); @@ -68,11 +74,11 @@ extern void _mesa_init_viewport(struct gl_context *ctx); -extern void -_mesa_free_viewport_data(struct gl_context *ctx); +extern void GLAPIENTRY +_mesa_ClipControl(GLenum origin, GLenum depth); extern void _mesa_get_viewport_xform(struct gl_context *ctx, unsigned i, - double scale[3], double translate[3]); + float scale[3], float translate[3]); #endif