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

12345

/frameworks/native/opengl/include/GLES/
H A Degl.h3 * applications. Several early implementations included gl.h
13 #include <GLES/gl.h>
/frameworks/rs/driver/
H A DrsdGL.cpp28 #include <GLES/gl.h>
137 ALOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion);
138 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface,
139 dc->gl.egl.display);
140 ALOGE(" GL vendor: %s", dc->gl.gl.vendor);
141 ALOGE(" GL renderer: %s", dc->gl.gl
[all...]
H A DrsdSampler.cpp26 #include <GLES/gl.h>
H A DrsdFrameBufferObj.cpp132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width);
133 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height);
151 if(dc->gl.wndSurface != dc->gl.currentWndSurface) {
152 rsdGLSetInternalSurface(rsc, dc->gl.wndSurface);
H A DrsdProgram.cpp28 #include <GLES/gl.h>
64 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv);
77 dc->gl.shaderCache->cleanupVertex(drv);
98 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv);
111 dc->gl.shaderCache->cleanupFragment(drv);
/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/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/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/libagl/
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>
/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/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/tools/
H A Dgenfiles17 ./glapigen ../../include/GLES/gl.h > ../GLES_CM/gl_api.in
22 ./glentrygen ../../include/GLES/gl.h > /tmp/gl_entries.in
37 cat ../../include/GLES/gl.h \
/frameworks/native/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/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/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

Completed in 177 milliseconds

12345