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

  /frameworks/native/libs/gui/tests/
SurfaceTextureFBO_test.cpp 28 const int texHeight = 64;
31 texWidth, texHeight, HAL_PIXEL_FORMAT_RGBA_8888));
45 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 0, 255,
69 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 255, 0,
SurfaceTextureGLToGL_test.cpp 26 const uint32_t texHeight = 64;
28 mST->setDefaultBufferSize(texWidth, texHeight);
56 ASSERT_EQ(texHeight, buf->getWidth());
59 ASSERT_EQ(texHeight, buf->getHeight());
74 ASSERT_EQ(texHeight, buf->getHeight());
79 const int texHeight = 64;
81 mST->setDefaultBufferSize(texWidth, texHeight);
126 glViewport(0, 0, texWidth, texHeight);
325 enum { texHeight = 64 };
331 native_window_set_buffers_user_dimensions(mANW.get(), texWidth, texHeight);
    [all...]
SurfaceTextureGL_test.cpp 29 const int texHeight = 66;
32 texWidth, texHeight, HAL_PIXEL_FORMAT_YV12));
46 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
56 glViewport(0, 0, texWidth, texHeight);
75 const int texHeight = 64;
78 texWidth, texHeight, HAL_PIXEL_FORMAT_YV12));
92 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
102 glViewport(0, 0, texWidth, texHeight);
121 const int texHeight = 66;
124 texWidth, texHeight, HAL_PIXEL_FORMAT_YV12))
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
ResourceModifier.java 57 int texHeight = bitmap.getHeight();
68 matrix.setTranslate(texWidth / 2.0f, texHeight / 2.0f);
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 220 int texHeight = getTextureHeight();
222 Assert.assertTrue(bWidth <= texWidth && bHeight <= texHeight);
228 if (bWidth == texWidth && bHeight == texHeight) {
240 Bitmap line = getBorderLine(true, config, texHeight);
250 Bitmap line = getBorderLine(true, config, texHeight);
255 if (mBorder + bHeight < texHeight) {
GLES20Canvas.java 647 int texHeight = texture.getTextureHeight();
651 source.top /= texHeight;
652 source.bottom /= texHeight;
660 float yBound = (float) height / texHeight;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 220 int texHeight = getTextureHeight();
222 Assert.assertTrue(bWidth <= texWidth && bHeight <= texHeight);
228 if (bWidth == texWidth && bHeight == texHeight) {
240 Bitmap line = getBorderLine(true, config, texHeight);
250 Bitmap line = getBorderLine(true, config, texHeight);
255 if (mBorder + bHeight < texHeight) {
GLES11Canvas.java 427 int texHeight = texture.getTextureHeight();
431 source.top /= texHeight;
432 source.bottom /= texHeight;
441 float yBound = (float) height / texHeight;
    [all...]
GLES20Canvas.java 647 int texHeight = texture.getTextureHeight();
651 source.top /= texHeight;
652 source.bottom /= texHeight;
660 float yBound = (float) height / texHeight;
    [all...]
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 220 int texHeight = getTextureHeight();
222 Assert.assertTrue(bWidth <= texWidth && bHeight <= texHeight);
228 if (bWidth == texWidth && bHeight == texHeight) {
240 Bitmap line = getBorderLine(true, config, texHeight);
250 Bitmap line = getBorderLine(true, config, texHeight);
255 if (mBorder + bHeight < texHeight) {
GLES20Canvas.java 647 int texHeight = texture.getTextureHeight();
651 source.top /= texHeight;
652 source.bottom /= texHeight;
660 float yBound = (float) height / texHeight;
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_aaline.c 69 GLfloat texHeight[FRAG_ATTRIB_MAX];
  /external/deqp/modules/gles2/accuracy/
es2aTextureMipmapTests.cpp 257 int texHeight = refTexture.getHeight();
259 int defViewportHeight = texHeight*4;
361 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
362 const int worstScoreDiff = texWidth*texHeight;
530 int texHeight = m_texture->getRefTexture().getSize();
533 int defViewportHeight = texHeight*2;
628 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
629 const int worstScoreDiff = texWidth*texHeight;
  /external/deqp/modules/gles3/accuracy/
es3aTextureMipmapTests.cpp 249 int texHeight = refTexture.getHeight();
251 int defViewportHeight = texHeight*4;
354 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
355 const int worstScoreDiff = texWidth*texHeight;
518 int texHeight = m_texture->getRefTexture().getSize();
521 int defViewportHeight = texHeight*2;
617 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
618 const int worstScoreDiff = texWidth*texHeight;
  /external/mesa3d/src/mesa/swrast/
s_aaline.c 69 GLfloat texHeight[FRAG_ATTRIB_MAX];
  /external/deqp/modules/gles2/functional/
es2fTextureMipmapTests.cpp 256 const int texHeight = refTexture.getHeight();
258 const int defViewportHeight = texHeight*4;
585 const int texHeight = m_texture->getRefTexture().getSize();
587 const int defViewportHeight = texHeight*2;
    [all...]
es2fTextureUnitTests.cpp 643 const int texHeight = is2d ? TEXTURE_HEIGHT_2D : TEXTURE_HEIGHT_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);
    [all...]
es2fFboRenderTest.cpp     [all...]
es2fVertexTextureTests.cpp 479 const int texHeight = 1 << deLog2Ceil32(MAX_2D_RENDER_HEIGHT / 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;
782 const int texHeight = 1 << deLog2Ceil32(MAX_CUBE_RENDER_HEIGHT / 2 / 2);
784 DE_ASSERT(texWidth == texHeight);
785 DE_UNREF(texHeight);
    [all...]
  /external/deqp/modules/gles3/functional/
es3fTextureMipmapTests.cpp 302 const int texHeight = refTexture.getHeight();
304 const int defViewportHeight = texHeight*4;
626 const int texHeight = m_texture->getRefTexture().getSize();
628 const int defViewportHeight = texHeight*2;
    [all...]
es3fTextureUnitTests.cpp 821 const int texHeight = is2dTex ? TEXTURE_HEIGHT_2D : isCubeTex ? TEXTURE_HEIGHT_CUBE : is2dArrayTex ? TEXTURE_HEIGHT_2D_ARRAY : TEXTURE_HEIGHT_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);
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 580 const int texHeight = 1 << deLog2Ceil32(MAX_2D_RENDER_HEIGHT / 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;
886 const int texHeight = 1 << deLog2Ceil32(MAX_CUBE_RENDER_HEIGHT / 2 / 2);
888 DE_ASSERT(texWidth == texHeight);
889 DE_UNREF(texHeight);
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
SurfaceTextureRenderer.java 227 float texHeight = dimens.getHeight();
229 if (texWidth <= 0 || texHeight <= 0) {
234 RectF intermediate = new RectF(/*left*/0, /*top*/0, /*right*/texWidth, /*bottom*/texHeight);
252 "x" + texHeight);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
CameraStreamer.java 610 int texHeight = mCameraHeight + mCameraHeight / 2;
613 clientTex.allocateWithPixels(pixels, texWidth, texHeight);
    [all...]

Completed in 1992 milliseconds