Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp263 const int viewportWidth = m_renderer.getRenderWidth(); in iterate() local
272 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate()
277 const int cellWidth = viewportWidth / gridWidth; in iterate()
305 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
335 tcu::Surface referenceFrame (viewportWidth, viewportHeight); in iterate()
336 tcu::Surface errorMask (viewportWidth, viewportHeight); in iterate()
354 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
504 const int viewportWidth = m_renderer.getRenderWidth(); in iterate() local
512 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate()
521 computeGridLayout(gridLayout, viewportWidth, viewportHeight); in iterate()
[all …]
/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.cpp155 int viewportWidth = 128; in iterate() local
158 if (m_context.getRenderTarget().getWidth() < viewportWidth || in iterate()
162 int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth() - viewportWidth); in iterate()
256 tcu::Surface rendered (viewportWidth, viewportHeight); in iterate()
257 tcu::Surface reference (viewportWidth, viewportHeight); in iterate()
260 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
/external/deqp/modules/gles3/functional/
Des3fVertexTextureTests.cpp654 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_RENDER_WIDTH); in iterate() local
657 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate()
668 const int leftWidth = viewportWidth / 2; in iterate()
669 const int rightWidth = viewportWidth - leftWidth; in iterate()
684 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate()
717 tcu::Surface resImage(viewportWidth, viewportHeight); in iterate()
975 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_CUBE_RENDER_WIDTH); in iterate() local
978 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate()
989 const int leftWidth = viewportWidth / 2; in iterate()
990 const int rightWidth = viewportWidth - leftWidth; in iterate()
[all …]
Des3fTextureUnitTests.cpp991 int viewportWidth = deMin32(VIEWPORT_WIDTH, renderTarget.getWidth()); in iterate() local
993 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); in iterate()
996 tcu::Surface gles3Frame (viewportWidth, viewportHeight); in iterate()
997 tcu::Surface refFrame (viewportWidth, viewportHeight); in iterate()
1022 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate()
1027 …_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeigh… in iterate()
1031 context.readPixels(gles3Frame, 0, 0, viewportWidth, viewportHeight); in iterate()
1036 …rget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeigh… in iterate()
1041 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp554 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_RENDER_WIDTH); in iterate() local
557 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate()
568 const int leftWidth = viewportWidth / 2; in iterate()
569 const int rightWidth = viewportWidth - leftWidth; in iterate()
584 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate()
617 tcu::Surface resImage(viewportWidth, viewportHeight); in iterate()
872 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_CUBE_RENDER_WIDTH); in iterate() local
875 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate()
886 const int leftWidth = viewportWidth / 2; in iterate()
887 const int rightWidth = viewportWidth - leftWidth; in iterate()
[all …]
Des2fTextureUnitTests.cpp761 int viewportWidth = deMin32(VIEWPORT_WIDTH, renderTarget.getWidth()); in iterate() local
763 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); in iterate()
766 tcu::Surface gles2Frame (viewportWidth, viewportHeight); in iterate()
767 tcu::Surface refFrame (viewportWidth, viewportHeight); in iterate()
790 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate()
795 …_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeigh… in iterate()
799 context.readPixels(gles2Frame, 0, 0, viewportWidth, viewportHeight); in iterate()
804 …rget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeigh… in iterate()
809 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.cpp2955 const int viewportWidth = RENDER_SIZE; in iterate() local
2957 …DERTARGET_DEFAULT) ? (rnd.getInt(0, renderCtx.getRenderTarget().getWidth() - viewportWidth)) : (0); in iterate()
3036 glLog.glScissor(viewportX, viewportY, viewportWidth/2, viewportHeight); in iterate()
3111 glLog.glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
3121 tcu::Surface rendered(viewportWidth, viewportHeight); in iterate()
3129 …const int expectedCounter = expectPartialResult ? viewportWidth*viewportHeight/2 : viewportWidt… in iterate()
3130 const int tolerance = expectPartialResult ? de::max(viewportWidth, viewportHeight)*3 : 0; in iterate()
/external/swiftshader/src/OpenGL/libGL/
DContext.cpp106 mState.viewportWidth = 0; in Context()
273 mState.viewportWidth = surface->getWidth(); in makeCurrent()
644 mState.viewportWidth = width; in setViewportParams()
1386 params[2] = mState.viewportWidth; in getIntegerv()
1673 viewport.width = mState.viewportWidth; in applyRenderTarget()
DContext.h472 GLsizei viewportWidth; member
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp96 mState.viewportWidth = 0; in Context()
290 mState.viewportWidth = surface->getWidth(); in makeCurrent()
822 mState.viewportWidth = width; in setViewportParams()
1305 params[2] = mState.viewportWidth; in getIntegerv()
1746 viewport.width = mState.viewportWidth; in applyRenderTarget()
DContext.h264 GLsizei viewportWidth; member
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp109 mState.viewportWidth = 0; in Context()
283 mState.viewportWidth = surface ? surface->getWidth() : 0; in makeCurrent()
695 …mState.viewportWidth = std::min<GLsizei>(width, IMPLEMENTATION_MAX_RENDERBUFFER_SIZE); // GL_M… in setViewportParams()
1989 params[2] = mState.viewportWidth; in getIntegerv()
2690 viewport.width = mState.viewportWidth; in applyRenderTarget()
DContext.h385 GLsizei viewportWidth; member