Home
last modified time | relevance | path

Searched refs:GL_TEXTURE_2D (Results 1 – 25 of 26) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DStaticTriangleRenderer.java92 glEnable(GL_TEXTURE_2D); in onSurfaceCreated()
103 glBindTexture(GL_TEXTURE_2D, mTextureID); in onSurfaceCreated()
105 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, in onSurfaceCreated()
107 glTexParameterf(GL_TEXTURE_2D, in onSurfaceCreated()
111 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, in onSurfaceCreated()
113 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, in onSurfaceCreated()
153 glBindTexture(GL_TEXTURE_2D, mTextureID); in onDrawFrame()
154 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, in onDrawFrame()
156 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, in onDrawFrame()
202 GLUtils.texImage2D(GL_TEXTURE_2D, 0, bitmap, 0); in load()
[all …]
DTriangleRenderer.java64 gl.glEnable(GL10.GL_TEXTURE_2D); in onSurfaceCreated()
75 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); in onSurfaceCreated()
77 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER, in onSurfaceCreated()
79 gl.glTexParameterf(GL10.GL_TEXTURE_2D, in onSurfaceCreated()
83 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, in onSurfaceCreated()
85 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, in onSurfaceCreated()
104 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); in onSurfaceCreated()
140 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); in onDrawFrame()
141 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, in onDrawFrame()
143 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, in onDrawFrame()
[all …]
DFrameBufferObjectActivity.java107 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTargetTexture); in drawOnscreen()
131 gl.glBindTexture(GL10.GL_TEXTURE_2D, 0); in drawOnscreen()
179 gl.glBindTexture(GL10.GL_TEXTURE_2D, texture); in createTargetTexture()
180 gl.glTexImage2D(GL10.GL_TEXTURE_2D, 0, GL10.GL_RGBA, width, height, 0, in createTargetTexture()
182 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER, in createTargetTexture()
184 gl.glTexParameterf(GL10.GL_TEXTURE_2D, in createTargetTexture()
187 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, in createTargetTexture()
189 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, in createTargetTexture()
215 GL11ExtensionPack.GL_COLOR_ATTACHMENT0_OES, GL10.GL_TEXTURE_2D, in createFrameBuffer()
DGLES20TriangleRenderer.java58 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextureID); in onDrawFrame()
125 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextureID); in onSurfaceCreated()
127 GLES20.glTexParameterf(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MIN_FILTER, in onSurfaceCreated()
129 GLES20.glTexParameterf(GLES20.GL_TEXTURE_2D, in onSurfaceCreated()
133 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_S, in onSurfaceCreated()
135 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_T, in onSurfaceCreated()
151 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0); in onSurfaceCreated()
DMatrixPaletteRenderer.java252 gl.glEnable(GL10.GL_TEXTURE_2D); in onSurfaceCreated()
263 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); in onSurfaceCreated()
265 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER, in onSurfaceCreated()
267 gl.glTexParameterf(GL10.GL_TEXTURE_2D, in onSurfaceCreated()
271 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, in onSurfaceCreated()
273 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, in onSurfaceCreated()
292 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); in onSurfaceCreated()
334 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); in onDrawFrame()
335 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, in onDrawFrame()
337 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, in onDrawFrame()
DCompressedTextureActivity.java94 ETC1Util.loadTexture(GLES10.GL_TEXTURE_2D, 0, 0, in load()
123 ETC1Util.loadTexture(GLES10.GL_TEXTURE_2D, 0, 0, in load()
129 ETC1Util.loadTexture(GLES10.GL_TEXTURE_2D, 0, 0, in load()
/development/samples/HelloEffects/src/com/example/android/mediafx/
DGLToolbox.java80 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, in initTexParams()
82 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, in initTexParams()
84 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_S, in initTexParams()
86 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_T, in initTexParams()
DHelloEffects.java82 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextures[0]); in loadTextures()
83 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0); in loadTextures()
DTextureRenderer.java132 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texId); in renderTexture()
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/
DGLToolbox.java76 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, in initTexParams()
78 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, in initTexParams()
80 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_S, in initTexParams()
82 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_T, in initTexParams()
DTextureRenderer.java132 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texId); in renderTexture()
DMediaEffectsFragment.java141 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextures[0]); in loadTextures()
142 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0); in loadTextures()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DSpriteTextRenderer.java71 gl.glEnable(GL10.GL_TEXTURE_2D); in onSurfaceCreated()
82 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); in onSurfaceCreated()
84 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER, in onSurfaceCreated()
86 gl.glTexParameterf(GL10.GL_TEXTURE_2D, in onSurfaceCreated()
90 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, in onSurfaceCreated()
92 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, in onSurfaceCreated()
111 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); in onSurfaceCreated()
169 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); in onDrawFrame()
170 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, in onDrawFrame()
172 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, in onDrawFrame()
[all …]
DLabelMaker.java85 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); in initialize()
88 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER, in initialize()
90 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER, in initialize()
93 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, in initialize()
95 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, in initialize()
265 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); in endAdding()
266 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, mBitmap, 0); in endAdding()
314 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); in beginDrawing()
342 gl.glEnable(GL10.GL_TEXTURE_2D); in draw()
343 ((GL11)gl).glTexParameteriv(GL10.GL_TEXTURE_2D, in draw()
DGrid.java122 gl.glEnable(GL10.GL_TEXTURE_2D); in draw()
125 gl.glDisable(GL10.GL_TEXTURE_2D); in draw()
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
DGLES20TriangleRenderer.java56 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextureID); in onDrawFrame()
123 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextureID); in onSurfaceCreated()
125 GLES20.glTexParameterf(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MIN_FILTER, in onSurfaceCreated()
127 GLES20.glTexParameterf(GLES20.GL_TEXTURE_2D, in onSurfaceCreated()
131 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_S, in onSurfaceCreated()
133 GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_T, in onSurfaceCreated()
149 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0); in onSurfaceCreated()
/development/ndk/platforms/android-9/include/GLES/
Dgl.h132 #define GL_TEXTURE_2D 0x0DE1 macro
/development/ndk/platforms/android-21/include/GLES2/
Dgl2.h127 #define GL_TEXTURE_2D 0x0DE1 macro
/development/ndk/platforms/android-9/include/GLES2/
Dgl2.h145 #define GL_TEXTURE_2D 0x0DE1 macro
/development/ndk/platforms/android-24/include/GLES2/
Dgl2.h135 #define GL_TEXTURE_2D 0x0DE1 macro
/development/ndk/platforms/android-21/include/GLES3/
Dgl3.h127 #define GL_TEXTURE_2D 0x0DE1 macro
Dgl31.h127 #define GL_TEXTURE_2D 0x0DE1 macro
/development/ndk/platforms/android-18/include/GLES3/
Dgl3.h169 #define GL_TEXTURE_2D 0x0DE1 macro
/development/ndk/platforms/android-24/include/GLES3/
Dgl3.h135 #define GL_TEXTURE_2D 0x0DE1 macro
Dgl31.h135 #define GL_TEXTURE_2D 0x0DE1 macro

12