/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...] |
/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) { 214 int w = roundUpToSmallestPowerOf2(texWidth);
|
/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);
|
/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);
|
/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);
|
/external/skia/samplecode/ |
PerlinPatch.cpp | 59 const SkScalar TexWidth = 100.0f; 136 SkScalar texWidth = fTexScale * TexWidth; 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) { 161 const SkScalar tx = SkIntToScalar(texWidth); 190 void make_strip(Rec* rec, int texWidth, int texHeight) { 191 const SkScalar tx = SkIntToScalar(texWidth);
|
SampleSlides.cpp | 361 static void make_fan(Rec* rec, int texWidth, int texHeight) { 362 const SkScalar tx = SkIntToScalar(texWidth); 391 static void make_strip(Rec* rec, int texWidth, int texHeight) { 392 const SkScalar tx = SkIntToScalar(texWidth);
|
/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);
|
/developers/build/prebuilts/gradle/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/ |
TextureRenderer.java | 93 public void updateTextureSize(int texWidth, int texHeight) { 94 mTexWidth = texWidth;
|
/developers/samples/android/media/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/ |
TextureRenderer.java | 93 public void updateTextureSize(int texWidth, int texHeight) { 94 mTexWidth = texWidth;
|
/development/samples/HelloEffects/src/com/example/android/mediafx/ |
TextureRenderer.java | 93 public void updateTextureSize(int texWidth, int texHeight) { 94 mTexWidth = texWidth;
|
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/ |
TextureRenderer.java | 93 public void updateTextureSize(int texWidth, int texHeight) { 94 mTexWidth = texWidth;
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/ktx/ |
KTXProcessor.java | 137 int texWidth = -1, texHeight = -1, texFormat = -1, nLevels = 0;
158 texWidth = ktx.getWidth();
163 texWidth = etc1.width;
168 texWidth = facePixmap.getWidth();
172 if (!MathUtils.isPowerOfTwo(texWidth) || !MathUtils.isPowerOfTwo(texHeight))
175 nLevels = Math.max(Integer.SIZE - Integer.numberOfLeadingZeros(texWidth),
183 int levelWidth = Math.max(1, texWidth >> level);
314 out.writeInt(texWidth);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
TextureRegion.java | 90 int texWidth = texture.getWidth(), texHeight = texture.getHeight();
91 regionWidth = Math.round(Math.abs(u2 - u) * texWidth);
96 float adjustX = 0.25f / texWidth;
|
/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/deqp/modules/gles3/functional/ |
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...] |
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...] |
/external/deqp/modules/gles2/functional/ |
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...] |
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...] |
/external/mesa3d/src/mesa/swrast/ |
s_aalinetemp.h | 81 line->texWidth[attr], line->texHeight[attr]); 183 line.texWidth[attr] = (GLfloat) texImage->Width;
|