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

  • SEARCH
  • Home
  • 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 3798524
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T13:35:10+00:00 2026-05-19T13:35:10+00:00

EDIT: Since my original problem was due to my mistake I will rephrase this

  • 0

EDIT: Since my original problem was due to my mistake I will rephrase this question.

Im hosting a Silverlight in a window inside my C++ application based on the code found here.

Now I’d like to copy the content of the control to memory in order to use the content inside my own renderer. The problem I have is that when I set “EnableGPUAcceleration” to true, then BitBlt stops working, all I get is blackness.

I feel that in theory there should be a way to copy the content of a GPU-accelerated Silverlight control with its alpha, e.g. with something like glReadPixels.

Anyone got any idea as how to copy the content with alpha of a non-windowless gpu-accelerated Silverlight control?

Another problem is that the window must be visible and no other window may overlap it, otherwise I do not get the proper content. I would like the hosting window to be invisible.

Working sample code can be found here (although without the actual BitBlt”ting” that I’m trying to get to work).

  • 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-05-19T13:35:11+00:00Added an answer on May 19, 2026 at 1:35 pm

    I will start researching this, I have an idea that OpenCL or perhaps since you are using Silverlight, DirectCompute may be able to set up a context where you can have more flexibility.

    One way would be to simply do all GPU acceleration in one of those languages. Meanwhile I’ll try to find out if you can use one of them to grab the information you need or some other techniques.

    This link seems to verify that you will need GPU acceleration enabled across any interactive members.

    EDIT:

    I think that article may provide some other help to your issue. Essentially it is going to be about accessing the cache and ensuring that you are using the cache. Anything set to be in cache mode will be stored on the graphics card temporarily.

    This article also sheds some light on the issues. Where it speaks on hardware rendering, it is important to note which operations would cause issues with the cache.

    I must admit I’m not at all fluent in Silverlight, but these types of problems are familiar. Doing what I can to understand the situation of your code.

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

Sidebar

Related Questions

Edit: Since it appears nobody is reading the original question this links to, let
Edit (2012-04-12): Since this question was asked it is now possible (as of jQuery
EDIT: This question is now redundant since Twitter no longer supports basic auth. I've
Edit: This question was written in 2008, which was like 3 internet ages ago.
EDIT : For anyone who might come across this post with a similar problem,
Okay, since none of you guys like my question, let me rephrase it. User
EDIT: Ok, so i figured out how to remedy my original problem, but i'm
EDIT: I wasn't sure if this should be a new question or not so
Edit Since there were many downvotes and people who didn't understand what I'm asking
I'm solving UVA's Edit Step Ladders on an uva sub-site named programming-challenges.com, but since

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.