/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | GlGenericDrawer.java | 58 int viewportWidth, int viewportHeight); in onPrepareShader() argument 158 int viewportX, int viewportY, int viewportWidth, int viewportHeight) { in drawOes() argument 160 ShaderType.OES, texMatrix, frameWidth, frameHeight, viewportWidth, viewportHeight); in drawOes() 165 GLES20.glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in drawOes() 177 int viewportX, int viewportY, int viewportWidth, int viewportHeight) { in drawRgb() argument 179 ShaderType.RGB, texMatrix, frameWidth, frameHeight, viewportWidth, viewportHeight); in drawRgb() 184 GLES20.glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in drawRgb() 196 int viewportX, int viewportY, int viewportWidth, int viewportHeight) { in drawYuv() argument 198 ShaderType.YUV, texMatrix, frameWidth, frameHeight, viewportWidth, viewportHeight); in drawYuv() 205 GLES20.glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in drawYuv() [all …]
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | VideoFrameDrawer.java | 34 int viewportWidth, int viewportHeight) { in drawTexture() argument 41 viewportY, viewportWidth, viewportHeight); in drawTexture() local 45 viewportY, viewportWidth, viewportHeight); in drawTexture() local 190 int viewportHeight) { in drawFrame() argument 214 renderHeight, viewportX, viewportY, viewportWidth, viewportHeight); in drawFrame() 227 renderHeight, viewportX, viewportY, viewportWidth, viewportHeight); in drawFrame() local
|
D | RendererCommon.java | 47 int viewportX, int viewportY, int viewportWidth, int viewportHeight); in drawOes() argument 49 int viewportY, int viewportWidth, int viewportHeight); in drawRgb() argument 51 int viewportX, int viewportY, int viewportWidth, int viewportHeight); in drawYuv() argument
|
D | GlRectDrawer.java | 25 int viewportWidth, int viewportHeight) {} in onPrepareShader() argument
|
D | YuvConverter.java | 97 int viewportWidth, int viewportHeight) { in onPrepareShader() argument
|
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/ |
D | DisplayRotationHelper.java | 36 private int viewportHeight; field in DisplayRotationHelper 75 viewportHeight = height; in onSurfaceChanged() 90 session.setDisplayGeometry(displayRotation, viewportWidth, viewportHeight); in updateSessionIfNeeded()
|
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/ |
D | DrawManager.java | 66 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()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | DefaultTrackSelector.java | 175 private int viewportHeight; field in DefaultTrackSelector.ParametersBuilder 236 viewportHeight = initialValues.viewportHeight; in ParametersBuilder() 393 int viewportWidth, int viewportHeight, boolean viewportOrientationMayChange) { in setViewportSize() argument 395 this.viewportHeight = viewportHeight; in setViewportSize() 718 viewportHeight, in build() 752 viewportHeight = Integer.MAX_VALUE; in setInitialValuesWithoutContext() 868 public final int viewportHeight; field in DefaultTrackSelector.Parameters 951 int viewportHeight, in Parameters() argument 989 this.viewportHeight = viewportHeight; in Parameters() 1020 this.viewportHeight = in.readInt(); in Parameters() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureMipmapTests.cpp | 264 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 …]
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 159 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()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 156 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()
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexTextureTests.cpp | 655 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 …]
|
D | es3fTextureUnitTests.cpp | 992 int viewportHeight = deMin32(VIEWPORT_HEIGHT, renderTarget.getHeight()); in iterate() local 994 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); 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 …LLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeight)); in iterate() 1031 context.readPixels(gles3Frame, 0, 0, viewportWidth, viewportHeight); in iterate() 1036 …et.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeight); in iterate() 1041 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowResourcesTest.java | 172 .addAttribute(android.R.attr.viewportHeight, "24.0") in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder() 180 new int[] {android.R.attr.viewportWidth, android.R.attr.viewportHeight}, in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder() 201 .addAttribute(android.R.attr.viewportHeight, "@dimen/dimen30px") in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences() 209 new int[] {android.R.attr.viewportWidth, android.R.attr.viewportHeight}, in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences()
|
/external/deqp/modules/gles2/functional/ |
D | es2fVertexTextureTests.cpp | 555 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 …]
|
D | es2fTextureUnitTests.cpp | 762 int viewportHeight = deMin32(VIEWPORT_HEIGHT, renderTarget.getHeight()); in iterate() local 764 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); 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 …LLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeight)); in iterate() 799 context.readPixels(gles2Frame, 0, 0, viewportWidth, viewportHeight); in iterate() 804 …et.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeight); in iterate() 809 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
|
D | es2fTextureCompletenessTests.cpp | 149 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()
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.cpp | 476 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()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderViewportLayerArrayTests.cpp | 283 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()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | GameRenderer.java | 275 final int viewportHeight = (int)(mHeight * scaleY); in onSurfaceChanged() local 276 gl.glViewport(0, 0, viewportWidth, viewportHeight); in onSurfaceChanged()
|
/external/swiftshader/src/Device/ |
D | Renderer.hpp | 89 float viewportHeight; member
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderImageLoadStoreTests.cpp | 2965 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()
|
/external/swiftshader/src/Renderer/ |
D | Renderer.hpp | 186 float viewportHeight; member
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Context.cpp | 97 mState.viewportHeight = 0; in Context() 296 mState.viewportHeight = surface ? surface->getHeight() : 0; in makeCurrent() 828 mState.viewportHeight = height; in setViewportParams() 1318 params[3] = mState.viewportHeight; in getIntegerv() 1758 viewport.height = mState.viewportHeight; in applyRenderTarget()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.cpp | 110 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()
|