/dports/www/firefox/firefox-99.0/gfx/2d/ |
H A D | DrawEventRecorder.cpp | 28 IntSize surfaceSize = aSurface->GetSize(); in StoreSourceSurfaceRecording() local 34 !Factory::AllowedSurfaceSize(surfaceSize)) { in StoreSourceSurfaceRecording() 38 if (!Factory::AllowedSurfaceSize(surfaceSize)) { in StoreSourceSurfaceRecording() 39 surfaceSize.width = std::min(surfaceSize.width, kReasonableSurfaceSize); in StoreSourceSurfaceRecording() 40 surfaceSize.height = std::min(surfaceSize.height, kReasonableSurfaceSize); in StoreSourceSurfaceRecording() 46 MakeUniqueFallible<uint8_t[]>(stride * surfaceSize.height); in StoreSourceSurfaceRecording() 49 surfaceSize.width = 1; in StoreSourceSurfaceRecording() 50 surfaceSize.height = 1; in StoreSourceSurfaceRecording() 51 stride = surfaceSize.width * BytesPerPixel(aSurface->GetFormat()); in StoreSourceSurfaceRecording() 52 sourceData = MakeUnique<uint8_t[]>(stride * surfaceSize.height); in StoreSourceSurfaceRecording() [all …]
|
/dports/graphics/jogamp-jogl/jogl/src/newt/classes/com/jogamp/newt/ |
H A D | MonitorMode.java | 140 public final SurfaceSize surfaceSize; field in MonitorMode.SizeAndRRate 148 if(null==surfaceSize) { in SizeAndRRate() 149 throw new IllegalArgumentException("surfaceSize must be set ("+surfaceSize+")"); in SizeAndRRate() 151 this.surfaceSize=surfaceSize; in SizeAndRRate() 179 return surfaceSize+" @ "+refreshRate+" Hz, flags ["+flags2String(flags).toString()+"]"; in toString() 199 final int rssz = surfaceSize.compareTo(sszr.surfaceSize); in compareTo() 239 return surfaceSize.equals(p.surfaceSize) && in equals() 260 int hash = 31 + surfaceSize.hashCode(); in getHashCode() 321 this(0, new SizeAndRRate(surfaceSize, refreshRate, flags), rotation); in MonitorMode() 334 return sizeAndRRate.surfaceSize; in getSurfaceSize() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/2d/ |
H A D | DrawEventRecorder.cpp | 28 IntSize surfaceSize = aSurface->GetSize(); in StoreSourceSurfaceRecording() local 34 !Factory::AllowedSurfaceSize(surfaceSize)) { in StoreSourceSurfaceRecording() 38 if (!Factory::AllowedSurfaceSize(surfaceSize)) { in StoreSourceSurfaceRecording() 39 surfaceSize.width = std::min(surfaceSize.width, kReasonableSurfaceSize); in StoreSourceSurfaceRecording() 40 surfaceSize.height = std::min(surfaceSize.height, kReasonableSurfaceSize); in StoreSourceSurfaceRecording() 46 MakeUniqueFallible<uint8_t[]>(stride * surfaceSize.height); in StoreSourceSurfaceRecording() 49 surfaceSize.width = 1; in StoreSourceSurfaceRecording() 50 surfaceSize.height = 1; in StoreSourceSurfaceRecording() 51 stride = surfaceSize.width * BytesPerPixel(aSurface->GetFormat()); in StoreSourceSurfaceRecording() 52 sourceData = MakeUnique<uint8_t[]>(stride * surfaceSize.height); in StoreSourceSurfaceRecording() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/2d/ |
H A D | DrawEventRecorder.cpp | 28 IntSize surfaceSize = aSurface->GetSize(); in StoreSourceSurfaceRecording() local 34 !Factory::AllowedSurfaceSize(surfaceSize)) { in StoreSourceSurfaceRecording() 38 if (!Factory::AllowedSurfaceSize(surfaceSize)) { in StoreSourceSurfaceRecording() 39 surfaceSize.width = std::min(surfaceSize.width, kReasonableSurfaceSize); in StoreSourceSurfaceRecording() 40 surfaceSize.height = std::min(surfaceSize.height, kReasonableSurfaceSize); in StoreSourceSurfaceRecording() 46 MakeUniqueFallible<uint8_t[]>(stride * surfaceSize.height); in StoreSourceSurfaceRecording() 49 surfaceSize.width = 1; in StoreSourceSurfaceRecording() 50 surfaceSize.height = 1; in StoreSourceSurfaceRecording() 51 stride = surfaceSize.width * BytesPerPixel(aSurface->GetFormat()); in StoreSourceSurfaceRecording() 52 sourceData = MakeUnique<uint8_t[]>(stride * surfaceSize.height); in StoreSourceSurfaceRecording() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/2d/ |
H A D | DrawEventRecorder.cpp | 26 IntSize surfaceSize = aSurface->GetSize(); in StoreSourceSurfaceRecording() local 27 if (!dataSurf || !Factory::AllowedSurfaceSize(surfaceSize)) { in StoreSourceSurfaceRecording() 31 if (!Factory::AllowedSurfaceSize(surfaceSize)) { in StoreSourceSurfaceRecording() 32 surfaceSize.width = std::min(surfaceSize.width, kReasonableSurfaceSize); in StoreSourceSurfaceRecording() 33 surfaceSize.height = std::min(surfaceSize.height, kReasonableSurfaceSize); in StoreSourceSurfaceRecording() 37 int32_t stride = surfaceSize.width * BytesPerPixel(aSurface->GetFormat()); in StoreSourceSurfaceRecording() 38 UniquePtr<uint8_t[]> sourceData(new uint8_t[stride * surfaceSize.height]()); in StoreSourceSurfaceRecording() 40 stride, surfaceSize, in StoreSourceSurfaceRecording()
|
/dports/lang/spidermonkey60/firefox-60.9.0/image/ |
H A D | SurfacePipe.cpp | 58 IntSize surfaceSize = aConfig.mOutputSize; in Configure() local 62 IntRect frameRect(0, 0, surfaceSize.width, surfaceSize.height); in Configure() 68 nsresult rv = aConfig.mDecoder->AllocateFrame(aConfig.mFrameNum, surfaceSize, in Configure() 81 uint32_t(surfaceSize.width * surfaceSize.height * sizeof(uint32_t))); in Configure() 83 ConfigureFilter(surfaceSize, sizeof(uint32_t)); in Configure() 106 IntSize surfaceSize = aConfig.mFrameRect.Size(); in Configure() local 129 ConfigureFilter(surfaceSize, sizeof(uint8_t)); in Configure()
|
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/world/ |
H A D | surface_atlas.cpp | 66 surfaceSize= -1; in SurfaceAtlas() 95 t->getPixmap()->init(surfaceSize, surfaceSize, 3); in addSurface() 132 else if(surfaceSize == -1) { in checkDimensions() 133 surfaceSize= p->getW(); in checkDimensions() 136 else if(p->getW() != surfaceSize || p->getH() != surfaceSize) { in checkDimensions() 138 …texture dimensions, expected surfaceSize = %d, texture w = %d, h = %d",surfaceSize,p->getW(),p->ge… in checkDimensions()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/image/ |
H A D | SurfacePipe.cpp | 97 IntSize surfaceSize = aConfig.mOutputSize; in Configure() local 101 IntRect frameRect(0, 0, surfaceSize.width, surfaceSize.height); in Configure() 108 surfaceSize, in Configure() 121 uint32_t(surfaceSize.width * surfaceSize.height * sizeof(uint32_t))); in Configure() 123 ConfigureFilter(surfaceSize, sizeof(uint32_t)); in Configure() 151 IntSize surfaceSize = aConfig.mFrameRect.Size(); in Configure() local 175 ConfigureFilter(surfaceSize, sizeof(uint8_t)); in Configure()
|
/dports/games/glest/glest_source_3.2.2/source/glest_game/world/ |
H A D | surface_atlas.cpp | 62 surfaceSize= -1; in SurfaceAtlas() 84 t->getPixmap()->init(surfaceSize, surfaceSize, 3); in addSurface() 109 if(surfaceSize==-1){ in checkDimensions() 110 surfaceSize= p->getW(); in checkDimensions() 112 else if(p->getW()!=surfaceSize || p->getH()!=surfaceSize){ in checkDimensions()
|
/dports/www/firefox-esr/firefox-91.8.0/image/ |
H A D | SurfacePipe.cpp | 62 IntSize surfaceSize = aConfig.mOutputSize; in Configure() local 68 nsresult rv = aConfig.mDecoder->AllocateFrame(surfaceSize, aConfig.mFormat, in Configure() 79 MOZ_ASSERT(uint64_t(mImageDataLength) == uint64_t(surfaceSize.width) * in Configure() 80 uint64_t(surfaceSize.height) * in Configure() 83 ConfigureFilter(surfaceSize, sizeof(uint32_t)); in Configure()
|
/dports/lang/spidermonkey78/firefox-78.9.0/image/ |
H A D | SurfacePipe.cpp | 62 IntSize surfaceSize = aConfig.mOutputSize; in Configure() local 68 nsresult rv = aConfig.mDecoder->AllocateFrame(surfaceSize, aConfig.mFormat, in Configure() 79 MOZ_ASSERT(uint64_t(mImageDataLength) == uint64_t(surfaceSize.width) * in Configure() 80 uint64_t(surfaceSize.height) * in Configure() 83 ConfigureFilter(surfaceSize, sizeof(uint32_t)); in Configure()
|
/dports/mail/thunderbird/thunderbird-91.8.0/image/ |
H A D | SurfacePipe.cpp | 62 IntSize surfaceSize = aConfig.mOutputSize; in Configure() local 68 nsresult rv = aConfig.mDecoder->AllocateFrame(surfaceSize, aConfig.mFormat, in Configure() 79 MOZ_ASSERT(uint64_t(mImageDataLength) == uint64_t(surfaceSize.width) * in Configure() 80 uint64_t(surfaceSize.height) * in Configure() 83 ConfigureFilter(surfaceSize, sizeof(uint32_t)); in Configure()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/memory_manager/ |
H A D | surface.h | 36 HostPtrSurface(const void *ptr, size_t size) : memoryPointer(ptr), surfaceSize(size) { in HostPtrSurface() 45 …tr, size_t size, GraphicsAllocation *allocation) : memoryPointer(ptr), surfaceSize(size), gfxAlloc… in HostPtrSurface() 55 return new HostPtrSurface(this->memoryPointer, this->surfaceSize, this->gfxAllocation); in duplicate() 62 return surfaceSize; in getSurfaceSize() 87 size_t surfaceSize; variable
|
/dports/multimedia/mpv/mpv-0.34.1/video/out/mac/ |
H A D | gl_layer.swift | 79 var surfaceSize: NSSize = NSSize(width: 0, height: 0) variable 131 surfaceSize = oldLayer.surfaceSize 168 libmpv.drawRender(surfaceSize, bufferDepth, ctx) 179 surfaceSize = NSSize(width: CGFloat(dims[2]), height: CGFloat(dims[3])) in updateSurfaceSize() 181 if NSEqualSizes(surfaceSize, NSZeroSize) { in updateSurfaceSize() 182 surfaceSize = bounds.size in updateSurfaceSize() 183 surfaceSize.width *= contentsScale in updateSurfaceSize() 184 surfaceSize.height *= contentsScale in updateSurfaceSize()
|
/dports/lang/spidermonkey78/firefox-78.9.0/image/test/gtest/ |
H A D | Common.cpp | 182 IntSize surfaceSize = aSurface->GetSize(); in RectIsSolidColor() local 184 aRect.Intersect(IntRect(0, 0, surfaceSize.width, surfaceSize.height)); in RectIsSolidColor() 192 ASSERT_EQ_OR_RETURN(mapping.GetStride(), surfaceSize.width * 4, false); in RectIsSolidColor() 228 IntSize surfaceSize = aSurface->GetSize(); in RowHasPixels() local 229 ASSERT_EQ_OR_RETURN(aPixels.size(), size_t(surfaceSize.width), false); in RowHasPixels() 230 ASSERT_LT_OR_RETURN(aRow, surfaceSize.height, false); in RowHasPixels() 238 ASSERT_EQ_OR_RETURN(mapping.GetStride(), surfaceSize.width * 4, false); in RowHasPixels() 244 for (int32_t col = 0; col < surfaceSize.width; ++col) { in RowHasPixels() 293 const IntSize surfaceSize = aSurface->GetSize(); in CheckGeneratedSurface() local 323 const int32_t widthOnRight = surfaceSize.width - aRect.XMost(); in CheckGeneratedSurface() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/image/test/gtest/ |
H A D | Common.cpp | 147 IntSize surfaceSize = aSurface->GetSize(); in RectIsSolidColor() local 149 aRect.Intersect(IntRect(0, 0, surfaceSize.width, surfaceSize.height)); in RectIsSolidColor() 154 ASSERT_EQ_OR_RETURN(dataSurface->Stride(), surfaceSize.width * 4, false); in RectIsSolidColor() 228 IntSize surfaceSize = aSurface->GetSize(); in RowHasPixels() local 229 ASSERT_EQ_OR_RETURN(aPixels.size(), size_t(surfaceSize.width), false); in RowHasPixels() 230 ASSERT_LT_OR_RETURN(aRow, surfaceSize.height, false); in RowHasPixels() 245 for (int32_t col = 0; col < surfaceSize.width; ++col) { in RowHasPixels() 292 const IntSize surfaceSize = surface->GetSize(); in CheckGeneratedImage() local 311 IntRect(0, 0, surfaceSize.width, aRect.y), in CheckGeneratedImage() 320 const int32_t widthOnRight = surfaceSize.width - aRect.XMost(); in CheckGeneratedImage() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/image/test/gtest/ |
H A D | Common.cpp | 183 IntSize surfaceSize = aSurface->GetSize(); in RectIsSolidColor() local 185 aRect.Intersect(IntRect(0, 0, surfaceSize.width, surfaceSize.height)); in RectIsSolidColor() 193 ASSERT_EQ_OR_RETURN(mapping.GetStride(), surfaceSize.width * 4, false); in RectIsSolidColor() 263 IntSize surfaceSize = aSurface->GetSize(); in RowHasPixels() local 264 ASSERT_EQ_OR_RETURN(aPixels.size(), size_t(surfaceSize.width), false); in RowHasPixels() 265 ASSERT_LT_OR_RETURN(aRow, surfaceSize.height, false); in RowHasPixels() 273 ASSERT_EQ_OR_RETURN(mapping.GetStride(), surfaceSize.width * 4, false); in RowHasPixels() 279 for (int32_t col = 0; col < surfaceSize.width; ++col) { in RowHasPixels() 326 const IntSize surfaceSize = surface->GetSize(); in CheckGeneratedImage() local 354 const int32_t widthOnRight = surfaceSize.width - aRect.XMost(); in CheckGeneratedImage() [all …]
|
/dports/x11-toolkits/qt5-quick3d/kde-qtquick3d-5.15.2p19/src/quick3d/ |
H A D | qquick3dscenerenderer.cpp | 124 …int(texture()->textureId()) != textureId || texture()->textureSize() != renderer->surfaceSize())) { in render() 136 …int(texture()->textureId()) != textureId || texture()->textureSize() != renderer->surfaceSize())) { in render() 138 …setTexture(window->createTextureFromId(textureId, renderer->surfaceSize(), QQuickWindow::TextureHa… in render() 141 …setTexture(window->createTextureFromId(textureId, renderer->surfaceSize(), QQuickWindow::TextureHa… in render() 221 QSize surfaceSize = m_surfaceSize; in render() local 223 surfaceSize *= m_ssaaMultiplier; in render() 225 m_sgContext->setViewport(QRect(0, 0, surfaceSize.width(), surfaceSize.height())); in render() 240 renderContext->blitFramebuffer(0, 0, surfaceSize.width(), surfaceSize.height(), in render() 583 QRect convertQtRectToGLViewport(const QRectF &rect, const QSize surfaceSize) { in convertQtRectToGLViewport() argument 586 const int y = surfaceSize.height() - (int(rect.y()) + int(rect.height())); in convertQtRectToGLViewport() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/ipc/ |
H A D | CrossProcessPaint.cpp | 81 IntSize surfaceSize = rect.Size(); in Record() local 82 surfaceSize.width *= aScale; in Record() 83 surfaceSize.height *= aScale; in Record() 96 if (surfaceSize.width <= 0 || surfaceSize.height <= 0 || in Record() 97 !Factory::CheckSurfaceSize(surfaceSize)) { in Record() 98 PF_LOG("Invalid surface size of (%d x %d).\n", surfaceSize.width, in Record() 99 surfaceSize.height); in Record() 115 recorder, referenceDt, IntRect(IntPoint(0, 0), surfaceSize)); in Record() 149 surfaceSize, in Record()
|
/dports/www/firefox/firefox-99.0/image/ |
H A D | SurfacePipe.cpp | 62 IntSize surfaceSize = aConfig.mOutputSize; in Configure() local 68 nsresult rv = aConfig.mDecoder->AllocateFrame(surfaceSize, aConfig.mFormat, in Configure() 79 MOZ_ASSERT(uint64_t(mImageDataLength) == uint64_t(surfaceSize.width) * in Configure() 80 uint64_t(surfaceSize.height) * in Configure() 83 ConfigureFilter(surfaceSize, sizeof(uint32_t)); in Configure()
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/ipc/ |
H A D | CrossProcessPaint.cpp | 84 CSSIntSize surfaceSize = rect.Size(); in Record() local 85 surfaceSize.width *= aScale; in Record() 86 surfaceSize.height *= aScale; in Record() 99 if (surfaceSize.width <= 0 || surfaceSize.height <= 0 || in Record() 100 !Factory::CheckSurfaceSize(surfaceSize.ToUnknownSize())) { in Record() 101 PF_LOG("Invalid surface size of (%d x %d).\n", surfaceSize.width, in Record() 102 surfaceSize.height); in Record() 119 IntRect(IntPoint(0, 0), surfaceSize.ToUnknownSize())); in Record() 151 surfaceSize.ToUnknownSize(), in Record()
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/ipc/ |
H A D | CrossProcessPaint.cpp | 84 CSSIntSize surfaceSize = rect.Size(); in Record() local 85 surfaceSize.width *= aScale; in Record() 86 surfaceSize.height *= aScale; in Record() 99 if (surfaceSize.width <= 0 || surfaceSize.height <= 0 || in Record() 100 !Factory::CheckSurfaceSize(surfaceSize.ToUnknownSize())) { in Record() 101 PF_LOG("Invalid surface size of (%d x %d).\n", surfaceSize.width, in Record() 102 surfaceSize.height); in Record() 119 IntRect(IntPoint(0, 0), surfaceSize.ToUnknownSize())); in Record() 151 surfaceSize.ToUnknownSize(), in Record()
|
/dports/www/firefox-esr/firefox-91.8.0/layout/svg/ |
H A D | SVGPatternFrame.cpp | 311 IntSize surfaceSize = in PaintPattern() local 315 if (surfaceSize.width <= 0 || surfaceSize.height <= 0) { in PaintPattern() 322 if (resultOverflows || patternWidth != surfaceSize.width || in PaintPattern() 323 patternHeight != surfaceSize.height) { in PaintPattern() 325 gfxMatrix tempTM = gfxMatrix(surfaceSize.width / patternWidth, 0.0, 0.0, in PaintPattern() 326 surfaceSize.height / patternHeight, 0.0, 0.0); in PaintPattern() 330 patternMatrix->PreScale(patternWidth / surfaceSize.width, in PaintPattern() 331 patternHeight / surfaceSize.height); in PaintPattern() 335 surfaceSize, SurfaceFormat::B8G8R8A8); in PaintPattern() 339 dt->ClearRect(Rect(0, 0, surfaceSize.width, surfaceSize.height)); in PaintPattern()
|
/dports/lang/spidermonkey60/firefox-60.9.0/layout/svg/ |
H A D | nsSVGPatternFrame.cpp | 303 IntSize surfaceSize = nsSVGUtils::ConvertToSurfaceSize(transformedBBox.Size(), in PaintPattern() local 307 if (surfaceSize.width <= 0 || surfaceSize.height <= 0) { in PaintPattern() 314 if (resultOverflows || patternWidth != surfaceSize.width || in PaintPattern() 315 patternHeight != surfaceSize.height) { in PaintPattern() 317 gfxMatrix tempTM = gfxMatrix(surfaceSize.width / patternWidth, 0.0, 0.0, in PaintPattern() 318 surfaceSize.height / patternHeight, 0.0, 0.0); in PaintPattern() 322 patternMatrix->PreScale(patternWidth / surfaceSize.width, in PaintPattern() 323 patternHeight / surfaceSize.height); in PaintPattern() 327 surfaceSize, SurfaceFormat::B8G8R8A8); in PaintPattern() 331 dt->ClearRect(Rect(0, 0, surfaceSize.width, surfaceSize.height)); in PaintPattern()
|
/dports/www/firefox/firefox-99.0/layout/svg/ |
H A D | SVGPatternFrame.cpp | 311 IntSize surfaceSize = in PaintPattern() local 315 if (surfaceSize.width <= 0 || surfaceSize.height <= 0) { in PaintPattern() 322 if (resultOverflows || patternWidth != surfaceSize.width || in PaintPattern() 323 patternHeight != surfaceSize.height) { in PaintPattern() 325 gfxMatrix tempTM = gfxMatrix(surfaceSize.width / patternWidth, 0.0, 0.0, in PaintPattern() 326 surfaceSize.height / patternHeight, 0.0, 0.0); in PaintPattern() 330 patternMatrix->PreScale(patternWidth / surfaceSize.width, in PaintPattern() 331 patternHeight / surfaceSize.height); in PaintPattern() 335 surfaceSize, SurfaceFormat::B8G8R8A8); in PaintPattern() 339 dt->ClearRect(Rect(0, 0, surfaceSize.width, surfaceSize.height)); in PaintPattern()
|