Searched defs:maxTextureSize (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/
H A DLayer.cpp78 const uint32_t maxTextureSize = caches.maxTextureSize; local
79 if (desiredWidth > maxTextureSize || desiredHeight > maxTextureSize) {
81 desiredWidth, desiredHeight, maxTextureSize, maxTextureSize);
H A DLayerRenderer.cpp207 const uint32_t maxTextureSize = caches.maxTextureSize; local
208 if (layer->getWidth() > maxTextureSize || layer->getHeight() > maxTextureSize) {
210 width, height, maxTextureSize, maxTextureSize);
362 if (layer && bitmap->width() <= caches.maxTextureSize &&
363 bitmap->height() <= caches.maxTextureSize) {
H A DPathCache.cpp176 GLint maxTextureSize; local
177 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
178 mMaxTextureSize = maxTextureSize;
340 TaskProcessor<SkBitmap*>(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
H A DCaches.h313 GLint maxTextureSize; member in class:android::uirenderer::Caches
H A DFontRenderer.cpp135 uint32_t maxTextureSize = (uint32_t) Caches::getInstance().maxTextureSize; local
136 mSmallCacheWidth = mSmallCacheWidth > maxTextureSize ? maxTextureSize : mSmallCacheWidth;
137 mSmallCacheHeight = mSmallCacheHeight > maxTextureSize ? maxTextureSize : mSmallCacheHeight;
138 mLargeCacheWidth = mLargeCacheWidth > maxTextureSize ? maxTextureSize : mLargeCacheWidth;
139 mLargeCacheHeight = mLargeCacheHeight > maxTextureSize ? maxTextureSize
[all...]
/frameworks/native/libs/gui/tests/
H A DSurfaceTexture_test.cpp1434 GLint maxTextureSize; local
1435 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
1447 mST->setDefaultBufferSize(maxTextureSize, texHeight);
1450 EXPECT_EQ(maxTextureSize, anb->width);
1456 mST->setDefaultBufferSize(maxTextureSize+1, texHeight);
1459 EXPECT_EQ(maxTextureSize+1, anb->width);

Completed in 88 milliseconds