Searched refs:r_depth (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java284 final float r_depth = 1.0f / (far - near);
287 final float z = -2.0f * (r_depth);
290 final float tz = -(far + near) * r_depth;
343 final float r_depth = 1.0f / (near - far);
348 final float C = (far + near) * r_depth;
349 final float D = 2.0f * (far * near * r_depth);
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp827 const GLfloat r_depth = reciprocalf(zNear - zFar); local
832 const GLfloat C = (zFar + zNear) * r_depth;
833 const GLfloat D = mul2f(zFar * zNear * r_depth);
867 const GLfloat r_depth = reciprocalf(zFar - zNear); local
870 const GLfloat z = -mul2f(r_depth);
873 const GLfloat tz = -(zFar + zNear) * r_depth;

Completed in 92 milliseconds