/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/skia/gm/ |
D | crbug_224618.cpp | 54 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()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | YuvConverter.java | 97 int viewportWidth, int viewportHeight) { in onPrepareShader() argument 168 final int viewportWidth = stride / 4; in convert() local 176 i420TextureFrameBuffer.setSize(viewportWidth, totalHeight); in convert() 185 /* viewportX= */ 0, /* viewportY= */ 0, viewportWidth, in convert() 191 /* viewportX= */ 0, /* viewportY= */ frameHeight, viewportWidth / 2, in convert() 197 /* viewportX= */ viewportWidth / 2, /* viewportY= */ frameHeight, viewportWidth / 2, in convert()
|
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 189 @Nullable Matrix additionalRenderMatrix, int viewportX, int viewportY, int viewportWidth, 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
|
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/ |
D | DisplayRotationHelper.java | 35 private int viewportWidth; field in DisplayRotationHelper 74 viewportWidth = width; 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 | 65 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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | DefaultTrackSelector.java | 174 private int viewportWidth; field in DefaultTrackSelector.ParametersBuilder 235 viewportWidth = initialValues.viewportWidth; in ParametersBuilder() 393 int viewportWidth, int viewportHeight, boolean viewportOrientationMayChange) { in setViewportSize() argument 394 this.viewportWidth = viewportWidth; in setViewportSize() 717 viewportWidth, in build() 751 viewportWidth = Integer.MAX_VALUE; in setInitialValuesWithoutContext() 862 public final int viewportWidth; field in DefaultTrackSelector.Parameters 950 int viewportWidth, in Parameters() argument 988 this.viewportWidth = viewportWidth; in Parameters() 1019 this.viewportWidth = in.readInt(); in Parameters() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureMipmapTests.cpp | 263 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/ |
D | es3aVaryingInterpolationTests.cpp | 158 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/ |
D | es2aVaryingInterpolationTests.cpp | 155 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/ |
D | es3fVertexTextureTests.cpp | 654 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 …]
|
D | es3fTextureUnitTests.cpp | 991 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/ |
D | ShadowResourcesTest.java | 171 .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/ |
D | es2fVertexTextureTests.cpp | 554 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 …]
|
D | es2fTextureUnitTests.cpp | 761 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()
|
D | es2fTextureCompletenessTests.cpp | 148 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/ |
D | gl4cShaderViewportLayerArrayTests.cpp | 282 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/ |
D | glsRandomShaderCase.cpp | 475 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/ |
D | GameRenderer.java | 274 final int viewportWidth = (int)(mWidth * scaleX); in onSurfaceChanged() local 276 gl.glViewport(0, 0, viewportWidth, viewportHeight); in onSurfaceChanged()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderImageLoadStoreTests.cpp | 2964 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()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Context.cpp | 96 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()
|
D | Context.h | 262 GLsizei viewportWidth; member
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.cpp | 109 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()
|