Home
last modified time | relevance | path

Searched refs:viewportWidth (Results 1 – 10 of 10) sorted by relevance

/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp158 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/
Des2aVaryingInterpolationTests.cpp154 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/
Des3fVertexTextureTests.cpp652 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 …]
Des3fTextureUnitTests.cpp990 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/
Des2fVertexTextureTests.cpp551 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 …]
Des2fTextureUnitTests.cpp760 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()
Des2fTextureCompletenessTests.cpp148 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/
DglsRandomShaderCase.cpp475 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/
DGameRenderer.java274 final int viewportWidth = (int)(mWidth * scaleX); in onSurfaceChanged() local
276 gl.glViewport(0, 0, viewportWidth, viewportHeight); in onSurfaceChanged()
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp2954 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()