Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Vector Graphics

Featured Replies

  • Author

Not me... though I'd certainly be interested! From comments that Jean-Luc has made in the past, it seems that he may have found something... but I guess he's not telling.There are some references to DirectX in the header files, but as usual, they're not documented...I guess what you're after is performance? Or is there another reason you want to avoid SET_OFF_SCREEN?If you want to bypass the HDC, then that, at least, is possible... but I guess you're aware of this. You can write directly to the image (in "1555" format), as discussed in a thread a while ago... but you still have to do a SET_OFF_SCREEN to tell FS you've changed the image. If you all you need the HDC for is to blit an image to the screen that you've rendered yourself, then this can give a nice performance improvement. Don't know if this is also true for GDI+, though (you'd have to let it draw to an offscreen HDC).This is a topic I'm quite interested in myself because I'm currently working on making vasFMC (vas-project.org) run as a gauge. Since vasFMC uses OpenGL for drawing, my original approach was to draw the gauge to a backbuffer on the graphics card, use glReadPixels to read that back into system memory, and then blit that to the gauge. However, performance on older graphics cards wasn't acceptable (the bottleneck is reading the gauge contents back from the graphics card).I've now implemented an OpenGL emulation layer that uses a software renderer as the back end. This works much better, and I guess all of the payware addons out there use some form of software rendering, too. It's a shame, though, that FS won't allow use to use the capabilities of the graphics cards for vector graphics...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.