Home
last modified time | relevance | path

Searched refs:srcBox (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/dports/games/iortcw/iortcw-1.51c/MP/code/rend2/
H A Dtr_postprocess.c27 ivec4_t srcBox, dstBox; in RB_ToneMap() local
51 VectorSet4(srcBox, 0, 0, size, size); in RB_ToneMap()
69 VectorSet4(srcBox, 0, 0, 0, 0); in RB_ToneMap()
229 ivec4_t srcBox, dstBox; in RB_RadialBlur() local
242 VectorSet4(srcBox, 0, 0, srcWidth, srcHeight); in RB_RadialBlur()
255 srcBox[0] = s0 * srcWidth; in RB_RadialBlur()
256 srcBox[1] = t0 * srcHeight; in RB_RadialBlur()
257 srcBox[2] = iscale * srcWidth; in RB_RadialBlur()
258 srcBox[3] = iscale * srcHeight; in RB_RadialBlur()
414 ivec4_t srcBox, dstBox; in RB_BlurAxis() local
[all …]
/dports/games/iortcw/iortcw-1.51c/SP/code/rend2/
H A Dtr_postprocess.c27 ivec4_t srcBox, dstBox; in RB_ToneMap() local
51 VectorSet4(srcBox, 0, 0, size, size); in RB_ToneMap()
69 VectorSet4(srcBox, 0, 0, 0, 0); in RB_ToneMap()
229 ivec4_t srcBox, dstBox; in RB_RadialBlur() local
242 VectorSet4(srcBox, 0, 0, srcWidth, srcHeight); in RB_RadialBlur()
255 srcBox[0] = s0 * srcWidth; in RB_RadialBlur()
256 srcBox[1] = t0 * srcHeight; in RB_RadialBlur()
257 srcBox[2] = iscale * srcWidth; in RB_RadialBlur()
258 srcBox[3] = iscale * srcHeight; in RB_RadialBlur()
414 ivec4_t srcBox, dstBox; in RB_BlurAxis() local
[all …]
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GL3Plus/src/
H A DOgreGL3PlusHardwarePixelBuffer.cpp91 void GL3PlusHardwarePixelBuffer::blitToMemory(const Box &srcBox, const PixelBox &dst) in blitToMemory() argument
93 if (!mBuffer.contains(srcBox)) in blitToMemory()
100 if (srcBox.left == 0 && srcBox.right == getWidth() && in blitToMemory()
101 srcBox.top == 0 && srcBox.bottom == getHeight() && in blitToMemory()
102 srcBox.front == 0 && srcBox.back == getDepth() && in blitToMemory()
118 if(srcBox.getWidth() != dst.getWidth() || in blitToMemory()
119 srcBox.getHeight() != dst.getHeight() || in blitToMemory()
120 srcBox.getDepth() != dst.getDepth()) in blitToMemory()
123 Image::scale(mBuffer.getSubVolume(srcBox), dst, Image::FILTER_BILINEAR); in blitToMemory()
128 PixelUtil::bulkPixelConversion(mBuffer.getSubVolume(srcBox), dst); in blitToMemory()
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GL/src/
H A DOgreGLHardwarePixelBuffer.cpp90 if(!mBuffer.contains(srcBox)) in blitToMemory()
93 if(srcBox.left == 0 && srcBox.right == getWidth() && in blitToMemory()
94 srcBox.top == 0 && srcBox.bottom == getHeight() && in blitToMemory()
95 srcBox.front == 0 && srcBox.back == getDepth() && in blitToMemory()
111 if(srcBox.getWidth() != dst.getWidth() || in blitToMemory()
113 srcBox.getDepth() != dst.getDepth()) in blitToMemory()
430 blitFromTexture(srct, srcBox, dstBox); in blit()
493 if(srcBox.getWidth()==dstBox.getWidth() && in blitFromTexture()
494 srcBox.getHeight()==dstBox.getHeight() && in blitFromTexture()
495 srcBox.getDepth()==dstBox.getDepth()) in blitFromTexture()
[all …]
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLES2/src/
H A DOgreGLES2HardwarePixelBuffer.cpp97 if (!mBuffer.contains(srcBox)) in blitToMemory()
104 if (srcBox.left == 0 && srcBox.right == getWidth() && in blitToMemory()
105 srcBox.top == 0 && srcBox.bottom == getHeight() && in blitToMemory()
106 srcBox.front == 0 && srcBox.back == getDepth() && in blitToMemory()
122 if(srcBox.getWidth() != dst.getWidth() || in blitToMemory()
123 srcBox.getHeight() != dst.getHeight() || in blitToMemory()
124 srcBox.getDepth() != dst.getDepth()) in blitToMemory()
444 blitFromTexture(srct, srcBox, dstBox); in blit()
486 if(srcBox.getWidth() == dstBox.getWidth() && in blitFromTexture()
488 srcBox.getDepth() == dstBox.getDepth()) in blitFromTexture()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/he/
H A Dfloodfill_he.cpp86 if (ffs->srcBox.top <= y + 1 && ffs->srcBox.bottom >= y + 1) { in floodFillProcess()
95 if (ffs->srcBox.top <= y && ffs->srcBox.bottom >= y) { in floodFillProcess()
118 while (ffs->srcBox.left <= x) { in floodFillProcess()
132 if (ffs->srcBox.top <= y - dy && ffs->srcBox.bottom >= y - dy) { in floodFillProcess()
143 while (ffs->srcBox.right >= x) { in floodFillProcess()
154 if (ffs->srcBox.top <= y + dy && ffs->srcBox.bottom >= y + dy) { in floodFillProcess()
160 if (ffs->srcBox.top <= y - dy && ffs->srcBox.bottom >= y - dy) { in floodFillProcess()
198 ffs->srcBox = ffp->box; in floodFill()
268 ffs->srcBox = imageRect; in fillWizFlood()
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/he/
H A Dfloodfill_he.cpp86 if (ffs->srcBox.top <= y + 1 && ffs->srcBox.bottom >= y + 1) { in floodFillProcess()
95 if (ffs->srcBox.top <= y && ffs->srcBox.bottom >= y) { in floodFillProcess()
118 while (ffs->srcBox.left <= x) { in floodFillProcess()
132 if (ffs->srcBox.top <= y - dy && ffs->srcBox.bottom >= y - dy) { in floodFillProcess()
143 while (ffs->srcBox.right >= x) { in floodFillProcess()
154 if (ffs->srcBox.top <= y + dy && ffs->srcBox.bottom >= y + dy) { in floodFillProcess()
160 if (ffs->srcBox.top <= y - dy && ffs->srcBox.bottom >= y - dy) { in floodFillProcess()
198 ffs->srcBox = ffp->box; in floodFill()
268 ffs->srcBox = imageRect; in fillWizFlood()
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GL/src/
H A DOgreGLHardwarePixelBuffer.cpp141 if(!mBuffer.contains(srcBox)) in blitToMemory()
144 if(srcBox.left == 0 && srcBox.right == getWidth() && in blitToMemory()
145 srcBox.top == 0 && srcBox.bottom == getHeight() && in blitToMemory()
146 srcBox.front == 0 && srcBox.back == getDepth() && in blitToMemory()
162 if(srcBox.getWidth() != dst.getWidth() || in blitToMemory()
163 srcBox.getHeight() != dst.getHeight() || in blitToMemory()
164 srcBox.getDepth() != dst.getDepth()) in blitToMemory()
566 blitFromTexture(srct, srcBox, dstBox); in blit()
629 if(srcBox.getWidth()==dstBox.getWidth() && in blitFromTexture()
631 srcBox.getDepth()==dstBox.getDepth()) in blitFromTexture()
[all …]
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GL3Plus/src/
H A DOgreGL3PlusHardwarePixelBuffer.cpp142 if (!mBuffer.contains(srcBox)) in blitToMemory()
149 if (srcBox.left == 0 && srcBox.right == getWidth() && in blitToMemory()
150 srcBox.top == 0 && srcBox.bottom == getHeight() && in blitToMemory()
151 srcBox.front == 0 && srcBox.back == getDepth() && in blitToMemory()
167 if(srcBox.getWidth() != dst.getWidth() || in blitToMemory()
169 srcBox.getDepth() != dst.getDepth()) in blitToMemory()
613 blitFromTexture(srct, srcBox, dstBox); in blit()
652 if(srcBox.getWidth()==dstBox.getWidth() && in blitFromTexture()
653 srcBox.getHeight()==dstBox.getHeight() && in blitFromTexture()
654 srcBox.getDepth()==dstBox.getDepth()) in blitFromTexture()
[all …]
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES/src/
H A DOgreGLESHardwarePixelBuffer.cpp171 if (!mBuffer.contains(srcBox)) in blitToMemory()
178 if (srcBox.left == 0 && srcBox.right == getWidth() && in blitToMemory()
179 srcBox.top == 0 && srcBox.bottom == getHeight() && in blitToMemory()
180 srcBox.front == 0 && srcBox.back == getDepth() && in blitToMemory()
196 if(srcBox.getWidth() != dst.getWidth() || in blitToMemory()
197 srcBox.getHeight() != dst.getHeight() || in blitToMemory()
198 srcBox.getDepth() != dst.getDepth()) in blitToMemory()
455 blitFromTexture(srct, srcBox, dstBox); in blit()
522 if(srcBox.getWidth()==dstBox.getWidth() && in blitFromTexture()
523 srcBox.getHeight()==dstBox.getHeight() && in blitFromTexture()
[all …]
/dports/science/libgridxc/libgridxc-libgridxc-0.9.6/src/
H A Dmesh3d.F901069 integer :: srcBox(2,3) local
1805 task%srcBox(1,:,:) = 0
1806 task%srcBox(2,:,:) = -1
2194 if (any( shape(srcData) /= srcBox(2,:)-srcBox(1,:)+1 )) &
2200 i1min = prjBox(1,1) - srcBox(1,1)
2201 i1max = prjBox(2,1) - srcBox(1,1)
2202 i2min = prjBox(1,2) - srcBox(1,2)
2259 srcMesh = srcBox(2,:) - srcBox(1,:) + 1
2409 if (size(srcData,ic) < srcBox(2,ic)-srcBox(1,ic)+1) &
2489 if (any( task%srcBox(:,:,myNode) /= srcBox )) &
[all …]
/dports/science/siesta/siesta-4.1.5/Src/SiestaXC/
H A Dmesh3d.F901068 integer :: srcBox(2,3) local
1804 task%srcBox(1,:,:) = 0
1805 task%srcBox(2,:,:) = -1
2193 if (any( shape(srcData) /= srcBox(2,:)-srcBox(1,:)+1 )) &
2199 i1min = prjBox(1,1) - srcBox(1,1)
2258 srcMesh = srcBox(2,:) - srcBox(1,:) + 1
2408 if (size(srcData,ic) < srcBox(2,ic)-srcBox(1,ic)+1) &
2488 if (any( task%srcBox(:,:,myNode) /= srcBox )) &
2497 srcBoxes = task%srcBox
2503 task%srcBox = srcBoxes
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/tests/gl_tests/
H A DD3D11EmulatedIndexedBufferTest.cpp77 D3D11_BOX srcBox; in createMappableCompareBufferFromEmulatedBuffer() local
78 srcBox.left = 0; in createMappableCompareBufferFromEmulatedBuffer()
79 srcBox.right = size; in createMappableCompareBufferFromEmulatedBuffer()
80 srcBox.top = 0; in createMappableCompareBufferFromEmulatedBuffer()
81 srcBox.bottom = 1; in createMappableCompareBufferFromEmulatedBuffer()
82 srcBox.front = 0; in createMappableCompareBufferFromEmulatedBuffer()
83 srcBox.back = 1; in createMappableCompareBufferFromEmulatedBuffer()
86 sourceBuffer, 0, &srcBox); in createMappableCompareBufferFromEmulatedBuffer()
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/Direct3D11/src/
H A DOgreD3D11HardwareBuffer.cpp254 D3D11_BOX srcBox; in copyData() local
255 srcBox.left = (UINT)srcOffset; in copyData()
256 srcBox.right = (UINT)srcOffset + length; in copyData()
257 srcBox.top = 0; in copyData()
258 srcBox.bottom = 1; in copyData()
259 srcBox.front = 0; in copyData()
260 srcBox.back = 1; in copyData()
263 static_cast<D3D11HardwareBuffer&>(srcBuffer).getD3DBuffer(), 0, &srcBox); in copyData()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/angle/src/tests/gl_tests/
H A DD3D11EmulatedIndexedBufferTest.cpp80 D3D11_BOX srcBox; in createMappableCompareBufferFromEmulatedBuffer() local
81 srcBox.left = 0; in createMappableCompareBufferFromEmulatedBuffer()
82 srcBox.right = size; in createMappableCompareBufferFromEmulatedBuffer()
83 srcBox.top = 0; in createMappableCompareBufferFromEmulatedBuffer()
84 srcBox.bottom = 1; in createMappableCompareBufferFromEmulatedBuffer()
85 srcBox.front = 0; in createMappableCompareBufferFromEmulatedBuffer()
86 srcBox.back = 1; in createMappableCompareBufferFromEmulatedBuffer()
88 …->getDeviceContext()->CopySubresourceRegion(*mappableBuffer, 0, 0, 0, 0, sourceBuffer, 0, &srcBox); in createMappableCompareBufferFromEmulatedBuffer()
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Components/Terrain/src/
H A DOgreTerrainLayerBlendMap.cpp212 const PixelBox* srcBox = &src; in blit() local
214 if (srcBox->getWidth() != dstBox.getWidth() || srcBox->getHeight() != dstBox.getHeight()) in blit()
218 srcBox = OGRE_NEW PixelBox(dstBox.getWidth(), dstBox.getHeight(), 1, PF_L8, tmpData); in blit()
220 Image::scale(src, *srcBox); in blit()
225 PixelUtil::bulkPixelConversion(*srcBox, dstMemBox); in blit()
227 if (srcBox != &src) in blit()
230 OGRE_FREE(srcBox->data, MEMCATEGORY_GENERAL); in blit()
231 OGRE_DELETE srcBox; in blit() local
232 srcBox = 0; in blit()
/dports/graphics/ogre3d/ogre-1.11.6/Components/Terrain/src/
H A DOgreTerrainLayerBlendMap.cpp212 const PixelBox* srcBox = &src; in blit() local
214 if (srcBox->getWidth() != dstBox.getWidth() || srcBox->getHeight() != dstBox.getHeight()) in blit()
218 srcBox = OGRE_NEW PixelBox(dstBox.getWidth(), dstBox.getHeight(), 1, PF_L8, tmpData); in blit()
220 Image::scale(src, *srcBox); in blit()
225 PixelUtil::bulkPixelConversion(*srcBox, dstMemBox); in blit()
227 if (srcBox != &src) in blit()
230 OGRE_FREE(srcBox->data, MEMCATEGORY_GENERAL); in blit()
231 OGRE_DELETE srcBox; in blit() local
232 srcBox = 0; in blit()
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/Direct3D11/src/
H A DOgreD3D11HardwareBuffer.cpp260 D3D11_BOX srcBox; in copyDataImpl() local
261 srcBox.left = (UINT)srcOffset; in copyDataImpl()
262 srcBox.right = (UINT)srcOffset + length; in copyDataImpl()
263 srcBox.top = 0; in copyDataImpl()
264 srcBox.bottom = 1; in copyDataImpl()
265 srcBox.front = 0; in copyDataImpl()
266 srcBox.back = 1; in copyDataImpl()
269 static_cast<D3D11HardwareBuffer&>(srcBuffer).getD3DBuffer(), 0, &srcBox); in copyDataImpl()
H A DOgreD3D11HardwarePixelBuffer.cpp276 if (srcBox.getWidth() != dstBox.getWidth() in blit()
277 || srcBox.getHeight() != dstBox.getHeight() in blit()
278 || srcBox.getDepth() != dstBox.getDepth()) in blit()
288 if (srcBox.getDepth() > 1 && in blit()
291 Box srcSlice = srcBox, dstSlice = dstBox; in blit()
294 for(uint32 slice = srcBox.front; slice < srcBox.back; ++slice) in blit()
304 D3D11_BOX srcBoxDx11 = srcDx11->getSubresourceBox(srcBox); in blit()
305 UINT srcSubresource = srcDx11->getSubresourceIndex(srcBox.front); in blit()
393 void D3D11HardwarePixelBuffer::blitToMemory(const Box &srcBox, const PixelBox &dst) in blitToMemory() argument
395 assert(srcBox.getDepth() == 1 && dst.getDepth() == 1); in blitToMemory()
[all …]
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES2/src/
H A DOgreGLES2HardwarePixelBuffer.cpp188 if (!mBuffer.contains(srcBox)) in blitToMemory()
195 if (srcBox.left == 0 && srcBox.right == getWidth() && in blitToMemory()
196 srcBox.top == 0 && srcBox.bottom == getHeight() && in blitToMemory()
197 srcBox.front == 0 && srcBox.back == getDepth() && in blitToMemory()
213 if(srcBox.getWidth() != dst.getWidth() || in blitToMemory()
214 srcBox.getHeight() != dst.getHeight() || in blitToMemory()
215 srcBox.getDepth() != dst.getDepth()) in blitToMemory()
767 blitFromTexture(srct, srcBox, dstBox); in blit()
807 if(srcBox.getWidth() == dstBox.getWidth() && in blitFromTexture()
809 srcBox.getDepth() == dstBox.getDepth()) in blitFromTexture()
[all …]
/dports/net/tightvnc/vnc_unixsrc/Xvnc/programs/Xserver/mfb/
H A Dmfbpushpxl.c106 BoxRec srcBox; local
119 srcBox.x1 = xOrg;
120 srcBox.y1 = yOrg;
121 srcBox.x2 = xOrg + dx;
122 srcBox.y2 = yOrg + dy;
123 REGION_INIT(pGC->pScreen, &rgnDst, &srcBox, 1);
/dports/x11-servers/xwayland-devel/xorg-xserver-xorg-server-21.0.99.1-177-g9e5a37961/mi/
H A Dmiexpose.c126 BoxRec srcBox; /* unclipped source */ in miHandleExposures() local
142 srcBox.x1 = srcx; in miHandleExposures()
143 srcBox.y1 = srcy; in miHandleExposures()
144 srcBox.x2 = srcx + width; in miHandleExposures()
145 srcBox.y2 = srcy + height; in miHandleExposures()
174 if ((srcBox.x1 >= 0) && (srcBox.y1 >= 0) && in miHandleExposures()
175 (srcBox.x2 <= pSrcDrawable->width) && in miHandleExposures()
176 (srcBox.y2 <= pSrcDrawable->height)) in miHandleExposures()
214 RegionInit(&rgnExposed, &srcBox, 1); in miHandleExposures()
249 (RegionContainsRect(region, &srcBox) != rgnIN)) in miHandleExposures()
/dports/x11-servers/xarcan/xarcan-0.6.0/mi/
H A Dmiexpose.c126 BoxRec srcBox; /* unclipped source */ in miHandleExposures() local
142 srcBox.x1 = srcx; in miHandleExposures()
143 srcBox.y1 = srcy; in miHandleExposures()
144 srcBox.x2 = srcx + width; in miHandleExposures()
145 srcBox.y2 = srcy + height; in miHandleExposures()
174 if ((srcBox.x1 >= 0) && (srcBox.y1 >= 0) && in miHandleExposures()
175 (srcBox.x2 <= pSrcDrawable->width) && in miHandleExposures()
176 (srcBox.y2 <= pSrcDrawable->height)) in miHandleExposures()
214 RegionInit(&rgnExposed, &srcBox, 1); in miHandleExposures()
249 (RegionContainsRect(region, &srcBox) != rgnIN)) in miHandleExposures()
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/Direct3D9/src/
H A DOgreD3D9HardwarePixelBuffer.cpp489 const Box &srcBox, in blit() argument
517 const Box &srcBox, in blit() argument
525 RECT dsrcRect = toD3DRECT(srcBox); in blit()
597 D3DBOX dsrcBox = toD3DBOX(srcBox); in blit()
694 D3DBOX destBox, srcBox; in blitFromMemory() local
695 srcBox = toD3DBOX(converted); in blitFromMemory()
721 NULL, &srcBox, D3DX_DEFAULT, 0) != D3D_OK) in blitFromMemory()
772 (srcBox.getWidth() == dst.getWidth()) && (srcBox.getHeight() == dst.getHeight()) && in blitToMemory()
773 (srcBox.getWidth() == getWidth()) && (srcBox.getHeight() == getHeight()) && in blitToMemory()
799 srcRect = toD3DRECT(srcBox); in blitToMemory()
[all …]
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/Direct3D9/src/
H A DOgreD3D9HardwarePixelBuffer.cpp489 const Image::Box &srcBox, in blit() argument
517 const Image::Box &srcBox, in blit() argument
525 RECT dsrcRect = toD3DRECT(srcBox); in blit()
597 D3DBOX dsrcBox = toD3DBOX(srcBox); in blit()
688 D3DBOX destBox, srcBox; in blitFromMemory() local
689 srcBox = toD3DBOX(converted); in blitFromMemory()
715 NULL, &srcBox, D3DX_DEFAULT, 0) != D3D_OK) in blitFromMemory()
766 (srcBox.getWidth() == dst.getWidth()) && (srcBox.getHeight() == dst.getHeight()) && in blitToMemory()
767 (srcBox.getWidth() == getWidth()) && (srcBox.getHeight() == getHeight()) && in blitToMemory()
793 srcRect = toD3DRECT(srcBox); in blitToMemory()
[all …]

12345678910>>...12