Searched refs:far (Results 1 - 24 of 24) sorted by relevance

/frameworks/rs/scriptc/
H A Drs_math.rsh99 * @param far plane
105 float4 *near, float4 *far) {
132 far->x = viewProj->m[3] - viewProj->m[2];
133 far->y = viewProj->m[7] - viewProj->m[6];
134 far->z = viewProj->m[11] - viewProj->m[10];
135 far->w = viewProj->m[15] - viewProj->m[14];
147 len = length(far->xyz);
148 *far /= len;
159 * @param far plane
165 float4 *near, float4 *far) {
[all...]
H A Drs_matrix.rsh240 * @param far
243 rsMatrixLoadOrtho(rs_matrix4x4 *m, float left, float right, float bottom, float top, float near, float far);
254 * @param far
257 rsMatrixLoadFrustum(rs_matrix4x4 *m, float left, float right, float bottom, float top, float near, float far);
266 * @param far
269 rsMatrixLoadPerspective(rs_matrix4x4* m, float fovy, float aspect, float near, float far);
/frameworks/support/renderscript/v8/rs_support/scriptc/
H A Drs_math.rsh99 * @param far plane
105 float4 *near, float4 *far) {
132 far->x = viewProj->m[3] - viewProj->m[2];
133 far->y = viewProj->m[7] - viewProj->m[6];
134 far->z = viewProj->m[11] - viewProj->m[10];
135 far->w = viewProj->m[15] - viewProj->m[14];
147 len = length(far->xyz);
148 *far /= len;
159 * @param far plane
165 float4 *near, float4 *far) {
[all...]
H A Drs_matrix.rsh240 * @param far
243 rsMatrixLoadOrtho(rs_matrix4x4 *m, float left, float right, float bottom, float top, float near, float far);
254 * @param far
257 rsMatrixLoadFrustum(rs_matrix4x4 *m, float left, float right, float bottom, float top, float near, float far);
266 * @param far
269 rsMatrixLoadPerspective(rs_matrix4x4* m, float fovy, float aspect, float near, float far);
/frameworks/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...]
H A DrsMatrix4x4.h49 void loadPerspective(float fovy, float aspect, float near, float far);
H A DrsRuntime.h190 float bottom, float top, float near, float far);
192 float bottom, float top, float near, float far);
193 void rsrMatrixLoadPerspective(rs_matrix4x4* m, float fovy, float aspect, float near, float far);
/frameworks/support/renderscript/v8/rs_support/
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...]
H A DrsMatrix4x4.h49 void loadPerspective(float fovy, float aspect, float near, float far);
H A DrsRuntime.h132 float bottom, float top, float near, float far);
134 float bottom, float top, float near, float far);
135 void rsrMatrixLoadPerspective(rs_matrix4x4* m, float fovy, float aspect, float near, float far);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DCamera.java42 mData.far = 1000.0f;
71 mData.far = f;
H A DColladaParser.java463 float far = getFloat(camera, "zfar");
468 sceneCamera.setFar(far);
/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
317 float near, float far) {
324 if (near == far) {
325 throw new IllegalArgumentException("near == far");
262 orthoM(float[] m, int mOffset, float left, float right, float bottom, float top, float near, float far) argument
315 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/hwui/
H A DMatrix.h81 void loadOrtho(float left, float right, float bottom, float top, float near, float far);
H A DMatrix.cpp289 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
294 data[kScaleZ] = -2.0f / (far - near);
297 data[kTranslateZ] = -(far + near) / (far - near);
/frameworks/base/graphics/java/android/renderscript/
H A DMatrix4f.java254 * @param f location of the far clipping plane
270 * far are set to -1, 1 respectively
288 * @param f location of the far clipping plane, must be positive
309 * @param far far clipping plane, must be positive
311 public void loadPerspective(float fovy, float aspect, float near, float far) { argument
316 loadFrustum(left, right, bottom, top, near, far);
322 * and (near, far), (bottom, top) mapping to (-1, 1) at z = 0
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DMatrix4f.java254 * @param f location of the far clipping plane
270 * far are set to -1, 1 respectively
288 * @param f location of the far clipping plane, must be positive
309 * @param far far clipping plane, must be positive
311 public void loadPerspective(float fovy, float aspect, float near, float far) { argument
316 loadFrustum(left, right, bottom, top, near, far);
322 * and (near, far), (bottom, top) mapping to (-1, 1) at z = 0
/frameworks/rs/driver/
H A DrsdRuntimeMath.cpp208 static void SC_MatrixLoadPerspective(Matrix4x4 *m, float fovy, float aspect, float near, float far) { argument
209 m->loadPerspective(fovy, aspect, near, far);
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdRuntimeMath.cpp211 static void SC_MatrixLoadPerspective(Matrix4x4 *m, float fovy, float aspect, float near, float far) { argument
212 m->loadPerspective(fovy, aspect, near, far);
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs66 float far;
278 100.0f // far
458 static void loadPerspectiveMatrix(rs_matrix4x4* matrix, float fovy, float aspect, float near, float far)
465 rsMatrixLoadFrustum(matrix, left, right, bottom, top, near, far);
621 const float range = M_PI * 2./3.; // How far we can deviate from center, peak-to-peak
845 const float yPadding = 5.0f; // draw line this far (in pixels) away from top and geometry
1044 loadPerspectiveMatrix(&projectionMatrix, camera.fov, camera.aspect, camera.near, camera.far);
/frameworks/native/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);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1330 // check for sensical values pulled out of the stream so far...
4910 TABLE_GETENTRY(ALOGI("Best entry so far -- using it!\n"));

Completed in 1414 milliseconds