HomeSort by relevance Sort by last modified time
    Searched refs:GLES20 (Results 76 - 100 of 142) sorted by null

1 2 34 5 6

  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
RendererCommon.java 31 import android.opengl.GLES20;
102 GLES20.glActiveTexture(GLES20.GL_TEXTURE0 + i);
103 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, outputYuvTextures[i]);
114 GLES20.glTexImage2D(GLES20.GL_TEXTURE_2D, 0, GLES20.GL_LUMINANCE, planeWidths[i],
115 planeHeights[i], 0, GLES20.GL_LUMINANCE, GLES20.GL_UNSIGNED_BYTE, packedByteBuffer)
    [all...]
SurfaceViewRenderer.java 33 import android.opengl.GLES20;
197 GLES20.glPixelStorei(GLES20.GL_UNPACK_ALIGNMENT, 1);
226 GLES20.glDeleteTextures(3, yuvTextures, 0);
431 GLES20.glClearColor(0, 0, 0, 0);
432 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT);
498 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT);
504 yuvTextures[i] = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D)
    [all...]
VideoRendererGui.java 42 import android.opengl.GLES20;
193 yuvTextures[i] = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D);
196 textureCopy = new GlTextureFrameBuffer(GLES20.GL_RGB);
259 GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, textureCopy.getFrameBufferId());
268 GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, 0);
269 GLES20.glFinish();
628 GLES20.glPixelStorei(GLES20.GL_UNPACK_ALIGNMENT, 1)
    [all...]
  /frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
TestFramerateView.java 37 import android.opengl.GLES20;
79 GLES20.glClearColor(red, green, blue, 1.0f);
80 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT);
84 GLES20.glViewport(0, 0, width, height);
  /frameworks/base/core/java/android/hardware/camera2/legacy/
SurfaceTextureRenderer.java 29 import android.opengl.GLES20;
203 int shader = GLES20.glCreateShader(shaderType);
205 GLES20.glShaderSource(shader, source);
206 GLES20.glCompileShader(shader);
208 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0);
211 Log.e(TAG, " " + GLES20.glGetShaderInfoLog(shader));
212 GLES20.glDeleteShader(shader);
220 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
224 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource)
    [all...]
  /cts/tests/tests/opengl/src/android/opengl/cts/
WrapperTest.java 25 import android.opengl.GLES20;
108 GLES20.glGetIntegerv(GLES20.GL_NUM_COMPRESSED_TEXTURE_FORMATS, countBuf, 0);
115 GLES20.glGetIntegerv(GLES20.GL_COMPRESSED_TEXTURE_FORMATS, new int[formatCount], 0);
121 GLES20.glGetIntegerv(GLES20.GL_COMPRESSED_TEXTURE_FORMATS, fullIntBuf);
129 GLES20.glGetIntegerv(GLES20.GL_COMPRESSED_TEXTURE_FORMATS, oversizeIntBuf);
137 GLES20.glGetIntegerv(GLES20.GL_COMPRESSED_TEXTURE_FORMATS, partialIntBuf)
    [all...]
ProgramTest.java 19 import android.opengl.GLES20;
43 assertEquals(GLES20.GL_INVALID_OPERATION, error);
NativeRendererOneColorBufferTest.java 30 import android.opengl.GLES20;
  /cts/tests/camera/src/android/hardware/cts/
CameraGLTest.java 25 import android.opengl.GLES20;
678 // Ignore the passed-in GL10 interface, and use the GLES20
680 GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
681 GLES20.glUseProgram(mProgram);
684 GLES20.glActiveTexture(GLES20.GL_TEXTURE0);
685 GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTextureID);
688 GLES20.glVertexAttribPointer(maPositionHandle, 3, GLES20.GL_FLOAT, false
    [all...]
  /cts/tests/tests/effect/src/android/effect/cts/
GLEnv.java 21 import android.opengl.GLES20;
78 GLES20.glGenTextures(1, textures, 0);
84 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texId);
85 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0);
92 GLES20.glDeleteTextures(1, textures, 0);
  /external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
SurfaceTextureHelperTest.java 30 import android.opengl.GLES20;
144 GLES20.glClearColor(red[i] / 255.0f, green[i] / 255.0f, blue[i] / 255.0f, 1.0f);
145 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT);
159 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, rgbaData);
209 GLES20.glClearColor(red / 255.0f, green / 255.0f, blue / 255.0f, 1.0f);
210 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
EncodeVirtualDisplayWithCompositionTest.java 38 import android.opengl.GLES20;
380 GLES20.glReadPixels(x, y, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, mPixelBuf);
711 int shader = GLES20.glCreateShader(shaderType);
713 GLES20.glShaderSource(shader, source);
714 GLES20.glCompileShader(shader);
716 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0);
719 Log.e(TAG, " " + GLES20.glGetShaderInfoLog(shader))
    [all...]
