Searched refs:textures (Results 1 - 25 of 46) sorted by relevance

12

/frameworks/native/opengl/tests/textures/
H A DAndroid.mk5 textures.cpp
19 LOCAL_MODULE:= test-opengl-textures
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLId.java28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); argument
H A DGLES20IdImpl.java25 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { argument
26 GLES20.glDeleteTextures(n, textures, offset);
/frameworks/native/opengl/libagl/
H A Dtexture.cpp47 c->textures.packAlignment = 4;
48 c->textures.unpackAlignment = 4;
51 c->textures.defaultTexture = new EGLTextureObject();
52 c->textures.defaultTexture->incStrong(c);
56 bindTextureTmu(c, i, 0, c->textures.defaultTexture);
64 if (c->textures.ggl)
65 gglUninit(c->textures.ggl);
66 c->textures.defaultTexture->decStrong(c);
68 if (c->textures.tmu[i].texture)
69 c->textures
891 glGenTextures(GLsizei n, GLuint *textures) argument
902 glDeleteTextures(GLsizei n, const GLuint *textures) argument
[all...]
H A Dprimitives.cpp492 int width = c->textures.tmu[i].texture->surface.width;
497 int height = c->textures.tmu[i].texture->surface.height;
704 const int w = c->textures.tmu[i].texture->surface.width;
705 const int h = c->textures.tmu[i].texture->surface.height;
733 const GLenum min_filter = c->textures.tmu[i].texture->min_filter;
737 &c->textures.tmu[i].texture->mip(lod));
790 const GLenum min_filter = c->textures.tmu[i].texture->min_filter;
794 &c->textures.tmu[i].texture->mip(lod));
/frameworks/native/opengl/tests/
H A DAndroid.mk20 textures \
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGLToolbox.java43 int[] textures = new int[] { texId };
45 GLES20.glDeleteTextures(1, textures, 0);
57 int[] textures = new int[1];
58 GLES20.glGenTextures(1, textures, 0);
60 return textures[0];
/frameworks/rs/
H A DrsProgram.cpp48 mHal.state.textures = new Allocation*[mHal.state.texturesCount];
96 delete[] mHal.state.textures;
129 mHal.state.textures = nullptr;
195 mHal.state.textures[slot] = a;
H A DrsProgram.h43 Allocation **textures; member in struct:android::renderscript::Program::Hal::State
H A DrsProgramFragment.cpp70 if (!mHal.state.textures[ct]) {
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp191 // Get all required textures
192 std::vector<GLuint> textures; local
204 textures.push_back(tex_id);
210 if (!RenderFrame(textures, targets)) {
218 std::vector<const GLTextureHandle*> textures(input.size());
219 std::copy(input.begin(), input.end(), textures.begin());
220 return Process(textures, output);
419 bool ShaderProgram::BindInputTextures(const std::vector<GLuint>& textures, argument
421 for (unsigned i = 0; i < textures.size(); ++i) {
428 glBindTexture(targets[i], textures[
459 RenderFrame(const std::vector<GLuint>& textures, const std::vector<GLenum>& targets) argument
[all...]
H A Dshader_program.h64 // If more input textures are given than the shader can handle, this will result
101 // textures and FBOs.
334 // Render a single frame with the given input textures. You may override
338 // - Bind the given textures
341 bool RenderFrame(const std::vector<GLuint>& textures,
397 // Returns the lowest texture unit that will be used to bind textures.
402 // Sets the lowest texture unit that will be used to bind textures. The
443 // Binds the given input textures.
444 bool BindInputTextures(const std::vector<GLuint>& textures,
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A Dchecks.spec33 glDeleteTextures check textures n
45 glGenTextures check textures n
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLDepthTestActivity.java224 int[] textures = new int[1];
225 GLES20.glGenTextures(1, textures, 0);
227 mTextureID = textures[0];
H A DGLTextureViewActivity.java254 int[] textures = new int[1];
257 glGenTextures(1, textures, 0);
260 int texture = textures[0];
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java193 int[] textures = new int[1];
194 GLES20.glGenTextures(1, textures, 0);
196 mTextureID = textures[0];
/frameworks/rs/driver/
H A DrsdProgram.cpp49 const Allocation *a = p->mHal.state.textures[ct];
H A DrsdShader.cpp84 Allocation *a = mRSProgram->mHal.state.textures[ct];
195 Allocation *a = mRSProgram->mHal.state.textures[ct];
473 ALOGE("Attempting to bind %u textures on shader id %p, but only %u are available",
483 if (!mRSProgram->mHal.state.textures[ct]) {
489 DrvAllocation *drvTex = (DrvAllocation *)mRSProgram->mHal.state.textures[ct]->mHal.drv;
502 mRSProgram->mHal.state.textures[ct]);
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java288 int[] textures = new int[1];
289 GLES20.glGenTextures(1, textures, 0);
291 mTextureID = textures[0];
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java473 // C function void glDeleteTextures ( GLsizei n, const GLuint *textures )
477 int[] textures,
481 // C function void glDeleteTextures ( GLsizei n, const GLuint *textures )
485 java.nio.IntBuffer textures
637 // C function void glGenTextures ( GLsizei n, GLuint *textures )
641 int[] textures,
645 // C function void glGenTextures ( GLsizei n, GLuint *textures )
649 java.nio.IntBuffer textures
475 glDeleteTextures( int n, int[] textures, int offset ) argument
639 glGenTextures( int n, int[] textures, int offset ) argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java398 int[] textures,
404 java.nio.IntBuffer textures
516 int[] textures,
522 java.nio.IntBuffer textures
396 glDeleteTextures( int n, int[] textures, int offset ) argument
514 glGenTextures( int n, int[] textures, int offset ) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java589 int[] textures = new int[1];
592 glGenTextures(1, textures, 0);
595 int texture = textures[0];
675 int[] textures = new int[1];
676 textures[0] = texture;
677 glDeleteTextures(1, textures, 0);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSurfaceTextureRenderer.java380 int[] textures = new int[1];
381 GLES20.glGenTextures(/*n*/ 1, textures, /*offset*/ 0);
383 mTextureID = textures[0];
/frameworks/base/libs/hwui/tests/
H A Dnullgles.cpp47 void glGenTextures(GLsizei n, GLuint *textures) { argument
48 glGenCommon(n, textures);
184 void glDeleteTextures(GLsizei n, const GLuint *textures) {} argument
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java390 // Load the program, which is the basics rules to draw the vertexes and textures.
552 int[] textures = new int[1];
553 GLES20.glGenTextures(1, textures, 0);
555 mTextureID = textures[0];

Completed in 618 milliseconds

12