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

1 2

  /frameworks/base/libs/hwui/tests/unit/
RenderPropertiesTests.cpp 27 const int maxTextureSize = DeviceInfo::get()->maxTextureSize();
28 ASSERT_LE(2048, maxTextureSize);
29 ASSERT_GT(100000, maxTextureSize);
42 props.setLeftTopRightBottom(0, 0, maxTextureSize + 1, maxTextureSize + 1);
DeviceInfoTests.cpp 29 EXPECT_EQ(2048, di->maxTextureSize()) << "Max texture size didn't match";
  /frameworks/base/libs/hwui/
DeviceInfo.h 39 int maxTextureSize() const { return mMaxTextureSize; }
Layer.cpp 109 const uint32_t maxTextureSize = caches.maxTextureSize;
110 if (desiredWidth > maxTextureSize || desiredHeight > maxTextureSize) {
112 desiredWidth, desiredHeight, maxTextureSize, maxTextureSize);
Readback.cpp 43 if (destWidth > caches.maxTextureSize
44 || destHeight > caches.maxTextureSize) {
46 destWidth, destHeight, caches.maxTextureSize);
LayerRenderer.cpp 208 const uint32_t maxTextureSize = caches.maxTextureSize;
209 if (layer->getWidth() > maxTextureSize || layer->getHeight() > maxTextureSize) {
211 width, height, maxTextureSize, maxTextureSize);
357 && bitmap->width() <= caches.maxTextureSize
358 && bitmap->height() <= caches.maxTextureSize) {
Caches.h 141 GLint maxTextureSize;
FontRenderer.cpp 125 uint32_t maxTextureSize = (uint32_t) Caches::getInstance().maxTextureSize;
127 mSmallCacheWidth = std::min(mSmallCacheWidth, maxTextureSize);
128 mSmallCacheHeight = std::min(mSmallCacheHeight, maxTextureSize);
129 mLargeCacheWidth = std::min(mLargeCacheWidth, maxTextureSize);
130 mLargeCacheHeight = std::min(mLargeCacheHeight, maxTextureSize);
600 uint32_t maxSize = Caches::getInstance().maxTextureSize;
PathCache.cpp 188 GLint maxTextureSize;
189 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
190 mMaxTextureSize = maxTextureSize;
326 TaskProcessor<SkBitmap*>(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
  /external/deqp/modules/glshared/
glsMemoryStressCase.hpp 51 int maxTextureSize;
61 MemoryStressCase (tcu::TestContext& testCtx, glu::RenderContext& renderContext, deUint32 objectTypes, int minTextureSize, int maxTextureSize, int minBufferSize, int maxBufferSize, bool write, bool use, bool useDummyData, bool clearAfterOOM, const char* name, const char* desc);
glsMemoryStressCase.cpp 483 int dummySize = deMax32(m_config.maxBufferSize, m_config.maxTextureSize*m_config.maxTextureSize*4);
585 int width = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize);
586 int height = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize);
819 MemoryStressCase::MemoryStressCase (tcu::TestContext& ctx, glu::RenderContext& renderContext, deUint32 objectTypes, int minTextureSize, int maxTextureSize, int minBufferSize, int maxBufferSize, bool write, bool use, bool useDummyData, bool clearAfterOOM, const char* name, const char* desc)
829 m_config.maxTextureSize = maxTextureSize;
  /external/deqp/modules/gles2/functional/
es2fNegativeTextureApiTests.cpp 369 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1;
370 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, 0, 0, 0, 0);
372 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0);
374 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, maxTextureSize, 0, 0, 0);
386 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXTURE_SIZE) + 1;
387 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, 0, 0, 0, 0);
389 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0);
391 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, maxTextureSize, 0, 0, 0)
    [all...]
  /external/deqp/modules/gles31/functional/
