/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
BasicGLSurfaceView.java | 22 import android.opengl.GLES20;
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
GLESSurfaceView.java | 20 import android.opengl.GLES20; 64 extensions = GLES20.glGetString(GLES20.GL_EXTENSIONS); 65 vendor = GLES20.glGetString(GLES20.GL_VENDOR); 66 renderer = GLES20.glGetString(GLES20.GL_RENDERER);
|
/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/tests/tests/media/src/android/media/cts/ |
EncodeVirtualDisplayWithCompositionTest.java | 33 import android.opengl.GLES20; 362 int shader = GLES20.glCreateShader(shaderType); 364 GLES20.glShaderSource(shader, source); 365 GLES20.glCompileShader(shader); 367 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); 370 Log.e(TAG, " " + GLES20.glGetShaderInfoLog(shader)); 371 GLES20.glDeleteShader(shader); 378 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); 382 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource) [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...] |
MediaCodecTest.java | 25 import android.opengl.GLES20; 143 GLES20.glClearColor(0.0f, 0.5f, 0.0f, 1.0f); 144 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT); 371 GLES20.glClearColor(0.0f, 0.5f, 0.0f, 1.0f); 372 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT);
|
DecodeEditEncodeTest.java | 23 import android.opengl.GLES20; 378 GLES20.glDisable(GLES20.GL_SCISSOR_TEST); 379 GLES20.glClearColor(TEST_R0 / 255.0f, TEST_G0 / 255.0f, TEST_B0 / 255.0f, 1.0f); 380 GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT); 381 GLES20.glEnable(GLES20.GL_SCISSOR_TEST); 382 GLES20.glScissor(startX, startY, mWidth / 4, mHeight / 2); 383 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 | 27 import android.opengl.GLES20; 427 GLES20.glReadPixels(x, y, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, mPixelBuf);
|
/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...] |
NativeRendererOneColorBufferTest.java | 30 import android.opengl.GLES20;
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraGLTest.java | 25 import android.opengl.GLES20; 671 // Ignore the passed-in GL10 interface, and use the GLES20 673 GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT); 674 GLES20.glUseProgram(mProgram); 677 GLES20.glActiveTexture(GLES20.GL_TEXTURE0); 678 GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTextureID); 681 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/chromium_org/media/base/android/java/src/org/chromium/media/ |
VideoCapture.java | 13 import android.opengl.GLES20; 192 GLES20.glGenTextures(1, mGlTextures, 0); 193 GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mGlTextures[0]); 195 GLES20.glTexParameterf(GL_TEXTURE_EXTERNAL_OES, 196 GLES20.GL_TEXTURE_MIN_FILTER, GLES20.GL_LINEAR); 197 GLES20.glTexParameterf(GL_TEXTURE_EXTERNAL_OES, 198 GLES20.GL_TEXTURE_MAG_FILTER, GLES20.GL_LINEAR); 200 GLES20.glTexParameteri(GL_TEXTURE_EXTERNAL_OES [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
DrawRectFilter.java | 34 import android.opengl.GLES20; 129 GLES20.glLineWidth(1.0f); 130 GLES20.glDrawArrays(GLES20.GL_LINE_LOOP, 0, 4);
|
ResizeFilter.java | 34 import android.opengl.GLES20; 106 mipmapped.setTextureParameter(GLES20.GL_TEXTURE_MIN_FILTER, 107 GLES20.GL_LINEAR_MIPMAP_NEAREST);
|
DrawOverlayFilter.java | 33 import android.opengl.GLES20;
|
/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);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
BackDropperFilter.java | 30 import android.opengl.GLES20; [all...] |
/cts/tests/tests/textureview/src/android/textureview/cts/ |
TextureViewSnapshotTestActivity.java | 29 import static android.opengl.GLES20.*;
|
TextureViewTestActivity.java | 28 import static android.opengl.GLES20.*;
|
/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/native/opengl/tools/glgen/ |
gen | 107 android/opengl/GLES20.java \ 155 for x in EGL14 EGLExt GLES10 GLES10Ext GLES11 GLES11Ext GLES20 GLES30
|