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

/packages/apps/Gallery2/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 DGLES11IdImpl.java47 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { argument
49 gl.glDeleteTextures(n, textures, offset);
54 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { argument
56 gl.glDeleteBuffers(n, buffers, offset);
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 DGLES11Canvas.java97 public GLES11Canvas(GL11 gl) { argument
98 mGL = gl;
99 mGLState = new GLState(gl);
109 gl.glBindBuffer(GL11.GL_ARRAY_BUFFER, mBoxCoords);
110 gl.glBufferData(GL11.GL_ARRAY_BUFFER, xyBuffer.capacity() * (Float.SIZE / Byte.SIZE),
113 gl.glVertexPointer(2, GL11.GL_FLOAT, 0, 0);
114 gl.glTexCoordPointer(2, GL11.GL_FLOAT, 0, 0);
117 gl.glClientActiveTexture(GL11.GL_TEXTURE1);
118 gl.glTexCoordPointer(2, GL11.GL_FLOAT, 0, 0);
119 gl
595 GLState(GL11 gl) argument
[all...]
/packages/apps/WallpaperPicker/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
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/
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.java46 public void onDrawFrame(GL10 gl) { argument
53 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
59 gl.glMatrixMode(GL10.GL_MODELVIEW);
60 gl.glLoadIdentity();
61 gl.glTranslatef(0, 0, -3.0f);
62 gl.glRotatef(mAngle, 0, 1, 0);
63 gl.glRotatef(mAngle*0.25f, 1, 0, 0);
65 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
66 gl.glEnableClientState(GL10.GL_COLOR_ARRAY);
68 gl
88 onSurfaceChanged(GL10 gl, int width, int height) argument
104 onSurfaceCreated(GL10 gl, EGLConfig config) argument
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DMosaicRendererSurfaceViewRenderer.java43 public void onDrawFrame(GL10 gl) { argument
48 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
57 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/packages/apps/Camera2/src/com/android/camera/
H A DSurfaceTextureRenderer.java34 public void onDrawFrame(GL10 gl); argument
/packages/apps/Nfc/src/com/android/nfc/beam/
H A DFireflyRenderer.java397 public void draw(GL10 gl) { argument
398 gl.glLoadIdentity();
401 gl.glFrontFace(GL10.GL_CCW);
403 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
404 gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
406 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mVertexBuffer);
407 gl.glTexCoordPointer(2, GL10.GL_FLOAT, 0, mTextureBuffer);
409 gl.glTranslatef(mX, mY, -NEAR_CLIPPING_PLANE-mZ*(FAR_CLIPPING_PLANE-NEAR_CLIPPING_PLANE));
410 gl.glColor4f(1, 1, 1, mAlpha);
413 gl
[all...]
/packages/apps/WallpaperPicker/src/com/android/photos/views/
H A DTiledImageView.java169 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
176 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
182 public void onDrawFrame(GL10 gl) { argument
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
H A DSurfaceTextureView.java175 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
204 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
211 public void onDrawFrame(GL10 gl) { argument
/packages/apps/Gallery2/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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGLRootView.java135 // Uncomment this to enable gl error check.
285 GL11 gl = (GL11) gl1;
288 Log.i(TAG, "GLObject has changed from " + mGL + " to " + gl);
292 mGL = gl;
293 mCanvas = ApiHelper.HAS_GLES20_REQUIRED ? new GLES20Canvas() : new GLES11Canvas(gl);
321 GL11 gl = (GL11) gl1;
322 Utils.assertTrue(mGL == gl);
341 public void onDrawFrame(GL10 gl) { argument
355 onDrawFrameLocked(gl);
391 private void onDrawFrameLocked(GL10 gl) { argument
[all...]

Completed in 310 milliseconds