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

1 2 3 4

  /packages/apps/Camera/src/com/android/camera/ui/
BitmapTexture.java 50 gl.glBindTexture(GL11.GL_TEXTURE_2D, textureId[0]);
51 gl.glTexParameteriv(GL11.GL_TEXTURE_2D,
53 gl.glTexParameteri(GL11.GL_TEXTURE_2D,
55 gl.glTexParameteri(GL11.GL_TEXTURE_2D,
57 gl.glTexParameterf(GL11.GL_TEXTURE_2D,
59 gl.glTexParameterf(GL11.GL_TEXTURE_2D,
69 gl.glTexImage2D(GL11.GL_TEXTURE_2D, 0, format,
72 GL11.GL_TEXTURE_2D, 0, 0, 0, bitmap, format, type);
107 gl.glBindTexture(GL11.GL_TEXTURE_2D, getId());
  /frameworks/base/opengl/java/android/opengl/
Texture.java 96 gl.glEnable(gl.GL_TEXTURE_2D);
98 gl.glBindTexture(gl.GL_TEXTURE_2D, texture[0]);
99 gl.glTexParameterf(gl.GL_TEXTURE_2D,
102 gl.glTexParameterf(gl.GL_TEXTURE_2D,
105 gl.glTexParameterf(gl.GL_TEXTURE_2D,
108 gl.glTexParameterf(gl.GL_TEXTURE_2D,
113 gl.glTexImage2D(gl.GL_TEXTURE_2D, 0, gl.GL_RGB,
133 gl.glBindTexture(gl.GL_TEXTURE_2D, name);
  /frameworks/base/opengl/tests/textures/
textures.cpp 66 glBindTexture(GL_TEXTURE_2D, 0);
67 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
68 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
69 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
70 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
71 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
73 glEnable(GL_TEXTURE_2D);
104 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 4, 4, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, t8);
107 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 4, 4, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, t16);
110 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, t16)
    [all...]
  /external/skia/src/gl/
SkGLDevice_FBO.cpp 17 glBindTexture(GL_TEXTURE_2D, fTextureID);
19 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, nw, nh, 0,
23 GL_TEXTURE_2D, fTextureID, 0);
45 glBindTexture(GL_TEXTURE_2D, fTextureID);
SkGL.cpp 270 glBindTexture(GL_TEXTURE_2D, textureName);
290 glCompressedTexImage2D(GL_TEXTURE_2D, 0, format, ow, oh, 0,
296 glTexImage2D(GL_TEXTURE_2D, 0, format, nw, nh, 0,
298 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, ow, oh,
302 glTexImage2D(GL_TEXTURE_2D, 0, format, ow, oh, 0,
336 SK_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, filter);
337 SK_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, filter);
338 SK_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, gTileMode2GLWrap[tx]);
339 SK_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, gTileMode2GLWrap[ty]);
345 SK_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, filter)
    [all...]
SkGLTextCache.cpp 25 glBindTexture(GL_TEXTURE_2D, fTexName);
26 glTexImage2D(GL_TEXTURE_2D, 0, gTextTextureFormat,
30 SK_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
31 SK_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
32 SK_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
33 SK_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
90 glBindTexture(GL_TEXTURE_2D, fTexName);
99 glTexSubImage2D(GL_TEXTURE_2D, 0, strike->fNextFreeOffsetX, 0, rowBytes,
  /frameworks/base/opengl/tests/finish/
finish.cpp 68 glBindTexture(GL_TEXTURE_2D, 0);
69 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
70 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
72 glEnable(GL_TEXTURE_2D);
83 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB,
106 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
120 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
134 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
149 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
166 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop)
    [all...]
  /frameworks/base/opengl/tests/linetex/
linetex.cpp 69 glBindTexture(GL_TEXTURE_2D, 0);
70 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
71 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
72 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
73 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
77 glEnable(GL_TEXTURE_2D);
94 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 1, 4, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, t16);
  /frameworks/base/services/surfaceflinger/
TextureManager.cpp 52 return GL_TEXTURE_2D;
66 const GLenum target = GL_TEXTURE_2D;
87 GLenum target = GL_TEXTURE_2D;
195 glBindTexture(GL_TEXTURE_2D, texture->name);
252 glTexImage2D(GL_TEXTURE_2D, 0,
256 glTexImage2D(GL_TEXTURE_2D, 0,
261 glTexImage2D(GL_TEXTURE_2D, 0,
266 glTexImage2D(GL_TEXTURE_2D, 0,
277 glTexSubImage2D(GL_TEXTURE_2D, 0,
282 glTexSubImage2D(GL_TEXTURE_2D, 0
    [all...]
LayerBlur.cpp 58 glBindTexture(GL_TEXTURE_2D, 0);
154 glEnable(GL_TEXTURE_2D);
155 glBindTexture(GL_TEXTURE_2D, mTextureName);
187 glTexImage2D(GL_TEXTURE_2D, 0, mReadFormat, w, h, 0,
197 glTexImage2D(GL_TEXTURE_2D, 0, mReadFormat, tw, th, 0,
199 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, w, h,
227 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
228 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
  /packages/apps/Gallery3D/src/com/cooliris/media/
CanvasTexture.java 117 gl.glBindTexture(GL11.GL_TEXTURE_2D, textureId);
118 gl.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_WRAP_S, GL11.GL_CLAMP_TO_EDGE);
119 gl.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_WRAP_T, GL11.GL_CLAMP_TO_EDGE);
120 gl.glTexParameterf(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MIN_FILTER, GL11.GL_LINEAR);
121 gl.glTexParameterf(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MAG_FILTER, GL11.GL_LINEAR);
147 gl.glBindTexture(GL11.GL_TEXTURE_2D, textureId);
154 gl.glTexParameteriv(GL11.GL_TEXTURE_2D, GL11Ext.GL_TEXTURE_CROP_RECT_OES, cropRect, 0);
155 GLUtils.texImage2D(GL11.GL_TEXTURE_2D, 0, bitmap, 0);
  /frameworks/base/cmds/bootanimation/
BootAnimation.cpp 112 glBindTexture(GL_TEXTURE_2D, texture->name);
116 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, w, h, 0, GL_ALPHA,
120 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA,
124 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA,
128 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB,
135 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
136 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
137 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
138 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
139 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT)
    [all...]
  /frameworks/base/libs/rs/
rsProgramFragment.cpp 80 glDisable(GL_TEXTURE_2D);
84 glEnable(GL_TEXTURE_2D);
94 glBindTexture(GL_TEXTURE_2D, mTextures[ct]->getTextureID());
114 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
115 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
116 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
117 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
159 glBindTexture(GL_TEXTURE_2D, mTextures[ct]->getTextureID());
164 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
165 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)
    [all...]
rsSampler.cpp 73 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
75 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, trans[mMinFilter]);
77 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, trans[mMagFilter]);
78 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, trans[mWrapS]);
79 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, trans[mWrapT]);
105 glBindTexture(GL_TEXTURE_2D, 0);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
StaticTriangleRenderer.java 92 glEnable(GL_TEXTURE_2D);
103 glBindTexture(GL_TEXTURE_2D, mTextureID);
105 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
107 glTexParameterf(GL_TEXTURE_2D,
111 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S,
113 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T,
153 glBindTexture(GL_TEXTURE_2D, mTextureID);
154 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S,
156 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T,
202 GLUtils.texImage2D(GL_TEXTURE_2D, 0, bitmap, 0)
    [all...]
TriangleRenderer.java 65 gl.glEnable(GL10.GL_TEXTURE_2D);
76 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
78 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER,
80 gl.glTexParameterf(GL10.GL_TEXTURE_2D,
84 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S,
86 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T,
105 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0);
141 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
142 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S,
144 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T
    [all...]
GLES20TriangleRenderer.java 58 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextureID);
125 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextureID);
127 GLES20.glTexParameterf(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MIN_FILTER,
129 GLES20.glTexParameterf(GLES20.GL_TEXTURE_2D,
133 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_S,
135 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_T,
151 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0);
FrameBufferObjectActivity.java 107 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTargetTexture);
131 gl.glBindTexture(GL10.GL_TEXTURE_2D, 0);
179 gl.glBindTexture(GL10.GL_TEXTURE_2D, texture);
180 gl.glTexImage2D(GL10.GL_TEXTURE_2D, 0, GL10.GL_RGBA, width, height, 0,
182 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER,
184 gl.glTexParameterf(GL10.GL_TEXTURE_2D,
187 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S,
189 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T,
215 GL11ExtensionPack.GL_COLOR_ATTACHMENT0_OES, GL10.GL_TEXTURE_2D,
  /frameworks/base/opengl/tests/filter/
filter.cpp 77 glBindTexture(GL_TEXTURE_2D, 0);
78 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
79 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
80 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
82 glEnable(GL_TEXTURE_2D);
114 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE,
118 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB,
122 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA,
126 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE_ALPHA,
130 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA
    [all...]
  /frameworks/base/opengl/tests/fillrate/
fillrate.cpp 68 glBindTexture(GL_TEXTURE_2D, 0);
69 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
70 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
71 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
72 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
77 glEnable(GL_TEXTURE_2D);
107 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 512, 512, 0, GL_RGBA, GL_UNSIGNED_BYTE, t32);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
AccelerometerTestRenderer.java 152 gl.glEnable(GL10.GL_TEXTURE_2D);
244 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
245 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, GL10.GL_REPEAT);
246 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, GL10.GL_REPEAT);
290 gl.glEnable(GL10.GL_TEXTURE_2D);
297 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
298 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER, GL10.GL_NEAREST);
299 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER, GL10.GL_LINEAR);
300 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, GL10.GL_CLAMP_TO_EDGE);
301 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, GL10.GL_CLAMP_TO_EDGE)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
SpriteTextRenderer.java 71 gl.glEnable(GL10.GL_TEXTURE_2D);
82 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
84 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER,
86 gl.glTexParameterf(GL10.GL_TEXTURE_2D,
90 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S,
92 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T,
111 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0);
169 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
170 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S,
172 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T
    [all...]
