Searched defs:rects (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/libs/hwui/
H A DProfileRenderer.cpp27 void ProfileRenderer::drawRects(const float* rects, int count, const SkPaint& paint) { argument
28 mRenderer.drawRects(rects, count, &paint);
H A DBakedOpRenderer.cpp188 void BakedOpRenderer::drawRects(const float* rects, int count, const SkPaint* paint) { argument
194 float l = rects[index + 0];
195 float t = rects[index + 1];
196 float r = rects[index + 2];
197 float b = rects[index + 3];
H A DRecordingCanvas.cpp302 void RecordingCanvas::drawSimpleRects(const float* rects, int vertexCount, const SkPaint* paint) { argument
303 if (rects == nullptr) return;
313 float l = rects[index + 0];
314 float t = rects[index + 1];
315 float r = rects[index + 2];
316 float b = rects[index + 3];
341 Vector<float> rects; local
345 rects.push(r.fLeft);
346 rects.push(r.fTop);
347 rects
[all...]
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaProfileRenderer.cpp28 void SkiaProfileRenderer::drawRects(const float* rects, int count, const SkPaint& paint) { argument
30 SkRect rect = SkRect::MakeLTRB(rects[index + 0], rects[index + 1], rects[index + 2],
31 rects[index + 3]);
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp75 const android::Rect* rects = safeRegion.getArray(&count); local
83 const android::Rect* r = &rects[i];
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp318 EGLint rects[4]; local
319 frame.map(dirty, rects);
320 if (!eglSetDamageRegionKHR(mEglDisplay, frame.mSurface, rects, 1)) {
339 EGLint rects[4]; local
340 frame.map(screenDirty, rects);
341 eglSwapBuffersWithDamageKHR(mEglDisplay, frame.mSurface, rects,
/frameworks/native/include/private/ui/
H A DRegionHelper.h51 RECT const* rects; member in struct:android::region_operator::region
56 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { }
58 : rects(_r), count(_c), dx(), dy() { }
60 : rects(_r), count(_c), dx(_dx), dy(_dy) { }
170 SpannerBase::lhs_head = lhs.rects->top + lhs.dy;
171 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy;
174 SpannerBase::rhs_head = rhs.rects->top + rhs.dy;
175 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy;
202 RECT const * rects local
[all...]
/frameworks/base/libs/hwui/debug/
H A Dnullegl.cpp155 EGLBoolean eglSwapBuffersWithDamageKHR(EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint rectCount) { argument
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestProperties.cpp550 const hwc_rect_t& rect = curr.rects[i];
579 hwc_rect_t* rects = new hwc_rect_t[damage.numRects]; local
580 if (!rects) {
586 rects[i].left = regionScalar[i].left * mBufferArea.width;
587 rects[i].top = regionScalar[i].top * mBufferArea.height;
588 rects[i].right = regionScalar[i].right * mBufferArea.width;
589 rects[i].bottom = regionScalar[i].bottom * mBufferArea.height;
592 damage.rects = static_cast<hwc_rect_t const*>(rects);
594 damage.rects
685 const android::Rect* rects = visibleRegion.getArray(&size); local
[all...]
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp215 std::vector<int32_t> rects; local
216 p->readInt32Vector(&rects);
218 if ((rects.size() % 4) != 0) {
223 for (size_t x = 0; x + 4 <= rects.size(); x += 4) {
224 region->op(rects[x], rects[x+1], rects[x+2], rects[x+3], SkRegion::kUnion_Op);
239 std::vector<int32_t> rects; local
243 rects
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp81 * Copy rects from the src vector into the dst vector, resolving vertical T-Junctions along the way
416 // This is our region rasterizer, which merges rects and spans together
744 Rect* rects = reg.mStorage.editArray(); local
746 rects->offsetBy(dx, dy);
747 rects++;
/frameworks/base/graphics/java/android/graphics/
H A DPath.java47 public Region rects; field in class:Path
67 if (src.rects != null) {
68 rects = new Region(src.rects);
81 if (rects != null) rects.setEmpty();
96 if (rects != null) rects.setEmpty();
112 if (rects != null && src.rects !
[all...]
/frameworks/native/libs/gui/
H A DSurface.cpp1069 android_native_rect_t* rects = va_arg(args, android_native_rect_t*); local
1071 setSurfaceDamage(rects, numRects);
1494 void Surface::setSurfaceDamage(android_native_rect_t* rects, size_t numRects) { argument
1510 Rect rect(rects[r].left, rects[r].bottom, rects[r].right, rects[r].top);
/frameworks/native/libs/nativewindow/include/system/
H A Dwindow.h870 * native_window_set_surface_damage(..., android_native_rect_t* rects, int numRects)
881 * If numRects is set to 0, rects may be NULL, and the surface damage will be
887 const android_native_rect_t* rects, size_t numRects)
890 rects, numRects);
885 native_window_set_surface_damage( struct ANativeWindow* window, const android_native_rect_t* rects, size_t numRects) argument
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp1142 EGLint *rects, EGLint n_rects)
1180 int x = rects[offset];
1181 int y = rects[offset + 1];
1182 int width = rects[offset + 2];
1183 int height = rects[offset + 3];
1195 rects, n_rects);
1936 EGLint *rects, EGLint n_rects)
1955 rects, n_rects);
1141 eglSwapBuffersWithDamageKHR(EGLDisplay dpy, EGLSurface draw, EGLint *rects, EGLint n_rects) argument
1935 eglSetDamageRegionKHR(EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects) argument
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp1337 android_native_rect_t* rects = nullptr; local
1372 allocator->pUserData, rects,
1377 rects = new_rects;
1396 android_native_rect_t* cur_rect = &rects[r];
1402 native_window_set_surface_damage(window, rects, rcount);
1494 if (rects) {
1495 allocator->pfnFree(allocator->pUserData, rects);
/frameworks/native/libs/hwc2on1adapter/
H A DHWC2On1Adapter.cpp1559 // This should NEVER happen since we calculated how many rects the
1565 hwc_rect_t* rects = mNextAvailableRect; local
1568 return rects;
1882 hwc_rect_t* rects = GetRects(1); local
1883 rects[0].left = 0;
1884 rects[0].top = 0;
1885 rects[0].right = width;
1886 rects[0].bottom = height;
1887 hwc1Target.visibleRegionScreen.rects = rects;
[all...]

Completed in 1830 milliseconds