Gecko:2DGraphicsSketch: Difference between revisions

Jump to navigation Jump to search
(Created page with "The ideas I think are actually important are ''emphasized'' ... the rest of the details I don't really care about. The ideas here are based on the APIs for cairo surface backend...")
 
Line 38: Line 38:
   unsigned char* GetData();
   unsigned char* GetData();
   uint32_t GetStride();
   uint32_t GetStride();
 
   // These APIs take ownership of the data.
   // These APIs take ownership of the data.
   static already_AddRefed<DataSourceBuffer> CreateForRGBA32(IntSize aSize, unsigned char* aData, uint32_t aStride);
   static already_AddRefed<DataSourceBuffer> CreateForRGBA32(IntSize aSize, unsigned char* aData, uint32_t aStride);
1,295

edits

Navigation menu