HomeSort by relevance Sort by last modified time
    Searched refs:textureHeight (Results 1 - 11 of 11) sorted by null

  /external/chromium_org/third_party/angle/tests/angle_tests/
MaxTextureSizeTest.cpp 101 GLsizei textureHeight = 64;
103 std::vector<GLubyte> data(textureWidth * textureHeight * 4);
104 for (int y = 0; y < textureHeight; y++)
112 pixel[1] = static_cast<GLubyte>((float(y) / textureHeight) * 255);
118 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureWidth, textureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, data.data());
161 GLsizei textureHeight = mMaxTexture2DSize;
163 std::vector<GLubyte> data(textureWidth * textureHeight * 4);
164 for (int y = 0; y < textureHeight; y++)
172 pixel[1] = static_cast<GLubyte>((float(y) / textureHeight) * 255);
180 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_RGBA8_OES, textureWidth, textureHeight);
    [all...]
IncompleteTextureTest.cpp 90 const GLsizei textureHeight = 2;
91 std::vector<GLubyte> textureData(textureWidth * textureHeight * 4);
94 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureWidth, textureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, textureData.data());
105 glTexImage2D(GL_TEXTURE_2D, 1, GL_RGBA, textureWidth >> 1, textureHeight >> 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, textureData.data());
  /packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java 72 int textureHeight = sIconTextureHeight;
75 if (sourceWidth > textureWidth && sourceHeight > textureHeight) {
79 (sourceHeight - textureHeight) / 2,
80 textureWidth, textureHeight);
81 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) {
136 int textureHeight = sIconTextureHeight;
138 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight,
144 final int top = (textureHeight-height) / 2;
  /packages/apps/Launcher3/src/com/android/launcher3/
Utilities.java 119 int textureHeight = sIconTextureHeight;
122 if (sourceWidth > textureWidth && sourceHeight > textureHeight) {
126 (sourceHeight - textureHeight) / 2,
127 textureWidth, textureHeight);
128 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) {
176 int textureHeight = sIconTextureHeight;
178 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight,
184 final int top = (textureHeight-height) / 2;
  /external/chromium_org/third_party/skia/src/gpu/
GrAtlas.cpp 161 int textureHeight = fBackingTextureSize.height();
164 int plotHeight = textureHeight / fNumPlotsY;
167 SkASSERT(plotHeight * fNumPlotsY == textureHeight);
  /external/skia/src/gpu/
GrAtlas.cpp 161 int textureHeight = fBackingTextureSize.height();
164 int plotHeight = textureHeight / fNumPlotsY;
167 SkASSERT(plotHeight * fNumPlotsY == textureHeight);
  /frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java 143 int textureHeight = mIconTextureHeight;
145 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight,
151 final int top = (textureHeight-height) / 2;
  /external/deqp/modules/glshared/
glsStateChangePerfTestCases.cpp 336 const int textureHeight = 64;
344 genTextureData(textureData, textureWidth, textureHeight);
346 DE_ASSERT(textureData.size() == textureWidth * textureHeight * 4);
358 gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureWidth, textureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, &(textureData[0]));
  /external/deqp/modules/egl/
teglGLES2SharedRenderingPerfTests.cpp 93 int textureHeight;
280 for (int y = 0; y < config.textureHeight; y++)
1035 log << TestLog::Message << "Texture size: " << config.textureWidth << "x" << config.textureHeight << TestLog::EndMessage;
1124 basicConfig.textureHeight = 128;
    [all...]
  /external/chromium_org/third_party/webrtc/modules/video_render/windows/
video_render_direct3d9.cc 618 DWORD textureWidth, textureHeight;
637 textureHeight = channelObj->GetTextureHeight();
    [all...]
  /external/deqp/modules/gles3/functional/
es3fASTCDecompressionCases.cpp     [all...]

Completed in 270 milliseconds