Home
last modified time | relevance | path

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

/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DDrawManager.java65 private float viewportWidth; field in DrawManager
89 viewportWidth = width; in updateViewport()
119 viewMatrix, projectionMatrix, viewportWidth, viewportHeight); in drawCircle()
138 viewMatrix, projectionMatrix, viewportWidth, viewportHeight)); in drawAnimatedRoundRect()
154 viewMatrix, projectionMatrix, viewportWidth, viewportHeight)); in drawRect()
176 CanvasMatrixUtil.createViewportMatrix(viewportWidth, in drawText()
210 CanvasMatrixUtil.createViewportMatrix(viewportWidth, viewportHeight)}; in drawFingerPainting()
261 CanvasMatrixUtil.createViewportMatrix(viewportWidth, viewportHeight)}; in drawPointCloud()
311 CanvasMatrixUtil.createViewportMatrix(viewportWidth, in drawPlanes()
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DDrawManager.java65 private float viewportWidth; field in DrawManager
89 viewportWidth = width; in updateViewport()
119 viewMatrix, projectionMatrix, viewportWidth, viewportHeight); in drawCircle()
138 viewMatrix, projectionMatrix, viewportWidth, viewportHeight)); in drawAnimatedRoundRect()
154 viewMatrix, projectionMatrix, viewportWidth, viewportHeight)); in drawRect()
176 CanvasMatrixUtil.createViewportMatrix(viewportWidth, in drawText()
210 CanvasMatrixUtil.createViewportMatrix(viewportWidth, viewportHeight)}; in drawFingerPainting()
261 CanvasMatrixUtil.createViewportMatrix(viewportWidth, viewportHeight)}; in drawPointCloud()
311 CanvasMatrixUtil.createViewportMatrix(viewportWidth, in drawPlanes()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DDisplayRotationHelper.java35 private int viewportWidth; field in DisplayRotationHelper
74 viewportWidth = width; in onSurfaceChanged()
90 session.setDisplayGeometry(displayRotation, viewportWidth, viewportHeight); in updateSessionIfNeeded()
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DDisplayRotationHelper.java35 private int viewportWidth; field in DisplayRotationHelper
74 viewportWidth = width; in onSurfaceChanged()
90 session.setDisplayGeometry(displayRotation, viewportWidth, viewportHeight); in updateSessionIfNeeded()
/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowResourcesTest.java171 .addAttribute(android.R.attr.viewportWidth, "12.0") in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder()
180 new int[] {android.R.attr.viewportWidth, android.R.attr.viewportHeight}, in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder()
200 .addAttribute(android.R.attr.viewportWidth, "@dimen/dimen20px") in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences()
209 new int[] {android.R.attr.viewportWidth, android.R.attr.viewportHeight}, in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences()
/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()
881 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_CUBE_RENDER_WIDTH); in iterate() local
884 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate()
895 const int leftWidth = viewportWidth / 2; in iterate()
896 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()
205 int viewportWidth = de::min(64, m_renderCtx.getRenderTarget().getWidth()); in iterate() local
210 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate()
225 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate()
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderViewportLayerArrayTests.cpp282 GLfloat viewportWidth = 16.0f; in createMaxViewports() local
289 GLfloat x = (GLfloat)currentX * viewportWidth; in createMaxViewports()
290 if (x > (targetWidth - viewportWidth)) in createMaxViewports()
300 data[i * viewportDataSize + 2] = viewportWidth; in createMaxViewports()
303 m_viewportData.push_back(tcu::Vec4(x, y, viewportWidth, viewportHeight)); in createMaxViewports()
/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/libGLES_CM/
DContext.cpp96 mState.viewportWidth = 0; in Context()
295 mState.viewportWidth = surface ? surface->getWidth() : 0; in makeCurrent()
827 mState.viewportWidth = width; in setViewportParams()
1317 params[2] = mState.viewportWidth; in getIntegerv()
1757 viewport.width = mState.viewportWidth; in applyRenderTarget()
DContext.h262 GLsizei viewportWidth; member
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp109 mState.viewportWidth = 0; in Context()
276 mState.viewportWidth = surface ? surface->getWidth() : 0; in makeCurrent()
688 …mState.viewportWidth = std::min<GLsizei>(width, IMPLEMENTATION_MAX_RENDERBUFFER_SIZE); // GL_M… in setViewportParams()
2040 params[2] = mState.viewportWidth; in getIntegerv()
2766 viewport.width = mState.viewportWidth; in applyRenderTarget()
DContext.h389 GLsizei viewportWidth; member