Searched refs:maxTextureSize (Results 1 – 11 of 11) sorted by relevance
/aosp12/frameworks/base/libs/hwui/tests/unit/ |
H A 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()
|
/aosp12/frameworks/base/libs/hwui/ |
H A D | DeviceInfo.cpp | 78 int DeviceInfo::maxTextureSize() const { in maxTextureSize() function in android::uirenderer::DeviceInfo 83 void DeviceInfo::setMaxTextureSize(int maxTextureSize) { in setMaxTextureSize() argument 84 DeviceInfo::get()->mMaxTextureSize = maxTextureSize; in setMaxTextureSize()
|
H A D | DeviceInfo.h | 62 int maxTextureSize() const; 76 static void setMaxTextureSize(int maxTextureSize);
|
H A D | RenderProperties.h | 546 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize() && in fitsOnLayer() 547 mPrimitiveFields.mHeight <= deviceInfo->maxTextureSize(); in fitsOnLayer()
|
/aosp12/frameworks/base/services/core/java/com/android/server/wallpaper/ |
H A D | GLHelper.java | 62 int maxTextureSize = SystemProperties.getInt("sys.max_texture_size", 0); 63 sMaxTextureSize = maxTextureSize > 0 ? maxTextureSize : retrieveTextureSizeFromGL();
|
/aosp12/frameworks/native/libs/gui/tests/ |
H A 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()
|
/aosp12/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.cpp | 216 int RenderProxy::maxTextureSize() { in maxTextureSize() function in android::uirenderer::renderthread::RenderProxy 217 static int maxTextureSize = RenderThread::getInstance().queue().runSync( in maxTextureSize() local 218 []() { return DeviceInfo::get()->maxTextureSize(); }); in maxTextureSize() 219 return maxTextureSize; in maxTextureSize()
|
H A D | RenderProxy.h | 103 static int maxTextureSize();
|
/aosp12/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaPipeline.cpp | 196 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in createOrUpdateLayer() local 198 << maxTextureSize << " color type " << (int)info.colorType() << " has context " in createOrUpdateLayer()
|
/aosp12/frameworks/base/libs/hwui/jni/ |
H A D | android_graphics_DisplayListCanvas.cpp | 89 return android::uirenderer::renderthread::RenderProxy::maxTextureSize(); in android_view_DisplayListCanvas_getMaxTextureSize()
|
/aosp12/frameworks/native/libs/renderengine/skia/ |
H A D | SkiaGLRenderEngine.cpp | 1279 return mGrContext->maxTextureSize(); in getMaxTextureSize()
|