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

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp672 GLint maxTextureSize; local
673 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
685 mST->setDefaultBufferSize(maxTextureSize, texHeight);
688 EXPECT_EQ(maxTextureSize, anb->width);
694 mST->setDefaultBufferSize(maxTextureSize+1, texHeight);
697 EXPECT_EQ(maxTextureSize+1, anb->width);
/frameworks/base/libs/hwui/
H A DLayer.cpp127 const uint32_t maxTextureSize = caches.maxTextureSize; local
128 if (desiredWidth > maxTextureSize || desiredHeight > maxTextureSize) {
130 desiredWidth, desiredHeight, maxTextureSize, maxTextureSize);
H A DLayerRenderer.cpp209 const uint32_t maxTextureSize = caches.maxTextureSize; local
210 if (layer->getWidth() > maxTextureSize || layer->getHeight() > maxTextureSize) {
212 width, height, maxTextureSize, maxTextureSize);
359 if (layer && bitmap->width() <= caches.maxTextureSize &&
360 bitmap->height() <= caches.maxTextureSize) {
H A DPathCache.cpp165 GLint maxTextureSize; local
166 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
167 mMaxTextureSize = maxTextureSize;
333 TaskProcessor<SkBitmap*>(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
H A DCaches.h320 GLint maxTextureSize; member in class:android::uirenderer::Caches
H A DFontRenderer.cpp136 uint32_t maxTextureSize = (uint32_t) Caches::getInstance().maxTextureSize; local
137 mSmallCacheWidth = mSmallCacheWidth > maxTextureSize ? maxTextureSize : mSmallCacheWidth;
138 mSmallCacheHeight = mSmallCacheHeight > maxTextureSize ? maxTextureSize : mSmallCacheHeight;
139 mLargeCacheWidth = mLargeCacheWidth > maxTextureSize ? maxTextureSize : mLargeCacheWidth;
140 mLargeCacheHeight = mLargeCacheHeight > maxTextureSize ? maxTextureSize
[all...]

Completed in 229 milliseconds