/frameworks/base/libs/hwui/tests/unit/ |
RenderPropertiesTests.cpp | 27 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); 28 ASSERT_LE(2048, maxTextureSize); 29 ASSERT_GT(100000, maxTextureSize); 42 props.setLeftTopRightBottom(0, 0, maxTextureSize + 1, maxTextureSize + 1);
|
/frameworks/base/libs/hwui/ |
DeviceInfo.h | 35 static void initialize(int maxTextureSize); 37 int maxTextureSize() const { return mMaxTextureSize; }
|
Caches.h | 146 GLint maxTextureSize;
|
PathCache.cpp | 153 uint32_t maxTextureSize) { 156 if (width > maxTextureSize || height > maxTextureSize) { 158 width, height, maxTextureSize, maxTextureSize); 185 GLint maxTextureSize; 186 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); 187 mMaxTextureSize = maxTextureSize; 324 TaskProcessor<sk_sp<Bitmap> >(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
|
RenderNode.cpp | 260 const int maxTextureSize = Caches::getInstance().maxTextureSize; 261 if (getWidth() > maxTextureSize || getHeight() > maxTextureSize) { 263 << " exceeds max size " << maxTextureSize;
|
FontRenderer.cpp | 112 uint32_t maxTextureSize = (uint32_t) Caches::getInstance().maxTextureSize; 114 mSmallCacheWidth = std::min(mSmallCacheWidth, maxTextureSize); 115 mSmallCacheHeight = std::min(mSmallCacheHeight, maxTextureSize); 116 mLargeCacheWidth = std::min(mLargeCacheWidth, maxTextureSize); 117 mLargeCacheHeight = std::min(mLargeCacheHeight, maxTextureSize); 586 uint32_t maxSize = Caches::getInstance().maxTextureSize;
|
/external/deqp/modules/glshared/ |
glsMemoryStressCase.hpp | 51 int maxTextureSize; 61 MemoryStressCase (tcu::TestContext& testCtx, glu::RenderContext& renderContext, deUint32 objectTypes, int minTextureSize, int maxTextureSize, int minBufferSize, int maxBufferSize, bool write, bool use, bool useDummyData, bool clearAfterOOM, const char* name, const char* desc);
|
glsTextureBufferCase.cpp | 802 deInt32 maxTextureSize = 0; 804 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize); 807 log << TestLog::Message << "GL_MAX_TEXTURE_BUFFER_SIZE : " << maxTextureSize << TestLog::EndMessage; 812 deInt32 maxTextureSize = 0; 814 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize); 817 log << TestLog::Message << "GL_MAX_TEXTURE_BUFFER_SIZE_EXT : " << maxTextureSize << TestLog::EndMessage; [all...] |
/external/skia/src/core/ |
SkGpuBlurUtils.cpp | 54 static float adjust_sigma(float sigma, int maxTextureSize, int *scaleFactor, int *radius) { 59 if (*scaleFactor > maxTextureSize) { 60 *scaleFactor = maxTextureSize; 213 int maxTextureSize = context->caps()->maxTextureSize(); 214 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX); 215 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY);
|
SkPictureShader.cpp | 164 const int maxTextureSize) const { 195 // Scale down the tile size if larger than maxTextureSize for GPU Path or it should fail on create texture 196 if (maxTextureSize) { 197 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { 198 SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); 321 int maxTextureSize = 0; 323 maxTextureSize = args.fContext->caps()->maxTextureSize(); 326 args.fDstColorSpace, maxTextureSize)); [all...] |
/external/skia/src/gpu/ |
GrSoftwarePathRenderer.cpp | 168 int maxTextureSize = args.fRenderTargetContext->caps()->maxTextureSize(); 169 if (unclippedArea > 2 * clippedArea || unclippedWidth > maxTextureSize || 170 unclippedHeight > maxTextureSize) {
|
/external/webrtc/webrtc/modules/video_render/android/ |
video_render_opengles20.cc | 102 int maxTextureSize[2]; 104 glGetIntegerv(GL_MAX_TEXTURE_SIZE, maxTextureSize); 108 (int) maxTextureImageUnits[0], (int) maxTextureSize[0]);
|
/frameworks/native/libs/gui/tests/ |
SurfaceTextureGL_test.cpp | 707 GLint maxTextureSize; 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);
|
/external/deqp/modules/gles2/performance/ |
es2pTextureUploadTests.cpp | 143 int maxTextureSize; 144 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); 146 if (m_texSize > maxTextureSize)
|
/external/skia/include/gpu/ |
GrCaps.h | 140 int maxTextureSize() const { return fMaxTextureSize; }
|
/external/skia/src/image/ |
SkImage_Gpu.cpp | 605 const int maxTextureSize = proxy.fCaps->maxTextureSize(); 606 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { [all...] |
/external/deqp/modules/gles31/functional/ |
es31fNegativeTextureApiTests.cpp | 332 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; 337 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, 1, 0, etc2EacDataSize(maxTextureSize, 1), 0); 339 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 1, maxTextureSize, 0, etc2EacDataSize(1, maxTextureSize), 0); 341 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, 0, etc2EacDataSize(maxTextureSize, maxTextureSize), 0); [all...] |
/external/mesa3d/src/mesa/main/ |
teximage.c | [all...] |