Searched defs:maxTextureSize (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
H A D | RenderPropertiesTests.cpp | 27 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); local 28 ASSERT_LE(2048, maxTextureSize); 29 ASSERT_GT(100000, maxTextureSize); 42 props.setLeftTopRightBottom(0, 0, maxTextureSize + 1, maxTextureSize + 1);
|
/frameworks/base/libs/hwui/ |
H A D | DeviceInfo.h | 39 int maxTextureSize() const { return mMaxTextureSize; } function in class:android::uirenderer::DeviceInfo
|
H A D | Caches.h | 141 GLint maxTextureSize; member in class:android::uirenderer::Caches
|
H A D | Layer.cpp | 109 const uint32_t maxTextureSize = caches.maxTextureSize; local 110 if (desiredWidth > maxTextureSize || desiredHeight > maxTextureSize) { 112 desiredWidth, desiredHeight, maxTextureSize, maxTextureSize);
|
H A D | LayerRenderer.cpp | 208 const uint32_t maxTextureSize = caches.maxTextureSize; local 209 if (layer->getWidth() > maxTextureSize || layer->getHeight() > maxTextureSize) { 211 width, height, maxTextureSize, maxTextureSize); 357 && bitmap->width() <= caches.maxTextureSize 358 && bitmap->height() <= caches.maxTextureSize) {
|
H A D | PathCache.cpp | 188 GLint maxTextureSize; local 189 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); 190 mMaxTextureSize = maxTextureSize; 326 TaskProcessor<SkBitmap*>(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
|
H A D | FontRenderer.cpp | 125 uint32_t maxTextureSize = (uint32_t) Caches::getInstance().maxTextureSize; local 127 mSmallCacheWidth = std::min(mSmallCacheWidth, maxTextureSize); 128 mSmallCacheHeight = std::min(mSmallCacheHeight, maxTextureSize); 129 mLargeCacheWidth = std::min(mLargeCacheWidth, maxTextureSize); 130 mLargeCacheHeight = std::min(mLargeCacheHeight, maxTextureSize); 586 uint32_t maxSize = Caches::getInstance().maxTextureSize;
|
H A D | RenderNode.cpp | 349 const int maxTextureSize = Caches::getInstance().maxTextureSize; local 350 if (getWidth() > maxTextureSize || getHeight() > maxTextureSize) { 352 << " exceeds max size " << maxTextureSize;
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureGL_test.cpp | 707 GLint maxTextureSize; local 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);
|
Completed in 610 milliseconds