Searched refs:maxTextureSize (Results 1 - 14 of 14) 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.cpp30 EXPECT_EQ(2048, di->maxTextureSize()) << "Max texture size didn't match";
H A DFrameBuilderTests.cpp2181 * b) too big for layer (larger than maxTextureSize)
2221 ASSERT_GT(10000, DeviceInfo::get()->maxTextureSize())
/frameworks/base/libs/hwui/
H A DDeviceInfo.h35 static void initialize(int maxTextureSize);
37 int maxTextureSize() const { return mMaxTextureSize; } function in class:android::uirenderer::DeviceInfo
H A DDeviceInfo.cpp46 void DeviceInfo::initialize(int maxTextureSize) { argument
47 std::call_once(sInitializedFlag, [maxTextureSize]() {
49 sDeviceInfo->mMaxTextureSize = maxTextureSize;
H A DPathCache.cpp153 uint32_t maxTextureSize) {
156 if (width > maxTextureSize || height > maxTextureSize) {
158 width, height, maxTextureSize, maxTextureSize);
185 GLint maxTextureSize; local
186 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
187 mMaxTextureSize = maxTextureSize;
324 TaskProcessor<sk_sp<Bitmap> >(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
152 drawPath(const SkPath* path, const SkPaint* paint, PathTexture* texture, uint32_t maxTextureSize) argument
H A DOpenGLReadback.cpp128 if (destWidth > caches.maxTextureSize
129 || destHeight > caches.maxTextureSize) {
131 destWidth, destHeight, caches.maxTextureSize);
H A DCaches.h146 GLint maxTextureSize; member in class:android::uirenderer::Caches
H A DRenderNode.cpp260 const int maxTextureSize = Caches::getInstance().maxTextureSize; local
261 if (getWidth() > maxTextureSize || getHeight() > maxTextureSize) {
263 << " exceeds max size " << maxTextureSize;
H A DFontRenderer.cpp112 uint32_t maxTextureSize = (uint32_t) Caches::getInstance().maxTextureSize; local
114 mSmallCacheWidth = std::min(mSmallCacheWidth, maxTextureSize);
115 mSmallCacheHeight = std::min(mSmallCacheHeight, maxTextureSize);
116 mLargeCacheWidth = std::min(mLargeCacheWidth, maxTextureSize);
117 mLargeCacheHeight = std::min(mLargeCacheHeight, maxTextureSize);
586 uint32_t maxSize = Caches::getInstance().maxTextureSize;
H A DRenderProperties.h615 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize()
616 && mPrimitiveFields.mHeight <= deviceInfo->maxTextureSize();
H A DCaches.cpp96 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &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.cpp133 return Caches::getInstance().maxTextureSize;
140 return Caches::getInstance().maxTextureSize;

Completed in 661 milliseconds