/frameworks/base/opengl/tests/textures/ |
Android.mk | 5 textures.cpp 13 LOCAL_MODULE:= test-opengl-textures
|
/development/tools/glesv2debugger/src/com/android/glesv2debugger/ |
GLServerTexture.java | 89 public SparseArray<GLTexture> textures = new SparseArray<GLTexture>(); field in class:GLServerTexture 94 textures.append(0, null); 107 copy.textures = new SparseArray<GLTexture>(textures.size()); 108 for (int i = 0; i < textures.size(); i++) 109 if (textures.valueAt(i) != null) 110 copy.textures.append(textures.keyAt(i), textures.valueAt(i).clone()); 112 copy.textures.append(textures.keyAt(i), null) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/ |
GLServerTexture.java | 89 public SparseArray<GLTexture> textures = new SparseArray<GLTexture>(); field in class:GLServerTexture 94 textures.append(0, null); 107 copy.textures = new SparseArray<GLTexture>(textures.size()); 108 for (int i = 0; i < textures.size(); i++) 109 if (textures.valueAt(i) != null) 110 copy.textures.append(textures.keyAt(i), textures.valueAt(i).clone()); 112 copy.textures.append(textures.keyAt(i), null) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ProgramFragmentTest.java | 81 ProgramFragment buildShader(Allocation[] textures, Allocation[] constInput, String shader) { 84 if (textures != null) { 85 for (int i = 0; i < textures.length; i++) { 87 if (textures[i].getType().hasFaces()) { 90 // Add textures through the base program builder 113 if (textures != null) { 114 for (int i = 0; i < textures.length; i++) { 115 pf.bindTexture(textures[i], i); 119 p.bindTexture(textures[i], i); 179 Allocation[] textures = new Allocation[2] local [all...] |
/frameworks/base/opengl/libagl/ |
texture.cpp | 48 c->textures.packAlignment = 4; 49 c->textures.unpackAlignment = 4; 52 c->textures.defaultTexture = new EGLTextureObject(); 53 c->textures.defaultTexture->incStrong(c); 57 bindTextureTmu(c, i, 0, c->textures.defaultTexture); 65 if (c->textures.ggl) 66 gglUninit(c->textures.ggl); 67 c->textures.defaultTexture->decStrong(c); 69 if (c->textures.tmu[i].texture) 70 c->textures.tmu[i].texture->decStrong(c) [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/ |
BaseTileTexture.cpp | 75 SharedTexture* textures[3] = { m_textureA, m_textureB, 0 }; local 76 destroyTextures(textures); 101 void BaseTileTexture::destroyTextures(SharedTexture** textures) 104 while (textures[x]) { 109 textures[x]->lock(); 111 textures[x]->getSourceTextureId(), textures[x]->getEGLImage()); 112 textures[x]->unlock();
|
BaseTileTexture.h | 117 void destroyTextures(SharedTexture** textures);
|
TilesManager.cpp | 61 // Important: We need at least twice as many textures as is needed to cover 63 // We need n textures for one TiledPage, and another n textures for the 65 // In our case, we use 256*256 textures. On the tablet, this equates to 66 // at least 60 textures, or 112 with expanded tile boundaries. 80 #define LAYER_TEXTURES_DESTROY_TIMEOUT 60 // If we do not need layers for 60 seconds, free the textures 122 XLOG("%d tiles to allocate (%d textures planned)", nbTexturesToAllocate, m_maxTextureCount); 137 XLOG("%d layers tiles to allocate (%d textures planned)", 151 XLOG("allocated %d textures for base (total: %d, %d Mb), %d textures for layers (total: %d, %d Mb)" [all...] |
/external/mesa3d/docs/ |
MESA_texture_array.spec | 44 blend two textures out of a larger set of textures. Moreover, in some 45 cases the selected textures may vary on a per-fragment basis within 48 1. High dynamic range textures. The application stores several 49 different "exposures" of an image as different textures. On a 57 textures to blend at run-time. 59 3. Storing short video clips in textures. Each depth slice is a 64 textures without mipmaps. Both of these options have major drawbacks. 74 2D textures. The per-fragment texel is selected by the R texture 182 "Textures with a base internal format of DEPTH_COMPONENT are supporte [all...] |
/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
GLClientState.cpp | 64 m_tex.textures = NULL; 307 if (m_tex.textures) { 308 texrec = (TextureRec*)bsearch(&texture, m_tex.textures, 354 TextureRec* newTextures = (TextureRec*)realloc(m_tex.textures, 360 m_tex.textures = newTextures; 364 TextureRec* tex = m_tex.textures + m_tex.numTextures; 366 while (tex != m_tex.textures && id < prev->id) { 388 void GLClientState::deleteTextures(GLsizei n, const GLuint* textures) 390 // Updating the textures array could be made more efficient when deleting 391 // several textures [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
LabelMaker.java | 82 int[] textures = new int[1]; local 83 gl.glGenTextures(1, textures, 0); 84 mTextureID = textures[0]; 108 int[] textures = new int[1]; local 109 textures[0] = mTextureID; 110 gl.glDeleteTextures(1, textures, 0);
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
RendererUtils.java | 70 int[] textures = new int[1]; local 71 GLES20.glGenTextures(textures.length, textures, 0); 73 return textures[0]; 118 int[] textures = new int[1]; local 119 textures[0] = texture; 120 GLES20.glDeleteTextures(textures.length, textures, 0);
|
/external/mesa3d/src/pixelflinger2/ |
llvm_texture.cpp | 304 Value * x = texcoordWrap(builder, gglCtx->textureState.textures[sampler].wrapS, 306 Value * y = texcoordWrap(builder, gglCtx->textureState.textures[sampler].wrapT, 321 if (0 == gglCtx->textureState.textures[sampler].minFilter && 322 0 == gglCtx->textureState.textures[sampler].magFilter) { // GL_NEAREST 324 gglCtx->textureState.textures[sampler].format/*, dstDesc*/); 326 } else if (1 == gglCtx->textureState.textures[sampler].minFilter && 327 1 == gglCtx->textureState.textures[sampler].magFilter) { // GL_LINEAR 330 gglCtx->textureState.textures[sampler].format/*, dstDesc*/); 500 Value * x = texcoordWrap(builder, gglCtx->textureState.textures[sampler].wrapS, 502 Value * y = texcoordWrap(builder, gglCtx->textureState.textures[sampler].wrapT [all...] |
texture.cpp | 395 else if (ctx->state.textureState.textures[sampler].format != texture->format) 397 else if (ctx->state.textureState.textures[sampler].wrapS != texture->wrapS) 399 else if (ctx->state.textureState.textures[sampler].wrapT != texture->wrapT) 401 else if (ctx->state.textureState.textures[sampler].minFilter != texture->minFilter) 403 else if (ctx->state.textureState.textures[sampler].magFilter != texture->magFilter) 408 ctx->state.textureState.textures[sampler] = *texture; // shallow copy, data pointed to must remain valid 416 memset(ctx->state.textureState.textures + sampler, 0, sizeof(ctx->state.textureState.textures[sampler]));
|
/frameworks/base/libs/rs/ |
rsProgram.cpp | 46 mHal.state.textures = new Allocation*[mHal.state.texturesCount]; 92 delete[] mHal.state.textures; 119 mHal.state.textures = NULL; 182 mHal.state.textures[slot] = a;
|
rsProgram.h | 37 // The difference between Textures and Constants is how they are accessed 43 Allocation **textures; member in struct:android::renderscript::Program::Hal::State
|
/system/media/mca/filterfw/native/core/ |
shader_program.cpp | 198 // Get all required textures 199 std::vector<GLuint> textures; local 211 textures.push_back(tex_id); 217 if (!RenderFrame(textures, targets)) { 225 std::vector<const GLTextureHandle*> textures(input.size()); 226 std::copy(input.begin(), input.end(), textures.begin()); 227 return Process(textures, output); 426 bool ShaderProgram::BindInputTextures(const std::vector<GLuint>& textures, 428 for (unsigned i = 0; i < textures.size(); ++i) { 435 glBindTexture(targets[i], textures[i]) [all...] |
/external/mesa3d/test/ |
cmain.c | 77 gglState.textureState.textures[0] = texture0; 78 gglState.textureState.textureData[0] = gglState.textureState.textures[0].levels; 79 gglState.textureState.textureDimensions[0 * 2 + 0] = gglState.textureState.textures[0].width; 80 gglState.textureState.textureDimensions[0 * 2 + 1] = gglState.textureState.textures[0].height;
|
/cts/tests/src/android/media/cts/ |
VideoSurfaceView.java | 218 int[] textures = new int[1]; local 219 GLES20.glGenTextures(1, textures, 0); 221 mTextureID = textures[0];
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
TextureTestRenderer.java | 158 int[] textures = new int[1]; local 159 gl.glGenTextures(1, textures, 0); 161 mTextureID = textures[0];
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
GLES20TriangleRenderer.java | 121 int[] textures = new int[1]; local 122 GLES20.glGenTextures(1, textures, 0); 124 mTextureID = textures[0];
|
StaticTriangleRenderer.java | 99 int[] textures = new int[1]; local 100 glGenTextures(1, textures, 0); 102 mTextureID = textures[0];
|
TriangleRenderer.java | 71 int[] textures = new int[1]; local 72 gl.glGenTextures(1, textures, 0); 74 mTextureID = textures[0];
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
GLES20TriangleRenderer.java | 119 int[] textures = new int[1]; local 120 GLES20.glGenTextures(1, textures, 0); 122 mTextureID = textures[0];
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
SurfaceTextureView.java | 182 int[] textures = new int[1]; local 183 GLES20.glGenTextures(1, textures, 0); 184 mTextureName = textures[0];
|