Home
last modified time | relevance | path

Searched refs:textures (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/native/opengl/libagl/
Dtexture.cpp47 c->textures.packAlignment = 4; in ogles_init_texture()
48 c->textures.unpackAlignment = 4; in ogles_init_texture()
51 c->textures.defaultTexture = new EGLTextureObject(); in ogles_init_texture()
52 c->textures.defaultTexture->incStrong(c); in ogles_init_texture()
56 bindTextureTmu(c, i, 0, c->textures.defaultTexture); in ogles_init_texture()
64 if (c->textures.ggl) in ogles_uninit_texture()
65 gglUninit(c->textures.ggl); in ogles_uninit_texture()
66 c->textures.defaultTexture->decStrong(c); in ogles_uninit_texture()
68 if (c->textures.tmu[i].texture) in ogles_uninit_texture()
69 c->textures.tmu[i].texture->decStrong(c); in ogles_uninit_texture()
[all …]
Dprimitives.cpp492 int width = c->textures.tmu[i].texture->surface.width; in primitive_point()
497 int height = c->textures.tmu[i].texture->surface.height; in primitive_point()
704 const int w = c->textures.tmu[i].texture->surface.width; in compute_lod()
705 const int h = c->textures.tmu[i].texture->surface.height; in compute_lod()
733 const GLenum min_filter = c->textures.tmu[i].texture->min_filter; in lerp_texcoords()
737 &c->textures.tmu[i].texture->mip(lod)); in lerp_texcoords()
790 const GLenum min_filter = c->textures.tmu[i].texture->min_filter; in lerp_texcoords_w()
794 &c->textures.tmu[i].texture->mip(lod)); in lerp_texcoords_w()
/frameworks/native/opengl/tests/textures/
DAndroid.mk5 textures.cpp
15 LOCAL_MODULE:= test-opengl-textures
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp199 std::vector<GLuint> textures; in Process() local
211 textures.push_back(tex_id); in Process()
217 if (!RenderFrame(textures, targets)) { in Process()
225 std::vector<const GLTextureHandle*> textures(input.size()); in Process() local
226 std::copy(input.begin(), input.end(), textures.begin()); in Process()
227 return Process(textures, output); in Process()
426 bool ShaderProgram::BindInputTextures(const std::vector<GLuint>& textures, in BindInputTextures() argument
428 for (unsigned i = 0; i < textures.size(); ++i) { in BindInputTextures()
435 glBindTexture(targets[i], textures[i]); in BindInputTextures()
436 LOG_FRAME("Binding texture %d", textures[i]); in BindInputTextures()
[all …]
Dshader_program.h341 bool RenderFrame(const std::vector<GLuint>& textures,
444 bool BindInputTextures(const std::vector<GLuint>& textures,
/frameworks/rs/
DrsProgram.cpp46 mHal.state.textures = new Allocation*[mHal.state.texturesCount]; in Program()
92 delete[] mHal.state.textures; in ~Program()
119 mHal.state.textures = NULL; in initMemberVars()
182 mHal.state.textures[slot] = a; in bindTexture()
DrsProgram.h43 Allocation **textures; member
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java193 int[] textures = new int[1]; in onSurfaceCreated() local
194 GLES20.glGenTextures(1, textures, 0); in onSurfaceCreated()
196 mTextureID = textures[0]; in onSurfaceCreated()
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java398 int[] textures, in glDeleteTextures() argument
404 java.nio.IntBuffer textures in glDeleteTextures() argument
516 int[] textures, in glGenTextures() argument
522 java.nio.IntBuffer textures in glGenTextures() argument
/frameworks/native/opengl/tests/
DAndroid.mk20 textures \
/frameworks/base/opengl/java/android/opengl/
DGLES10.java477 int[] textures, in glDeleteTextures() argument
485 java.nio.IntBuffer textures in glDeleteTextures() argument
641 int[] textures, in glGenTextures() argument
649 java.nio.IntBuffer textures in glGenTextures() argument
DGLES20.java616 int[] textures, in glDeleteTextures() argument
624 java.nio.IntBuffer textures in glDeleteTextures() argument
793 int[] textures, in glGenTextures() argument
801 java.nio.IntBuffer textures in glGenTextures() argument
DGLErrorWrapper.java207 public void glDeleteTextures(int n, int[] textures, int offset) { in glDeleteTextures() argument
209 mgl.glDeleteTextures(n, textures, offset); in glDeleteTextures()
213 public void glDeleteTextures(int n, IntBuffer textures) { in glDeleteTextures() argument
215 mgl.glDeleteTextures(n, textures); in glDeleteTextures()
347 public void glGenTextures(int n, int[] textures, int offset) { in glGenTextures() argument
349 mgl.glGenTextures(n, textures, offset); in glGenTextures()
353 public void glGenTextures(int n, IntBuffer textures) { in glGenTextures() argument
355 mgl.glGenTextures(n, textures); in glGenTextures()
DGLLogWrapper.java1422 public void glDeleteTextures(int n, int[] textures, int offset) { in glDeleteTextures() argument
1425 arg("textures", n, textures, offset); in glDeleteTextures()
1429 mgl.glDeleteTextures(n, textures, offset); in glDeleteTextures()
1433 public void glDeleteTextures(int n, IntBuffer textures) { in glDeleteTextures() argument
1436 arg("textures", n, textures); in glDeleteTextures()
1439 mgl.glDeleteTextures(n, textures); in glDeleteTextures()
1696 public void glGenTextures(int n, int[] textures, int offset) { in glGenTextures() argument
1699 arg("textures", Arrays.toString(textures)); in glGenTextures()
1702 mgl.glGenTextures(n, textures, offset); in glGenTextures()
1704 returns(toString(n, FORMAT_INT, textures, offset)); in glGenTextures()
[all …]
/frameworks/native/opengl/tools/glgen/specs/gles11/
Dchecks.spec6 glDeleteTextures check textures n
10 glGenTextures check textures n
DGLES10.spec22 void glDeleteTextures ( GLsizei n, const GLuint *textures )
42 void glGenTextures ( GLsizei n, GLuint *textures )
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-checks4 glDeleteTextures check textures n
8 glGenTextures check textures n
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLTextureViewActivity.java255 int[] textures = new int[1]; in loadTexture() local
258 glGenTextures(1, textures, 0); in loadTexture()
261 int texture = textures[0]; in loadTexture()
/frameworks/rs/driver/
DrsdShader.cpp84 Allocation *a = mRSProgram->mHal.state.textures[ct]; in getExistingState()
195 Allocation *a = mRSProgram->mHal.state.textures[ct]; in appendTextures()
476 if (!mRSProgram->mHal.state.textures[ct]) { in setupTextures()
482 DrvAllocation *drvTex = (DrvAllocation *)mRSProgram->mHal.state.textures[ct]->mHal.drv; in setupTextures()
495 mRSProgram->mHal.state.textures[ct]); in setupTextures()
DrsdProgram.cpp49 const Allocation *a = p->mHal.state.textures[ct]; in SyncProgramConstants()
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java288 int[] textures = new int[1]; in onSurfaceCreated() local
289 GLES20.glGenTextures(1, textures, 0); in onSurfaceCreated()
291 mTextureID = textures[0]; in onSurfaceCreated()
/frameworks/base/core/jni/
Dandroid_opengl_GLES10.cpp409 GLuint *textures = (GLuint *) 0; in android_glDeleteTextures__I_3II() local
426 textures = textures_base + offset; in android_glDeleteTextures__I_3II()
430 (GLuint *)textures in android_glDeleteTextures__I_3II()
446 GLuint *textures = (GLuint *) 0; in android_glDeleteTextures__ILjava_nio_IntBuffer_2() local
448 textures = (GLuint *)getPointer(_env, textures_buf, &_array, &_remaining); in android_glDeleteTextures__ILjava_nio_IntBuffer_2()
455 (GLuint *)textures in android_glDeleteTextures__ILjava_nio_IntBuffer_2()
460 releasePointer(_env, _array, textures, JNI_FALSE); in android_glDeleteTextures__ILjava_nio_IntBuffer_2()
875 GLuint *textures = (GLuint *) 0; in android_glGenTextures__I_3II() local
895 textures = textures_base + offset; in android_glGenTextures__I_3II()
899 (GLuint *)textures in android_glGenTextures__I_3II()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java466 int[] textures = new int[1];
469 glGenTextures(1, textures, 0);
472 int texture = textures[0];
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java547 int[] textures = new int[1]; in onSurfaceCreated() local
548 GLES20.glGenTextures(1, textures, 0); in onSurfaceCreated()
550 mTextureID = textures[0]; in onSurfaceCreated()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java291 int[] textures, in glDeleteTextures() argument
299 java.nio.IntBuffer textures in glDeleteTextures() argument
455 int[] textures, in glGenTextures() argument
463 java.nio.IntBuffer textures in glGenTextures() argument

123