Home | History | Annotate | Download | only in hwui

Lines Matching refs:right

188         float right, float bottom, bool opaque) {
190 initializeSaveStack(left, top, right, bottom, mLightCenter);
192 mTilingClip.set(left, top, right, bottom);
201 discardFramebuffer(mTilingClip.left, mTilingClip.top, mTilingClip.right, mTilingClip.bottom);
217 mTilingClip.right, mTilingClip.bottom, mOpaque);
221 float right, float bottom, bool opaque) {
223 setupFrameState(left, top, right, bottom, opaque);
239 void OpenGLRenderer::discardFramebuffer(float left, float top, float right, float bottom) {
244 left <= 0.0f && top <= 0.0f && right >= getWidth() && bottom >= getHeight()) {
253 status_t OpenGLRenderer::clear(float left, float top, float right, float bottom, bool opaque) {
256 mCaches.setScissor(left, getViewportHeight() - bottom, right - left, bottom - top);
296 clip.right - clip.left + leftNotZero + 1,
301 clip.right - clip.left, clip.bottom - clip.top, opaque);
367 info.clipRight = clip.right;
431 clip->right - clip->left, clip->bottom - clip->top);
601 int OpenGLRenderer::saveLayer(float left, float top, float right, float bottom,
609 createLayer(left, top, right, bottom, paint, flags, convexMask);
661 int OpenGLRenderer::saveLayerDeferred(float left, float top, float right, float bottom,
670 Rect bounds(left, top, right, bottom);
677 mSnapshot->resetClip(clip.left, clip.top, clip.right, clip.bottom);
732 * (1) The frame buffer is actually not cleared right away. To allow the GPU
737 bool OpenGLRenderer::createLayer(float left, float top, float right, float bottom,
739 LAYER_LOGD("Requesting layer %.2fx%.2f", right - left, bottom - top);
746 Rect bounds(left, top, right, bottom);
814 mSnapshot->resetClip(clip.left, clip.top, clip.right, clip.bottom);
863 calculateQuickRejectForScissor(rect.left, rect.top, rect.right, rect.bottom,
888 drawColorRect(rect.left, rect.top, rect.right, rect.bottom, &layerPaint, true);
900 dirtyLayer(rect.left, rect.top, rect.right, rect.bottom, *restored.transform);
903 dirtyLayer(rect.left, rect.top, rect.right, rect.bottom);
957 rect.left, rect.top, rect.right, rect.bottom);
975 texCoords.right, texCoords.bottom);
1073 clipRect(rect.left, rect.top, rect.right, rect.bottom, SkRegion::kIntersect_Op);
1150 rect.left, rect.top, rect.right, rect.bottom);
1159 const float u2 = r->right * texX;
1164 TextureVertex::set(mesh++, r->right, r->top, u2, v1);
1166 TextureVertex::set(mesh++, r->right, r->bottom, u2, v2);
1211 Rect r(rects[i].left, rects[i].top, rects[i].right, rects[i].bottom);
1212 drawColorRect(r.left, r.top, r.right, r.bottom, paint);
1234 const float right, const float bottom, const mat4 transform) {
1236 Rect bounds(left, top, right, bottom);
1243 const float right, const float bottom) {
1245 Rect bounds(left, top, right, bottom);
1253 android::Rect dirty(bounds.left, bounds.top, bounds.right, bounds.bottom);
1297 Vertex::set(vertex++, bounds->right, bounds->top);
1299 Vertex::set(vertex++, bounds->right, bounds->bottom);
1358 if (currentClip->right < state.mBounds.right) flags |= kClipSide_Right;
1394 state.mClip.right, state.mClip.bottom);
1408 mSnapshot->setClip(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom);
1517 bool OpenGLRenderer::quickRejectSetupScissor(float left, float top, float right, float bottom,
1525 right += outset;
1531 if (calculateQuickRejectForScissor(left, top, right, bottom,
1699 innerRect.right, innerRect.bottom);
1715 float left, float top, float right, float bottom, bool ignoreTransform) {
1718 mModelViewMatrix.scale(right - left, bottom - top, 1.0f);
1721 bool dirty = right - left > 0.0f && bottom - top > 0.0f;
1726 dirtyLayer(left, top, right, bottom, *currentTransform());
1728 dirtyLayer(left, top, right, bottom);
2041 float right = FLT_MIN;
2093 right = fmaxf(right, fmaxf(vertices[ax], fmaxf(vertices[bx], vertices[cx])));
2098 if (quickRejectSetupScissor(left, top, right, bottom)) {
2122 dirtyLayer(left, top, right, bottom, *currentTransform());
2238 float left, float top, float right, float bottom, const SkPaint* paint) {
2239 if (quickRejectSetupScissor(left, top, right, bottom)) {
2245 right - left, bottom - top, patch);
2247 return drawPatch(bitmap, mesh, entry, left, top, right, bottom, paint);
2251 AssetAtlas::Entry* entry, float left, float top, float right, float bottom,
2253 if (quickRejectSetupScissor(left, top, right, bottom)) {
2280 left + bounds.right, top + bounds.bottom, *currentTransform());
2290 right = x + right - left;
2296 drawIndexedTextureMesh(left, top, right, bottom, texture->id, paint,
2337 dirtyLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, *currentTransform());
2429 if (quickRejectSetupScissor(bounds.left, bounds.top, bounds.right, bounds.bottom)) {
2446 if (quickRejectSetupScissor(bounds.left, bounds.top, bounds.right, bounds.bottom)) {
2465 drawColorRect(clip.left, clip.top, clip.right, clip.bottom, &paint, true);
2483 status_t OpenGLRenderer::drawRoundRect(float left, float top, float right, float bottom,
2486 || quickRejectSetupScissor(left, top, right, bottom, p)
2494 right - left, bottom - top, rx, ry, p);
2499 *currentTransform(), *p, right - left, bottom - top, rx, ry);
2524 status_t OpenGLRenderer::drawOval(float left, float top, float right, float bottom,
2527 || quickRejectSetupScissor(left, top, right, bottom, p)
2534 const PathTexture* texture = mCaches.pathCache.getOval(right - left, bottom - top, p);
2539 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom);
2547 status_t OpenGLRenderer::drawArc(float left, float top, float right, float bottom,
2550 || quickRejectSetupScissor(left, top, right, bottom, p)
2558 const PathTexture* texture = mCaches.pathCache.getArc(right - left, bottom - top,
2563 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom);
2582 status_t OpenGLRenderer::drawRect(float left, float top, float right, float bottom,
2585 || quickRejectSetupScissor(left, top, right, bottom, p)
2596 mCaches.pathCache.getRect(right - left, bottom - top, p);
2601 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom);
2611 path.addRect(left, top, right, bottom);
2614 drawColorRect(left, top, right, bottom, p);
3186 float right = FLT_MIN;
3205 right = fmaxf(right, r);
3209 if (clip && quickRejectSetupScissor(left, top, right, bottom)) {
3228 dirtyLayer(left, top, right, bottom, *currentTransform());
3236 void OpenGLRenderer::drawColorRect(float left, float top, float right, float bottom,
3252 left, top, right, bottom, ignoreTransform);
3261 void OpenGLRenderer::drawTextureRect(float left, float top, float right, float bottom,
3275 resetDrawTextureTexCoords(uvs.left, uvs.top, uvs.right, uvs.bottom);
3288 drawTextureMesh(left, top, right, bottom, texture->id, paint,
3297 void OpenGLRenderer::drawTextureMesh(float left, float top, float right, float bottom,
3315 setupDrawModelView(modelViewMode, false, left, top, right, bottom, ignoreTransform);
3324 void OpenGLRenderer::drawIndexedTextureMesh(float left, float top, float right, float bottom,
3342 setupDrawModelView(modelViewMode, false, left, top, right, bottom, ignoreTransform);
3351 void OpenGLRenderer::drawAlpha8TextureMesh(float left, float top, float right, float bottom,
3371 setupDrawModelView(modelViewMode, false, left, top, right, bottom, ignoreTransform);