Home
last modified time | relevance | path

Searched refs:viewport_size (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/modules/skottie/src/
DCamera.cpp22 const SkSize& viewport_size, in ComputeCameraMatrix() argument
39 const auto view_size = std::max(viewport_size.width(), viewport_size.height()), in ComputeCameraMatrix()
46 return SkM44::Translate(viewport_size.width() * 0.5f, in ComputeCameraMatrix()
47 viewport_size.height() * 0.5f, in ComputeCameraMatrix()
57 const SkSize& viewport_size) in CameraAdaper() argument
59 , fViewportSize(viewport_size) in CameraAdaper()
104 sk_sp<sksg::Transform> CameraAdaper::DefaultCameraTransform(const SkSize& viewport_size) { in DefaultCameraTransform() argument
105 const auto center = SkVector::Make(viewport_size.width() * 0.5f, in DefaultCameraTransform()
106 viewport_size.height() * 0.5f); in DefaultCameraTransform()
115 ComputeCameraMatrix(pos, poi, rot, viewport_size, kDefaultAEZoom)); in DefaultCameraTransform()
[all …]
DCamera.h21 const SkSize& viewport_size);
25 static sk_sp<sksg::Transform> DefaultCameraTransform(const SkSize& viewport_size);
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayImageTextureSize.cpp1430 glw::GLint viewport_size[4]; in runShaders() local
1431 gl.getIntegerv(GL_VIEWPORT, viewport_size); in runShaders()
1439 gl.viewport(viewport_size[0], viewport_size[1], viewport_size[2], viewport_size[3]); in runShaders()