Home
last modified time | relevance | path

Searched refs:glGetUniformLocation (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/native/libs/renderengine/gl/
DProgram.cpp63 mProjectionMatrixLoc = glGetUniformLocation(programId, "projection"); in Program()
64 mTextureMatrixLoc = glGetUniformLocation(programId, "texture"); in Program()
65 mSamplerLoc = glGetUniformLocation(programId, "sampler"); in Program()
66 mColorLoc = glGetUniformLocation(programId, "color"); in Program()
67 mDisplayMaxLuminanceLoc = glGetUniformLocation(programId, "displayMaxLuminance"); in Program()
68 mInputTransformMatrixLoc = glGetUniformLocation(programId, "inputTransformMatrix"); in Program()
69 mOutputTransformMatrixLoc = glGetUniformLocation(programId, "outputTransformMatrix"); in Program()
70 mCornerRadiusLoc = glGetUniformLocation(programId, "cornerRadius"); in Program()
71 mCropCenterLoc = glGetUniformLocation(programId, "cropCenter"); in Program()
95 return glGetUniformLocation(mProgram, name); in getUniform()
/frameworks/native/cmds/flatland/
DRenderers.cpp61 mUVToInterpUniformLoc = glGetUniformLocation(mGradPgm, "uvToInterp"); in setUp()
62 mObjToNdcUniformLoc = glGetUniformLocation(mGradPgm, "objToNdc"); in setUp()
63 mDitherKernelSamplerLoc = glGetUniformLocation(mGradPgm, "ditherKernel"); in setUp()
64 mInvDitherKernelSizeUniformLoc = glGetUniformLocation(mGradPgm, in setUp()
66 mInvDitherKernelSizeSqUniformLoc = glGetUniformLocation(mGradPgm, in setUp()
68 mColor0UniformLoc = glGetUniformLocation(mGradPgm, "color0"); in setUp()
69 mColor1UniformLoc = glGetUniformLocation(mGradPgm, "color1"); in setUp()
DComposers.cpp38 mUVToTexUniformLoc = glGetUniformLocation(mBlitPgm, "uvToTex"); in setUp()
39 mObjToNdcUniformLoc = glGetUniformLocation(mBlitPgm, "objToNdc"); in setUp()
40 mBlitSrcSamplerLoc = glGetUniformLocation(mBlitPgm, "blitSrc"); in setUp()
41 mModColorUniformLoc = glGetUniformLocation(mBlitPgm, "modColor"); in setUp()
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp192 GLint loc = glGetUniformLocation(pgm, var); in randUniform()
214 GLint loc = glGetUniformLocation(pgm, "u_texOff"); in doLoop()
274 GLint loc = glGetUniformLocation(pgm, "u_tex0"); in doSingleTest()
276 loc = glGetUniformLocation(pgm, "u_tex1"); in doSingleTest()
/frameworks/native/libs/gui/tests/
DTextureRenderer.cpp63 mTexSamplerHandle = glGetUniformLocation(mPgm, "texSampler"); in SetUp()
66 mTexMatrixHandle = glGetUniformLocation(mPgm, "texMatrix"); in SetUp()
/frameworks/av/cmds/screenrecord/
DProgram.cpp90 muMVPMatrixLoc = glGetUniformLocation(program, "uMVPMatrix"); in setup()
91 muGLCMatrixLoc = glGetUniformLocation(program, "uGLCMatrix"); in setup()
92 muTextureLoc = glGetUniformLocation(program, "uTexture"); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageGLProgram.java26 import static android.opengl.GLES20.glGetUniformLocation;
113 return glGetUniformLocation(mProgramHandle, name); in getUniformHandle()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java250 mProjMatrixLoc = GLES20.glGetUniformLocation(mProgram, "proj_matrix"); in initGLShaders()
251 mTexMatrixLoc = GLES20.glGetUniformLocation(mProgram, "tex_matrix"); in initGLShaders()
253 mOpacityLoc = GLES20.glGetUniformLocation(mProgram, "opacity"); in initGLShaders()
254 mGammaLoc = GLES20.glGetUniformLocation(mProgram, "gamma"); in initGLShaders()
255 mTexUnitLoc = GLES20.glGetUniformLocation(mProgram, "texUnit"); in initGLShaders()
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java265 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in onSurfaceCreated()
271 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix"); in onSurfaceCreated()
277 muCRatioHandle = GLES20.glGetUniformLocation(mProgram, "uCRatio"); in onSurfaceCreated()
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java171 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in onSurfaceCreated()
177 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix"); in onSurfaceCreated()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLDepthTestActivity.java207 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in onSurfaceCreated()
213 muOverlayHandle = GLES20.glGetUniformLocation(mProgram, "uOverlay"); in onSurfaceCreated()
DGLTextureViewActivity.java197 int uniformTexture = glGetUniformLocation(program, "texture"); in run()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.java75 import static android.opengl.GLES20.glGetUniformLocation;
150 int uniformTexture = glGetUniformLocation(program, "texture"); in run()
/frameworks/native/opengl/libs/
DlibGLESv2.map.txt124 glGetUniformLocation;
DlibGLESv3.map.txt219 glGetUniformLocation;
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java538 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in onSurfaceCreated()
544 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix"); in onSurfaceCreated()
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/
DGenImage.java244 int sampUni = GLES20.glGetUniformLocation(mProgram, "uSamp"); in draw()
/frameworks/rs/driver/
DrsdShaderCache.cpp68 data[ct].slot = glGetUniformLocation(linkedID, in populateUniformData()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java369 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in initializeGLState()
375 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix"); in initializeGLState()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java201 mLocation = GLES20.glGetUniformLocation(program, mName); in ProgramUniform()
619 int texUniform = GLES20.glGetUniformLocation(mProgram, inputTextureUniformName(i)); in bindInputTextures()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp169 gYuvTexSamplerHandle = glGetUniformLocation(gProgram, "yuvTexSampler"); in setupGraphics()
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp183 gvTextureSamplerHandle = glGetUniformLocation(gTextureProgram, "texture"); in setupGraphics()
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp385 ProgramVar uniform_id = glGetUniformLocation(program_, &name[0]); in ScanUniforms()
668 return glGetUniformLocation(program_, name.c_str()); in GetUniform()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DSwarm.java172 mMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "u_MVP"); in draw()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES20.spec78 GLint glGetUniformLocation ( GLuint program, const char *name )

12