Searched defs:maxTextureSize (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DRenderPropertiesTests.cpp27 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 DDeviceInfo.cpp47 void DeviceInfo::initialize(int maxTextureSize) { argument
48 std::call_once(sInitializedFlag, [maxTextureSize]() {
51 sDeviceInfo->mMaxTextureSize = maxTextureSize;
H A DDeviceInfo.h38 static void initialize(int maxTextureSize);
40 int maxTextureSize() const { return mMaxTextureSize; } function in class:android::uirenderer::DeviceInfo
H A DCaches.h147 GLint maxTextureSize; member in class:android::uirenderer::Caches
H A DPathCache.cpp155 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 DRenderNode.cpp261 const int maxTextureSize = Caches::getInstance().maxTextureSize; local
262 if (getWidth() > maxTextureSize || getHeight() > maxTextureSize) {
264 << " exceeds max size " << maxTextureSize;
H A DFontRenderer.cpp103 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 DSurfaceTextureGL_test.cpp707 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