/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);
|
H A D | DeviceInfoTests.cpp | 29 EXPECT_EQ(2048, di->maxTextureSize()) << "Max texture size didn't match";
|
H A D | FrameBuilderTests.cpp | 2067 * b) too big for layer (larger than maxTextureSize) 2107 ASSERT_GT(10000, DeviceInfo::get()->maxTextureSize())
|
/frameworks/base/libs/hwui/ |
H A D | DeviceInfo.h | 39 int maxTextureSize() const { return mMaxTextureSize; } function in class:android::uirenderer::DeviceInfo
|
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 | Readback.cpp | 43 if (destWidth > caches.maxTextureSize 44 || destHeight > caches.maxTextureSize) { 46 destWidth, destHeight, caches.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 | Caches.h | 141 GLint maxTextureSize; member in class:android::uirenderer::Caches
|
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 | 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 | RenderProperties.h | 613 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize() 614 && mPrimitiveFields.mHeight <= deviceInfo->maxTextureSize();
|
H A D | Caches.cpp | 96 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &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;
|
H A D | OpenGLRenderer.cpp | 521 if (bounds.isEmpty() || bounds.getWidth() > mCaches.maxTextureSize || 522 bounds.getHeight() > mCaches.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);
|
/frameworks/base/core/jni/ |
H A D | android_view_DisplayListCanvas.cpp | 123 return Caches::getInstance().maxTextureSize; 130 return Caches::getInstance().maxTextureSize;
|