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

12

/frameworks/native/opengl/tests/textures/
H A DAndroid.mk5 textures.cpp
19 LOCAL_MODULE:= test-opengl-textures
/frameworks/native/opengl/tests/
H A DAndroid.mk4 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.cpp50 c->textures.packAlignment = 4;
51 c->textures.unpackAlignment = 4;
54 c->textures.defaultTexture = new EGLTextureObject();
55 c->textures.defaultTexture->incStrong(c);
59 bindTextureTmu(c, i, 0, c->textures.defaultTexture);
67 if (c->textures.ggl)
68 gglUninit(c->textures.ggl);
69 c->textures.defaultTexture->decStrong(c);
71 if (c->textures.tmu[i].texture)
72 c->textures
880 glGenTextures(GLsizei n, GLuint *textures) argument
891 glDeleteTextures(GLsizei n, const GLuint *textures) argument
[all...]
H A Dprimitives.cpp493 int width = c->textures.tmu[i].texture->surface.width;
498 int height = c->textures.tmu[i].texture->surface.height;
705 const int w = c->textures.tmu[i].texture->surface.width;
706 const int h = c->textures.tmu[i].texture->surface.height;
734 const GLenum min_filter = c->textures.tmu[i].texture->min_filter;
738 &c->textures.tmu[i].texture->mip(lod));
791 const GLenum min_filter = c->textures.tmu[i].texture->min_filter;
795 &c->textures.tmu[i].texture->mip(lod));
/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/base/libs/hwui/debug/
H A DNullGlesDriver.cpp52 void NullGlesDriver::glGenTextures_(GLsizei n, GLuint* textures) { argument
53 nullglGenCommon(n, textures);
/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/support/heifwriter/src/main/java/androidx/heifwriter/
H A DTexture2dProgram.java81 // Simple fragment shader for use with "normal" 2D textures.
90 // Simple fragment shader for use with external 2D textures (e.g. what we get from
171 int[] textures = new int[1];
172 GLES20.glGenTextures(1, textures, 0);
175 int texId = textures[0];
/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/base/tools/aapt2/configuration/
H A DConfigurationParser.h116 std::vector<GlTexture> textures; member in struct:aapt::configuration::OutputArtifact
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A Dchecks.spec35 glDeleteTextures check textures n
49 glGenTextures check textures n
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
H A DImageFlipRenderThread.java207 int[] textures = new int[1];
210 glGenTextures(1, textures, 0);
213 int texture = textures[0];
/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/rs/driver/
H A DrsdProgram.cpp52 const Allocation *a = p->mHal.state.textures[ct];
H A DrsdShader.cpp88 Allocation *a = mRSProgram->mHal.state.textures[ct];
199 Allocation *a = mRSProgram->mHal.state.textures[ct];
477 ALOGE("Attempting to bind %u textures on shader id %p, but only %u are available",
487 if (!mRSProgram->mHal.state.textures[ct]) {
493 DrvAllocation *drvTex = (DrvAllocation *)mRSProgram->mHal.state.textures[ct]->mHal.drv;
506 mRSProgram->mHal.state.textures[ct]);

Completed in 157 milliseconds

12