/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);
|
DeviceInfoTests.cpp | 30 EXPECT_EQ(2048, di->maxTextureSize()) << "Max texture size didn't match";
|
/frameworks/base/libs/hwui/ |
DeviceInfo.cpp | 47 void DeviceInfo::initialize(int maxTextureSize) { 48 std::call_once(sInitializedFlag, [maxTextureSize]() { 51 sDeviceInfo->mMaxTextureSize = maxTextureSize;
|
DeviceInfo.h | 38 static void initialize(int maxTextureSize); 40 int maxTextureSize() const { return mMaxTextureSize; }
|
Caches.h | 147 GLint maxTextureSize;
|
PathCache.cpp | 155 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) {
|
OpenGLReadback.cpp | 124 if (destWidth > caches.maxTextureSize 125 || destHeight > caches.maxTextureSize) { 127 destWidth, destHeight, caches.maxTextureSize);
|
Caches.cpp | 96 maxTextureSize = DeviceInfo::get()->maxTextureSize();
|
RenderNode.cpp | 261 const int maxTextureSize = Caches::getInstance().maxTextureSize; 262 if (getWidth() > maxTextureSize || getHeight() > maxTextureSize) { 264 << " exceeds max size " << maxTextureSize;
|
FontRenderer.cpp | 103 int maxTextureSize = deviceInfo->maxTextureSize(); 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;
|
/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);
|
glsMemoryStressCase.cpp | 483 int dummySize = deMax32(m_config.maxBufferSize, m_config.maxTextureSize*m_config.maxTextureSize*4); 585 int width = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize); 586 int height = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize); 819 MemoryStressCase::MemoryStressCase (tcu::TestContext& ctx, 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) 829 m_config.maxTextureSize = maxTextureSize;
|
/external/deqp/modules/gles2/functional/ |
es2fNegativeTextureApiTests.cpp | 395 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1; 396 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, 0, 0, 0, 0); 398 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0); 400 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, maxTextureSize, 0, 0, 0); 412 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXTURE_SIZE) + 1; 413 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, 0, 0, 0, 0); 415 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0); 417 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, maxTextureSize, 0, 0, 0) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fShaderTextureSizeTests.cpp | 161 glw::GLint maxTextureSize = 0; 165 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); 189 << "GL_MAX_TEXTURE_SIZE = " << maxTextureSize << "\n" 197 if (testSizes2D[ndx].x() <= maxTextureSize && testSizes2D[ndx].y() <= maxTextureSize) 199 const int w = (testSizes2D[ndx].x() < 0) ? (maxTextureSize) : (testSizes2D[ndx].x()); 200 const int h = (testSizes2D[ndx].y() < 0) ? (maxTextureSize) : (testSizes2D[ndx].y()); 210 if (testSizes3D[ndx].x() <= maxTextureSize && testSizes3D[ndx].y() <= maxTextureSize && testSizes3D[ndx].z() <= maxTextureLayers) 212 const int w = (testSizes3D[ndx].x() < 0) ? (maxTextureSize) : (testSizes3D[ndx].x()) [all...] |
/external/skia/src/shaders/ |
SkPictureShader.cpp | 195 const int maxTextureSize) const { 226 // Scale down the tile size if larger than maxTextureSize for GPU Path or it should fail on create texture 227 if (maxTextureSize) { 228 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { 229 SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); 381 int maxTextureSize = 0; 383 maxTextureSize = args.fContext->caps()->maxTextureSize(); 386 args.fDstColorSpace, maxTextureSize)); [all...] |
SkPictureShader.h | 53 const int maxTextureSize = 0) const;
|
/external/skia/src/gpu/ |
GrSoftwarePathRenderer.cpp | 168 int maxTextureSize = args.fRenderTargetContext->caps()->maxTextureSize(); 169 if (unclippedArea > 2 * clippedArea || unclippedWidth > maxTextureSize || 170 unclippedHeight > maxTextureSize) {
|
GrGpu.cpp | 119 int maxSize = caps.maxTextureSize(); 189 int maxSize = this->caps()->maxTextureSize(); 225 int maxSize = this->caps()->maxTextureSize();
|
/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; 202 int maxTextureSize = context->caps()->maxTextureSize(); 203 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX); 204 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY);
|
/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/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]);
|
/external/skia/include/gpu/ |
GrCaps.h | 130 int maxTextureSize() const { return fMaxTextureSize; }
|
/external/deqp/modules/gles3/functional/ |
es3fNegativeTextureApiTests.cpp | 335 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1; 340 glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, 1, 0, etc2EacDataSize(maxTextureSize, 1), 0); 342 glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 1, maxTextureSize, 0, etc2EacDataSize(1, maxTextureSize), 0); 344 glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, 0, etc2EacDataSize(maxTextureSize, maxTextureSize), 0); [all...] |
/frameworks/base/core/jni/ |
android_view_DisplayListCanvas.cpp | 133 return Caches::getInstance().maxTextureSize; 140 return Caches::getInstance().maxTextureSize;
|
/external/skia/src/gpu/ccpr/ |
GrCCPRAtlas.cpp | 49 SkASSERT(fMaxAtlasSize <= caps.maxTextureSize());
|