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

1 2

  /frameworks/native/libs/gui/tests/
SurfaceTextureFBO_test.cpp 28 const int texHeight = 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 26 const uint32_t texHeight = 64;
28 mST->setDefaultBufferSize(texWidth, texHeight);
59 ASSERT_EQ(texHeight, buf->getWidth());
62 ASSERT_EQ(texHeight, buf->getHeight());
77 ASSERT_EQ(texHeight, buf->getHeight());
82 const int texHeight = 64;
84 mST->setDefaultBufferSize(texWidth, texHeight);
132 glViewport(0, 0, texWidth, texHeight);
340 enum { texHeight = 64 };
349 native_window_set_buffers_user_dimensions(mANW.get(), texWidth, texHeight);
    [all...]
SurfaceTextureGL_test.cpp 29 const int texHeight = 66;
34 texWidth, texHeight));
50 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
60 glViewport(0, 0, texWidth, texHeight);
79 const int texHeight = 64;
84 texWidth, texHeight));
100 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
110 glViewport(0, 0, texWidth, texHeight);
129 const int texHeight = 66;
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 57 int texHeight = bitmap.getHeight();
68 matrix.setTranslate(texWidth / 2.0f, texHeight / 2.0f);
  /external/skia/samplecode/
PerlinPatch.cpp 60 const SkScalar TexHeight = 100.0f;
143 SkScalar texHeight = fTexScale * TexHeight;
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 60 const SkScalar TexHeight = 100.0f;
143 SkScalar texHeight = fTexScale * TexHeight;
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 145 int texHeight = getTextureHeight();
147 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight);
153 if (bWidth == texWidth && bHeight == texHeight) {
165 Bitmap line = getBorderLine(true, config, texHeight);
170 if (bHeight < texHeight) {
GLES20Canvas.java 381 int texHeight = texture.getTextureHeight();
385 source.top /= texHeight;
386 source.bottom /= texHeight;
394 float yBound = (float) height / texHeight;
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 220 int texHeight = getTextureHeight();
222 Utils.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 Utils.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 425 int texHeight = texture.getTextureHeight();
429 source.top /= texHeight;
430 source.bottom /= texHeight;
439 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...]
  /external/deqp/modules/gles2/accuracy/
es2aTextureMipmapTests.cpp 259 int texHeight = refTexture.getHeight();
261 int defViewportHeight = texHeight*4;
363 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
364 const int worstScoreDiff = texWidth*texHeight;
532 int texHeight = m_texture->getRefTexture().getSize();
535 int defViewportHeight = texHeight*2;
630 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
631 const int worstScoreDiff = texWidth*texHeight;
  /external/deqp/modules/gles3/accuracy/
es3aTextureMipmapTests.cpp 250 int texHeight = refTexture.getHeight();
252 int defViewportHeight = texHeight*4;
355 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
356 const int worstScoreDiff = texWidth*texHeight;
519 int texHeight = m_texture->getRefTexture().getSize();
522 int defViewportHeight = texHeight*2;
618 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
619 const int worstScoreDiff = texWidth*texHeight;
  /external/mesa3d/src/mesa/swrast/
s_aaline.c 71 GLfloat texHeight[VARYING_SLOT_MAX];
  /external/deqp/modules/gles2/functional/
es2fTextureMipmapTests.cpp 257 const int texHeight = refTexture.getHeight();
259 const int defViewportHeight = texHeight*4;
586 const int texHeight = m_texture->getRefTexture().getSize();
588 const int defViewportHeight = texHeight*2;
    [all...]
es2fTextureUnitTests.cpp 644 const int texHeight = is2d ? TEXTURE_HEIGHT_2D : TEXTURE_HEIGHT_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);
    [all...]
es2fFboRenderTest.cpp     [all...]
es2fVertexTextureTests.cpp 482 const int texHeight = 1 << deLog2Ceil32(MAX_2D_RENDER_HEIGHT / 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;
785 const int texHeight = 1 << deLog2Ceil32(MAX_CUBE_RENDER_HEIGHT / 2 / 2);
787 DE_ASSERT(texWidth == texHeight);
788 DE_UNREF(texHeight);
    [all...]
  /external/deqp/modules/gles3/functional/
es3fTextureMipmapTests.cpp 301 const int texHeight = refTexture.getHeight();
303 const int defViewportHeight = texHeight*4;
625 const int texHeight = m_texture->getRefTexture().getSize();
627 const int defViewportHeight = texHeight*2;
    [all...]
es3fTextureUnitTests.cpp 822 const int texHeight = is2dTex ? TEXTURE_HEIGHT_2D : isCubeTex ? TEXTURE_HEIGHT_CUBE : is2dArrayTex ? TEXTURE_HEIGHT_2D_ARRAY : TEXTURE_HEIGHT_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);
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 582 const int texHeight = 1 << deLog2Ceil32(MAX_2D_RENDER_HEIGHT / 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;
888 const int texHeight = 1 << deLog2Ceil32(MAX_CUBE_RENDER_HEIGHT / 2 / 2);
890 DE_ASSERT(texWidth == texHeight);
891 DE_UNREF(texHeight);
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
SurfaceTextureRenderer.java 267 float texHeight = dimens.getHeight();
269 if (texWidth <= 0 || texHeight <= 0) {
274 RectF intermediate = new RectF(/*left*/0, /*top*/0, /*right*/texWidth, /*bottom*/texHeight);
294 "x" + texHeight);
    [all...]

Completed in 3540 milliseconds

1 2