Searched refs:maxTextureSize (Results 1 - 14 of 14) 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);
|
H A D | DeviceInfoTests.cpp | 30 EXPECT_EQ(2048, di->maxTextureSize()) << "Max texture size didn't match";
|
H A D | FrameBuilderTests.cpp | 2181 * b) too big for layer (larger than maxTextureSize) 2221 ASSERT_GT(10000, DeviceInfo::get()->maxTextureSize())
|
/frameworks/base/libs/hwui/ |
H A D | DeviceInfo.h | 35 static void initialize(int maxTextureSize); 37 int maxTextureSize() const { return mMaxTextureSize; } function in class:android::uirenderer::DeviceInfo
|
H A D | DeviceInfo.cpp | 46 void DeviceInfo::initialize(int maxTextureSize) { argument 47 std::call_once(sInitializedFlag, [maxTextureSize]() { 49 sDeviceInfo->mMaxTextureSize = maxTextureSize;
|
H A D | PathCache.cpp | 153 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 D | OpenGLReadback.cpp | 128 if (destWidth > caches.maxTextureSize 129 || destHeight > caches.maxTextureSize) { 131 destWidth, destHeight, caches.maxTextureSize);
|
H A D | Caches.h | 146 GLint maxTextureSize; member in class:android::uirenderer::Caches
|
H A D | RenderNode.cpp | 260 const int maxTextureSize = Caches::getInstance().maxTextureSize; local 261 if (getWidth() > maxTextureSize || getHeight() > maxTextureSize) { 263 << " exceeds max size " << maxTextureSize;
|
H A D | FontRenderer.cpp | 112 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 D | RenderProperties.h | 615 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize() 616 && mPrimitiveFields.mHeight <= deviceInfo->maxTextureSize();
|
H A D | Caches.cpp | 96 glGetIntegerv(GL_MAX_TEXTURE_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);
|
/frameworks/base/core/jni/ |
H A D | android_view_DisplayListCanvas.cpp | 133 return Caches::getInstance().maxTextureSize; 140 return Caches::getInstance().maxTextureSize;
|
Completed in 661 milliseconds