Home
last modified time | relevance | path

Searched refs:prog (Results 1 – 11 of 11) sorted by relevance

/cts/tests/openglperf2/jni/reference/scene/flocking/
DWaterMeshNode.cpp24 PerspectiveProgram& prog = (PerspectiveProgram&) program; in before() local
26 int textureUniformHandle1 = glGetUniformLocation(prog.mProgramId, "u_Texture1"); in before()
27 int textureUniformHandle2 = glGetUniformLocation(prog.mProgramId, "u_Texture2"); in before()
28 int timeUniformHandle = glGetUniformLocation(prog.mProgramId, "u_Time"); in before()
29 int positionHandle = glGetAttribLocation(prog.mProgramId, "a_Position"); in before()
30 int texCoordHandle = glGetAttribLocation(prog.mProgramId, "a_TexCoordinate"); in before()
49 prog.mMVMatrix.multiply(view, model); in before()
52 glUniformMatrix4fv(prog.mMVMatrixHandle, 1, false, prog.mMVMatrix.mData); in before()
56 prog.mMVPMatrix.multiply(projection, prog.mMVMatrix); in before()
59 glUniformMatrix4fv(prog.mMVPMatrixHandle, 1, false, prog.mMVPMatrix.mData); in before()
[all …]
/cts/tests/openglperf2/jni/graphics/
DPerspectiveMeshNode.cpp24 PerspectiveProgram& prog = (PerspectiveProgram&) program; in before() local
26 int textureUniformHandle = glGetUniformLocation(prog.mProgramId, "u_Texture"); in before()
27 int positionHandle = glGetAttribLocation(prog.mProgramId, "a_Position"); in before()
28 int normalHandle = glGetAttribLocation(prog.mProgramId, "a_Normal"); in before()
29 int texCoordHandle = glGetAttribLocation(prog.mProgramId, "a_TexCoordinate"); in before()
45 prog.mMVMatrix.multiply(view, model); in before()
48 glUniformMatrix4fv(prog.mMVMatrixHandle, 1, false, prog.mMVMatrix.mData); in before()
52 prog.mMVPMatrix.multiply(projection, prog.mMVMatrix); in before()
55 glUniformMatrix4fv(prog.mMVPMatrixHandle, 1, false, prog.mMVPMatrix.mData); in before()
58 glUniform3f(prog.mLightPosHandle, prog.mLightPosInEyeSpace[0], prog.mLightPosInEyeSpace[1], in before()
[all …]
/cts/tools/cfassembler/etc/
Dcfassembler19 prog="$0"
20 while [ -h "${prog}" ]; do
21 newProg=`/bin/ls -ld "${prog}"`
24 prog="${newProg}"
26 progdir=`dirname "${prog}"`
27 prog="${progdir}/${newProg}"
31 progdir=`dirname "${prog}"`
34 prog="${progdir}"/`basename "${prog}"`
49 echo `basename "$prog"`": can't find $jarfile"
/cts/tools/vm-tests-tf/etc/
Dvmtests-buildutil.sh18 prog="$0"
19 while [ -h "${prog}" ]; do
20 newProg=`/bin/ls -ld "${prog}"`
23 prog="${newProg}"
25 progdir=`dirname "${prog}"`
26 prog="${progdir}/${newProg}"
30 progdir=`dirname "${prog}"`
33 prog="${progdir}"/`basename "${prog}"`
45 echo `basename "$prog"`": can't find $jarfile"
Dstarthosttests20 prog="$0"
21 while [ -h "${prog}" ]; do
22 newProg=`/bin/ls -ld "${prog}"`
25 prog="${newProg}"
27 progdir=`dirname "${prog}"`
28 prog="${progdir}/${newProg}"
32 progdir=`dirname "${prog}"`
35 prog="${progdir}"/`basename "${prog}"`
Dstarttests20 prog="$0"
21 while [ -h "${prog}" ]; do
22 newProg=`/bin/ls -ld "${prog}"`
25 prog="${newProg}"
27 progdir=`dirname "${prog}"`
28 prog="${progdir}/${newProg}"
32 progdir=`dirname "${prog}"`
35 prog="${progdir}"/`basename "${prog}"`
Dvmtests-cfassembler.sh18 prog="$0"
Dvmtests-dasm.sh18 prog="$0"
/cts/tools/cts-api-coverage/etc/
Dcts-api-coverage19 prog="$0"
20 while [ -h "${prog}" ]; do
21 newProg=`/bin/ls -ld "${prog}"`
24 prog="${newProg}"
26 progdir=`dirname "${prog}"`
27 prog="${progdir}/${newProg}"
31 progdir=`dirname "${prog}"`
34 prog="${progdir}"/`basename "${prog}"`
Dndk-api-report19 prog="$0"
20 while [ -h "${prog}" ]; do
21 newProg=`/bin/ls -ld "${prog}"`
24 prog="${newProg}"
26 progdir=`dirname "${prog}"`
27 prog="${progdir}/${newProg}"
31 progdir=`dirname "${prog}"`
34 prog="${progdir}"/`basename "${prog}"`
/cts/tests/tests/os/jni/
Dandroid_os_cts_OSFeatures.cpp47 struct sock_fprog prog; in test_seccomp() local
48 memset(&prog, 0, sizeof(prog)); in test_seccomp()
49 prog.len = sizeof(filter) / sizeof(filter[0]); in test_seccomp()
50 prog.filter = filter; in test_seccomp()
52 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog) < 0) { in test_seccomp()