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

12

/frameworks/native/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 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);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLId.java28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); argument
30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); argument
H A DGLES20IdImpl.java25 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { argument
32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { argument
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
H A DCube.java64 // Buffers to be passed to gl*Pointer() functions
89 public void draw(GL10 gl) argument
91 gl.glFrontFace(GL10.GL_CW);
92 gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer);
93 gl.glColorPointer(4, GL10.GL_FIXED, 0, mColorBuffer);
94 gl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, mIndexBuffer);
H A DCubeRenderer.java44 public void onDrawFrame(GL10 gl) { argument
51 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
57 gl.glMatrixMode(GL10.GL_MODELVIEW);
58 gl.glLoadIdentity();
59 gl.glTranslatef(0, 0, -3.0f);
60 gl.glRotatef(mAngle, 0, 1, 0);
61 gl.glRotatef(mAngle*0.25f, 1, 0, 0);
63 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
64 gl.glEnableClientState(GL10.GL_COLOR_ARRAY);
66 gl
85 onSurfaceChanged(GL10 gl, int width, int height) argument
100 onSurfaceCreated(GL10 gl, EGLConfig config) argument
[all...]
/frameworks/native/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/native/opengl/libs/
H A Dhooks.h28 #include <GLES/gl.h>
68 } gl; member in struct:android::gl_hooks_t
/frameworks/native/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/native/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...]
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
H A DTestFramerateView.java72 public void onDrawFrame(GL10 gl) { argument
83 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
87 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/frameworks/rs/driver/
H A DrsdCore.h50 RsdGL gl; member in struct:RsdHalRec
H A DrsdGL.h67 } gl; member in struct:RsdGLRec
/frameworks/native/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/native/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/native/opengl/tests/testViewport/src/com/android/test/
H A DTestView.java186 public void createBufferObjects(GL gl) { argument
189 GL11 gl11 = (GL11) gl;
209 public void draw(GL10 gl) { argument
210 GL11 gl11 = (GL11) gl;
212 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
219 gl.glDisableClientState(GL10.GL_VERTEX_ARRAY);
230 public void onDrawFrame(GL10 gl) { argument
231 gl.glClearColor(0,0,1,1);
232 gl.glClear(GL10.GL_COLOR_BUFFER_BIT);
233 mGrid.draw(gl);
236 onSurfaceChanged(GL10 gl, int width, int height) argument
245 onSurfaceCreated(GL10 gl, EGLConfig config) argument
248 createGrid(GL10 gl, float w, float h) argument
[all...]
/frameworks/native/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

Completed in 831 milliseconds

12