Searched defs:far (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
H A DMatrix4f.java226 * @param f location of the far clipping plane
242 * far are set to -1, 1 respectively
260 * @param f location of the far clipping plane, must be positive
281 * @param far far clipping plane, must be positive
283 public void loadPerspective(float fovy, float aspect, float near, float far) { argument
288 loadFrustum(left, right, bottom, top, near, far);
294 * and (near, far), (bottom, top) mapping to (-1, 1) at z = 0
/frameworks/base/libs/hwui/
H A DMatrix.cpp287 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
292 data[kScaleZ] = -2.0f / (far - near);
295 data[kTranslateZ] = -(far + near) / (far - near);
/frameworks/base/libs/rs/
H A DrsMatrix4x4.cpp272 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
276 m[10]= -2.f / (far - near);
279 m[14]= -(far + near) / (far - near);
282 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument
288 m[10]= -(far + near) / (far - near);
290 m[14]= -2.f * far * near / (far - near);
294 void Matrix4x4::loadPerspective(float fovy, float aspect, float near, float far) { argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java260 * @param far
264 float near, float far) {
271 if (near == far) {
272 throw new IllegalArgumentException("near == far");
277 final float r_depth = 1.0f / (far - near);
283 final float tz = -(far + near) * r_depth;
313 * @param far
318 float near, float far) {
325 if (near == far) {
326 throw new IllegalArgumentException("near == far");
262 orthoM(float[] m, int mOffset, float left, float right, float bottom, float top, float near, float far) argument
316 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument
[all...]
H A DGLErrorWrapper.java231 public void glDepthRangef(float near, float far) { argument
233 mgl.glDepthRangef(near, far);
237 public void glDepthRangex(int near, int far) { argument
239 mgl.glDepthRangex(near, far);
334 float near, float far) {
336 mgl.glFrustumf(left, right, bottom, top, near, far);
341 int far) {
343 mgl.glFrustumx(left, right, bottom, top, near, far);
608 float near, float far) {
610 mgl.glOrthof(left, right, bottom, top, near, far);
333 glFrustumf(float left, float right, float bottom, float top, float near, float far) argument
340 glFrustumx(int left, int right, int bottom, int top, int near, int far) argument
607 glOrthof(float left, float right, float bottom, float top, float near, float far) argument
614 glOrthox(int left, int right, int bottom, int top, int near, int far) argument
[all...]
H A DGLLogWrapper.java1461 public void glDepthRangef(float near, float far) { argument
1464 arg("far", far);
1467 mgl.glDepthRangef(near, far);
1471 public void glDepthRangex(int near, int far) { argument
1474 arg("far", far);
1477 mgl.glDepthRangex(near, far);
1667 float near, float far) {
1674 arg("far", fa
1666 glFrustumf(float left, float right, float bottom, float top, float near, float far) argument
1681 glFrustumx(int left, int right, int bottom, int top, int near, int far) argument
2158 glOrthof(float left, float right, float bottom, float top, float near, float far) argument
2173 glOrthox(int left, int right, int bottom, int top, int near, int far) argument
[all...]
/frameworks/base/libs/rs/driver/
H A DrsdRuntimeMath.cpp223 static void SC_MatrixLoadPerspective(Matrix4x4 *m, float fovy, float aspect, float near, float far) { argument
224 m->loadPerspective(fovy, aspect, near, far);
/frameworks/base/opengl/libagl/
H A Dmatrix.cpp703 GLfloat far = c->transforms.vpt.zFar; local
704 GLfloat A = div2f(far - near);
705 GLfloat B = div2f(far + near);

Completed in 169 milliseconds