/haiku/src/servers/app/ |
H A D | RegionPool.cpp | 46 BRegion* region = (BRegion*)fAvailable.RemoveItem( local 48 if (!region) { 49 region = new (nothrow) BRegion(); 50 if (!region) { 57 fUsed.AddItem(region); 59 return region; 66 BRegion* region; local 69 region = (BRegion*)fAvailable.RemoveItem(count - 1); 70 *region = other; 72 region 88 Recycle(BRegion* region) argument [all...] |
H A D | RegionPool.h | 25 void Recycle(BRegion* region);
|
/haiku/src/system/boot/platform/efi/ |
H A D | mmu.cpp | 122 memory_region *region = new(std::nothrow) memory_region { local 134 if (region == NULL) { 140 //region->dprint("Allocated"); 142 allocated_regions = region; 143 *_address = (void *)region->paddr; 160 memory_region *region = new(std::nothrow) memory_region { 167 if (region == NULL) { 172 allocated_regions = region; 173 *_address = (void *)region->paddr; 217 memory_region *region local 323 memory_region* region = (memory_region*)*cookie; local [all...] |
/haiku/src/system/boot/platform/riscv/ |
H A D | mmu.cpp | 265 MemoryRegion* region; local 266 for (region = sRegions; region != NULL; region = region->next) { 268 .isRead = (region->protection & B_READ_AREA) != 0, 269 .isWrite = (region->protection & B_WRITE_AREA) != 0, 270 .isExec = (region->protection & B_EXECUTE_AREA) != 0 272 MapRange(region->virtAdr, region 333 MemoryRegion* region = sRegions; local 377 MemoryRegion* region = sRegions; local 393 MemoryRegion* region = sRegions; local [all...] |
/haiku/src/tests/servers/app/async_drawing/ |
H A D | main.cpp | 25 BRegion region; local 26 GetClippingRegion(®ion); 28 int32 count = region.CountRects(); 30 message.AddRect("rect", region.RectAt(i)); 34 void AsyncRedraw(BRegion& region) argument 40 ConstrainClippingRegion(®ion); 45 ConstrainClippingRegion(®ion); 92 BRegion region; local 96 region.Include(rect); 97 fView->AsyncRedraw(region); [all...] |
/haiku/src/tests/servers/app/constrain_clipping_region/ |
H A D | main.cpp | 22 BRegion region; local 23 region.Include(BRect(20, 20, 40, 40)); 24 region.Include(BRect(30, 30, 80, 80)); 25 ConstrainClippingRegion(®ion); 56 BRegion region; local 57 region.Include(BRect(20, 20, 40, 40)); 58 region.Include(BRect(30, 30, 80, 80)); 59 ConstrainClippingRegion(®ion); 88 BRegion region; local 89 region 134 BRegion region; local 188 BRegion region; local 226 BRegion region; local [all...] |
/haiku/src/servers/input/ |
H A D | InputServerFilter.cpp | 87 BInputServerFilter::GetScreenRegion(BRegion *region) const 89 if (!region) 92 *region = BRegion(((InputServer*)be_app)->ScreenFrame());
|
/haiku/src/tests/kits/game/direct_window_info_test/ |
H A D | dwinfo.cpp | 58 BRegion region; local 79 region.Set(info->window_bounds); 80 region.PrintToStream(); 82 region.MakeEmpty(); 84 region.Include(info->clip_list[i]); 87 region.PrintToStream();
|
/haiku/src/tests/servers/app/newerClipping/drawing/ |
H A D | DrawingEngine.h | 20 void ConstrainClipping(BRegion* region); 26 void FillRegion(BRegion *region, const rgb_color& color); 31 void CopyRegion(BRegion *region, int32 xOffset, int32 yOffset);
|
H A D | AccelerantHWInterface.h | 60 virtual void FillRegion(/*const*/ BRegion& region, 62 virtual void InvertRegion(/*const*/ BRegion& region); 84 void _RegionToRectParams(/*const*/ BRegion* region,
|
/haiku/src/kits/app/ |
H A D | ServerLink.cpp | 64 ServerLink::ReadRegion(BRegion* region) argument 66 fReceiver->Read(®ion->fCount, sizeof(int32)); 67 if (region->fCount > 0) { 68 fReceiver->Read(®ion->fBounds, sizeof(clipping_rect)); 69 if (!region->_SetSize(region->fCount)) 71 return fReceiver->Read(region->fData, 72 region->fCount * sizeof(clipping_rect)); 75 return fReceiver->Read(®ion->fBounds, sizeof(clipping_rect)); 80 ServerLink::AttachRegion(const BRegion& region) argument [all...] |
/haiku/src/tests/servers/app/newerClipping/ |
H A D | WindowLayer.h | 72 void GetFullRegion(BRegion* region) const; 73 void GetBorderRegion(BRegion* region); 74 void GetContentRegion(BRegion* region); 95 void ProcessDirtyRegion(BRegion* region); 100 void CopyContents(BRegion* region, 104 void _ShiftPartOfRegion(BRegion* region, BRegion* regionToShift, 122 // the visible region is only recalculated from the 128 // our part of the "global" dirty region 162 // belong to the redraw of which region is handled
|
H A D | WindowLayer.cpp | 96 // reset the dirty region, since 100 // blocking on the global region lock to 177 // start from full region (as if the window was fully visible) 179 // clip to region still available on screen 188 WindowLayer::GetFullRegion(BRegion* region) const 191 region->Set(BRect(fFrame.left - 4, fFrame.top - 4, 194 region->Include(BRect(fFrame.left - 4, fFrame.top - 20, 200 WindowLayer::GetBorderRegion(BRegion* region) argument 218 *region = fBorderRegion; 223 WindowLayer::GetContentRegion(BRegion* region) argument 392 ProcessDirtyRegion(BRegion* region) argument 471 CopyContents(BRegion* region, int32 xOffset, int32 yOffset) argument 529 _ShiftPartOfRegion(BRegion* region, BRegion* regionToShift, int32 xOffset, int32 yOffset) argument [all...] |
H A D | ViewLayer.h | 59 void ConvertToParent(BRegion* region) const; 63 void ConvertFromParent(BRegion* region) const; 67 void ConvertToTop(BRegion* region) const; 71 void ConvertFromTop(BRegion* region) const;
|
/haiku/headers/os/add-ons/input_server/ |
H A D | InputServerFilter.h | 24 status_t GetScreenRegion(BRegion* region) const;
|
/haiku/src/tests/kits/interface/ |
H A D | SetDiskModeTest.cpp | 60 BRegion region; local 61 region.Include(BRect(10, 10, 40, 40)); 62 region.Include(BRect(30, 30, 100, 50)); 63 view->ConstrainClippingRegion(®ion);
|
/haiku/src/kits/interface/ |
H A D | Region.cpp | 339 BRegion::Include(const BRegion* region) argument 342 Support::XUnionRegion(this, region, &result); 376 BRegion::Exclude(const BRegion* region) argument 379 Support::XSubtractRegion(this, region, &result); 386 BRegion::IntersectWith(const BRegion* region) argument 389 Support::XIntersectRegion(this, region, &result); 396 BRegion::ExclusiveInclude(const BRegion* region) argument 399 Support::XXorRegion(this, region, &result); 409 \fn void BRegion::_AdoptRegionData(BRegion& region) 410 \brief Takes over the data of \a region an 415 _AdoptRegionData(BRegion& region) argument [all...] |
/haiku/headers/os/interface/ |
H A D | Region.h | 69 void Include(const BRegion* region); 73 void Exclude(const BRegion* region); 75 void IntersectWith(const BRegion* region); 77 void ExclusiveInclude(const BRegion* region); 90 void _AdoptRegionData(BRegion& region);
|
/haiku/src/apps/cortex/DiagramView/ |
H A D | DiagramBox.cpp | 122 /*! Prepares the drawing stack and clipping region, then 133 BRegion region, clipping; local 134 region.Include(Frame()); 136 region.Exclude(&clipping); 137 view()->ConstrainClippingRegion(®ion); 141 if (region.Intersects(item->Frame())) 145 BRegion region, clipping; local 146 region.Include(Frame()); 148 region.Exclude(&clipping); 152 if (region [all...] |
H A D | DiagramWire.cpp | 160 BRegion region, clipping; local 161 region.Include(Frame() & updateRect); 163 region.Exclude(&clipping); 164 view()->ConstrainClippingRegion(®ion);
|
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/ |
H A D | IconValueView.cpp | 54 // constrain clipping region to exclude bitmap 55 BRegion region = originalClippingRegion; local 56 region.Exclude(r); 57 ConstrainClippingRegion(®ion);
|
/haiku/src/tests/servers/app/unit_tests/ |
H A D | SimpleTransformTest.cpp | 75 BRegion region; local 76 region.Include(BRect( 5.0, 5.0, 20.0, 20.0)); 77 region.Include(BRect(10.0, 10.0, 30.0, 30.0)); 78 region.Exclude(BRect(10.0, 20.0, 20.0, 25.0)); 80 BRegion reference1 = region; 85 specimen.Apply(®ion); 86 CPPUNIT_ASSERT(region == reference1); 95 specimen.Apply(®ion); 96 CPPUNIT_ASSERT(region == reference2);
|
/haiku/src/tests/servers/app/newClipping/ |
H A D | WinBorder.h | 16 virtual bool alter_visible_for_children(BRegion ®ion);
|
/haiku/src/kits/game/ |
H A D | DirectWindow.cpp | 144 BRegion region; local 145 region.Set(info.window_bounds); 146 region.PrintToStream(); 148 region.MakeEmpty(); 150 region.Include(info.clip_list[i]); 153 region.PrintToStream(); 361 BDirectWindow::GetClippingRegion(BRegion* region, BPoint* origin) const argument 363 if (region == NULL) 390 if (!region->_SetSize(fBufferDesc->clip_list_count)) { 394 region [all...] |
/haiku/src/servers/app/stackandtile/ |
H A D | Tiling.h | 59 Decorator::Region region, bool highlight); 61 Decorator::Region region, bool highlight);
|