/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 | 2192 * b) too big for layer (larger than maxTextureSize) 2230 ASSERT_GT(10000, DeviceInfo::get()->maxTextureSize())
|
/frameworks/base/libs/hwui/ |
H A D | DeviceInfo.h | 39 static void initialize(int maxTextureSize); 41 int maxTextureSize() const { return mMaxTextureSize; } function in class:android::uirenderer::DeviceInfo
|
H A D | DeviceInfo.cpp | 62 void DeviceInfo::initialize(int maxTextureSize) { argument 63 std::call_once(sInitializedFlag, [maxTextureSize]() { 66 sDeviceInfo->mMaxTextureSize = maxTextureSize;
|
H A D | PathCache.cpp | 156 uint32_t maxTextureSize) { 159 if (width > maxTextureSize || height > maxTextureSize) { 161 maxTextureSize, maxTextureSize); 187 mMaxTextureSize = DeviceInfo::get()->maxTextureSize(); 319 : TaskProcessor<sk_sp<Bitmap> >(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {} 155 drawPath(const SkPath* path, const SkPaint* paint, PathTexture* texture, uint32_t maxTextureSize) argument
|
H A D | OpenGLReadback.cpp | 121 if (destWidth > caches.maxTextureSize || destHeight > caches.maxTextureSize) { 123 destHeight, caches.maxTextureSize);
|
H A D | Caches.h | 142 GLint maxTextureSize; member in class:android::uirenderer::Caches
|
H A D | Caches.cpp | 96 maxTextureSize = DeviceInfo::get()->maxTextureSize();
|
H A D | FontRenderer.cpp | 102 int maxTextureSize = deviceInfo->maxTextureSize(); local 110 OffscreenBuffer::computeIdealDimension(std::min(1024, maxTextureSize) * densityRatio); 112 OffscreenBuffer::computeIdealDimension(std::min(1024, maxTextureSize) * densityRatio); 114 OffscreenBuffer::computeIdealDimension(std::min(2048, maxTextureSize) * densityRatio); 116 OffscreenBuffer::computeIdealDimension(std::min(1024, maxTextureSize) * densityRatio); 583 uint32_t maxSize = Caches::getInstance().maxTextureSize;
|
H A D | TextureCache.cpp | 42 mMaxTextureSize = DeviceInfo::get()->maxTextureSize();
|
H A D | RenderProperties.h | 531 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize() && 532 mPrimitiveFields.mHeight <= deviceInfo->maxTextureSize();
|
H A D | GradientCache.cpp | 73 mMaxTextureSize = DeviceInfo::get()->maxTextureSize();
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | OpenGLPipeline.cpp | 239 const int maxTextureSize = Caches::getInstance().maxTextureSize; local 240 if (node->getWidth() > maxTextureSize || node->getHeight() > maxTextureSize) { 242 << " exceeds max size " << maxTextureSize;
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureGL_test.cpp | 706 GLint maxTextureSize; local 707 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); 719 mST->setDefaultBufferSize(maxTextureSize, texHeight); 722 EXPECT_EQ(maxTextureSize, anb->width); 728 mST->setDefaultBufferSize(maxTextureSize+1, texHeight); 731 EXPECT_EQ(maxTextureSize+1, anb->width);
|
/frameworks/base/core/jni/ |
H A D | android_view_DisplayListCanvas.cpp | 135 return Caches::getInstance().maxTextureSize; 142 return Caches::getInstance().maxTextureSize;
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaPipeline.cpp | 197 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); local 199 << maxTextureSize << " color type " << (int)info.colorType()
|