Searched defs:gl (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/opengl/libagl/
H A Darray.h27 namespace gl { namespace in namespace:android
H A Dlight.h34 namespace gl { namespace in namespace:android
H A Dprimitives.h28 namespace gl { namespace in namespace:android
H A Dvertex.h27 namespace gl { namespace in namespace:android
H A DBufferObjectManager.h30 #include <GLES/gl.h>
40 namespace gl { namespace in namespace:android
62 gl::buffer_t const* bind(GLuint buffer);
63 int allocateStore(gl::buffer_t* bo, GLsizeiptr size, GLenum usage);
69 KeyedVector<GLuint, gl::buffer_t*> mBuffers;
H A Dfp.cpp32 namespace gl { namespace in namespace:android
H A Dfp.h28 #include <GLES/gl.h>
39 namespace gl { namespace in namespace:android
237 }; // namespace gl
/frameworks/base/opengl/java/android/opengl/
H A DGLWrapperBase.java32 public GLWrapperBase(GL gl) { argument
33 mgl = (GL10) gl;
34 if (gl instanceof GL10Ext) {
35 mgl10Ext = (GL10Ext) gl;
37 if (gl instanceof GL11) {
38 mgl11 = (GL11) gl;
40 if (gl instanceof GL11Ext) {
41 mgl11Ext = (GL11Ext) gl;
43 if (gl instanceof GL11ExtensionPack) {
44 mgl11ExtensionPack = (GL11ExtensionPack) gl;
[all...]
H A DGLDebugHelper.java50 * @param gl the existing GL interface. Must implement GL and GL10. May
79 public static GL wrap(GL gl, int configFlags, Writer log) { argument
81 gl = new GLErrorWrapper(gl, configFlags);
86 gl = new GLLogWrapper(gl, log, logArgumentNames);
88 return gl;
H A DGroup.java115 public void draw(GL10 gl) { argument
116 gl.glDisableClientState(gl.GL_COLOR_ARRAY);
118 gl.glVertexPointer(3, gl.GL_FIXED, 0, parent.getVertexBuffer());
119 gl.glEnableClientState(gl.GL_VERTEX_ARRAY);
121 gl.glNormalPointer(gl.GL_FIXED, 0, parent.getNormalBuffer());
122 gl
[all...]
H A DMaterial.java52 public void setMaterialParameters(GL10 gl) { argument
53 gl.glMaterialfv(gl.GL_FRONT_AND_BACK, gl.GL_AMBIENT, kd, 0);
54 gl.glMaterialfv(gl.GL_FRONT_AND_BACK, gl.GL_DIFFUSE, kd, 0);
55 gl.glMaterialfv(gl.GL_FRONT_AND_BACK, gl
[all...]
H A DTexture.java85 private int loadTexture(GL10 gl, argument
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
121 setTextureParameters(GL10 gl) argument
[all...]
H A DObject3D.java238 public void draw(GL10 gl) { argument
241 iter.next().draw(gl);
H A DGLU.java60 * @param gl a GL10 interface
71 public static void gluLookAt(GL10 gl, float eyeX, float eyeY, float eyeZ, argument
79 gl.glMultMatrixf(scratch, 0);
86 * @param gl
92 public static void gluOrtho2D(GL10 gl, float left, float right, argument
94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f);
100 * @param gl a GL10 interface
111 public static void gluPerspective(GL10 gl, float fovy, float aspect, argument
117 gl.glFrustumf(left, right, bottom, top, zNear, zFar);
H A DGLErrorWrapper.java38 public GLErrorWrapper(GL gl, int configFlags) { argument
39 super(gl);
H A DGLSurfaceView.java549 * GL wrap(GL gl) {
550 * return new MyGLImplementation(gl);
561 * Wraps a gl interface in another gl interface.
562 * @param gl a GL interface that is to be wrapped.
565 GL wrap(GL gl); argument
617 * @param gl the GL interface. Use <code>instanceof</code> to
622 void onSurfaceCreated(GL10 gl, EGLConfig config); argument
633 * void onSurfaceChanged(GL10 gl, int width, int height) {
634 * gl
647 onSurfaceChanged(GL10 gl, int width, int height) argument
664 onDrawFrame(GL10 gl) argument
1683 checkGLDriver(GL10 gl) argument
[all...]
/frameworks/base/opengl/tests/testPauseResume/src/com/android/test/
H A DTestView.java71 public void onDrawFrame(GL10 gl) { argument
75 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/frameworks/base/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNIView.java71 public void onDrawFrame(GL10 gl) { argument
75 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/frameworks/base/opengl/tests/gldual/src/com/android/gldual/
H A DTriangleRenderer.java37 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
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) { argument
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
91 onSurfaceChanged(GL10 gl, int w, int h) argument
154 draw(GL10 gl) argument
[all...]
H A DGLDualGL2View.java286 public void onDrawFrame(GL10 gl) { argument
290 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
294 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/frameworks/base/opengl/libs/
H A Dhooks.h28 #include <GLES/gl.h>
87 } gl; member in struct:android::gl_hooks_t
/frameworks/base/opengl/tests/gl2_java/src/com/android/gl2java/
H A DGL2JavaView.java64 public void onDrawFrame(GL10 gl) { argument
79 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
83 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/frameworks/base/opengl/tests/lighting1709/src/com/android/lightingtest/
H A DClearActivity.java70 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
74 public void onSurfaceChanged(GL10 gl, int w, int h) { argument
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) { argument
95 gl
[all...]
/frameworks/base/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java283 public void onDrawFrame(GL10 gl) { argument
287 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
291 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java38 /* Our native canvas can be either a raster, gl, or picture canvas.
41 java-bitmap is). If we are a gl-based, then mBitmap will be null, and
101 * Construct a canvas with the specified gl context. All drawing through
110 public Canvas(GL gl) { argument
112 mGL = gl;

Completed in 201 milliseconds

12