Searched refs:realSourceRegion (Results 1 – 1 of 1) sorted by relevance
1156 gl::Rectangle realSourceRegion; in clipSrcRegion() local1157 if (!ClipRectangle(bounds.sourceRegion, bounds.sourceBounds, &realSourceRegion)) in clipSrcRegion()1161 GLuint xOffset = realSourceRegion.x - bounds.sourceRegion.x; in clipSrcRegion()1162 GLuint yOffset = realSourceRegion.y - bounds.sourceRegion.y; in clipSrcRegion()1168 xOffset = bounds.sourceRegion.x1() - realSourceRegion.x1(); in clipSrcRegion()1172 yOffset = bounds.sourceRegion.y1() - realSourceRegion.y1(); in clipSrcRegion()1175 GLfloat destMappingWidth = static_cast<GLfloat>(realSourceRegion.width) * in clipSrcRegion()1177 GLfloat destMappingHeight = static_cast<GLfloat>(realSourceRegion.height) * in clipSrcRegion()1198 bounds.sourceRegion = realSourceRegion; in clipSrcRegion()