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

1 2

  /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);
  /packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 144 int texWidth = getTextureWidth();
147 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight);
153 if (bWidth == texWidth && bHeight == texHeight) {
164 if (bWidth < texWidth) {
171 Bitmap line = getBorderLine(false, config, texWidth);
  /frameworks/support/heifwriter/src/main/java/androidx/heifwriter/
EglRectBlt.java 74 public EglRectBlt(Texture2dProgram program, int texWidth, int texHeight) {
77 mTexWidth = texWidth;
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 219 int texWidth = getTextureWidth();
222 Utils.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 Utils.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/skia/samplecode/
PerlinPatch.cpp 59 const SkScalar TexWidth = 100.0f;
142 SkScalar texWidth = fTexScale * TexWidth;
145 { fTexX - texWidth, fTexY - texHeight},
146 { fTexX + texWidth, fTexY - texHeight},
147 { fTexX + texWidth, fTexY + texHeight},
148 { fTexX - texWidth, fTexY + texHeight}}
SampleVertices.cpp 147 void make_fan(Rec* rec, int texWidth, int texHeight) {
148 const SkScalar tx = SkIntToScalar(texWidth);
177 void make_strip(Rec* rec, int texWidth, int texHeight) {
178 const SkScalar tx = SkIntToScalar(texWidth);
SampleSlides.cpp 356 static void make_fan(Rec* rec, int texWidth, int texHeight) {
357 const SkScalar tx = SkIntToScalar(texWidth);
386 static void make_strip(Rec* rec, int texWidth, int texHeight) {
387 const SkScalar tx = SkIntToScalar(texWidth);
  /external/skqp/samplecode/
PerlinPatch.cpp 59 const SkScalar TexWidth = 100.0f;
142 SkScalar texWidth = fTexScale * TexWidth;
145 { fTexX - texWidth, fTexY - texHeight},
146 { fTexX + texWidth, fTexY - texHeight},
147 { fTexX + texWidth, fTexY + texHeight},
148 { fTexX - texWidth, fTexY + texHeight}}
SampleVertices.cpp 147 void make_fan(Rec* rec, int texWidth, int texHeight) {
148 const SkScalar tx = SkIntToScalar(texWidth);
177 void make_strip(Rec* rec, int texWidth, int texHeight) {
178 const SkScalar tx = SkIntToScalar(texWidth);
SampleSlides.cpp 356 static void make_fan(Rec* rec, int texWidth, int texHeight) {
357 const SkScalar tx = SkIntToScalar(texWidth);
386 static void make_strip(Rec* rec, int texWidth, int texHeight) {
387 const SkScalar tx = SkIntToScalar(texWidth);
  /external/mesa3d/src/mesa/main/
dlist.h 63 unsigned texWidth, texHeight;
  /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/deqp/modules/gles2/accuracy/
es2aTextureMipmapTests.cpp 258 int texWidth = refTexture.getWidth();
260 int defViewportWidth = texWidth*4;
363 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
364 const int worstScoreDiff = texWidth*texHeight;
531 int texWidth = m_texture->getRefTexture().getSize();
534 int defViewportWidth = texWidth*2;
630 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
631 const int worstScoreDiff = texWidth*texHeight;
  /external/deqp/modules/gles3/accuracy/
es3aTextureMipmapTests.cpp 249 int texWidth = refTexture.getWidth();
251 int defViewportWidth = texWidth*4;
355 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
356 const int worstScoreDiff = texWidth*texHeight;
518 int texWidth = m_texture->getRefTexture().getSize();
521 int defViewportWidth = texWidth*2;
618 const int bestScoreDiff = (texWidth/16)*(texHeight/16);
619 const int worstScoreDiff = texWidth*texHeight;
  /external/deqp/modules/gles3/functional/
es3fVertexTextureTests.cpp 581 const int texWidth = 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 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;
887 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2);
890 DE_ASSERT(texWidth == texHeight);
896 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth);
899 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE;
900 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1;
    [all...]
  /external/deqp/modules/gles2/functional/
es2fVertexTextureTests.cpp 481 const int texWidth = 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 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;
784 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2);
787 DE_ASSERT(texWidth == texHeight);
793 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth);
796 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE;
797 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1;
    [all...]

Completed in 1298 milliseconds

1 2