/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
D | SDL_cgximage.c | 42 static void CGX_NormalUpdate(_THIS, int numrects, SDL_Rect *rects); 43 static void CGX_FakeUpdate(_THIS, int numrects, SDL_Rect *rects); 315 static void CGX_SwapPixels(SDL_Surface *screen, int numrects, SDL_Rect *rects) in CGX_SwapPixels() argument 325 minx = rects[i].x; in CGX_SwapPixels() 326 maxx = rects[i].x+rects[i].w; in CGX_SwapPixels() 327 miny = rects[i].y; in CGX_SwapPixels() 328 maxy = rects[i].y+rects[i].h; in CGX_SwapPixels() 343 minx = rects[i].x; in CGX_SwapPixels() 344 maxx = rects[i].x+rects[i].w; in CGX_SwapPixels() 345 miny = rects[i].y; in CGX_SwapPixels() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
D | SDL_riscosFullScreenVideo.c | 71 static void FULLSCREEN_UpdateRects(_THIS, int numrects, SDL_Rect *rects); 72 static void FULLSCREEN_UpdateRectsMemCpy(_THIS, int numrects, SDL_Rect *rects); 73 static void FULLSCREEN_UpdateRects8bpp(_THIS, int numrects, SDL_Rect *rects); 74 static void FULLSCREEN_UpdateRects16bpp(_THIS, int numrects, SDL_Rect *rects); 75 static void FULLSCREEN_UpdateRects32bpp(_THIS, int numrects, SDL_Rect *rects); 76 static void FULLSCREEN_UpdateRectsOS(_THIS, int numrects, SDL_Rect *rects); 377 static void FULLSCREEN_UpdateRects(_THIS, int numrects, SDL_Rect *rects) in FULLSCREEN_UpdateRects() argument 382 static void FULLSCREEN_UpdateRectsMemCpy(_THIS, int numrects, SDL_Rect *rects) in FULLSCREEN_UpdateRectsMemCpy() argument 391 from = this->hidden->bank[0] + rects->x * xmult + rects->y * pitch; in FULLSCREEN_UpdateRectsMemCpy() 392 to = this->hidden->bank[1] + rects->x * xmult + rects->y * pitch; in FULLSCREEN_UpdateRectsMemCpy() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
D | SDL_x11image.c | 81 static void X11_NormalUpdate(_THIS, int numrects, SDL_Rect *rects); 82 static void X11_MITSHMUpdate(_THIS, int numrects, SDL_Rect *rects); 235 static void X11_NormalUpdate(_THIS, int numrects, SDL_Rect *rects) in X11_NormalUpdate() argument 240 if ( rects[i].w == 0 || rects[i].h == 0 ) { /* Clipped? */ in X11_NormalUpdate() 244 rects[i].x, rects[i].y, in X11_NormalUpdate() 245 rects[i].x, rects[i].y, rects[i].w, rects[i].h); in X11_NormalUpdate() 255 static void X11_MITSHMUpdate(_THIS, int numrects, SDL_Rect *rects) in X11_MITSHMUpdate() argument 261 if ( rects[i].w == 0 || rects[i].h == 0 ) { /* Clipped? */ in X11_MITSHMUpdate() 265 rects[i].x, rects[i].y, in X11_MITSHMUpdate() 266 rects[i].x, rects[i].y, rects[i].w, rects[i].h, in X11_MITSHMUpdate()
|
/external/quake/quake/src/WinQuake/ |
D | vid_sunx.cpp | 1012 void VID_Update (vrect_t *rects) in VID_Update() argument 1059 while (rects) in VID_Update() 1061 printf("update: %d,%d (%d,%d)\n", rects->x, rects->y, rects->width, rects->height); in VID_Update() 1064 rects->x, rects->y, rects->width, in VID_Update() 1065 rects->height); in VID_Update() 1068 rects->x, rects->y, rects->width, in VID_Update() 1069 rects->height); in VID_Update() 1071 x_framebuffer[current_framebuffer], rects->x, rects->y, in VID_Update() 1072 rects->x, rects->y, rects->width, rects->height, True)) in VID_Update() 1076 rects = rects->pnext; in VID_Update() [all …]
|
D | vid_x.cpp | 957 void VID_Update (vrect_t *rects) in VID_Update() argument 996 while (rects) in VID_Update() 1000 rects->x, rects->y, rects->width, in VID_Update() 1001 rects->height); in VID_Update() 1004 rects->x, rects->y, rects->width, in VID_Update() 1005 rects->height); in VID_Update() 1007 x_framebuffer[current_framebuffer], rects->x, rects->y, in VID_Update() 1008 rects->x, rects->y, rects->width, rects->height, True)) in VID_Update() 1012 rects = rects->pnext; in VID_Update() 1021 while (rects) in VID_Update() [all …]
|
D | vid_vga.cpp | 431 vrect_t *rects) in VGA_SwapBuffersCopy() argument 448 while (rects) in VGA_SwapBuffersCopy() 451 lvid->buffer + rects->x + (rects->y * lvid->rowbytes), in VGA_SwapBuffersCopy() 452 VGA_pagebase + rects->x + (rects->y * VGA_rowbytes), in VGA_SwapBuffersCopy() 453 rects->width, in VGA_SwapBuffersCopy() 454 rects->height, in VGA_SwapBuffersCopy() 458 rects = rects->pnext; in VGA_SwapBuffersCopy() 469 void VGA_SwapBuffers (viddef_t *lvid, vmode_t *pcurrentmode, vrect_t *rects) in VGA_SwapBuffers() argument 476 VGA_SwapBuffersCopy (lvid, pcurrentmode, rects); in VGA_SwapBuffers()
|
D | vid_win.cpp | 2218 void FlipScreen(vrect_t *rects) in FlipScreen() argument 2230 while (rects) in FlipScreen() 2235 rects->x, in FlipScreen() 2236 rects->y, in FlipScreen() 2237 rects->x + rects->width, in FlipScreen() 2238 rects->y + rects->height, in FlipScreen() 2239 rects->x << 1, in FlipScreen() 2240 rects->y << 1, in FlipScreen() 2241 (rects->x + rects->width) << 1, in FlipScreen() 2242 (rects->y + rects->height) << 1); in FlipScreen() [all …]
|
D | vid_ext.cpp | 120 vrect_t *rects); 717 vrect_t *rects) in VID_ExtraSwapBuffers() argument 721 UNUSED(rects); in VID_ExtraSwapBuffers() 781 while (rects) in VID_ExtraSwapBuffers() 784 lvid->buffer + rects->x + (rects->y * lvid->rowbytes), in VID_ExtraSwapBuffers() 785 VGA_pagebase + rects->x + (rects->y * VGA_rowbytes), in VID_ExtraSwapBuffers() 786 rects->width, in VID_ExtraSwapBuffers() 787 rects->height, in VID_ExtraSwapBuffers() 791 rects = rects->pnext; in VID_ExtraSwapBuffers()
|
/external/webkit/Source/WebCore/dom/ |
D | DocumentMarkerController.cpp | 105 Vector<IntRect>& rects = vectorPair->second; in addMarker() local 107 ASSERT(numMarkers == rects.size()); in addMarker() 119 rects.remove(i); in addMarker() 134 rects.remove(j); in addMarker() 145 rects.insert(i, placeholderRectForMarker()); in addMarker() 215 Vector<IntRect>& rects = vectorPair->second; in removeMarkers() local 216 ASSERT(markers.size() == rects.size()); in removeMarkers() 237 rects.remove(i); in removeMarkers() 248 rects.insert(i, placeholderRectForMarker()); in removeMarkers() 256 rects.insert(i, placeholderRectForMarker()); in removeMarkers() [all …]
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
D | DrawingAreaImpl.cpp | 528 static bool shouldPaintBoundsRect(const IntRect& bounds, const Vector<IntRect>& rects) in shouldPaintBoundsRect() argument 533 if (rects.size() <= 1 || rects.size() > rectThreshold) in shouldPaintBoundsRect() 541 for (size_t i = 0; i < rects.size(); ++i) in shouldPaintBoundsRect() 542 rectsArea += rects[i].width() * rects[i].height(); in shouldPaintBoundsRect() 581 Vector<IntRect> rects = m_dirtyRegion.rects(); in display() local 583 if (shouldPaintBoundsRect(bounds, rects)) { in display() 584 rects.clear(); in display() 585 rects.append(bounds); in display() 601 for (size_t i = 0; i < rects.size(); ++i) { in display() 602 m_webPage->drawRect(*graphicsContext, rects[i]); in display() [all …]
|
D | FindController.cpp | 228 Vector<IntRect> rects; in rectsForTextMatches() local 243 rects.append(*it); in rectsForTextMatches() 247 return rects; in rectsForTextMatches() 297 Vector<IntRect> rects = rectsForTextMatches(); in drawRect() local 308 for (size_t i = 0; i < rects.size(); ++i) { in drawRect() 309 IntRect whiteFrameRect = rects[i]; in drawRect() 320 for (size_t i = 0; i < rects.size(); ++i) in drawRect() 321 graphicsContext.fillRect(rects[i]); in drawRect()
|
/external/quake/quake/src/QW/client/ |
D | vid_x.c | 882 void VID_Update (vrect_t *rects) in VID_Update() argument 912 while (rects) in VID_Update() 916 rects->x, rects->y, rects->width, in VID_Update() 917 rects->height); in VID_Update() 919 x_framebuffer[current_framebuffer], rects->x, rects->y, in VID_Update() 920 rects->x, rects->y, rects->width, rects->height, True)) in VID_Update() 924 rects = rects->pnext; in VID_Update() 933 while (rects) in VID_Update() 937 rects->x, rects->y, rects->width, in VID_Update() 938 rects->height); in VID_Update() [all …]
|
D | vid_win.c | 2257 void FlipScreen(vrect_t *rects) in FlipScreen() argument 2269 while (rects) in FlipScreen() 2274 rects->x, in FlipScreen() 2275 rects->y, in FlipScreen() 2276 rects->x + rects->width, in FlipScreen() 2277 rects->y + rects->height, in FlipScreen() 2278 rects->x << 1, in FlipScreen() 2279 rects->y << 1, in FlipScreen() 2280 (rects->x + rects->width) << 1, in FlipScreen() 2281 (rects->y + rects->height) << 1); in FlipScreen() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
D | SDL_ph_image.c | 959 void ph_OpenGLUpdate(_THIS, int numrects, SDL_Rect* rects) in ph_OpenGLUpdate() argument 967 void ph_NormalUpdate(_THIS, int numrects, SDL_Rect *rects) in ph_NormalUpdate() argument 975 if (rects[i].w==0) /* Clipped? dunno why but this occurs sometime. */ in ph_NormalUpdate() 980 if (rects[i].h==0) /* Clipped? dunno why but this occurs sometime. */ in ph_NormalUpdate() 985 ph_pos.x = rects[i].x; in ph_NormalUpdate() 986 ph_pos.y = rects[i].y; in ph_NormalUpdate() 987 ph_rect.ul.x = rects[i].x; in ph_NormalUpdate() 988 ph_rect.ul.y = rects[i].y; in ph_NormalUpdate() 989 ph_rect.lr.x = rects[i].x + rects[i].w; in ph_NormalUpdate() 990 ph_rect.lr.y = rects[i].y + rects[i].h; in ph_NormalUpdate() [all …]
|
D | SDL_ph_image_c.h | 54 extern void ph_NormalUpdate(_THIS, int numrects, SDL_Rect* rects); 55 extern void ph_OCUpdate(_THIS, int numrects, SDL_Rect* rects); 56 extern void ph_OCDCUpdate(_THIS, int numrects, SDL_Rect* rects); 57 extern void ph_OpenGLUpdate(_THIS, int numrects, SDL_Rect* rects);
|
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/ |
D | SDL_pgvideo.c | 52 static void PG_UpdateRects(_THIS, int numrects, SDL_Rect *rects); 290 static void PG_UpdateRects(_THIS, int numrects, SDL_Rect *rects) in PG_UpdateRects() argument 295 if (rects[i].w <= 0 || rects[i].h <= 0) in PG_UpdateRects() 303 rects[i].x, rects[i].y, in PG_UpdateRects() 304 rects[i].w, rects[i].h); in PG_UpdateRects() 307 rects[i].x, rects[i].y, in PG_UpdateRects() 308 rects[i].w, rects[i].h); in PG_UpdateRects()
|
/external/qemu/distrib/sdl-1.2.12/src/video/gapi/ |
D | SDL_gapivideo.c | 98 static void GAPI_UpdateRects(_THIS, int numrects, SDL_Rect *rects); 1026 static void GAPI_UpdateRectsMono(_THIS, int numrects, SDL_Rect *rects) in GAPI_UpdateRectsMono() argument 1038 …nsigned char*) gapi->videoMem + gapi->startOffset - rects[i].y * gapi->gxProperties.cBPP / 8 + rec… in GAPI_UpdateRectsMono() 1040 …nsigned char*) gapi->videoMem + gapi->startOffset + rects[i].x * gapi->gxProperties.cBPP / 8 + rec… in GAPI_UpdateRectsMono() 1042 …inter = ((unsigned char*) SDL_VideoSurface->pixels) + rects[i].y * SDL_VideoSurface->pitch + rects… in GAPI_UpdateRectsMono() 1043 yNibble = rects[i].y & 1; // TODO: only for 4 bpp in GAPI_UpdateRectsMono() 1044 xNibble = rects[i].x & 1; in GAPI_UpdateRectsMono() 1045 height = rects[i].h; in GAPI_UpdateRectsMono() 1052 …linesProcessed = updateLine16to4(this, (PIXEL*) srcPointer, destPointer, rects[i].w, rects[i].h, h… in GAPI_UpdateRectsMono() 1064 static void GAPI_UpdateRectsColor(_THIS, int numrects, SDL_Rect *rects) in GAPI_UpdateRectsColor() argument [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
D | SDL_gemvideo.c | 91 static void GEM_UpdateRects(_THIS, int numrects, SDL_Rect *rects); 852 static void GEM_UpdateRectsFullscreen(_THIS, int numrects, SDL_Rect *rects) in GEM_UpdateRectsFullscreen() argument 880 x1 = rects[i].x & ~15; in GEM_UpdateRectsFullscreen() 881 x2 = rects[i].x+rects[i].w; in GEM_UpdateRectsFullscreen() 887 source += surface->pitch * rects[i].y; in GEM_UpdateRectsFullscreen() 891 destination += destpitch * rects[i].y; in GEM_UpdateRectsFullscreen() 896 x2-x1, rects[i].h, in GEM_UpdateRectsFullscreen() 921 blitcoords[0] = blitcoords[4] = rects[i].x; in GEM_UpdateRectsFullscreen() 922 blitcoords[1] = blitcoords[5] = rects[i].y; in GEM_UpdateRectsFullscreen() 923 blitcoords[2] = blitcoords[6] = rects[i].x + rects[i].w - 1; in GEM_UpdateRectsFullscreen() [all …]
|
/external/webkit/Source/WebCore/wml/ |
D | WMLAElement.cpp | 111 Vector<IntRect> rects; in isKeyboardFocusable() local 113 renderer()->absoluteRects(rects, absPos.x(), absPos.y()); in isKeyboardFocusable() 114 size_t n = rects.size(); in isKeyboardFocusable() 116 if (!rects[i].isEmpty()) in isKeyboardFocusable()
|
/external/skia/tests/ |
D | RegionTest.cpp | 41 const SkIRect rects[] = { in TestRegion() local 47 REPORTER_ASSERT(reporter, test_rects(rects, SK_ARRAY_COUNT(rects))); in TestRegion()
|
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/ |
D | SDL_nximage.c | 31 void NX_NormalUpdate (_THIS, int numrects, SDL_Rect * rects) in NX_NormalUpdate() argument 44 x = rects [i].x, y = rects [i].y ; in NX_NormalUpdate() 45 w = rects [i].w, h = rects [i].h ; in NX_NormalUpdate()
|
/external/skia/src/core/ |
D | SkRegion_rects.cpp | 192 static VEdge* sort_edges(VEdge** edgePtr, VEdge edge[], const SkIRect rects[], 197 if (!rects[i].isEmpty()) { 198 VEdge::SetFromRect(edge, rects[i]); 219 bool SkRegion::setRects(const SkIRect rects[], int rectCount) { 224 return this->setRect(rects[0]); 231 head = sort_edges(edgePtr, head, rects, rectCount, &tail);
|
/external/qemu/distrib/sdl-1.2.12/src/video/ggi/ |
D | SDL_ggivideo.c | 249 static void GGI_DirectUpdate(_THIS, int numrects, SDL_Rect *rects); 342 static void GGI_DirectUpdate(_THIS, int numrects, SDL_Rect *rects) in GGI_DirectUpdate() argument 350 ggiFlushRegion(VIS, rects[i].x, rects[i].y, rects[i].w, rects[i].h); in GGI_DirectUpdate()
|
/external/qemu/distrib/sdl-1.2.12/src/video/macrom/ |
D | SDL_romvideo.c | 451 static void ROM_DirectUpdate(_THIS, int numrects, SDL_Rect *rects); 452 static void ROM_WindowUpdate(_THIS, int numrects, SDL_Rect *rects); 624 static void ROM_DirectUpdate(_THIS, int numrects, SDL_Rect *rects) in ROM_DirectUpdate() argument 630 static void ROM_WindowUpdate(_THIS, int numrects, SDL_Rect *rects) in ROM_WindowUpdate() argument 656 update.left = rects[i].x; in ROM_WindowUpdate() 657 update.right = rects[i].x+rects[i].w; in ROM_WindowUpdate() 658 update.top = rects[i].y; in ROM_WindowUpdate() 659 update.bottom = rects[i].y+rects[i].h; in ROM_WindowUpdate()
|
/external/webkit/Source/WebCore/platform/graphics/ca/win/ |
D | LegacyCACFLayerTreeHost.cpp | 274 Vector<D3DRECT, 64> rects; in render() local 282 rects.append(rect); in render() 288 if (rects.isEmpty()) in render() 291 m_d3dDevice->Clear(rects.size(), rects.data(), D3DCLEAR_TARGET, 0, 1.0f, 0); in render()
|