HomeSort by relevance Sort by last modified time
    Searched refs:mProgram (Results 51 - 75 of 84) sorted by null

1 23 4

  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
RotateFilter.java 47 private Program mProgram;
72 mProgram = shaderProgram;
84 if (mProgram != null) {
96 if (mProgram == null || inputFormat.getTarget() != mTarget) {
117 mProgram.process(input, output);
154 ((ShaderProgram) mProgram).setTargetRegion(quad);
StraightenFilter.java 50 private Program mProgram;
73 mProgram = shaderProgram;
85 if (mProgram != null) {
97 if (mProgram == null || inputFormat.getTarget() != mTarget) {
111 mProgram.process(input, output);
152 ((ShaderProgram) mProgram).setSourceRegion(quad);
BitmapOverlayFilter.java 46 private Program mProgram;
82 mProgram = shaderProgram;
110 if (mProgram == null || inputFormat.getTarget() != mTarget) {
118 mProgram.process(inputs, output);
ResizeFilter.java 50 private Program mProgram;
81 mProgram = prog;
110 mProgram.process(mipmapped, output);
113 mProgram.process(input, output);
ToPackedGrayFilter.java 45 private Program mProgram;
114 mProgram = new ShaderProgram(context, mColorToPackedGrayShader);
125 mProgram.setHostValue("pix_stride", 1.0f / ow);
131 mProgram.process(input, temp);
  /cts/suite/cts/deviceTests/opengl/jni/primitive/fullpipeline/
FullPipelineRenderer.h 31 Program* mProgram;
FullPipelineRenderer.cpp 95 Renderer(window, offscreen, workload), mProgram(NULL), mSceneGraph(NULL),
110 mProgram = new PerspectiveProgram(mProgramId);
155 mSceneGraph = new ProgramNode(*mProgram);
185 delete mProgram;
186 mProgram = NULL;
  /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");
  /cts/tests/tests/opengl/src/android/opengl/cts/
RendererTwoShaderTest.java 45 mProgram = GLES20.glCreateProgram();
47 GLES20.glAttachShader(mProgram, vertexShaderOne);
RendererBase.java 31 int mProgram;
  /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/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");
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
FragmentShader.java 33 ProgramFragment mProgram;
94 mShader.mProgram = mBuilder.create();
100 return mProgram;
151 item.program = mProgram;
162 mProgram.bindConstants(item.shaderConst, 0);
  /frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
GL2JavaView.java 67 GLES20.glUseProgram(mProgram);
84 mProgram = createProgram(mVertexShader, mFragmentShader);
85 if (mProgram == 0) {
88 mvPositionHandle = GLES20.glGetAttribLocation(mProgram, "vPosition");
165 private int mProgram;
  /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/native/services/surfaceflinger/RenderEngine/
Program.cpp 56 mProgram = programId;
84 glUseProgram(mProgram);
89 return glGetAttribLocation(mProgram, name);
94 return glGetUniformLocation(mProgram, name);
Program.h 66 GLuint 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;
  /frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
TestLatencyView.java 96 GLES20.glUseProgram(mProgram);
153 mProgram = createProgram(mVertexShader, mFragmentShader);
154 if (mProgram == 0) {
157 mvPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
162 mvColorHandle = GLES20.glGetAttribLocation(mProgram, "aColor");
261 private int mProgram;
  /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/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/src/android/opengl/cts/
EglConfigGLSurfaceView.java 131 private int mProgram;
138 mProgram = createProgram(mVertexShader, mFragmentShader);
139 if (mProgram == 0) {
143 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
220 GLES20.glUseProgram(mProgram);
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");
  /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");

Completed in 992 milliseconds

1 23 4