Searched defs:maxTextureSize (Results 1 - 8 of 8) 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.cpp | 46 void DeviceInfo::initialize(int maxTextureSize) { argument 47 std::call_once(sInitializedFlag, [maxTextureSize]() { 49 sDeviceInfo->mMaxTextureSize = maxTextureSize;
|
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 | Caches.h | 146 GLint maxTextureSize; member in class:android::uirenderer::Caches
|
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 | 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;
|
/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 1104 milliseconds