/external/swiftshader/src/Shader/ |
PixelProgram.cpp | 685 // FIXME: When the sampler states are the same, we could use one sampler and just index the texture 703 Pointer<Byte> texture = data + OFFSET(DrawData, mipmap) + stage * sizeof(Texture); local 707 sampler[stage]->sampleTexture(texture, c, u, v, w, q, dsx, dsy, method); 717 sampler[stage]->sampleTexture(texture, c, u_q, v_q, w_q, q, dsx, dsy, method); [all...] |
VertexProgram.cpp | 1594 Pointer<Byte> texture = data + OFFSET(DrawData, mipmap[TEXTURE_IMAGE_UNITS]) + s.index * sizeof(Texture); local 1607 Pointer<Byte> texture = data + OFFSET(DrawData, mipmap[TEXTURE_IMAGE_UNITS]) + i * sizeof(Texture); local [all...] |
/frameworks/av/cmds/stagefright/ |
stagefright.cpp | 624 fprintf(stderr, " -T allocate buffers from a surface texture\n"); 974 sp<GLConsumer> texture = new GLConsumer(consumer, 0 /* tex */, local [all...] |
/frameworks/base/libs/hwui/ |
BakedOpDispatcher.cpp | 52 Texture* texture = renderer.caches().textureCache.get(bitmap); local 53 if (!texture) return; 54 const AutoTexture autoCleanup(texture); 61 // calculate unclipped bounds, since they'll determine texture coordinates 78 .setFillTexturePaint(*texture, textureFillFlags, firstState.op->paint, firstState.alpha) 169 Texture* texture = renderer.caches().textureCache.get(firstOp.bitmap); local 170 if (!texture) return; 171 const AutoTexture autoCleanup(texture); 205 ShadowTexture* texture = renderer.caches().dropShadowCache.get( local 398 PathTexture* texture = renderer.caches().pathCache.getArc( local 421 Texture* texture = renderer.getTexture(op.bitmap); local 439 Texture* texture = renderer.caches().textureCache.get(op.bitmap); local 505 Texture* texture = renderer.getTexture(op.bitmap); local 559 PathTexture* texture = renderer.caches().pathCache.getOval( local 592 Texture* texture = renderer.caches().textureCache.get(op.bitmap); local 609 PathTexture* texture = renderer.caches().pathCache.get(op.path, op.paint); local 636 PathTexture* texture = renderer.caches().pathCache.getRect( local 670 PathTexture* texture = renderer.caches().pathCache.getRoundRect( local [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
BackingStore.java | 37 /** Access mode Texture: Frame data will be accessed as a TextureSource. */ 406 throw new RuntimeException("Cannot allocate texture with non-RGBA data type!"); 408 throw new RuntimeException("Cannot allocate non 2-dimensional texture!"); 611 TextureSource texture = (TextureSource) backing.lock(ACCESS_TEXTURE); local 614 ImageShader.renderTextureToTarget(texture, getRenderTarget(), w, h); 642 throw new RuntimeException("Illegal access to texture!");
|
/frameworks/native/opengl/tests/hwc/ |
hwcCommit.cpp | 1412 sp<GraphicBuffer> texture; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSetSlidingWindow.java | 32 import com.android.gallery3d.glrenderer.Texture; 77 public Texture content; 318 // Upload foreground texture 446 TiledTexture texture = new TiledTexture(bitmap); local 447 entry.bitmapTexture = texture; 448 entry.content = texture; 451 mContentUploader.addTexture(texture); 456 mContentUploader.addTexture(texture); 510 BitmapTexture texture = new BitmapTexture(bitmap); local 511 texture.setOpaque(false) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
StateTransformFactory.java | 119 // Texture State Transformations 892 int texture = msg.getArgs(1).getIntValue(i); local 933 int texture = msg.getArgs(1).getIntValue(i); local 939 transforms.addAll(transformsToResetBoundTextureUnits(msg.getContextId(), texture)); local 947 GLEnum texture = GLEnum.valueOf(msg.getArgs(0).getIntValue(0)); local 987 Integer texture = Integer.valueOf(msg.getArgs(1).getIntValue(0)); local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AdaptivePlaybackTest.java | 208 public void texture() { ex(H264(HW), new EarlyEosTest().texture()); } method in class:AdaptivePlaybackTest [all...] |
/developers/build/prebuilts/gradle/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/ |
Camera2BasicFragment.java | 139 public void onSurfaceTextureAvailable(SurfaceTexture texture, int width, int height) { 144 public void onSurfaceTextureSizeChanged(SurfaceTexture texture, int width, int height) { 149 public boolean onSurfaceTextureDestroyed(SurfaceTexture texture) { 154 public void onSurfaceTextureUpdated(SurfaceTexture texture) { 370 * is at least as large as the respective texture view size, and that is at most as large as the 377 * @param textureViewWidth The width of the texture view relative to sensor coordinate 378 * @param textureViewHeight The height of the texture view relative to sensor coordinate 431 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); 677 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local 678 assert texture != null [all...] |
/developers/build/prebuilts/gradle/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
Camera2RawFragment.java | 211 public void onSurfaceTextureAvailable(SurfaceTexture texture, int width, int height) { 216 public void onSurfaceTextureSizeChanged(SurfaceTexture texture, int width, int height) { 221 public boolean onSurfaceTextureDestroyed(SurfaceTexture texture) { 229 public void onSurfaceTextureUpdated(SurfaceTexture texture) { 613 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); 924 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local [all...] |
/developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/ |
Camera2VideoFragment.java | 283 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); 495 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local 496 assert texture != null; 497 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); 500 Surface previewSurface = new Surface(texture); 619 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local 620 assert texture != null; 621 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); 626 Surface previewSurface = new Surface(texture);
|
/developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/ |
Camera2BasicFragment.java | 139 public void onSurfaceTextureAvailable(SurfaceTexture texture, int width, int height) { 144 public void onSurfaceTextureSizeChanged(SurfaceTexture texture, int width, int height) { 149 public boolean onSurfaceTextureDestroyed(SurfaceTexture texture) { 154 public void onSurfaceTextureUpdated(SurfaceTexture texture) { 370 * is at least as large as the respective texture view size, and that is at most as large as the 377 * @param textureViewWidth The width of the texture view relative to sensor coordinate 378 * @param textureViewHeight The height of the texture view relative to sensor coordinate 431 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); 677 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local 678 assert texture != null [all...] |
/developers/samples/android/media/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
Camera2RawFragment.java | 211 public void onSurfaceTextureAvailable(SurfaceTexture texture, int width, int height) { 216 public void onSurfaceTextureSizeChanged(SurfaceTexture texture, int width, int height) { 221 public boolean onSurfaceTextureDestroyed(SurfaceTexture texture) { 229 public void onSurfaceTextureUpdated(SurfaceTexture texture) { 613 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); 924 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local [all...] |
/developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/ |
Camera2VideoFragment.java | 283 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); 495 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local 496 assert texture != null; 497 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); 500 Surface previewSurface = new Surface(texture); 619 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local 620 assert texture != null; 621 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); 626 Surface previewSurface = new Surface(texture);
|
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
Camera2BasicFragment.java | 139 public void onSurfaceTextureAvailable(SurfaceTexture texture, int width, int height) { 144 public void onSurfaceTextureSizeChanged(SurfaceTexture texture, int width, int height) { 149 public boolean onSurfaceTextureDestroyed(SurfaceTexture texture) { 154 public void onSurfaceTextureUpdated(SurfaceTexture texture) { 370 * is at least as large as the respective texture view size, and that is at most as large as the 377 * @param textureViewWidth The width of the texture view relative to sensor coordinate 378 * @param textureViewHeight The height of the texture view relative to sensor coordinate 431 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); 677 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local 678 assert texture != null [all...] |
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/ |
Camera2RawFragment.java | 211 public void onSurfaceTextureAvailable(SurfaceTexture texture, int width, int height) { 216 public void onSurfaceTextureSizeChanged(SurfaceTexture texture, int width, int height) { 221 public boolean onSurfaceTextureDestroyed(SurfaceTexture texture) { 229 public void onSurfaceTextureUpdated(SurfaceTexture texture) { 612 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); 922 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local [all...] |
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
Camera2VideoFragment.java | 284 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); 492 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local 493 assert texture != null; 494 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); 497 Surface previewSurface = new Surface(texture); 614 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local 615 assert texture != null; 616 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); 621 Surface previewSurface = new Surface(texture);
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
GLClientState.h | 43 // and which texture names 79 // is a texture or renderbuffer. 283 * TEXTURE_EXTERNAL_OES texture targets; TEXTURE_CUBE_MAP or other extension 289 // Sets the active texture unit. Up to MAX_TEXTURE_UNITS are supported. 290 GLenum setActiveTextureUnit(GLenum texture); 309 // Set the target binding of the active texture unit to texture. Returns 310 // GL_NO_ERROR on success or GL_INVALID_OPERATION if the texture has 312 // it is set to indicate whether this is the first use of the texture. 315 GLenum bindTexture(GLenum target, GLuint texture, GLboolean* firstUse) 483 GLuint texture[TEXTURE_TARGET_COUNT]; member in struct:GLClientState::TextureUnit [all...] |
/device/generic/goldfish-opengl/system/egl/ |
egl.cpp | 284 // Width of the actual window being presented (not the EGL texture) 1820 GLuint texture = (GLuint)reinterpret_cast<uintptr_t>(buffer); local [all...] |
/external/ImageMagick/MagickCore/ |
image.h | 407 *texture, /* montage/display background tile */ member in struct:_ImageInfo
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderDerivateTests.cpp | 732 instance.useSampler(2u, 0u); // To the uniform binding location 2 bind the texture 0 1211 de::MovePtr<tcu::Texture2D> texture; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktTextureFilteringExplicitLodTests.cpp | 21 * \brief Texture filtering tests with explicit LOD instructions 59 namespace texture namespace in namespace:vkt 251 // Build coordinate input to texture*() function 280 // Build call to texture*() function 284 code += "result = texture"; [all...] |
/external/deqp/modules/gles3/functional/ |
es3fIntegerStateQueryTests.cpp | 2436 GLuint texture = 0; local [all...] |
es3fTextureUnitTests.cpp | 21 * \brief Texture unit usage tests. 72 // \note Cube map texture size is larger in order to make minifications possible - otherwise would need to display different faces at same time. 230 lookupsStr += "\tcolor += " + colorMultiplier + "*(vec4(texture(" + samplerName + ", " + lookupCoord + "))*" + scaleName + " + " + biasName + ");\n"; 343 void makeSafeLods (const vector<IVec3>& textureSizes, const IVec2& viewportSize); // Modifies texture coordinates so that LODs aren't too close to x.5 or 0.0 . 407 int tex2dArrayNdx = 0; // Keep track of 2d texture array index. 730 int m_numTextures; //!< \note Needed in addition to m_numUnits since same texture may be bound to many texture units. 739 vector<int> m_unitTextures; //!< Which texture is used in a particular unit. 740 vector<int> m_ndxTexType; //!< Index of a texture in m_textures2d, m_texturesCube, m_textures2dArray or m_textures3d, depending on texture type 1058 const tcu::Texture2D* texture = m_textures2d[ndx2d]; local 1082 const tcu::TextureCube* texture = m_texturesCube[ndxCube]; local 1109 const tcu::Texture2DArray* texture = m_textures2dArray[ndx2dArray]; local 1135 const tcu::Texture3D* texture = m_textures3d[ndx3d]; local [all...] |