HomeSort by relevance Sort by last modified time
    Searched defs:texWidth (Results 1 - 25 of 26) sorted by null

1 2

  /frameworks/native/libs/gui/tests/
SurfaceTextureFBO_test.cpp 27 const int texWidth = 64;
33 texWidth, texHeight));
49 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 0, 255,
73 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 255, 0,
SurfaceTextureGLToGL_test.cpp 25 const uint32_t texWidth = 32;
28 mST->setDefaultBufferSize(texWidth, texHeight);
58 ASSERT_EQ(texWidth, buf->getHeight());
61 ASSERT_EQ(texWidth, buf->getWidth());
76 ASSERT_EQ(texWidth, buf->getWidth());
81 const int texWidth = 64;
84 mST->setDefaultBufferSize(texWidth, texHeight);
132 glViewport(0, 0, texWidth, texHeight);
339 enum { texWidth = 64 };
349 native_window_set_buffers_user_dimensions(mANW.get(), texWidth, texHeight)
    [all...]
SurfaceTextureGL_test.cpp 28 const int texWidth = 64;
34 texWidth, texHeight));
50 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
60 glViewport(0, 0, texWidth, texHeight);
78 const int texWidth = 64;
84 texWidth, texHeight));
100 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
110 glViewport(0, 0, texWidth, texHeight);
128 const int texWidth = 64;
134 texWidth, texHeight))
    [all...]
  /external/mesa3d/src/mesa/main/
dlist.h 63 unsigned texWidth, texHeight;
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
ResourceModifier.java 56 int texWidth = bitmap.getWidth();
68 matrix.setTranslate(texWidth / 2.0f, texHeight / 2.0f);
  /external/skia/samplecode/
PerlinPatch.cpp 59 const SkScalar TexWidth = 100.0f;
142 SkScalar texWidth = fTexScale * TexWidth;
145 { fTexX - texWidth, fTexY - texHeight},
146 { fTexX + texWidth, fTexY - texHeight},
147 { fTexX + texWidth, fTexY + texHeight},
148 { fTexX - texWidth, fTexY + texHeight}}
  /external/skqp/samplecode/
PerlinPatch.cpp 59 const SkScalar TexWidth = 100.0f;
142 SkScalar texWidth = fTexScale * TexWidth;
145 { fTexX - texWidth, fTexY - texHeight},
146 { fTexX + texWidth, fTexY - texHeight},
147 { fTexX + texWidth, fTexY + texHeight},
148 { fTexX - texWidth, fTexY + texHeight}}
  /packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 144 int texWidth = getTextureWidth();
