HomeSort by relevance Sort by last modified time
    Searched defs:mProgram (Results 51 - 65 of 65) sorted by null

1 23

  /cts/tests/tests/media/src/android/media/cts/
TextureRender.java 77 private int mProgram;
104 GLES20.glUseProgram(mProgram);
137 mProgram = createProgram(VERTEX_SHADER, FRAGMENT_SHADER);
138 if (mProgram == 0) {
141 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
146 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord");
152 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix");
158 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix");
187 GLES20.glDeleteProgram(mProgram);
188 mProgram = createProgram(VERTEX_SHADER, fragmentShader)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
GLES20TriangleRenderer.java 54 GLES20.glUseProgram(mProgram);
95 mProgram = createProgram(mVertexShader, mFragmentShader);
96 if (mProgram == 0) {
99 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
104 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord");
110 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix");
247 private int mProgram;
  /development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
GLES20TriangleRenderer.java 52 GLES20.glUseProgram(mProgram);
93 mProgram = createProgram(mVertexShader, mFragmentShader);
94 if (mProgram == 0) {
97 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
102 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord");
108 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix");
245 private int mProgram;
  /frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/
GenImage.java 127 private final int mProgram;
218 mProgram = GLES20.glCreateProgram(); // create empty OpenGL Program
219 GLES20.glAttachShader(mProgram, vertexShader); // add the vertex shader to program
220 GLES20.glAttachShader(mProgram, fragmentShader); // add the fragment shader to program
221 GLES20.glLinkProgram(mProgram); // create OpenGL program executables
238 GLES20.glUseProgram(mProgram);
240 int posA = GLES20.glGetAttribLocation(mProgram, "aPosition");
244 int sampUni = GLES20.glGetUniformLocation(mProgram, "uSamp");
  /cts/tests/src/android/opengl/cts/
CompressedTextureSurfaceView.java 117 private int mProgram;
169 GLES20.glUseProgram(mProgram);
243 if (mProgram == 0) {
318 mProgram = createProgram(mVertexShader, mFragmentShader);
319 if (mProgram == 0) {
322 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
327 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord");
333 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix");
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
SurfaceTextureRenderer.java 79 private int mProgram;
116 GLES20.glUseProgram(mProgram);
165 mProgram = createProgram(mVertexShader, mFragmentShader);
166 if (mProgram == 0) {
169 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
174 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord");
180 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix");
186 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix");
  /development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/
MyGLSurfaceView.java 96 GLES20.glUseProgram(mProgram);
144 mProgram = createProgram(mVertexShader, mFragmentShader);
145 if (mProgram == 0) {
148 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
153 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord");
159 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix");
165 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix");
317 private int mProgram;
  /frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
MyGLSurfaceView.java 108 GLES20.glUseProgram(mProgram);
156 mProgram = createProgram(mVertexShader, mFragmentShader);
157 if (mProgram == 0) {
160 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
165 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord");
171 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix");
177 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix");
329 private int mProgram;
  /packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java 320 private final int mProgram;
382 mProgram = buildProgram(vertexShaderCode, fragmentShaderCode);
385 glUseProgram(mProgram);
386 checkGlError("glUseProgram(" + mProgram + ")");
389 mPositionHandle = glGetAttribLocation(mProgram, "a_position");
400 mColorHandle = glGetAttribLocation(mProgram, "a_color");
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
PlanetsRenderer.java 77 private int mProgram; // shader program
134 mProgram = createProgram(getVertexShader(), getFragmentShader());
135 if (mProgram == 0) {
139 mMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix");
140 mOffsetHandle = GLES20.glGetUniformLocation(mProgram, "uOffset");
141 mPositionHandle = GLES20.glGetAttribLocation(mProgram, "vPosition");
142 mTexCoord0Handle = GLES20.glGetAttribLocation(mProgram, "vTexCoord0");
143 mTextureHandle = GLES20.glGetUniformLocation(mProgram, "sTexture");
161 GLES20.glUseProgram(mProgram);
  /frameworks/av/media/libstagefright/mpeg2ts/
ATSParser.cpp 124 Program *mProgram;
469 : mProgram(program),
481 (mProgram->parserFlags() & ALIGNED_VIDEO_DATA)
655 mProgram->convertPTSToTimestamp(resumeAtPTS);
873 timeUs = mProgram->convertPTSToTimestamp(PTS);
    [all...]
  /frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
GL2CameraEye.java 201 GLES20.glUseProgram(mProgram);
250 mProgram = createProgram(mVertexShader, mFragmentShader);
251 if (mProgram == 0) {
254 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
259 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord");
265 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix");
271 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix");
277 muCRatioHandle = GLES20.glGetUniformLocation(mProgram, "uCRatio");
483 private int mProgram;
  /cts/tests/tests/hardware/src/android/hardware/cts/
CameraGLTest.java 674 GLES20.glUseProgram(mProgram);
720 mProgram = createProgram(mVertexShader, mFragmentShader);
721 if (mProgram == 0) {
724 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
729 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord")
    [all...]
  /frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
VideoDumpView.java 316 private int mProgram;
391 GLES20.glUseProgram(mProgram);
523 mProgram = createProgram(mVertexShader, mFragmentShader);
524 if (mProgram == 0) {
527 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
532 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord");
538 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix");
544 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix");
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
ImageShader.java 42 private int mProgram = 0;
225 mProgram = createProgram(mDefaultVertexShader, fragmentShader);
230 mProgram = createProgram(vertexShader, fragmentShader);
310 int loc = GLES20.glGetAttribLocation(mProgram, name);
583 GLES20.glDeleteProgram(mProgram);
619 int texUniform = GLES20.glGetUniformLocation(mProgram, inputTextureUniformName(i));
670 if (mProgram == 0) {
676 GLES20.glUseProgram(mProgram);
741 GLES20.glGetProgramiv(mProgram, GLES20.GL_ACTIVE_UNIFORMS, uniformCount, 0);
745 ProgramUniform uniform = new ProgramUniform(mProgram, i)
    [all...]

Completed in 518 milliseconds

1 23