HomeSort by relevance Sort by last modified time
    Searched refs:GL11 (Results 1 - 25 of 66) sorted by null

1 2 3

  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
GLId.java 19 import javax.microedition.khronos.opengles.GL11;
28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset);
30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset);
RawTexture.java 21 import javax.microedition.khronos.opengles.GL11;
51 canvas.initializeTextureSize(this, GL11.GL_RGBA, GL11.GL_UNSIGNED_BYTE);
71 return GL11.GL_TEXTURE_2D;
GLES20IdImpl.java 5 import javax.microedition.khronos.opengles.GL11;
25 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) {
32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) {
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
GLId.java 19 import javax.microedition.khronos.opengles.GL11;
28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset);
30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset);
GLES11Canvas.java 39 import javax.microedition.khronos.opengles.GL11;
57 private GL11 mGL;
99 public GLES11Canvas(GL11 gl) {
111 gl.glBindBuffer(GL11.GL_ARRAY_BUFFER, mBoxCoords);
112 gl.glBufferData(GL11.GL_ARRAY_BUFFER, xyBuffer.capacity() * (Float.SIZE / Byte.SIZE),
113 xyBuffer, GL11.GL_STATIC_DRAW);
115 gl.glVertexPointer(2, GL11.GL_FLOAT, 0, 0);
116 gl.glTexCoordPointer(2, GL11.GL_FLOAT, 0, 0);
119 gl.glClientActiveTexture(GL11.GL_TEXTURE1);
120 gl.glTexCoordPointer(2, GL11.GL_FLOAT, 0, 0)
    [all...]
RawTexture.java 21 import javax.microedition.khronos.opengles.GL11;
51 canvas.initializeTextureSize(this, GL11.GL_RGBA, GL11.GL_UNSIGNED_BYTE);
71 return GL11.GL_TEXTURE_2D;
GLES11IdImpl.java 18 import javax.microedition.khronos.opengles.GL11;
47 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) {
54 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) {
GLES20IdImpl.java 5 import javax.microedition.khronos.opengles.GL11;
25 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) {
32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) {
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
GLId.java 19 import javax.microedition.khronos.opengles.GL11;
28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset);
30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset);
RawTexture.java 21 import javax.microedition.khronos.opengles.GL11;
51 canvas.initializeTextureSize(this, GL11.GL_RGBA, GL11.GL_UNSIGNED_BYTE);
71 return GL11.GL_TEXTURE_2D;
GLES20IdImpl.java 5 import javax.microedition.khronos.opengles.GL11;
25 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) {
32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) {
  /external/libgdx/tests/gdx-tests-lwjgl3/src/com/badlogic/gdx/tests/lwjgl3/
AwtTestLWJGL.java 15 import org.lwjgl.opengl.GL11;
65 GL11.glViewport(0, 0, 640, 480);
66 GL11.glClear(GL11.GL_COLOR_BUFFER_BIT);
67 GL11.glRotatef(0.1f, 0, 0, 1);
68 GL11.glBegin(GL11.GL_TRIANGLES);
69 GL11.glVertex2f(-0.5f, -0.5f);
70 GL11.glVertex2f(0.5f, -0.5f);
71 GL11.glVertex2f(0, 0.5f)
    [all...]
GlfwTest.java 16 import org.lwjgl.opengl.GL11;
60 // GL11.glViewport(0, 0, tmp.get(0) * 2, tmp2.get(0) * 2);
62 GL11.glClear(GL11.GL_COLOR_BUFFER_BIT);
63 GL11.glBegin(GL11.GL_TRIANGLES);
64 GL11.glVertex2f(-1f, -1f);
65 GL11.glVertex2f(1f, -1f);
66 GL11.glVertex2f(0, 1f);
67 GL11.glEnd()
    [all...]
  /frameworks/base/opengl/java/android/opengl/
GLWrapperBase.java 22 import javax.microedition.khronos.opengles.GL11;
31 implements GL, GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack {
37 if (gl instanceof GL11) {
38 mgl11 = (GL11) gl;
50 protected GL11 mgl11;
  /external/replicaisland/src/com/replica/replicaisland/
Grid.java 27 import javax.microedition.khronos.opengles.GL11;
227 GL11 gl11 = (GL11)gl; local
229 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertBufferIndex);
230 gl11.glVertexPointer(3, mCoordinateType, 0, 0);
232 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mTextureCoordBufferIndex);
233 gl11.glTexCoordPointer(2, mCoordinateType, 0, 0)
249 GL11 gl11 = (GL11)gl; local
267 GL11 gl11 = (GL11)gl; local
312 GL11 gl11 = (GL11)gl; local
339 GL11 gl11 = (GL11)gl; local
    [all...]
GLErrorLogger.java 27 import javax.microedition.khronos.opengles.GL11;
38 static class ErrorLoggingGL implements GL, GL10, GL10Ext, GL11, GL11Ext {
709 ((GL11)mGL).glBindBuffer(arg0, arg1);
714 ((GL11)mGL).glBufferData(arg0, arg1, arg2, arg3);
719 ((GL11)mGL).glBufferSubData(arg0, arg1, arg2, arg3);
724 ((GL11)mGL).glClipPlanef(arg0, arg1);
729 ((GL11)mGL).glClipPlanef(arg0, arg1, arg2);
734 ((GL11)mGL).glClipPlanex(arg0, arg1);
739 ((GL11)mGL).glClipPlanex(arg0, arg1, arg2);
744 ((GL11)mGL).glColor4ub(arg0, arg1, arg2, arg3)
    [all...]
OpenGLSystem.java 20 import javax.microedition.khronos.opengles.GL11;
67 ((GL11) sGL).glTexParameteriv(GL10.GL_TEXTURE_2D, GL11Ext.GL_TEXTURE_CROP_RECT_OES,
  /frameworks/native/opengl/tests/testViewport/src/com/android/test/
TestView.java 50 import javax.microedition.khronos.opengles.GL11;
189 GL11 gl11 = (GL11) gl; local
190 gl11.glGenBuffers(2, vboIds, 0);
195 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertexBufferObjectId);
197 gl11.glBufferData(GL11.GL_ARRAY_BUFFER, mVertexByteBuffer.capacity(), mVertexByteBuffer, GL11.GL_STATIC_DRAW)
210 GL11 gl11 = (GL11) gl; local
    [all...]
  /external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
LwjglGL20.java 29 import org.lwjgl.opengl.GL11;
93 GL11.glBindTexture(target, texture);
109 GL11.glBlendFunc(sfactor, dfactor);
151 GL11.glClear(mask);
155 GL11.glClearColor(red, green, blue, alpha);
159 GL11.glClearDepth(depth);
163 GL11.glClearStencil(s);
167 GL11.glColorMask(red, green, blue, alpha);
189 GL11.glCopyTexImage2D(target, level, internalformat, x, y, width, height, border);
193 GL11.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
    [all...]
  /external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
Lwjgl3GL20.java 29 import org.lwjgl.opengl.GL11;
89 GL11.glBindTexture(target, texture);
105 GL11.glBlendFunc(sfactor, dfactor);
147 GL11.glClear(mask);
151 GL11.glClearColor(red, green, blue, alpha);
155 GL11.glClearDepth(depth);
159 GL11.glClearStencil(s);
163 GL11.glColorMask(red, green, blue, alpha);
185 GL11.glCopyTexImage2D(target, level, internalformat, x, y, width, height, border);
189 GL11.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
    [all...]
  /packages/apps/Camera2/src/com/android/camera/data/
FilmstripItemUtils.java 29 import javax.microedition.khronos.opengles.GL11;
109 targetHeight > GL11.GL_MAX_TEXTURE_SIZE || targetWidth > GL11.GL_MAX_TEXTURE_SIZE ||
122 if ((heightBound > GL11.GL_MAX_TEXTURE_SIZE || widthBound > GL11.GL_MAX_TEXTURE_SIZE) &&
139 if (b.getWidth() > GL11.GL_MAX_TEXTURE_SIZE || b.getHeight() >
140 GL11.GL_MAX_TEXTURE_SIZE) {
142 b = Bitmap.createScaledBitmap(b, b.getWidth() * GL11.GL_MAX_TEXTURE_SIZE / maxEdge,
143 b.getHeight() * GL11.GL_MAX_TEXTURE_SIZE / maxEdge, false);
  /external/skia/platform_tools/android/apps/sample_app/src/main/java/com/skia/
SkiaSampleRenderer.java 16 import javax.microedition.khronos.opengles.GL11;
42 if (gl instanceof GL11) {
44 ((GL11) gl).glGetIntegerv(GL11.GL_SAMPLES, value, 0);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CubeMapActivity.java 29 import javax.microedition.khronos.opengles.GL11;
340 GL11 gl11 = (GL11) gl; local
341 gl11.glGenBuffers(2, vboIds, 0);
346 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertexBufferObjectId);
348 gl11.glBufferData(GL11.GL_ARRAY_BUFFER, mVertexByteBuffer.capacity(), mVertexByteBuffer, GL11.GL_STATIC_DRAW)
363 GL11 gl11 = (GL11) gl; local
    [all...]
MatrixPaletteRenderer.java 29 import javax.microedition.khronos.opengles.GL11;
184 GL11 gl11 = (GL11) gl; local
185 gl11.glGenBuffers(2, vboIds, 0);
190 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertexBufferObjectId);
192 gl11.glBufferData(GL11.GL_ARRAY_BUFFER, mVertexByteBuffer.capacity(), mVertexByteBuffer, GL11.GL_STATIC_DRAW)
205 GL11 gl11 = (GL11) gl; local
    [all...]
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/
UnicodeFont.java 34 import org.lwjgl.opengl.GL11;
268 GL11.glColor4f(color.r, color.g, color.b, color.a);
269 GL11.glTranslatef(x, y, 0);
276 GL11.glTranslatef(-x, -y, 0);
296 GL11.glBegin(GL11.GL_QUADS);
299 GL11.glTexCoord2f(vertices[ii + U], vertices[ii + V]);
300 GL11.glVertex3f(vertices[ii + X], vertices[ii + Y], 0);
301 GL11.glTexCoord2f(vertices[ii + U], vertices[ii + V2]);
302 GL11.glVertex3f(vertices[ii + X], vertices[ii + Y2], 0);
    [all...]

Completed in 3701 milliseconds

1 2 3