Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8623975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:24:43+00:00 2026-06-12T07:24:43+00:00

I am creating Paint-like application in WPF. I would like to have layers, history,

  • 0

I am creating Paint-like application in WPF. I would like to have layers, history, effects optins etc. there. However, I think standard approach with Canvas/InkCanvas would be too slow for complex images. I consider creating XNA project and embed it into WPF application to use power of modern GPUs (xna project would be like drawing canvas space). Isn’t it bad idea? Is it possible to communicate between WPF and XNA in one project?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:24:44+00:00Added an answer on June 12, 2026 at 7:24 am

    This is a bad idea. Several reasons:

    • WPF has its own built-in hardware acceleration (see here). You don’t need to use XNA to get hardware acceleration.

    • XNA is designed for real-time 3D rendering. Pixel operations are its weak point – you will lose most of its performance advantages by reading/writing pixels directly. Note that you would find it difficult to avoid doing expensive pixel reads, as XNA’s render targets can be “lost“.

    • XNA will give you a performance increase for compositing layers (but you could also use WPF for this). It will give you a performance increase for applying large, full-image effects – however there are some kinds of full-image effects that can only reasonably be done on the CPU.

    • XNA imposes limitations on things like maximum texture size, and the hardware capabilities of your target platform.

    • You probably don’t need as much performance as you think. You use XNA for a game running at a continuous 60 frames-per-second. An image editor doesn’t need to be nearly that fast. Full-image effect operations can afford to take a relatively long time. Interactive painting operations don’t have to update the entire image at once – so will be fast even on the CPU.

    To answer your last question – yes you can embed XNA in WPF. Although it is tricky – the trivial approaches involve a very slow buffer copy from XNA to WPF. Here is a project that claims to do it the fast way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating paint like application using WPF. Now i need to create control
I am creating a Paint application with C#, WPF, and Visual Studio 4. Just
So I am currently creating a Paint-like application for sports. You will some shapes
i'm creating a django application inside a virtualenv. I have a directory structure like
I'm creating an application in Swing using NetBeans. I would like to be able
I have a function creating a file for download like so: header(Content-type: application/octet-stream); header(Content-disposition:
I am currently creating a application and would like to add a AJAX feature,
I have been creating a gtk+ application in eclipse. At a point in the
I am creating C# application that uses OCX component. I have this component from
I'm creating a series of webservices for my application and i have the need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.