/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
D | MapModel2D.java | 40 private int viewportWidth; field in MapModel2D 54 public MapModel2D(int viewportWidth) { in MapModel2D() argument 61 this.viewportWidth = viewportWidth; in MapModel2D() 71 xCentre = viewportWidth / 2; in MapModel2D() 91 minutesPerPixel = (mapWidthInLongitude * 60) / (double) viewportWidth; in calculateMinutesPerPixel() 100 return viewportWidth; in getViewportPixelWidth() 103 public void setViewportWidth(int viewportWidth) { in setViewportWidth() argument 104 this.viewportWidth = viewportWidth; in setViewportWidth()
|
D | MapModel3D.java | 115 public void setWorldWidth(int viewportWidth) { in setWorldWidth() argument 116 this.worldWidth = viewportWidth; in setWorldWidth()
|
/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 | 154 int viewportWidth = 128; in iterate() local 157 if (m_context.getRenderTarget().getWidth() < viewportWidth || in iterate() 161 int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth() - viewportWidth); in iterate() 255 tcu::Surface rendered (viewportWidth, viewportHeight); in iterate() 256 tcu::Surface reference (viewportWidth, viewportHeight); in iterate() 259 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexTextureTests.cpp | 652 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_RENDER_WIDTH); in iterate() local 655 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate() 666 const int leftWidth = viewportWidth / 2; in iterate() 667 const int rightWidth = viewportWidth - leftWidth; in iterate() 682 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() 715 tcu::Surface resImage(viewportWidth, viewportHeight); in iterate() 973 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_CUBE_RENDER_WIDTH); in iterate() local 976 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate() 987 const int leftWidth = viewportWidth / 2; in iterate() 988 const int rightWidth = viewportWidth - leftWidth; in iterate() [all …]
|
D | es3fTextureUnitTests.cpp | 990 int viewportWidth = deMin32(VIEWPORT_WIDTH, renderTarget.getWidth()); in iterate() local 992 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); in iterate() 995 tcu::Surface gles3Frame (viewportWidth, viewportHeight); in iterate() 996 tcu::Surface refFrame (viewportWidth, viewportHeight); in iterate() 1021 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate() 1026 …_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeigh… in iterate() 1030 context.readPixels(gles3Frame, 0, 0, viewportWidth, viewportHeight); in iterate() 1035 …rget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeigh… in iterate() 1040 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
|
/external/deqp/modules/gles2/functional/ |
D | es2fVertexTextureTests.cpp | 551 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_RENDER_WIDTH); in iterate() local 554 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate() 565 const int leftWidth = viewportWidth / 2; in iterate() 566 const int rightWidth = viewportWidth - leftWidth; in iterate() 581 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() 614 tcu::Surface resImage(viewportWidth, viewportHeight); in iterate() 869 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_CUBE_RENDER_WIDTH); in iterate() local 872 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; in iterate() 883 const int leftWidth = viewportWidth / 2; in iterate() 884 const int rightWidth = viewportWidth - leftWidth; in iterate() [all …]
|
D | es2fTextureUnitTests.cpp | 760 int viewportWidth = deMin32(VIEWPORT_WIDTH, renderTarget.getWidth()); in iterate() local 762 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); in iterate() 765 tcu::Surface gles2Frame (viewportWidth, viewportHeight); in iterate() 766 tcu::Surface refFrame (viewportWidth, viewportHeight); in iterate() 789 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate() 794 …_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeigh… in iterate() 798 context.readPixels(gles2Frame, 0, 0, viewportWidth, viewportHeight); in iterate() 803 …rget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeigh… in iterate() 808 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
|
D | es2fTextureCompletenessTests.cpp | 149 int viewportWidth = de::min(64, m_renderCtx.getRenderTarget().getWidth()); in iterate() local 153 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate() 157 int offsetX = random.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWidth ); in iterate() 162 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate() 201 int viewportWidth = de::min(64, m_renderCtx.getRenderTarget().getWidth()); in iterate() local 206 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate() 219 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate()
|
/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 | 2936 const int viewportWidth = RENDER_SIZE; in iterate() local 2938 …DERTARGET_DEFAULT) ? (rnd.getInt(0, renderCtx.getRenderTarget().getWidth() - viewportWidth)) : (0); in iterate() 3017 glLog.glScissor(viewportX, viewportY, viewportWidth/2, viewportHeight); in iterate() 3090 glLog.glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate() 3100 tcu::Surface rendered(viewportWidth, viewportHeight); in iterate() 3108 …const int expectedCounter = expectPartialResult ? viewportWidth*viewportHeight/2 : viewportWidt… in iterate() 3109 const int tolerance = expectPartialResult ? de::max(viewportWidth, viewportHeight)*3 : 0; in iterate()
|
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/ |
D | tight-vncviewer-newfbsize.patch | 174 + XtResizeWidget(viewport, viewportWidth, viewportHeight, 0);
|
D | tight-vncviewer-full.patch | 7761 static Dimension viewportWidth, viewportHeight; 7794 - viewportWidth = toplevelWidth = dpyWidth + scrollbarWidth; 7796 - viewportWidth = si.framebufferWidth + scrollbarWidth; 7808 - viewportWidth = si.framebufferWidth; 7889 - viewportX = (toplevelWidth - viewportWidth) / 2; 7971 - XtResizeWidget(toplevel, viewportWidth, viewportHeight, 0); 8128 + viewportWidth = toplevelWidth = dpyWidth + scrollbarWidth; 8130 + viewportWidth = fbW + scrollbarWidth; 8147 + viewportWidth = fbW; 8154 + viewportX = (toplevelWidth - viewportWidth) / 2; [all …]
|