Home
last modified time | relevance | path

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

/third_party/skia/gm/
Dcrbug_224618.cpp54 SkScalar viewportWidth = SkScalarMod(fTime, 10.f) / 10.f * (kMaxVW - kMinVW) + kMinVW; in onDraw() local
55 SkScalar radius = viewportWidth / 2.f; // round? in onDraw()
98 canvas->drawRect(SkRect::MakeWH(viewportWidth, viewportWidth), fillPaint); in onDraw()
103 SkRect::MakeWH(viewportWidth, viewportWidth), in onDraw()
/third_party/flutter/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()
/third_party/flutter/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()
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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.cpp993 int viewportWidth = deMin32(VIEWPORT_WIDTH, renderTarget.getWidth()); in iterate() local
995 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); 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 …_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeigh… in iterate()
1033 context.readPixels(gles3Frame, 0, 0, viewportWidth, viewportHeight); in iterate()
1038 …rget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeigh… 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.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()
877 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_CUBE_RENDER_WIDTH); in iterate() local
880 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate()
891 const int leftWidth = viewportWidth / 2; in iterate()
892 const int rightWidth = viewportWidth - leftWidth; in iterate()
[all …]
Des2fTextureUnitTests.cpp763 int viewportWidth = deMin32(VIEWPORT_WIDTH, renderTarget.getWidth()); in iterate() local
765 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); 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 …_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeigh… in iterate()
801 context.readPixels(gles2Frame, 0, 0, viewportWidth, viewportHeight); in iterate()
806 …rget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeigh… in iterate()
811 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()
/third_party/vk-gl-cts/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()
/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.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()
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dslivers_test.dart759 const double viewportWidth = 800.0;
761 child: RenderSizedBox(const Size(viewportWidth, 150.0)),
777 const double viewportWidth = 800.0;
779 child: RenderSizedBox(const Size(viewportWidth, 150.0)),
782 child: RenderSizedBox(const Size(viewportWidth, 150.0)),
785 child: RenderSizedBox(const Size(viewportWidth, 150.0)),
804 const double viewportWidth = 800.0;
806 child: RenderSizedBox(const Size(viewportWidth, 150.0)),
809 child: RenderSizedBox(const Size(viewportWidth, 150.0)),
812 child: RenderSizedBox(const Size(viewportWidth, 150.0)),
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp2964 const int viewportWidth = RENDER_SIZE; in iterate() local
2966 …DERTARGET_DEFAULT) ? (rnd.getInt(0, renderCtx.getRenderTarget().getWidth() - viewportWidth)) : (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 …const int expectedCounter = expectPartialResult ? viewportWidth*viewportHeight/2 : viewportWidt… in iterate()
3139 const int tolerance = expectPartialResult ? de::max(viewportWidth, viewportHeight)*3 : 0; in iterate()
/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/flutter/flutter/packages/flutter/lib/src/material/
Dtabs.dart890 double _tabScrollOffset(int index, double viewportWidth, double minExtent, double maxExtent) {
901 return (tabCenter - viewportWidth / 2.0).clamp(minExtent, maxExtent);
909 double _initialScrollOffset(double viewportWidth, double minExtent, double maxExtent) {
910 return _tabScrollOffset(_currentIndex, viewportWidth, minExtent, maxExtent);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp109 mState.viewportWidth = 0; in Context()
277 mState.viewportWidth = surface ? surface->getWidth() : 0; in makeCurrent()
689 …mState.viewportWidth = std::min<GLsizei>(width, IMPLEMENTATION_MAX_RENDERBUFFER_SIZE); // GL_M… in setViewportParams()
2088 params[2] = mState.viewportWidth; in getIntegerv()
2814 viewport.width = mState.viewportWidth; in applyRenderTarget()
DContext.h360 GLsizei viewportWidth; 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/typescript/tests/baselines/reference/user/
Dchrome-devtools-frontend.log6991 …ont_end/layer_viewer/Layers3DView.js(606,14): error TS2339: Property 'viewportWidth' does not exis…
6993 …ont_end/layer_viewer/Layers3DView.js(613,26): error TS2339: Property 'viewportWidth' does not exis…