Home
last modified time | relevance | path

Searched refs:viewportHeight (Results 1 – 25 of 27) sorted by relevance

12

/third_party/flutter/flutter/packages/flutter/test/widgets/
Dsliver_list_test.dart13 const double viewportHeight = 500.0;
22 viewportHeight: viewportHeight,
36 viewportHeight: viewportHeight,
60 const double viewportHeight = 500.0;
69 viewportHeight: viewportHeight,
83 viewportHeight: viewportHeight,
112 const double viewportHeight = 500.0;
114 final double scrollPosition = items.length * itemHeight - viewportHeight;
121 viewportHeight: viewportHeight,
136 viewportHeight: viewportHeight,
[all …]
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DDisplayRotationHelper.java36 private int viewportHeight; field in DisplayRotationHelper
75 viewportHeight = height; in onSurfaceChanged()
90 session.setDisplayGeometry(displayRotation, viewportWidth, viewportHeight); in updateSessionIfNeeded()
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DDrawManager.java66 private float viewportHeight; field in DrawManager
90 viewportHeight = height; in updateViewport()
119 viewMatrix, projectionMatrix, viewportWidth, viewportHeight); in drawCircle()
138 viewMatrix, projectionMatrix, viewportWidth, viewportHeight)); in drawAnimatedRoundRect()
154 viewMatrix, projectionMatrix, viewportWidth, viewportHeight)); in drawRect()
177 viewportHeight)}; in drawText()
210 CanvasMatrixUtil.createViewportMatrix(viewportWidth, viewportHeight)}; in drawFingerPainting()
261 CanvasMatrixUtil.createViewportMatrix(viewportWidth, viewportHeight)}; in drawPointCloud()
312 viewportHeight)}; in drawPlanes()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp264 const int viewportHeight = m_renderer.getRenderHeight(); in iterate() local
272 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate()
278 const int cellHeight = viewportHeight / gridHeight; in iterate()
306 const int curH = gridY+1 == gridHeight ? (viewportHeight-curY) : cellHeight; in iterate()
335 tcu::Surface referenceFrame (viewportWidth, viewportHeight); in iterate()
336 tcu::Surface errorMask (viewportWidth, viewportHeight); in iterate()
355 const int curH = gridY+1 == gridHeight ? (viewportHeight-curY) : cellHeight; in iterate()
505 const int viewportHeight = m_renderer.getRenderHeight(); in iterate() local
512 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate()
521 computeGridLayout(gridLayout, viewportWidth, viewportHeight); in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp156 int viewportHeight = 128; in iterate() local
159 m_context.getRenderTarget().getHeight() < viewportHeight) in iterate()
163 int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight() - viewportHeight); 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()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp159 int viewportHeight = 128; in iterate() local
162 renderTarget.getHeight() < viewportHeight) in iterate()
166 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); 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()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fVertexTextureTests.cpp655 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_RENDER_HEIGHT); in iterate() local
658 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; in iterate()
670 const int bottomHeight = viewportHeight / 2; in iterate()
671 const int topHeight = viewportHeight - bottomHeight; in iterate()
684 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate()
717 tcu::Surface resImage(viewportWidth, viewportHeight); in iterate()
976 …const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_CUBE_RENDER_HEIGH… in iterate() local
979 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; in iterate()
991 const int bottomHeight = viewportHeight / 2; in iterate()
992 const int topHeight = viewportHeight - bottomHeight; in iterate()
[all …]
Des3fTextureUnitTests.cpp994 int viewportHeight = deMin32(VIEWPORT_HEIGHT, renderTarget.getHeight()); in iterate() local
996 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); in iterate()
998 tcu::Surface gles3Frame (viewportWidth, viewportHeight); in iterate()
999 tcu::Surface refFrame (viewportWidth, viewportHeight); in iterate()
1024 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate()
1029 …LLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeight)); in iterate()
1033 context.readPixels(gles3Frame, 0, 0, viewportWidth, viewportHeight); in iterate()
1038 …et.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeight); in iterate()
1043 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/EGLWLMockNavigation/src/
DCamera.cpp27 Camera::Camera(vec3f position, vec3f target, float viewportWidth, float viewportHeight) in Camera() argument
36 m_aspectRatio = viewportWidth/viewportHeight; in Camera()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fVertexTextureTests.cpp555 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_RENDER_HEIGHT); in iterate() local
558 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; in iterate()
570 const int bottomHeight = viewportHeight / 2; in iterate()
571 const int topHeight = viewportHeight - bottomHeight; in iterate()
584 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate()
617 tcu::Surface resImage(viewportWidth, viewportHeight); in iterate()
878 …const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_CUBE_RENDER_HEIGH… in iterate() local
881 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; in iterate()
893 const int bottomHeight = viewportHeight / 2; in iterate()
894 const int topHeight = viewportHeight - bottomHeight; in iterate()
[all …]
Des2fTextureUnitTests.cpp764 int viewportHeight = deMin32(VIEWPORT_HEIGHT, renderTarget.getHeight()); in iterate() local
766 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); in iterate()
768 tcu::Surface gles2Frame (viewportWidth, viewportHeight); in iterate()
769 tcu::Surface refFrame (viewportWidth, viewportHeight); in iterate()
792 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate()
797 …LLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeight)); in iterate()
801 context.readPixels(gles2Frame, 0, 0, viewportWidth, viewportHeight); in iterate()
806 …et.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeight); in iterate()
811 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
Des2fTextureCompletenessTests.cpp149 int viewportHeight = de::min(64, m_renderCtx.getRenderTarget().getHeight()); in iterate() local
152 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate()
157 int offsetY = random.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHeight); in iterate()
161 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate()
206 int viewportHeight = de::min(64, m_renderCtx.getRenderTarget().getHeight()); in iterate() local
210 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate()
225 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate()
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/EGLWLMockNavigation/include/
DCamera.h28 Camera(vec3f position, vec3f target, float viewportWidth, float viewportHeight);
/third_party/vk-gl-cts/modules/glshared/
DglsRandomShaderCase.cpp476 int viewportHeight = de::min<int>(VIEWPORT_HEIGHT, m_renderCtx.getRenderTarget().getHeight()); in iterate() local
478 int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHeight); in iterate()
480 …t::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeight); in iterate()
481 …t::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeight); in iterate()
545 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cShaderViewportLayerArrayTests.cpp283 GLfloat viewportHeight = 16.0f; in createMaxViewports() local
296 GLfloat y = (GLfloat)currentY * viewportHeight; in createMaxViewports()
301 data[i * viewportDataSize + 3] = viewportHeight; in createMaxViewports()
303 m_viewportData.push_back(tcu::Vec4(x, y, viewportWidth, viewportHeight)); in createMaxViewports()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DRenderer.hpp87 float viewportHeight; member
DRenderer.cpp352 data->viewportHeight = abs(viewport.height); in draw()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp2965 const int viewportHeight = RENDER_SIZE; in iterate() local
2967 …RTARGET_DEFAULT) ? (rnd.getInt(0, renderCtx.getRenderTarget().getHeight() - viewportHeight)) : (0); in iterate()
3045 glLog.glScissor(viewportX, viewportY, viewportWidth/2, viewportHeight); in iterate()
3120 glLog.glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
3130 tcu::Surface rendered(viewportWidth, viewportHeight); in iterate()
3138 …ectedCounter = expectPartialResult ? viewportWidth*viewportHeight/2 : viewportWidth*viewportHei… in iterate()
3139 const int tolerance = expectPartialResult ? de::max(viewportWidth, viewportHeight)*3 : 0; in iterate()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DRenderer.hpp186 float viewportHeight; member
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DMipmapTest.cpp40 void clearAndDrawQuad(GLuint program, GLsizei viewportWidth, GLsizei viewportHeight) in clearAndDrawQuad() argument
44 glViewport(0, 0, viewportWidth, viewportHeight); in clearAndDrawQuad()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp110 mState.viewportHeight = 0; in Context()
278 mState.viewportHeight = surface ? surface->getHeight() : 0; in makeCurrent()
690 …mState.viewportHeight = std::min<GLsizei>(height, IMPLEMENTATION_MAX_RENDERBUFFER_SIZE); // GL_M… in setViewportParams()
2089 params[3] = mState.viewportHeight; in getIntegerv()
2815 viewport.height = mState.viewportHeight; in applyRenderTarget()
DContext.h361 GLsizei viewportHeight; member
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMipmapTest.cpp40 void clearAndDrawQuad(GLuint program, GLsizei viewportWidth, GLsizei viewportHeight) in clearAndDrawQuad() argument
44 glViewport(0, 0, viewportWidth, viewportHeight); in clearAndDrawQuad()
DMultisampledRenderToTextureTest.cpp121 void clearAndDrawQuad(GLuint program, GLsizei viewportWidth, GLsizei viewportHeight) in clearAndDrawQuad() argument
125 glViewport(0, 0, viewportWidth, viewportHeight); in clearAndDrawQuad()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DVertexPipeline.cpp826 …o[Pts].y = o[Pts].y * Float4(*Pointer<Float>(data + OFFSET(DrawData,viewportHeight))) * A; // FI… in processPointSize()

12