LabelMaker.java 85 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
88 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER,
90 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER,
93 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S,
95 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T,
265 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
266 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, mBitmap, 0);
314 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
342 gl.glEnable(GL10.GL_TEXTURE_2D);
343 ((GL11)gl).glTexParameteriv(GL10.GL_TEXTURE_2D,
    [all...]
  /external/webkit/WebCore/platform/graphics/mac/
Canvas3DLayer.mm 87 glEnable(GL_TEXTURE_2D);
88 glBindTexture(GL_TEXTURE_2D, m_texture);
101 glBindTexture(GL_TEXTURE_2D, 0);
102 glDisable(GL_TEXTURE_2D);
  /external/quake/quake/src/WinQuake/
gl_draw.cpp 200 glBindTexture(GL_TEXTURE_2D, e->real_texnum);
224 glBindTexture(GL_TEXTURE_2D, e->real_texnum);
229 glBindTexture(GL_TEXTURE_2D, e->real_texnum);
268 glBindTexture(GL_TEXTURE_2D, e->real_texnum);
324 glBindTexture(GL_TEXTURE_2D, UNUSED);
325 glBindTexture(GL_TEXTURE_2D, PAGED_OUT);
398 bindTexFunc (GL_TEXTURE_2D, texnum);
404 glBindTexture(GL_TEXTURE_2D, texnum);
697 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, gl_filter_min);
698 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, gl_filter_max)
    [all...]

Completed in 118 milliseconds

1 2 3 4