locked
Multithread of d2d RRS feed

  • Question

  • I create d2d factory with D2D1_FACTORY_TYPE_MULTI_THREADED and start a work thread to create d2d bitmap, but in UI thread it just crushed out once in a while, when drawing bitmap or drawing text, according to the call stack the last call is d2d1!HwBitmapBrush::SetBrushAndContext, But the code runs well in only one thread, Somebody know why? thanks for reply.
    Wednesday, January 20, 2010 2:07 PM

All replies

  • Which instructions did you !use to start a thread ?

    The Members of the ID2D1BitmapBrush Interface includes SetBrushAndContext().

    Monday, June 7, 2010 9:22 AM