HomeSort by relevance Sort by last modified time
    Searched refs:texWidth (Results 1 - 25 of 38) sorted by null

1 2

  /frameworks/native/libs/gui/tests/
SurfaceTextureFBO_test.cpp 27 const int texWidth = 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 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);
324 enum { texWidth = 64 };
331 native_window_set_buffers_user_dimensions(mANW.get(), texWidth, texHeight)
    [all...]
SurfaceTextureGL_test.cpp 28 const int texWidth = 64;
32 texWidth, texHeight, HAL_PIXEL_FORMAT_YV12));
46 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
56 glViewport(0, 0, texWidth, texHeight);
74 const int texWidth = 64;
78 texWidth, texHeight, HAL_PIXEL_FORMAT_YV12));
92 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
102 glViewport(0, 0, texWidth, texHeight);
120 const int texWidth = 64;
124 texWidth, texHeight, HAL_PIXEL_FORMAT_YV12))
    [all...]
  /cts/suite/cts/deviceTests/opengl/jni/graphics/
GLUtils.h 43 static GLuint genTexture(int texWidth, int texHeight, int fill);
GLUtils.cpp 210 GLuint GLUtils::genTexture(int texWidth, int texHeight, int fill) {
212 int w = roundUpToSmallestPowerOf2(texWidth);
  /external/chromium_org/third_party/angle/src/libEGL/
Config.h 29 Config(rx::ConfigDesc desc, EGLint minSwapInterval, EGLint maxSwapInterval, EGLint texWidth, EGLint texHeight);
99 void add(rx::ConfigDesc desc, EGLint minSwapInterval, EGLint maxSwapInterval, EGLint texWidth, EGLint texHeight);
Config.cpp 28 Config::Config(rx::ConfigDesc desc, EGLint minInterval, EGLint maxInterval, EGLint texWidth, EGLint texHeight)
119 mMaxPBufferWidth = texWidth;
121 mMaxPBufferPixels = texWidth*texHeight;
249 void ConfigSet::add(rx::ConfigDesc desc, EGLint minSwapInterval, EGLint maxSwapInterval, EGLint texWidth, EGLint texHeight)
251 Config config(desc, minSwapInterval, maxSwapInterval, texWidth, texHeight);
  /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 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);
  /external/chromium_org/third_party/skia/samplecode/
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);
  /external/skia/samplecode/
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);
  /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/MediaEffectsSample/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/MediaEffectsSample/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;
  /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...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
SurfaceTextureRenderer.java 226 float texWidth = dimens.getWidth();
229 if (texWidth <= 0 || texHeight <= 0) {
234 RectF intermediate = new RectF(/*left*/0, /*top*/0, /*right*/texWidth, /*bottom*/texHeight);
251 width + "x" + height + " surface, intermediate buffer size is " + texWidth +
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_aalinetemp.h 81 line->texWidth[attr], line->texHeight[attr]);
183 line.texWidth[attr] = (GLfloat) texImage->Width;
  /external/mesa3d/src/mesa/swrast/
s_aalinetemp.h 81 line->texWidth[attr], line->texHeight[attr]);
183 line.texWidth[attr] = (GLfloat) texImage->Width;

Completed in 1304 milliseconds

1 2