Home
last modified time | relevance | path

Searched refs:maxTextureSize (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DRenderPropertiesTests.cpp25 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/av/services/camera/virtualcamera/util/
DEglUtil.cc56 int maxTextureSize = -1; in getMaximumTextureSize() local
57 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in getMaximumTextureSize()
58 return maxTextureSize; in getMaximumTextureSize()
DUtil.cc139 int maxTextureSize = getMaximumTextureSize(); in isFormatSupportedForInput() local
140 if (width <= 0 || height <= 0 || width > maxTextureSize || in isFormatSupportedForInput()
141 height > maxTextureSize) { in isFormatSupportedForInput()
/frameworks/base/libs/hwui/
DDeviceInfo.cpp78 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()
DDeviceInfo.h86 int maxTextureSize() const;
100 static void setMaxTextureSize(int maxTextureSize);
DRenderProperties.h547 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize() && in fitsOnLayer()
548 mPrimitiveFields.mHeight <= deviceInfo->maxTextureSize(); in fitsOnLayer()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaCpuPipeline.cpp79 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in createOrUpdateLayer() local
81 << maxTextureSize << " color type " << (int)info.colorType() << " has context " in createOrUpdateLayer()
DSkiaGpuPipeline.cpp103 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in createOrUpdateLayer() local
105 << maxTextureSize << " color type " << (int)info.colorType() << " has context " in createOrUpdateLayer()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DGLHelper.java62 int maxTextureSize = SystemProperties.getInt("sys.max_texture_size", 0);
63 sMaxTextureSize = maxTextureSize > 0 ? maxTextureSize : retrieveTextureSizeFromGL();
/frameworks/native/libs/gui/tests/
DSurfaceTextureGL_test.cpp707 GLint maxTextureSize; in TEST_F() local
708 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in TEST_F()
720 mST->setDefaultBufferSize(maxTextureSize, texHeight); in TEST_F()
723 EXPECT_EQ(maxTextureSize, anb->width); in TEST_F()
729 mST->setDefaultBufferSize(maxTextureSize+1, texHeight); in TEST_F()
732 EXPECT_EQ(maxTextureSize+1, anb->width); in TEST_F()
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp273 int RenderProxy::maxTextureSize() { in maxTextureSize() function in android::uirenderer::renderthread::RenderProxy
274 static int maxTextureSize = RenderThread::getInstance().queue().runSync( in maxTextureSize() local
275 []() { return DeviceInfo::get()->maxTextureSize(); }); in maxTextureSize()
276 return maxTextureSize; in maxTextureSize()
DRenderProxy.h114 static int maxTextureSize();
/frameworks/native/libs/renderengine/skia/compat/
DGraphiteGpuContext.cpp106 return mContext->maxTextureSize(); in getMaxTextureSize()
DGaneshGpuContext.cpp97 return mGrContext->maxTextureSize(); in getMaxTextureSize()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_DisplayListCanvas.cpp85 return android::uirenderer::renderthread::RenderProxy::maxTextureSize(); in android_view_DisplayListCanvas_getMaxTextureSize()