DecodeAccuracyTestBase.java 39 import android.opengl.GLES20;
697 * {@link GLSurfaceView} {@link EGL10} {@link GLES20}.
    [all...]
PresentationSyncTest.java 19 import android.opengl.GLES20;
407 GLES20.glClearColor(0.2f, 0.2f, 0.2f, 1.0f);
408 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT);
411 GLES20.glEnable(GLES20.GL_SCISSOR_TEST);
412 GLES20.glScissor(startX, startY, mWidth / 16, mHeight / 4);
413 GLES20.glClearColor(colorVal, 1 - colorVal, 0.0f, 1.0f);
414 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT)
    [all...]
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DrawRectFilter.java 31 import android.opengl.GLES20;
126 GLES20.glLineWidth(1.0f);
127 GLES20.glDrawArrays(GLES20.GL_LINE_LOOP, 0, 4);
ResizeFilter.java 31 import android.opengl.GLES20;
103 mipmapped.setTextureParameter(GLES20.GL_TEXTURE_MIN_FILTER,
104 GLES20.GL_LINEAR_MIPMAP_NEAREST);
  /cts/tests/tests/security/src/android/security/cts/
StagefrightTest.java 37 import android.opengl.GLES20;
168 GLES20.glGenTextures(1, textures, 0);
169 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, textures[0]);
170 GLES20.glTexParameterf(GLES11Ext.GL_TEXTURE_EXTERNAL_OES,
171 GLES20.GL_TEXTURE_MIN_FILTER,
172 GLES20.GL_NEAREST);
173 GLES20.glTexParameterf(GLES11Ext.GL_TEXTURE_EXTERNAL_OES,
174 GLES20.GL_TEXTURE_MAG_FILTER,
175 GLES20.GL_LINEAR);
176 GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES
    [all...]
  /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
GlesStubActivity.java 27 import android.opengl.GLES20;
179 extensions = GLES20.glGetString(GLES20.GL_EXTENSIONS);
180 vendor = GLES20.glGetString(GLES20.GL_VENDOR);
181 renderer = GLES20.glGetString(GLES20.GL_RENDERER);
  /cts/tests/tests/graphics/src/android/opengl/cts/
EglContextTest.java 24 import android.opengl.GLES20;
151 * Checks for a GL error using {@link GLES20#glGetError()}.
157 if ((errorCode = GLES20.glGetError()) != GLES20.GL_NO_ERROR) {
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
RenderTarget.java 22 import android.opengl.GLES20;
107 GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, fbo);
109 GLES20.glFramebufferTexture2D(GLES20.GL_FRAMEBUFFER,
110 GLES20.GL_COLOR_ATTACHMENT0,
218 GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, mFbo);
398 GLES20.glGetIntegerv(GLES20.GL_FRAMEBUFFER_BINDING, result, 0)
    [all...]
  /development/samples/HelloEffects/src/com/example/android/mediafx/
HelloEffects.java 32 import android.opengl.GLES20;
72 GLES20.glGenTextures(2, mTextures, 0);
82 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextures[0]);
83 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0);
  /cts/tests/tests/view/src/android/view/cts/
PixelCopyTests.java 47 import static android.opengl.GLES20.GL_COLOR_BUFFER_BIT;
48 import static android.opengl.GLES20.GL_SCISSOR_TEST;
49 import static android.opengl.GLES20.glClear;
50 import static android.opengl.GLES20.glClearColor;
51 import static android.opengl.GLES20.glEnable;
52 import static android.opengl.GLES20.glScissor;
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
BackDropperFilter.java 29 import android.opengl.GLES20;
    [all...]
  /developers/build/prebuilts/gradle/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/
MediaEffectsFragment.java 25 import android.opengl.GLES20;
132 GLES20.glGenTextures(2, mTextures, 0);
141 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextures[0]);
142 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0);
  /developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
OpenGLWatchFaceService.java 23 import android.opengl.GLES20;
430 GLES20.glClearColor(0, 0, 0, 1);
433 GLES20.glClearColor(0.5f, 0.2f, 0.2f, 1);
438 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT);

Completed in 3797 milliseconds

1 2 34 5 6