Searched refs:region (Results 1 - 25 of 135) sorted by relevance

123456

/haiku/src/servers/app/
H A DRegionPool.cpp46 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 DRegionPool.h25 void Recycle(BRegion* region);
/haiku/src/system/boot/platform/efi/
H A Dmmu.cpp122 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 Dmmu.cpp265 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 Dmain.cpp25 BRegion region; local
26 GetClippingRegion(&region);
28 int32 count = region.CountRects();
30 message.AddRect("rect", region.RectAt(i));
34 void AsyncRedraw(BRegion& region) argument
40 ConstrainClippingRegion(&region);
45 ConstrainClippingRegion(&region);
92 BRegion region; local
96 region.Include(rect);
97 fView->AsyncRedraw(region);
[all...]
/haiku/src/tests/servers/app/constrain_clipping_region/
H A Dmain.cpp22 BRegion region; local
23 region.Include(BRect(20, 20, 40, 40));
24 region.Include(BRect(30, 30, 80, 80));
25 ConstrainClippingRegion(&region);
56 BRegion region; local
57 region.Include(BRect(20, 20, 40, 40));
58 region.Include(BRect(30, 30, 80, 80));
59 ConstrainClippingRegion(&region);
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 DInputServerFilter.cpp87 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 Ddwinfo.cpp58 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 DDrawingEngine.h20 void ConstrainClipping(BRegion* region);
26 void FillRegion(BRegion *region, const rgb_color& color);
31 void CopyRegion(BRegion *region, int32 xOffset, int32 yOffset);
H A DAccelerantHWInterface.h60 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 DServerLink.cpp64 ServerLink::ReadRegion(BRegion* region) argument
66 fReceiver->Read(&region->fCount, sizeof(int32));
67 if (region->fCount > 0) {
68 fReceiver->Read(&region->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(&region->fBounds, sizeof(clipping_rect));
80 ServerLink::AttachRegion(const BRegion& region) argument
[all...]
/haiku/src/tests/servers/app/newerClipping/
H A DWindowLayer.h72 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 DWindowLayer.cpp96 // 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 DViewLayer.h59 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 DInputServerFilter.h24 status_t GetScreenRegion(BRegion* region) const;
/haiku/src/tests/kits/interface/
H A DSetDiskModeTest.cpp60 BRegion region; local
61 region.Include(BRect(10, 10, 40, 40));
62 region.Include(BRect(30, 30, 100, 50));
63 view->ConstrainClippingRegion(&region);
/haiku/src/kits/interface/
H A DRegion.cpp339 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 DRegion.h69 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 DDiagramBox.cpp122 /*! Prepares the drawing stack and clipping region, then
133 BRegion region, clipping; local
134 region.Include(Frame());
136 region.Exclude(&clipping);
137 view()->ConstrainClippingRegion(&region);
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 DDiagramWire.cpp160 BRegion region, clipping; local
161 region.Include(Frame() & updateRect);
163 region.Exclude(&clipping);
164 view()->ConstrainClippingRegion(&region);
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/
H A DIconValueView.cpp54 // constrain clipping region to exclude bitmap
55 BRegion region = originalClippingRegion; local
56 region.Exclude(r);
57 ConstrainClippingRegion(&region);
/haiku/src/tests/servers/app/unit_tests/
H A DSimpleTransformTest.cpp75 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(&region);
86 CPPUNIT_ASSERT(region == reference1);
95 specimen.Apply(&region);
96 CPPUNIT_ASSERT(region == reference2);
/haiku/src/tests/servers/app/newClipping/
H A DWinBorder.h16 virtual bool alter_visible_for_children(BRegion &region);
/haiku/src/kits/game/
H A DDirectWindow.cpp144 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 DTiling.h59 Decorator::Region region, bool highlight);
61 Decorator::Region region, bool highlight);

Completed in 172 milliseconds

123456