/external/opencv3/modules/cudaarithm/src/cuda/ |
lut.cu | 61 texture<uchar, cudaTextureType1D, cudaReadModeElementType> texLutTable; 96 // Use the texture object 111 // Use the texture reference 121 // Use the texture object 126 // Use the texture reference 141 // Use the texture reference 144 // Use the texture object 159 // Use the texture reference 162 // Use the texture object
|
/external/skia/src/core/ |
SkImageCacherator.h | 43 * Returns a ref() on the texture produced by this generator. The caller must call unref() 49 * The caller is responsible for calling texture->unref() when they are done. 75 // Returns the texture. If the cacherator is generating the texture and wants to cache it,
|
/external/skia/src/gpu/ |
GrImageIDTextureAdjuster.h | 18 /** Implementation for texture-backed SkBitmaps. The bitmap must stay in scope and unmodified 34 /** Implementation for texture-backed SkImages. The image must stay in scope and unmodified while 51 non-volatile the texture is cached using a key created from the pixels' image id and the 80 // able to efficiently produce a "stretched" texture natively (e.g. picture-backed)
|
/external/skia/src/utils/ |
SkImageGeneratorUtils.h | 23 // Ref's the provided texture, so it had better be const!
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
GlTextureFrameBuffer.java | 34 * buffer. Intended for simple tasks such as texture copy, texture downscaling, and texture color 46 * Generate texture and framebuffer resources. An EGLContext must be bound on the current thread 71 // Attach the texture to the framebuffer as color attachment. 74 GlUtil.checkNoGLES2Error("Attach texture to framebuffer"); 81 * (Re)allocate texture. Will do nothing if the requested size equals the current size. An 99 // Allocate texture. 133 * Release texture and framebuffer. An EGLContext must be bound on the current thread when calling
|
/frameworks/base/libs/hwui/ |
DeferredLayerUpdater.h | 61 ANDROID_API void setSurfaceTexture(const sp<GLConsumer>& texture, bool needsAttach) { 62 if (texture.get() != mSurfaceTexture.get()) { 64 mSurfaceTexture = texture; 66 GLenum target = texture->getCurrentTextureTarget();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
TransformUtils.java | 67 TextureSource texture = frame.lockTextureSource(); local 68 texture.generateMipmaps(); 73 TextureSource texture = frame.lockTextureSource(); local 74 texture.setParameter(param, value);
|
/hardware/intel/common/libva/va/egl/ |
va_egl.c | 29 * to a texture via EGL_KHR_image_base and GL_OES_EGL_image_external. 40 * This extension provides a mechanism for creating EGLImage texture targets 41 * from EGLImages. This extension defines a new texture target TEXTURE_EXTERNAL_OES. 42 * This texture target can only be specified using an EGLImage.
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
SurfaceTextureHelperTest.java | 42 * Mock texture listener with blocking wait functionality. 109 * Test normal use by receiving three uniform texture frames. Texture frames are returned as early 110 * as possible. The texture pixel values are inspected by drawing the texture frame to a pixel 129 // Create resources for stubbing an OES texture producer. |eglOesBase| has the SurfaceTexture in 149 // Wait for an OES texture to arrive and draw it onto the pixel buffer. 177 * Test disconnecting the SurfaceTextureHelper while holding a pending texture frame. The pending 178 * texture frame should still be valid, and this is tested by drawing the texture frame to a pixe [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureCompletenessTests.cpp | 21 * \brief Texture completeness tests. 234 // Texture 2D tests. 272 GLuint texture; local 273 glGenTextures (1, &texture); 275 glBindTexture (GL_TEXTURE_2D, texture); 341 GLuint texture; local 342 glGenTextures (1, &texture); 344 glBindTexture (GL_TEXTURE_2D, texture); 394 GLuint texture; local 395 glGenTextures (1, &texture); 452 GLuint texture; local 500 GLuint texture; local 550 GLuint texture; local 604 GLuint texture; local 676 GLuint texture; local 745 GLuint texture; local 809 GLuint texture; local 858 GLuint texture; local 911 GLuint texture; local [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
PixmapPacker.java | 26 import com.badlogic.gdx.graphics.Texture;
27 import com.badlogic.gdx.graphics.Texture.TextureFilter;
56 * With this usage pattern, disposing the packer will not dispose any pixmaps used by the texture atlas. The texture atlas must
59 * Incremental texture atlas usage:
166 if (packToTexture && !duplicateBorder && page.texture != null && !page.dirty) {
167 page.texture.bind();
168 Gdx.gl.glTexSubImage2D(page.texture.glTarget, 0, rectX, rectY, rectWidth, rectHeight, image.getGLFormat(),
234 /** Disposes any pixmap pages which don't have a texture. Page pixmaps that have a texture will not be disposed until their 346 Texture texture; field in class:PixmapPacker.Page [all...] |
NinePatch.java | 20 import com.badlogic.gdx.graphics.Texture;
23 /** A 3x3 grid of texture regions. Any of the regions may be omitted. Padding may be set as a hint on how to inset content on top
28 * <b>NOTE</b>: This class expects a "post-processed" nine-patch, and not a raw ".9.png" texture. That is, the textures given to
31 * patch textures, or via the <code>left, right, top, bottom</code> parameters to {@link #NinePatch(Texture, int, int, int, int)}
51 private Texture texture;
field in class:NinePatch 61 /** Create a ninepatch by cutting up the given texture into nine patches. The subsequent parameters define the 4 lines that will
62 * cut the texture region into 9 pieces.
68 public NinePatch (Texture texture, int left, int right, int top, int bottom) { [all...] |
/external/deqp/modules/glshared/ |
glsSamplerObjectTest.cpp | 176 "\t${FRAG_COLOR} = texture(u_sampler, v_texCoord);\n" 186 "\t${FRAG_COLOR} = texture(u_sampler, v_texCoord);\n" 196 "\t${FRAG_COLOR} = texture(u_sampler, vec3(cos(3.14 * v_texCoord.y) * sin(3.14 * v_texCoord.x), sin(3.14 * v_texCoord.y), cos(3.14 * v_texCoord.y) * cos(3.14 * v_texCoord.x)));\n" 381 GLuint texture = (GLuint)-1; local 387 gl.genTextures(1, &texture); 388 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures(1, &texture)"); 390 gl.bindTexture(GL_TEXTURE_2D, texture); 391 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_2D, texture)"); 400 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_2D, texture)"); 402 return texture; 407 GLuint texture = (GLuint)-1; local 433 GLuint texture = (GLuint)-1; local 490 GLuint texture = createTexture(gl, m_target); local 513 GLuint texture = createTexture(gl, m_target); local 878 GLuint texture = (GLuint)-1; local 917 GLuint texture = (GLuint)-1; local 956 GLuint texture = (GLuint)-1; local [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
meta.c | 28 * with texture mapping and glClear() can be done with polygon rendering. 201 * Temporary texture used for glBlitFramebuffer, glDrawPixels, etc. 209 GLsizei MinSize; /**< Min texture size to allocate */ 210 GLsizei MaxSize; /**< Max possible texture size */ 212 GLsizei Width, Height; /**< Current texture size */ 273 struct temp_texture Tex; /**< separate texture from other meta ops */ 277 * State for GLSL texture sampler which is used to generate fragment 306 * State for texture decompression 343 struct decompress_state Decompress; /**< For texture decompression */ 659 save->ActiveUnit = ctx->Texture.CurrentUnit [all...] |
/external/deqp/framework/opengl/ |
gluTexture.cpp | 21 * \brief Texture classes. 87 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed"); 100 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed"); 139 TCU_THROW(NotSupportedError, "Compressed texture format not supported"); 170 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed"); 184 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed"); 199 // Decompress to reference texture. 206 // Upload to GL texture in compressed form. 211 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed"); 222 // Uncompressed texture 233 Texture2D* texture = new Texture2D(context, isRGBA ? GL_RGBA : GL_RGB, GL_UNSIGNED_BYTE, level.getWidth(), level.getHeight()); local [all...] |
/cts/tests/tests/graphics/src/android/opengl/cts/ |
CompressedTextureLoader.java | 49 public static class Texture { 50 public Texture(int width, int height, int internalformat, ByteBuffer data, 60 * Get the width of the texture in pixels. 61 * @return the width of the texture in pixels. 66 * Get the height of the texture in pixels. 67 * @return the width of the texture in pixels. 72 * Get the compressed data of the texture. 73 * @return the texture data. 78 * Get the format of the texture. 84 * Get the format of the texture [all...] |
/external/deqp/modules/gles2/performance/ |
es2pTextureUploadTests.cpp | 21 * \brief Texture upload performance tests. 148 m_testCtx.setTestResult(QP_TEST_RESULT_NOT_SUPPORTED, "Unsupported texture size"); 203 // Create texture 214 // Prepare texture data 242 m_log << TestLog::Message << "Uploading texture with " << (m_uploadFunction == UPLOAD_TEXIMAGE2D ? "glTexImage2D" : "glTexSubImage2D") << "." << TestLog::EndMessage; // \todo [arttu] Change enum to struct with name included 243 m_log << TestLog::Message << "Texture size = " << m_texSize << "x" << m_texSize << "." << TestLog::EndMessage; 290 // Texture upload call case 380 // Texture upload and draw case 470 // Texture upload tests 473 : TestCaseGroup(context, "upload", "Texture upload tests" [all...] |
/external/mesa3d/src/mesa/main/ |
texstorage.c | 46 * Check if the given texture target is a legal texture object target 145 /* Set up all the texture object's gl_texture_images */ 172 /* Do actual texture memory allocation */ 175 /* Reset the texture images' info to zeros. 196 /* Only set this field for non-proxy texture objects */ 203 * Clear all fields of texture object to zeros. Used for proxy texture tests. 238 * is a proxy texture. 328 "glTexStorage%uD(too many levels for max texture dimension)" [all...] |
/external/autotest/client/deps/glbench/src/ |
windowmanagercompositingtest.cc | 70 // We have to blend three textures, but we use multi-texture for this 100 // texture against it. 108 // texture against it. 134 // Set up the texture sampler 144 // Set up texture attribute 182 // Set up the texture sampler 194 // Set up texture attributes 246 // Set up the texture sampler 260 // Set up texture attributes 321 // Load these textures into bound texture ids and keep using the [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/ |
ScreenUtils.java | 26 import com.badlogic.gdx.graphics.Texture;
39 * size. The base {@link Texture} always has {@link MathUtils#nextPowerOfTwo} dimensions and RGBA8888 {@link Format}. It can be
40 * accessed via {@link TextureRegion#getTexture}. The texture is not managed and has to be reloaded manually on a context loss.
49 * the same dimensions. The base {@link Texture} always has {@link MathUtils#nextPowerOfTwo} dimensions and RGBA8888
50 * {@link Format}. It can be accessed via {@link TextureRegion#getTexture}. This texture is not managed and has to be reloaded
51 * manually on a context loss. If the width and height specified are larger than the framebuffer dimensions, the Texture will
65 Texture texture = new Texture(potPixmap);
local 66 TextureRegion textureRegion = new TextureRegion(texture, 0, h, w, -h); [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_render.c | 101 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->texture[0]->offset, 103 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->format[0], NOUVEAU_BO_OR, 116 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->texture[0]->offset, 118 PUSH_RELOC(push, nv04->texture[1]->bo, nv04->texture[1]->offset, 120 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->format[0], NOUVEAU_BO_OR, 123 PUSH_RELOC(push, nv04->texture[1]->bo, nv04->format[1], NOUVEAU_BO_OR, 148 { nv04->texture[0]->bo, tex_flags } [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
mask.c | 131 surf = pipe->create_surface(pipe, strb->texture, 0, 0, 0, 280 struct pipe_resource *dst = dst_view->texture; 281 struct pipe_resource *texture = sampler_view->texture; local 290 texture->width0, texture->height0, 315 /* layer should be flipped when used as a texture */ 346 struct pipe_resource *texture; local 358 texture = screen->resource_create(screen, &pt); 360 if (texture) { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CompressedTextureActivity.java | 48 * Choose between creating a compressed texture on the fly or 49 * loading a compressed texture from a resource. 53 * When creating a compressed texture on the fly, choose 86 * Demonstrate how to load a compressed texture from an APK resource. 91 Log.w(TAG, "ETC1 texture support: " + ETC1Util.isETC1Supported()); 97 Log.w(TAG, "Could not load texture: " + e); 109 * Demonstrate how to create a compressed texture on the fly. 126 Log.w(TAG, "Could not load texture: " + e);
|
/external/ImageMagick/Magick++/demo/ |
button.cpp | 39 // Button background texture 65 button.texture( backgroundTexture );
|
/external/deqp/doc/testspecs/GLES2/ |
stress.long.txt | 61 glTexSubImage*(). Texture parameters (wrapping etc.) are also set. 83 - Texture information (size, format etc.) 85 - Texture memory 91 - Re-upload texture 93 - When re-uploading texture, use glTexImage*() instead of glTexSubImage*() 95 - Delete texture at end of iteration 97 - Don't re-use texture, but delay its deletion until memory limit is hit 103 (Note: the texture- or buffer-specific actions above are randomized both
|