X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fviewport.h;h=395131982cfa8d319ac1eaf373496e4b02998a4e;hb=34953f8907fddd0d2b27d276580a1d3223047987;hp=426e194bd9bc285f135e32ca55cfff78136ab92f;hpb=34a3c97fe6d273d68d2ee80386791832824f3211;p=mesa.git diff --git a/src/mesa/main/viewport.h b/src/mesa/main/viewport.h index 426e194bd9b..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,14 +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