/frameworks/base/opengl/libagl/ |
array.h | 27 namespace gl { namespace in namespace:android
|
light.h | 34 namespace gl { namespace in namespace:android
|
primitives.h | 28 namespace gl { namespace in namespace:android
|
vertex.h | 27 namespace gl { namespace in namespace:android
|
/development/samples/BrowserPlugin/src/com/android/sampleplugin/ |
VideoSurface.java | 48 GLSurfaceView gl = new GLSurfaceView(context); local 50 gl.setLayoutParams(gp); 52 this.addView(gl); 57 gl.setRenderer(new CubeRenderer(false)); 58 gl.setWindowType(WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
TriangleRenderer.java | 47 public void onSurfaceCreated(GL10 gl, EGLConfig config) { 53 gl.glDisable(GL10.GL_DITHER); 59 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, 62 gl.glClearColor(.5f, .5f, .5f, 1); 63 gl.glShadeModel(GL10.GL_SMOOTH); 64 gl.glEnable(GL10.GL_DEPTH_TEST); 65 gl.glEnable(GL10.GL_TEXTURE_2D); 73 gl.glGenTextures(1, textures, 0); 76 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); 78 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER [all...] |
CubeRenderer.java | 35 public void onDrawFrame(GL10 gl) { 42 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); 48 gl.glMatrixMode(GL10.GL_MODELVIEW); 49 gl.glLoadIdentity(); 50 gl.glTranslatef(0, 0, -3.0f); 51 gl.glRotatef(mAngle, 0, 1, 0); 52 gl.glRotatef(mAngle*0.25f, 1, 0, 0); 54 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); 55 gl.glEnableClientState(GL10.GL_COLOR_ARRAY); 57 mCube.draw(gl); [all...] |
FrameBufferObjectActivity.java | 20 import javax.microedition.khronos.opengles.GL; 60 public void onDrawFrame(GL10 gl) { 61 checkGLError(gl); 63 GL11ExtensionPack gl11ep = (GL11ExtensionPack) gl; 65 drawOffscreenImage(gl, mSurfaceWidth, mSurfaceHeight); 68 drawOffscreenImage(gl, mFramebufferWidth, mFramebufferHeight); 70 drawOnscreen(gl, mSurfaceWidth, mSurfaceHeight); 75 gl.glClearColor(1,0,0,0); 76 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); 80 public void onSurfaceChanged(GL10 gl, int width, int height) [all...] |
MatrixPaletteRenderer.java | 27 import javax.microedition.khronos.opengles.GL; 181 public void createBufferObjects(GL gl) { 184 GL11 gl11 = (GL11) gl; 204 public void draw(GL10 gl) { 205 GL11 gl11 = (GL11) gl; 206 GL11Ext gl11Ext = (GL11Ext) gl; 208 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); 214 gl.glEnableClientState(GL11Ext.GL_MATRIX_INDEX_ARRAY_OES); 215 gl.glEnableClientState(GL11Ext.GL_WEIGHT_ARRAY_OES) [all...] |
/development/samples/BrowserPlugin/src/com/android/sampleplugin/graphics/ |
CubeRenderer.java | 35 public void onDrawFrame(GL10 gl) { 42 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); 48 gl.glMatrixMode(GL10.GL_MODELVIEW); 49 gl.glLoadIdentity(); 50 gl.glTranslatef(0, 0, -3.0f); 51 gl.glRotatef(mAngle, 0, 1, 0); 52 gl.glRotatef(mAngle*0.25f, 1, 0, 0); 54 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); 55 gl.glEnableClientState(GL10.GL_COLOR_ARRAY); 57 mCube.draw(gl); [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/ |
GLVolatileImage.java | 21 package org.apache.harmony.awt.gl; 25 import org.apache.harmony.awt.gl.Surface;
|
TextRenderer.java | 21 package org.apache.harmony.awt.gl;
|
XORComposite.java | 23 package org.apache.harmony.awt.gl;
|
/frameworks/base/opengl/java/android/opengl/ |
Texture.java | 85 private int loadTexture(GL10 gl, 94 gl.glGenTextures(1, texture, 0); 96 gl.glEnable(gl.GL_TEXTURE_2D); 97 gl.glClientActiveTexture(textureUnit); 98 gl.glBindTexture(gl.GL_TEXTURE_2D, texture[0]); 99 gl.glTexParameterf(gl.GL_TEXTURE_2D, 100 gl.GL_TEXTURE_MIN_FILTER [all...] |
GLU.java | 22 * A set of GL utilities inspired by the OpenGL Utility Toolkit. 29 * Return an error string from a GL or GLU error code. 31 * @param error - a GL or GLU error code. 33 * was not a valid GL or GLU error code. 60 * @param gl a GL10 interface 71 public static void gluLookAt(GL10 gl, float eyeX, float eyeY, float eyeZ, 79 gl.glMultMatrixf(scratch, 0); 86 * @param gl 92 public static void gluOrtho2D(GL10 gl, float left, float right, 94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f) [all...] |
/frameworks/base/opengl/tests/gldual/src/com/android/gldual/ |
TriangleRenderer.java | 37 public void onSurfaceCreated(GL10 gl, EGLConfig config) { 43 gl.glDisable(GL10.GL_DITHER); 49 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, 52 gl.glClearColor(.5f, .5f, .5f, 1); 53 gl.glShadeModel(GL10.GL_SMOOTH); 56 public void onDrawFrame(GL10 gl) { 62 gl.glDisable(GL10.GL_DITHER); 70 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); 76 gl.glMatrixMode(GL10.GL_MODELVIEW); 77 gl.glLoadIdentity() [all...] |
/frameworks/base/opengl/tests/lighting1709/src/com/android/lightingtest/ |
ClearActivity.java | 70 public void onSurfaceCreated(GL10 gl, EGLConfig config) { 74 public void onSurfaceChanged(GL10 gl, int w, int h) { 76 gl.glMatrixMode(GL10.GL_PROJECTION); 77 gl.glLoadIdentity(); 86 gl.glFrustumf(fl, fr, fb, ft, 1.0f, 2000.0f); 89 gl.glMatrixMode(GL10.GL_MODELVIEW); 90 gl.glLoadIdentity(); 91 gl.glViewport(0, 0, w, h); 94 public void onDrawFrame(GL10 gl) { 95 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT) [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
AndroidLineMetrics.java | 21 package org.apache.harmony.awt.gl.font; 24 import org.apache.harmony.awt.gl.font.LineMetricsImpl;
|
/frameworks/base/awt/org/apache/harmony/awt/gl/image/ |
DataBufferListener.java | 23 package org.apache.harmony.awt.gl.image;
|
/frameworks/base/awt/org/apache/harmony/awt/gl/render/ |
Blitter.java | 23 package org.apache.harmony.awt.gl.render; 29 import org.apache.harmony.awt.gl.MultiRectArea; 30 import org.apache.harmony.awt.gl.Surface;
|
NullBlitter.java | 23 package org.apache.harmony.awt.gl.render; 29 import org.apache.harmony.awt.gl.MultiRectArea; 30 import org.apache.harmony.awt.gl.Surface;
|
/packages/apps/Camera/src/com/android/camera/ui/ |
GLRootView.java | 208 //TODO: delete texture from GL 243 GL11 gl = (GL11) gl1; local 245 // The GL Object has changed 246 Log.i(TAG, "GLObject has changed from " + mGL + " to " + gl); 248 mGL = gl; 261 gl.glDisable(GL11.GL_LIGHTING); 264 gl.glEnable(GL11.GL_BLEND); 265 gl.glEnable(GL11.GL_SCISSOR_TEST); 266 gl.glEnable(GL11.GL_STENCIL_TEST); 267 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY) 289 GL11 gl = (GL11) gl1; local 326 GL11 gl = mGL; local 509 GL11 gl = mGL; local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
SpriteTextRenderer.java | 54 public void onSurfaceCreated(GL10 gl, EGLConfig config) { 60 gl.glDisable(GL10.GL_DITHER); 66 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, 69 gl.glClearColor(.5f, .5f, .5f, 1); 70 gl.glShadeModel(GL10.GL_SMOOTH); 71 gl.glEnable(GL10.GL_DEPTH_TEST); 72 gl.glEnable(GL10.GL_TEXTURE_2D); 80 gl.glGenTextures(1, textures, 0); 83 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); 85 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
LoadingLayer.java | 181 public void renderBlended(RenderView view, GL11 gl) { 213 gl.glTexEnvf(GL11.GL_TEXTURE_ENV, GL11.GL_TEXTURE_ENV_MODE, GL11.GL_MODULATE); 214 gl.glColor4f(gray, gray, gray, alpha); 215 gl.glVertexPointer(3, GL11.GL_FIXED, 0, mVertexBuffer); 216 gl.glDisable(GL11.GL_TEXTURE_2D); 217 gl.glDisable(GL11.GL_DEPTH_TEST); 218 gl.glDrawArrays(GL11.GL_TRIANGLE_STRIP, 0, 4); 219 gl.glEnable(GL11.GL_DEPTH_TEST); 220 gl.glEnable(GL11.GL_TEXTURE_2D);
|
/development/apps/OBJViewer/com/android/objviewer/ |
OBJViewer.java | 144 private void init(GL10 gl) { 149 gl.glEnable(gl.GL_DEPTH_TEST); 151 gl.glDisable(gl.GL_SCISSOR_TEST); 154 gl.glEnable(gl.GL_DITHER); 156 gl.glShadeModel(gl.GL_SMOOTH); 158 gl.glEnable(gl.GL_CULL_FACE) 169 GL10 gl = (GL10)mGLContext.getGL(); local [all...] |