Searched refs:maxTextureSize (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DRenderPropertiesTests.cpp27 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 DDeviceInfoTests.cpp29 EXPECT_EQ(2048, di->maxTextureSize()) << "Max texture size didn't match";
H A DFrameBuilderTests.cpp2067 * b) too big for layer (larger than maxTextureSize)
2107 ASSERT_GT(10000, DeviceInfo::get()->maxTextureSize())
/frameworks/base/libs/hwui/
H A DDeviceInfo.h39 int maxTextureSize() const { return mMaxTextureSize; } function in class:android::uirenderer::DeviceInfo
H A DLayer.cpp109 const uint32_t maxTextureSize = caches.maxTextureSize; local
110 if (desiredWidth > maxTextureSize || desiredHeight > maxTextureSize) {
112 desiredWidth, desiredHeight, maxTextureSize, maxTextureSize);
H A DReadback.cpp43 if (destWidth > caches.maxTextureSize
44 || destHeight > caches.maxTextureSize) {
46 destWidth, destHeight, caches.maxTextureSize);
H A DLayerRenderer.cpp208 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 DCaches.h141 GLint maxTextureSize; member in class:android::uirenderer::Caches
H A DFontRenderer.cpp125 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 DPathCache.cpp188 GLint maxTextureSize; local
189 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
190 mMaxTextureSize = maxTextureSize;
326 TaskProcessor<SkBitmap*>(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
H A DRenderProperties.h613 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize()
614 && mPrimitiveFields.mHeight <= deviceInfo->maxTextureSize();
H A DCaches.cpp96 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
H A DRenderNode.cpp349 const int maxTextureSize = Caches::getInstance().maxTextureSize; local
350 if (getWidth() > maxTextureSize || getHeight() > maxTextureSize) {
352 << " exceeds max size " << maxTextureSize;
H A DOpenGLRenderer.cpp521 if (bounds.isEmpty() || bounds.getWidth() > mCaches.maxTextureSize ||
522 bounds.getHeight() > mCaches.maxTextureSize ||
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp707 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 Dandroid_view_DisplayListCanvas.cpp123 return Caches::getInstance().maxTextureSize;
130 return Caches::getInstance().maxTextureSize;

Completed in 4176 milliseconds