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

  /frameworks/native/libs/gui/tests/
SurfaceTextureFBO_test.cpp 27 const int texWidth = 64;
31 texWidth, texHeight));
47 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 0, 255,
71 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 255, 0,
SurfaceTextureGLToGL_test.cpp 25 const uint32_t texWidth = 32;
28 mST->setDefaultBufferSize(texWidth, texHeight);
55 ASSERT_EQ(texWidth, buf->getHeight());
58 ASSERT_EQ(texWidth, buf->getWidth());
73 ASSERT_EQ(texWidth, buf->getWidth());
78 const int texWidth = 64;
81 mST->setDefaultBufferSize(texWidth, texHeight);
126 glViewport(0, 0, texWidth, texHeight);
329 enum { texWidth = 64 };
336 native_window_set_buffers_user_dimensions(mANW.get(), texWidth, texHeight)
    [all...]
SurfaceTextureGL_test.cpp 28 const int texWidth = 64;
32 texWidth, texHeight));
48 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
58 glViewport(0, 0, texWidth, texHeight);
76 const int texWidth = 64;
80 texWidth, texHeight));
96 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
106 glViewport(0, 0, texWidth, texHeight);
124 const int texWidth = 64;
128 texWidth, texHeight))
    [all...]
  /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);
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 219 int texWidth = getTextureWidth();
222 Assert.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 Assert.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 426 int texWidth = texture.getTextureWidth();
429 source.left /= texWidth;
430 source.right /= texWidth;
435 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...]
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 220 int texWidth = getTextureWidth();
223 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight);
229 if (bWidth == texWidth && bHeight == texHeight) {
245 line = getBorderLine(false, config, texWidth);
250 if (mBorder + bWidth < texWidth) {
257 Bitmap line = getBorderLine(false, config, texWidth);
GLES20Canvas.java 644 int texWidth = texture.getTextureWidth();
647 source.left /= texWidth;
648 source.right /= texWidth;
653 float xBound = (float) width / texWidth;
    [all...]
  /external/deqp/modules/gles2/accuracy/
es2aTextureMipmapTests.cpp 256 int texWidth = refTexture.getWidth();
258 int defViewportWidth = texWidth*4;
361 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
362 const int worstScoreDiff = texWidth*texHeight;
529 int texWidth = m_texture->getRefTexture().getSize();
532 int defViewportWidth = texWidth*2;
628 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
629 const int worstScoreDiff = texWidth*texHeight;
  /external/deqp/modules/gles3/accuracy/
es3aTextureMipmapTests.cpp 248 int texWidth = refTexture.getWidth();
250 int defViewportWidth = texWidth*4;
354 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
355 const int worstScoreDiff = texWidth*texHeight;
517 int texWidth = m_texture->getRefTexture().getSize();
520 int defViewportWidth = texWidth*2;
617 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
618 const int worstScoreDiff = texWidth*texHeight;
  /external/mesa3d/src/mesa/swrast/
s_aaline.c 68 GLfloat texWidth[FRAG_ATTRIB_MAX];
  /external/deqp/modules/gles2/functional/
es2fTextureMipmapTests.cpp 255 const int texWidth = refTexture.getWidth();
257 const int defViewportWidth = texWidth*4;
584 const int texWidth = m_texture->getRefTexture().getSize();
586 const int defViewportWidth = texWidth*2;
    [all...]
es2fTextureUnitTests.cpp 642 const int texWidth = is2d ? TEXTURE_WIDTH_2D : TEXTURE_WIDTH_CUBE;
644 bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight));
645 int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1;
674 m_textures2d.push_back(new tcu::Texture2D(glu::mapGLTransferFormat(params.format, params.dataType), texWidth, texHeight));
679 DE_ASSERT(texWidth == texHeight);
680 m_texturesCube.push_back(new tcu::TextureCube(glu::mapGLTransferFormat(params.format, params.dataType), texWidth));
    [all...]
es2fFboRenderTest.cpp     [all...]
es2fVertexTextureTests.cpp 478 const int texWidth = 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 2);
484 m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight);
487 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight));
488 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1;
781 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2);
784 DE_ASSERT(texWidth == texHeight);
790 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth);
793 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE;
794 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1;
    [all...]
  /external/deqp/modules/gles3/functional/
es3fTextureMipmapTests.cpp 299 const int texWidth = refTexture.getWidth();
301 const int defViewportWidth = texWidth*4;
623 const int texWidth = m_texture->getRefTexture().getSize();
625 const int defViewportWidth = texWidth*2;
    [all...]
es3fTextureUnitTests.cpp 820 const int texWidth = is2dTex ? TEXTURE_WIDTH_2D : isCubeTex ? TEXTURE_WIDTH_CUBE : is2dArrayTex ? TEXTURE_WIDTH_2D_ARRAY : TEXTURE_WIDTH_3D;
826 bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight) && deIsPowerOfTwo32(texDepth));
827 int numLevels = mipmaps ? deLog2Floor32(de::max(de::max(texWidth, texHeight), texDepth))+1 : 1;
858 m_textures2d.push_back(new tcu::Texture2D(texFormat, texWidth, texHeight));
863 DE_ASSERT(texWidth == texHeight);
864 m_texturesCube.push_back(new tcu::TextureCube(texFormat, texWidth));
869 m_textures2dArray.push_back(new tcu::Texture2DArray(texFormat, texWidth, texHeight, texLayers));
874 m_textures3d.push_back(new tcu::Texture3D(texFormat, texWidth, texHeight, texDepth));
    [all...]
es3fVertexTextureTests.cpp 579 const int texWidth = 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 2);
585 m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight);
588 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight));
589 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1;
885 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2);
888 DE_ASSERT(texWidth == texHeight);
894 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth);
897 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE;
898 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1;
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
SurfaceTextureRenderer.java 265 float texWidth = dimens.getWidth();
268 if (texWidth <= 0 || texHeight <= 0) {
273 RectF intermediate = new RectF(/*left*/0, /*top*/0, /*right*/texWidth, /*bottom*/texHeight);
292 width + "x" + height + " surface, intermediate buffer size is " + texWidth +
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
CameraStreamer.java 609 int texWidth = mCameraWidth / 4;
613 clientTex.allocateWithPixels(pixels, texWidth, texHeight);
    [all...]

Completed in 411 milliseconds