147 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight);
153 if (bWidth == texWidth && bHeight == texHeight) {
164 if (bWidth < texWidth) {
171 Bitmap line = getBorderLine(false, config, texWidth);
GLES20Canvas.java 380 int texWidth = texture.getTextureWidth();
383 source.left /= texWidth;
384 source.right /= texWidth;
389 float xBound = (float) width / texWidth;
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 219 int texWidth = getTextureWidth();
222 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight);
228 if (bWidth == texWidth && bHeight == texHeight) {
244 line = getBorderLine(false, config, texWidth);
249 if (mBorder + bWidth < texWidth) {
256 Bitmap line = getBorderLine(false, config, texWidth);
GLES20Canvas.java 646 int texWidth = texture.getTextureWidth();
649 source.left /= texWidth;
650 source.right /= texWidth;
655 float xBound = (float) width / texWidth;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 219 int texWidth = getTextureWidth();
222 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight);
228 if (bWidth == texWidth && bHeight == texHeight) {
244 line = getBorderLine(false, config, texWidth);
249 if (mBorder + bWidth < texWidth) {
256 Bitmap line = getBorderLine(false, config, texWidth);
GLES11Canvas.java 424 int texWidth = texture.getTextureWidth();
427 source.left /= texWidth;
428 source.right /= texWidth;
433 float xBound = (float) width / texWidth;
    [all...]
GLES20Canvas.java 646 int texWidth = texture.getTextureWidth();
649 source.left /= texWidth;
650 source.right /= texWidth;
655 float xBound = (float) width / texWidth;
    [all...]
  /external/deqp/modules/gles2/accuracy/
es2aTextureMipmapTests.cpp 258 int texWidth = refTexture.getWidth();
260 int defViewportWidth = texWidth*4;
363 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
364 const int worstScoreDiff = texWidth*texHeight;
531 int texWidth = m_texture->getRefTexture().getSize();
534 int defViewportWidth = texWidth*2;
630 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
631 const int worstScoreDiff = texWidth*texHeight;
  /external/deqp/modules/gles3/accuracy/
es3aTextureMipmapTests.cpp 249 int texWidth = refTexture.getWidth();
251 int defViewportWidth = texWidth*4;
355 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
356 const int worstScoreDiff = texWidth*texHeight;
518 int texWidth = m_texture->getRefTexture().getSize();
521 int defViewportWidth = texWidth*2;
618 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
619 const int worstScoreDiff = texWidth*texHeight;
  /external/mesa3d/src/mesa/swrast/
s_aaline.c 70 GLfloat texWidth[VARYING_SLOT_MAX];
  /external/deqp/modules/gles2/functional/
es2fTextureMipmapTests.cpp 256 const int texWidth = refTexture.getWidth();
258 const int defViewportWidth = texWidth*4;
585 const int texWidth = m_texture->getRefTexture().getSize();
587 const int defViewportWidth = texWidth*2;
    [all...]
es2fTextureUnitTests.cpp 643 const int texWidth = is2d ? TEXTURE_WIDTH_2D : TEXTURE_WIDTH_CUBE;
645 bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight));
646 int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1;
675 m_textures2d.push_back(new tcu::Texture2D(glu::mapGLTransferFormat(params.format, params.dataType), texWidth, texHeight));
680 DE_ASSERT(texWidth == texHeight);
681 m_texturesCube.push_back(new tcu::TextureCube(glu::mapGLTransferFormat(params.format, params.dataType), texWidth));
    [all...]
es2fFboRenderTest.cpp     [all...]
es2fVertexTextureTests.cpp 481 const int texWidth = 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 2);
487 m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight);
490 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight));
491 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1;
784 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2);
787 DE_ASSERT(texWidth == texHeight);
793 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth);
796 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE;
797 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1;
    [all...]
  /external/deqp/modules/gles3/functional/
es3fTextureMipmapTests.cpp 300 const int texWidth = refTexture.getWidth();
302 const int defViewportWidth = texWidth*4;
624 const int texWidth = m_texture->getRefTexture().getSize();
626 const int defViewportWidth = texWidth*2;
    [all...]
es3fTextureUnitTests.cpp 821 const int texWidth = is2dTex ? TEXTURE_WIDTH_2D : isCubeTex ? TEXTURE_WIDTH_CUBE : is2dArrayTex ? TEXTURE_WIDTH_2D_ARRAY : TEXTURE_WIDTH_3D;
827 bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight) && deIsPowerOfTwo32(texDepth));
828 int numLevels = mipmaps ? deLog2Floor32(de::max(de::max(texWidth, texHeight), texDepth))+1 : 1;
859 m_textures2d.push_back(new tcu::Texture2D(texFormat, texWidth, texHeight));
864 DE_ASSERT(texWidth == texHeight);
865 m_texturesCube.push_back(new tcu::TextureCube(texFormat, texWidth));
870 m_textures2dArray.push_back(new tcu::Texture2DArray(texFormat, texWidth, texHeight, texLayers));
875 m_textures3d.push_back(new tcu::Texture3D(texFormat, texWidth, texHeight, texDepth));
    [all...]
es3fVertexTextureTests.cpp 581 const int texWidth = 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 2);
587 m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight);
590 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight));
591 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1;
887 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2);
890 DE_ASSERT(texWidth == texHeight);
896 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth);
899 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE;
900 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1;
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
SurfaceTextureRenderer.java 266 float texWidth = dimens.getWidth();
269 if (texWidth <= 0 || texHeight <= 0) {
274 RectF intermediate = new RectF(/*left*/0, /*top*/0, /*right*/texWidth, /*bottom*/texHeight);
293 width + "x" + height + " surface, intermediate buffer size is " + texWidth +
    [all...]

Completed in 744 milliseconds

1 2