/frameworks/native/libs/gui/tests/ |
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...] |
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...] |
/cts/tests/openglperf2/jni/graphics/ |
GLUtils.h | 43 static GLuint genTexture(int texWidth, int texHeight, int fill);
|
GLUtils.cpp | 212 GLuint GLUtils::genTexture(int texWidth, int texHeight, int fill) { 215 int h = roundUpToSmallestPowerOf2(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 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) {
|
/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) {
|
/external/skia/samplecode/ |
PerlinPatch.cpp | 60 const SkScalar TexHeight = 100.0f; 137 SkScalar texHeight = fTexScale * TexHeight; 139 { fTexX - texWidth, fTexY - texHeight}, 140 { fTexX + texWidth, fTexY - texHeight}, 141 { fTexX + texWidth, fTexY + texHeight}, 142 { fTexX - texWidth, fTexY + texHeight}}
|
SampleVertices.cpp | 160 void make_fan(Rec* rec, int texWidth, int texHeight) { 162 const SkScalar ty = SkIntToScalar(texHeight); 190 void make_strip(Rec* rec, int texWidth, int texHeight) { 192 const SkScalar ty = SkIntToScalar(texHeight);
|
SampleSlides.cpp | 361 static void make_fan(Rec* rec, int texWidth, int texHeight) { 363 const SkScalar ty = SkIntToScalar(texHeight); 391 static void make_strip(Rec* rec, int texWidth, int texHeight) { 393 const SkScalar ty = SkIntToScalar(texHeight);
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/ktx/ |
KTXProcessor.java | 137 int texWidth = -1, texHeight = -1, texFormat = -1, nLevels = 0;
159 texHeight = ktx.getHeight();
164 texHeight = etc1.height;
169 texHeight = facePixmap.getHeight();
172 if (!MathUtils.isPowerOfTwo(texWidth) || !MathUtils.isPowerOfTwo(texHeight))
176 Integer.SIZE - Integer.numberOfLeadingZeros(texHeight));
184 int levelHeight = Math.max(1, texHeight >> level);
315 out.writeInt(isAlphaAtlas ? (2 * texHeight) : 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);
|
/developers/build/prebuilts/gradle/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/ |
TextureRenderer.java | 93 public void updateTextureSize(int texWidth, int texHeight) { 95 mTexHeight = texHeight;
|
/developers/samples/android/media/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/ |
TextureRenderer.java | 93 public void updateTextureSize(int texWidth, int texHeight) { 95 mTexHeight = texHeight;
|
/development/samples/HelloEffects/src/com/example/android/mediafx/ |
TextureRenderer.java | 93 public void updateTextureSize(int texWidth, int texHeight) { 95 mTexHeight = texHeight;
|
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/ |
TextureRenderer.java | 93 public void updateTextureSize(int texWidth, int texHeight) { 95 mTexHeight = texHeight;
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
TextureRegion.java | 90 int texWidth = texture.getWidth(), texHeight = texture.getHeight();
92 regionHeight = Math.round(Math.abs(v2 - v) * texHeight);
99 float adjustY = 0.25f / texHeight;
|
/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/deqp/modules/gles3/functional/ |
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...] |
/external/mesa3d/src/mesa/swrast/ |
s_aalinetemp.h | 81 line->texWidth[attr], line->texHeight[attr]); 184 line.texHeight[attr] = (GLfloat) texImage->Height;
|
/external/deqp/modules/gles2/functional/ |
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...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SurfaceTextureRenderer.java | 266 float texHeight = dimens.getHeight(); 268 if (texWidth <= 0 || texHeight <= 0) { 273 RectF intermediate = new RectF(/*left*/0, /*top*/0, /*right*/texWidth, /*bottom*/texHeight); 293 "x" + texHeight);
|