Searched refs:maxTextureSize (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | RenderPropertiesTests.cpp | 25 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in TEST() local 26 ASSERT_LE(2048, maxTextureSize); in TEST() 27 ASSERT_GT(100000, maxTextureSize); in TEST() 40 props.setLeftTopRightBottom(0, 0, maxTextureSize + 1, maxTextureSize + 1); in TEST()
|
/frameworks/base/libs/hwui/ |
D | DeviceInfo.cpp | 137 int DeviceInfo::maxTextureSize() const { in maxTextureSize() function in android::uirenderer::DeviceInfo 142 void DeviceInfo::setMaxTextureSize(int maxTextureSize) { in setMaxTextureSize() argument 143 DeviceInfo::get()->mMaxTextureSize = maxTextureSize; in setMaxTextureSize()
|
D | DeviceInfo.h | 39 int maxTextureSize() const; 49 static void setMaxTextureSize(int maxTextureSize);
|
D | RenderProperties.h | 530 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize() && in fitsOnLayer() 531 mPrimitiveFields.mHeight <= deviceInfo->maxTextureSize(); in fitsOnLayer()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | GLHelper.java | 62 int maxTextureSize = SystemProperties.getInt("sys.max_texture_size", 0); 63 sMaxTextureSize = maxTextureSize > 0 ? maxTextureSize : retrieveTextureSizeFromGL();
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL_test.cpp | 706 GLint maxTextureSize; in TEST_F() local 707 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in TEST_F() 719 mST->setDefaultBufferSize(maxTextureSize, texHeight); in TEST_F() 722 EXPECT_EQ(maxTextureSize, anb->width); in TEST_F() 728 mST->setDefaultBufferSize(maxTextureSize+1, texHeight); in TEST_F() 731 EXPECT_EQ(maxTextureSize+1, anb->width); in TEST_F()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderProxy.cpp | 207 int RenderProxy::maxTextureSize() { in maxTextureSize() function in android::uirenderer::renderthread::RenderProxy 208 static int maxTextureSize = RenderThread::getInstance().queue().runSync( in maxTextureSize() local 209 []() { return DeviceInfo::get()->maxTextureSize(); }); in maxTextureSize() 210 return maxTextureSize; in maxTextureSize()
|
D | RenderProxy.h | 99 ANDROID_API static int maxTextureSize();
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 188 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in createOrUpdateLayer() local 190 << maxTextureSize << " color type " << (int)info.colorType() << " has context " in createOrUpdateLayer()
|
/frameworks/base/core/jni/ |
D | android_view_DisplayListCanvas.cpp | 121 return android::uirenderer::renderthread::RenderProxy::maxTextureSize(); in android_view_DisplayListCanvas_getMaxTextureSize()
|