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

12

/frameworks/base/core/java/android/widget/
H A DGridLayout.java2410 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) { argument
2411 return before - a.getAlignmentValue(c, size, gl.getLayoutMode());
2414 protected final void include(GridLayout gl, View c, Spec spec, Axis axis, int size) { argument
2417 Alignment alignment = gl.getAlignment(spec.alignment, horizontal);
2419 int before = alignment.getAlignmentValue(c, size, gl.getLayoutMode());
2958 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean hrz) {
2959 return max(0, super.getOffset(gl, c, a, size, hrz));
/frameworks/base/core/jni/
H A Dandroid_os_Debug.cpp163 int gl; member in struct:android::graphics_memory_pss
189 ALOGW("failed to get gl pss: %zd", pss);
192 graphics_mem->gl = pss / 1024;
445 stats[HEAP_GL].pss = graphics_mem.gl;
446 stats[HEAP_GL].privateDirty = graphics_mem.gl;
512 pss = uss = memtrack = graphics_mem.graphics + graphics_mem.gl + graphics_mem.other;
/frameworks/base/opengl/java/android/opengl/
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 DGLErrorWrapper.java38 public GLErrorWrapper(GL gl, int configFlags) { argument
39 super(gl);
H A DGLLogWrapper.java43 public GLLogWrapper(GL gl, Writer log, boolean logArgumentNames) { argument
44 super(gl);
H A DGLSurfaceView.java623 * GL wrap(GL gl) {
624 * return new MyGLImplementation(gl);
635 * Wraps a gl interface in another gl interface.
636 * @param gl a GL interface that is to be wrapped.
639 GL wrap(GL gl); argument
698 * @param gl the GL interface. Use <code>instanceof</code> to
703 void onSurfaceCreated(GL10 gl, EGLConfig config); argument
714 * void onSurfaceChanged(GL10 gl, int width, int height) {
715 * gl
728 onSurfaceChanged(GL10 gl, int width, int height) argument
745 onDrawFrame(GL10 gl) argument
1874 checkGLDriver(GL10 gl) argument
[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);
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...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
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
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
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java286 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
293 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
299 public void onDrawFrame(GL10 gl) { 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/libagl/
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 Darray.h27 namespace gl { namespace in namespace:android
H A Dcontext.h31 #include <GLES/gl.h>
47 namespace gl { namespace in namespace:android
640 }; // namespace gl
643 using namespace android::gl;
H A Degl.cpp38 #include <GLES/gl.h>
68 namespace gl { namespace in namespace:android
70 }; // namespace gl
132 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx); local
133 return static_cast<egl_context_t*>(gl->rasterizer.base);
157 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl) = 0;
158 virtual EGLBoolean bindReadSurface(ogles_context_t* gl) = 0;
227 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl);
228 virtual EGLBoolean bindReadSurface(ogles_context_t* gl);
584 EGLBoolean egl_window_surface_v2_t::bindDrawSurface(ogles_context_t* gl) argument
599 bindReadSurface(ogles_context_t* gl) argument
675 bindDrawSurface(ogles_context_t* gl) argument
690 bindReadSurface(ogles_context_t* gl) argument
759 bindDrawSurface(ogles_context_t* gl) argument
766 bindReadSurface(ogles_context_t* gl) argument
1165 makeCurrent(ogles_context_t* gl) argument
1730 ogles_context_t* gl = (ogles_context_t*)ctx; local
[all...]
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
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
/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/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/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 2187 milliseconds

12