HomeSort by relevance Sort by last modified time
    Searched defs:GLES20 (Results 51 - 75 of 83) sorted by null

1 23 4

  /cts/tests/tests/hardware/src/android/hardware/cts/
CameraGLTest.java 25 import android.opengl.GLES20;
675 // Ignore the passed-in GL10 interface, and use the GLES20
677 GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
678 GLES20.glUseProgram(mProgram);
681 GLES20.glActiveTexture(GLES20.GL_TEXTURE0);
682 GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTextureID);
685 GLES20.glVertexAttribPointer(maPositionHandle, 3, GLES20.GL_FLOAT, false
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
SurfaceTextureRenderer.java 29 import android.opengl.GLES20;
164 int shader = GLES20.glCreateShader(shaderType);
166 GLES20.glShaderSource(shader, source);
167 GLES20.glCompileShader(shader);
169 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0);
172 Log.e(TAG, " " + GLES20.glGetShaderInfoLog(shader));
173 GLES20.glDeleteShader(shader);
181 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
185 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource)
    [all...]
  /cts/tests/tests/opengl/src/android/opengl/cts/
RendererBase.java 22 import android.opengl.GLES20;
52 int shader = GLES20.glCreateShader(type);
53 GLES20.glShaderSource(shader, shaderCode);
54 GLES20.glCompileShader(shader);
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...]
  /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);
  /cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/
GLGameActivity.java 24 import android.opengl.GLES20;
157 GLES20.glGenTextures(1, textures, 0);
161 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, textureID);
162 GLES20.glTexParameteri(
163 GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MIN_FILTER, GLES20.GL_LINEAR);
164 GLES20.glTexParameteri(
165 GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MAG_FILTER, GLES20.GL_LINEAR)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
EncodeVirtualDisplayWithCompositionTest.java 38 import android.opengl.GLES20;
392 GLES20.glReadPixels(x, y, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, mPixelBuf);
716 int shader = GLES20.glCreateShader(shaderType);
718 GLES20.glShaderSource(shader, source);
719 GLES20.glCompileShader(shader);
721 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0);
724 Log.e(TAG, " " + GLES20.glGetShaderInfoLog(shader))
    [all...]
PresentationSyncTest.java 19 import android.opengl.GLES20;
394 GLES20.glClearColor(0.2f, 0.2f, 0.2f, 1.0f);
395 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT);
398 GLES20.glEnable(GLES20.GL_SCISSOR_TEST);
399 GLES20.glScissor(startX, startY, mWidth / 16, mHeight / 4);
400 GLES20.glClearColor(colorVal, 1 - colorVal, 0.0f, 1.0f);
401 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT)
    [all...]
DecodeEditEncodeTest.java 23 import android.opengl.GLES20;
366 GLES20.glDisable(GLES20.GL_SCISSOR_TEST);
367 GLES20.glClearColor(TEST_R0 / 255.0f, TEST_G0 / 255.0f, TEST_B0 / 255.0f, 1.0f);
368 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT);
369 GLES20.glEnable(GLES20.GL_SCISSOR_TEST);
370 GLES20.glScissor(startX, startY, mWidth / 4, mHeight / 2);
371 GLES20.glClearColor(TEST_R1 / 255.0f, TEST_G1 / 255.0f, TEST_B1 / 255.0f, 1.0f)
    [all...]
EncodeDecodeTest.java 23 import android.opengl.GLES20;
    [all...]
EncodeVirtualDisplayTest.java 28 import android.opengl.GLES20;
518 GLES20.glReadPixels(x, y, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, mPixelBuf);
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
VideoCapture.java 12 import android.opengl.GLES20;
186 GLES20.glGenTextures(1, mGlTextures, 0);
187 GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mGlTextures[0]);
189 GLES20.glTexParameterf(GL_TEXTURE_EXTERNAL_OES,
190 GLES20.GL_TEXTURE_MIN_FILTER, GLES20.GL_LINEAR);
191 GLES20.glTexParameterf(GL_TEXTURE_EXTERNAL_OES,
192 GLES20.GL_TEXTURE_MAG_FILTER, GLES20.GL_LINEAR);
194 GLES20.glTexParameteri(GL_TEXTURE_EXTERNAL_OES
    [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);
  /development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
MyGLRenderer.java 21 import android.opengl.GLES20;
53 GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
64 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT | GLES20.GL_DEPTH_BUFFER_BIT);
97 GLES20.glViewport(0, 0, width, height);
119 // create a vertex shader type (GLES20.GL_VERTEX_SHADER)
120 // or a fragment shader type (GLES20.GL_FRAGMENT_SHADER)
121 int shader = GLES20.glCreateShader(type);
124 GLES20.glShaderSource(shader, shaderCode)
    [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);
  /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...]
  /developers/build/prebuilts/gradle/MediaEffects/MediaEffectsSample/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/samples/android/media/MediaEffects/MediaEffectsSample/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);
  /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);
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
ShaderProgram.java 26 import android.opengl.GLES20;
91 GLES20.glFinish();
127 GLES20.glFinish();
GLFrame.java 26 import android.opengl.GLES20;
148 GLES20.glFinish();
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
BackDropperFilter.java 29 import android.opengl.GLES20;
    [all...]
  /frameworks/base/opengl/java/android/opengl/
GLES20.java 24 public class GLES20 {
    [all...]
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/12/
android.jar 

Completed in 3293 milliseconds

1 23 4