[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #10360] System.Drawing.Bitmap.LockBits unimpleme
From: |
Rhys Weatherley |
Subject: |
[Pnet-developers] [bugs #10360] System.Drawing.Bitmap.LockBits unimplemented |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #10360] Latest Modifications:
Changes by:
Rhys Weatherley <address@hidden>
'Date:
Wed 09/15/2004 at 23:29 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Fix committed to CVS - 16 Sep 2004. I implemented a slightly
more efficient version as it isn't necessary to make a copy of
the image.
/**************************************************************************/
[bugs #10360] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10360>
Project: DotGNU Portable.NET
Submitted by: Ovidiu Sabou
On: Sun 09/12/2004 at 06:02
Category: None
Severity: 5 - Average
Item Group: None
Resolution: Fixed
Privacy: Public
Assigned to: None
Status: Closed
Summary: System.Drawing.Bitmap.LockBits unimplemented
Original Submission: the LockBits and UnlockBits from Bitmap class are not
implemented. My project which uses OpenGL for drawing calls those functions to
get the bitmap data in order to pass it to the opengl texture generator. Since
pnet stores the bitmap data in a managed array, a conversion from managed to
unmanaged must be done with the DotGNU.Images.Frame.Data. Patch modifies the
Utils class from DotGNU.Images from internal to public ( in order for some
functions to be used by LockBits inside System.Drawing) and also implements
those functions. It is only meants to be used for read only purposes. So any
modifications made to the BitmapData after locking will be lost. UnlockBits
doesn't make any modifications to the bitmap, it only sets free the memory
pointed by Scan0 pointer
Follow-up Comments
------------------
-------------------------------------------------------
Date: Wed 09/15/2004 at 23:29 By: Rhys Weatherley <rweather>
Fix committed to CVS - 16 Sep 2004. I implemented a slightly
more efficient version as it isn't necessary to make a copy of
the image.
File Attachments
-------------------
-------------------------------------------------------
Date: Mon 09/13/2004 at 13:36 Name: ovidiu-040913.patch Size: 6.09KB By:
ovidiu_s
better designed than the previous
http://savannah.gnu.org/bugs/download.php?item_id=10360&item_file_id=1659
-------------------------------------------------------
Date: Sun 09/12/2004 at 06:02 Name: ovidiu-040912.patch Size: 5.89KB By:
ovidiu_s
patch with a simple implementation
http://savannah.gnu.org/bugs/download.php?item_id=10360&item_file_id=1653
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10360>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/