Home
last modified time | relevance | path

Searched refs:maxTextureSize (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/
DFontRenderer.cpp79 uint32_t maxTextureSize = (uint32_t) Caches::getInstance().maxTextureSize; in FontRenderer() local
80 mSmallCacheWidth = mSmallCacheWidth > maxTextureSize ? maxTextureSize : mSmallCacheWidth; in FontRenderer()
81 mSmallCacheHeight = mSmallCacheHeight > maxTextureSize ? maxTextureSize : mSmallCacheHeight; in FontRenderer()
82 mLargeCacheWidth = mLargeCacheWidth > maxTextureSize ? maxTextureSize : mLargeCacheWidth; in FontRenderer()
83 mLargeCacheHeight = mLargeCacheHeight > maxTextureSize ? maxTextureSize : mLargeCacheHeight; in FontRenderer()
DShapeCache.h446 GLint maxTextureSize; in init() local
447 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in init()
448 mMaxTextureSize = maxTextureSize; in init()
DCaches.h246 GLint maxTextureSize; variable
DLayerRenderer.cpp361 if (layer && bitmap->width() <= caches.maxTextureSize && in copyLayer()
362 bitmap->height() <= caches.maxTextureSize) { in copyLayer()
DCaches.cpp126 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in initConstraints()
DOpenGLRenderer.cpp723 if (bounds.isEmpty() || bounds.getWidth() > mCaches.maxTextureSize || in createLayer()
724 bounds.getHeight() > mCaches.maxTextureSize || in createLayer()
/frameworks/native/libs/gui/tests/
DSurfaceTexture_test.cpp1347 GLint maxTextureSize; in TEST_F() local
1348 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in TEST_F()
1360 mST->setDefaultBufferSize(maxTextureSize, texHeight); in TEST_F()
1363 EXPECT_EQ(maxTextureSize, anb->width); in TEST_F()
1369 mST->setDefaultBufferSize(maxTextureSize+1, texHeight); in TEST_F()
1372 EXPECT_EQ(maxTextureSize+1, anb->width); in TEST_F()
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp195 return Caches::getInstance().maxTextureSize; in android_view_GLES20Canvas_getMaxTextureWidth()
199 return Caches::getInstance().maxTextureSize; in android_view_GLES20Canvas_getMaxTextureHeight()