Searched refs:actualViewport (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
D | Renderer9.cpp | 1077 gl::Rectangle actualViewport = viewport; in setViewport() local 1082 actualViewport.x = 0; in setViewport() 1083 actualViewport.y = 0; in setViewport() 1084 actualViewport.width = mRenderTargetDesc.width; in setViewport() 1085 actualViewport.height = mRenderTargetDesc.height; in setViewport() 1091 dxViewport.X = gl::clamp(actualViewport.x, 0, static_cast<int>(mRenderTargetDesc.width)); in setViewport() 1092 dxViewport.Y = gl::clamp(actualViewport.y, 0, static_cast<int>(mRenderTargetDesc.height)); in setViewport() 1093 …dxViewport.Width = gl::clamp(actualViewport.width, 0, static_cast<int>(mRenderTargetDesc.width) - … in setViewport() 1094 …dxViewport.Height = gl::clamp(actualViewport.height, 0, static_cast<int>(mRenderTargetDesc.height)… in setViewport() 1105 …bool viewportChanged = mForceSetViewport || memcmp(&actualViewport, &mCurViewport, sizeof(gl::Rect… in setViewport() [all …]
|
D | Renderer11.cpp | 767 gl::Rectangle actualViewport = viewport; in setViewport() local 772 actualViewport.x = 0; in setViewport() 773 actualViewport.y = 0; in setViewport() 774 actualViewport.width = mRenderTargetDesc.width; in setViewport() 775 actualViewport.height = mRenderTargetDesc.height; in setViewport() 785 dxViewport.TopLeftX = gl::clamp(actualViewport.x, viewportBounds.start, viewportBounds.end); in setViewport() 786 dxViewport.TopLeftY = gl::clamp(actualViewport.y, viewportBounds.start, viewportBounds.end); in setViewport() 787 dxViewport.Width = gl::clamp(actualViewport.width, 0, getMaxViewportDimension()); in setViewport() 788 dxViewport.Height = gl::clamp(actualViewport.height, 0, getMaxViewportDimension()); in setViewport() 799 …bool viewportChanged = mForceSetViewport || memcmp(&actualViewport, &mCurViewport, sizeof(gl::Rect… in setViewport() [all …]
|