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 | 47 void DeviceInfo::initialize(int maxTextureSize) { argument 48 std::call_once(sInitializedFlag, [maxTextureSize]() { 51 sDeviceInfo->mMaxTextureSize = maxTextureSize;
|
H A D | DeviceInfo.h | 38 static void initialize(int maxTextureSize); 40 int maxTextureSize() const { return mMaxTextureSize; } function in class:android::uirenderer::DeviceInfo
|
H A D | Caches.h | 147 GLint maxTextureSize; member in class:android::uirenderer::Caches
|
H A D | PathCache.cpp | 155 uint32_t maxTextureSize) { 158 if (width > maxTextureSize || height > maxTextureSize) { 160 width, height, maxTextureSize, maxTextureSize); 186 mMaxTextureSize = DeviceInfo::get()->maxTextureSize(); 317 TaskProcessor<sk_sp<Bitmap> >(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) { 154 drawPath(const SkPath* path, const SkPaint* paint, PathTexture* texture, uint32_t maxTextureSize) argument
|
H A D | RenderNode.cpp | 261 const int maxTextureSize = Caches::getInstance().maxTextureSize; local 262 if (getWidth() > maxTextureSize || getHeight() > maxTextureSize) { 264 << " exceeds max size " << maxTextureSize;
|
H A D | FontRenderer.cpp | 103 int maxTextureSize = deviceInfo->maxTextureSize(); local 111 OffscreenBuffer::computeIdealDimension(std::min(1024, maxTextureSize) * densityRatio); 113 OffscreenBuffer::computeIdealDimension(std::min(1024, maxTextureSize) * densityRatio); 115 OffscreenBuffer::computeIdealDimension(std::min(2048, maxTextureSize) * densityRatio); 117 OffscreenBuffer::computeIdealDimension(std::min(1024, maxTextureSize) * densityRatio); 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 122 milliseconds