-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to blit bitmap? #1
Comments
you are blitting one bitmap onto itself. |
it also didn't worked.
|
bitmap.SetDIBitsToDevice(hdc, 0, 0, width_, height_, width_, height_); |
nope, it didn't worked, too.
however, for sure, checked that legacy code (StretchDIBits) works fine. |
Direct2D, Direct3D, Win32(StretchDIBits) all works fine, But, Still BasicBitmap doesn't worked. |
Hi, i am testing bitmap display with basicbitmap,
but, it didn't displayed on window, how to do it properly?
https://github.com/sailfish009/StreamPlayer/blob/master/Frame.cpp
BasicBitmap bitmap = BasicBitmap(width_, height_,BasicBitmap::A8R8G8B8, pixelsPtr_,2048);
bitmap.Blit(rc.left, rc.top, &bitmap, rc.right - rc.left, rc.bottom - rc.top, width_, height_);
The text was updated successfully, but these errors were encountered: