Searched refs:gl (Results 1 - 25 of 100) sorted by relevance

1234

/frameworks/base/opengl/java/android/opengl/
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 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 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 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 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/opengl/include/GLES/
H A Degl.h3 * applications. Several early implementations included gl.h
13 #include <GLES/gl.h>
/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...]
/frameworks/base/opengl/libagl/
H A Dcontext.h20 using namespace android::gl;
H A Darray.h27 namespace gl { namespace in namespace:android
H A Dprimitives.h28 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 Ddxt.h23 #include <GLES/gl.h>
H A Dlight.h34 namespace gl { namespace in namespace:android
H A Dtexture.h27 #include <GLES/gl.h>
H A Dvertex.h27 namespace gl { namespace in namespace:android
H A DTokenManager.h26 #include <GLES/gl.h>
H A Dstate.h27 #include <GLES/gl.h>
H A DBufferObjectManager.cpp26 #include <GLES/gl.h>
33 using namespace gl;
/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/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/libs/rs/
H A DrsMesh.cpp22 #include <GLES/gl.h>
/frameworks/base/opengl/libs/GLES2/
H A Dgl2.cpp65 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \
78 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; \
82 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; \
/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/libs/tools/
H A Dgenfiles17 ./glapigen ../../include/GLES/gl.h > ../GLES_CM/gl_api.in
22 ./glentrygen ../../include/GLES/gl.h > /tmp/gl_entries.in

Completed in 120 milliseconds

1234