HomeSort by relevance Sort by last modified time
    Searched refs:GLES20 (Results 1 - 7 of 7) sorted by null

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
GLES20TriangleRenderer.java 31 import android.opengl.GLES20;
50 // Ignore the passed-in GL10 interface, and use the GLES20
52 GLES20.glClearColor(0.0f, 0.0f, 1.0f, 1.0f);
53 GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
54 GLES20.glUseProgram(mProgram);
57 GLES20.glActiveTexture(GLES20.GL_TEXTURE0);
58 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextureID)
    [all...]
  /development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
GLES20TriangleRenderer.java 31 import android.opengl.GLES20;
48 // Ignore the passed-in GL10 interface, and use the GLES20
50 GLES20.glClearColor(0.0f, 0.0f, 1.0f, 1.0f);
51 GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
52 GLES20.glUseProgram(mProgram);
55 GLES20.glActiveTexture(GLES20.GL_TEXTURE0);
56 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextureID)
    [all...]
BasicGLSurfaceView.java 22 import android.opengl.GLES20;
  /frameworks/base/opengl/tests/gl2_java/src/com/android/gl2java/
GL2JavaView.java 36 import android.opengl.GLES20;
65 GLES20.glClearColor(0.0f, 0.0f, 1.0f, 1.0f);
66 GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
67 GLES20.glUseProgram(mProgram);
70 GLES20.glVertexAttribPointer(mvPositionHandle, 2, GLES20.GL_FLOAT, false, 0, mTriangleVertices);
72 GLES20.glEnableVertexAttribArray(mvPositionHandle);
74 GLES20.glDrawArrays(GLES20.GL_TRIANGLES, 0, 3)
    [all...]
  /cts/tests/src/android/opengl/cts/
EglConfigGLSurfaceView.java 20 import android.opengl.GLES20;
143 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition");
162 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
167 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
172 int program = GLES20.glCreateProgram();
174 GLES20.glAttachShader(program, vertexShader);
176 GLES20.glAttachShader(program, pixelShader);
178 GLES20.glLinkProgram(program);
180 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0)
    [all...]
  /frameworks/base/opengl/tools/glgen/
gen 66 javac -d classes com/google/android/gles_jni/GLImpl.java javax/microedition/khronos/opengles/GL10.java javax/microedition/khronos/opengles/GL10Ext.java javax/microedition/khronos/opengles/GL11.java javax/microedition/khronos/opengles/GL11Ext.java javax/microedition/khronos/opengles/GL11ExtensionPack.java android/opengl/GLES10.java android/opengl/GLES10Ext.java android/opengl/GLES11.java android/opengl/GLES11Ext.java android/opengl/GLES20.java
112 for x in GLES10 GLES10Ext GLES11 GLES11Ext GLES20
  /frameworks/base/opengl/java/android/opengl/
GLES20.java 24 public class GLES20 {
    [all...]

Completed in 148 milliseconds