es31fShaderTextureSizeTests.cpp 161 glw::GLint maxTextureSize = 0;
165 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
189 << "GL_MAX_TEXTURE_SIZE = " << maxTextureSize << "\n"
197 if (testSizes2D[ndx].x() <= maxTextureSize && testSizes2D[ndx].y() <= maxTextureSize)
199 const int w = (testSizes2D[ndx].x() < 0) ? (maxTextureSize) : (testSizes2D[ndx].x());
200 const int h = (testSizes2D[ndx].y() < 0) ? (maxTextureSize) : (testSizes2D[ndx].y());
210 if (testSizes3D[ndx].x() <= maxTextureSize && testSizes3D[ndx].y() <= maxTextureSize && testSizes3D[ndx].z() <= maxTextureLayers)
212 const int w = (testSizes3D[ndx].x() < 0) ? (maxTextureSize) : (testSizes3D[ndx].x())
    [all...]
es31fNegativeTextureApiTests.cpp 332 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1;
337 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, 1, 0, etc2EacDataSize(maxTextureSize, 1), 0);
339 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 1, maxTextureSize, 0, etc2EacDataSize(1, maxTextureSize), 0);
341 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, 0, etc2EacDataSize(maxTextureSize, maxTextureSize), 0);
    [all...]
  /external/skia/src/core/
SkPictureShader.cpp 159 const int maxTextureSize) const {
190 // Scale down the tile size if larger than maxTextureSize for GPU Path or it should fail on create texture
191 if (maxTextureSize) {
192 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) {
193 SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height());
320 int maxTextureSize = 0;
322 maxTextureSize = context->caps()->maxTextureSize();
324 SkAutoTUnref<SkShader> bitmapShader(this->refBitmapShader(viewM, localMatrix, maxTextureSize));
    [all...]
SkPictureShader.h 48 SkShader* refBitmapShader(const SkMatrix&, const SkMatrix* localMatrix, const int maxTextureSize = 0) const;
  /external/skia/src/effects/
SkGpuBlurUtils.cpp 33 static float adjust_sigma(float sigma, int maxTextureSize, int *scaleFactor, int *radius) {
38 if (*scaleFactor > maxTextureSize) {
39 *scaleFactor = maxTextureSize;
175 int maxTextureSize = context->caps()->maxTextureSize();
176 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX);
177 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY);
  /frameworks/native/libs/gui/tests/
SurfaceTextureGL_test.cpp 707 GLint maxTextureSize;
708 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
720 mST->setDefaultBufferSize(maxTextureSize, texHeight);
723 EXPECT_EQ(maxTextureSize, anb->width);
729 mST->setDefaultBufferSize(maxTextureSize+1, texHeight);
732 EXPECT_EQ(maxTextureSize+1, anb->width);
  /external/webrtc/webrtc/modules/video_render/android/
video_render_opengles20.cc 102 int maxTextureSize[2];
104 glGetIntegerv(GL_MAX_TEXTURE_SIZE, maxTextureSize);
108 (int) maxTextureImageUnits[0], (int) maxTextureSize[0]);
  /external/deqp/modules/gles3/functional/
es3fNegativeTextureApiTests.cpp 335 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1;
340 glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, 1, 0, etc2EacDataSize(maxTextureSize, 1), 0);
342 glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 1, maxTextureSize, 0, etc2EacDataSize(1, maxTextureSize), 0);
344 glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, 0, etc2EacDataSize(maxTextureSize, maxTextureSize), 0);
    [all...]
  /frameworks/base/core/jni/
android_view_DisplayListCanvas.cpp 123 return Caches::getInstance().maxTextureSize;
130 return Caches::getInstance().maxTextureSize;
  /external/skia/src/gpu/
GrGpu.cpp 117 int maxSize = this->caps()->maxTextureSize();
170 int maxSize = this->caps()->maxTextureSize();
206 int maxSize = this->caps()->maxTextureSize();
  /external/skia/include/gpu/
GrCaps.h 211 int maxTextureSize() const { return fMaxTextureSize; }
  /external/libgdx/extensions/gdx-freetype/src/com/badlogic/gdx/graphics/g2d/freetype/
FreeTypeFontGenerator.java 79 static private int maxTextureSize = 1024;
362 size = maxTextureSize;
367 if (maxTextureSize > 0) size = Math.min(size, maxTextureSize);
622 maxTextureSize = texSize;
628 return maxTextureSize;
  /external/deqp/modules/gles2/performance/
es2pTextureUploadTests.cpp 143 int maxTextureSize;
144 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
146 if (m_texSize > maxTextureSize)

Completed in 1414 milliseconds

1 2