/external/deqp/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 158 int viewportWidth = 128; in iterate() local 161 if (renderTarget.getWidth() < viewportWidth || in iterate() 165 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); in iterate() 262 tcu::Surface rendered (viewportWidth, viewportHeight); in iterate() 263 tcu::Surface reference (viewportWidth, viewportHeight); in iterate() 266 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 154 int viewportWidth = 128; in iterate() local 157 if (m_context.getRenderTarget().getWidth() < viewportWidth || in iterate() 161 int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth() - viewportWidth); in iterate() 255 tcu::Surface rendered (viewportWidth, viewportHeight); in iterate() 256 tcu::Surface reference (viewportWidth, viewportHeight); in iterate() 259 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexTextureTests.cpp | 652 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_RENDER_WIDTH); in iterate() local 655 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate() 666 const int leftWidth = viewportWidth / 2; in iterate() 667 const int rightWidth = viewportWidth - leftWidth; in iterate() 682 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() 715 tcu::Surface resImage(viewportWidth, viewportHeight); in iterate() 973 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_CUBE_RENDER_WIDTH); in iterate() local 976 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate() 987 const int leftWidth = viewportWidth / 2; in iterate() 988 const int rightWidth = viewportWidth - leftWidth; in iterate() [all …]
|
D | es3fTextureUnitTests.cpp | 990 int viewportWidth = deMin32(VIEWPORT_WIDTH, renderTarget.getWidth()); in iterate() local 992 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); in iterate() 995 tcu::Surface gles3Frame (viewportWidth, viewportHeight); in iterate() 996 tcu::Surface refFrame (viewportWidth, viewportHeight); in iterate() 1021 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate() 1026 …_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeigh… in iterate() 1030 context.readPixels(gles3Frame, 0, 0, viewportWidth, viewportHeight); in iterate() 1035 …rget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeigh… in iterate() 1040 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
|
/external/deqp/modules/gles2/functional/ |
D | es2fVertexTextureTests.cpp | 551 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_RENDER_WIDTH); in iterate() local 554 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate() 565 const int leftWidth = viewportWidth / 2; in iterate() 566 const int rightWidth = viewportWidth - leftWidth; in iterate() 581 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() 614 tcu::Surface resImage(viewportWidth, viewportHeight); in iterate() 869 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_CUBE_RENDER_WIDTH); in iterate() local 872 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate() 883 const int leftWidth = viewportWidth / 2; in iterate() 884 const int rightWidth = viewportWidth - leftWidth; in iterate() [all …]
|
D | es2fTextureUnitTests.cpp | 760 int viewportWidth = deMin32(VIEWPORT_WIDTH, renderTarget.getWidth()); in iterate() local 762 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); in iterate() 765 tcu::Surface gles2Frame (viewportWidth, viewportHeight); in iterate() 766 tcu::Surface refFrame (viewportWidth, viewportHeight); in iterate() 789 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate() 794 …_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeigh… in iterate() 798 context.readPixels(gles2Frame, 0, 0, viewportWidth, viewportHeight); in iterate() 803 …rget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeigh… in iterate() 808 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
|
D | es2fTextureCompletenessTests.cpp | 148 int viewportWidth = de::min(64, m_renderCtx.getRenderTarget().getWidth()); in iterate() local 152 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate() 156 int offsetX = random.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWidth ); in iterate() 161 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate() 200 int viewportWidth = de::min(64, m_renderCtx.getRenderTarget().getWidth()); in iterate() local 205 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate() 218 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate()
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.cpp | 475 int viewportWidth = de::min<int>(VIEWPORT_WIDTH, m_renderCtx.getRenderTarget().getWidth()); in iterate() local 477 int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWidth); in iterate() 480 …mat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeigh… in iterate() 481 …mat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeigh… in iterate() 545 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | GameRenderer.java | 274 final int viewportWidth = (int)(mWidth * scaleX); in onSurfaceChanged() local 276 gl.glViewport(0, 0, viewportWidth, viewportHeight); in onSurfaceChanged()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderImageLoadStoreTests.cpp | 2954 const int viewportWidth = RENDER_SIZE; in iterate() local 2956 …DERTARGET_DEFAULT) ? (rnd.getInt(0, renderCtx.getRenderTarget().getWidth() - viewportWidth)) : (0); in iterate() 3035 glLog.glScissor(viewportX, viewportY, viewportWidth/2, viewportHeight); in iterate() 3110 glLog.glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate() 3120 tcu::Surface rendered(viewportWidth, viewportHeight); in iterate() 3128 …const int expectedCounter = expectPartialResult ? viewportWidth*viewportHeight/2 : viewportWidt… in iterate() 3129 const int tolerance = expectPartialResult ? de::max(viewportWidth, viewportHeight)*3 : 0; in iterate()
|