← Back to team overview

kicad-developers team mailing list archive

Re: Patch to draw bitmaps in GAL canvases

 

On 27/07/18 13:28, jp charras wrote:
> Le 26/07/2018 à 18:13, Mário Luzeiro a écrit :
>> Hi JP,
>> Don't know about CAIRO, but a "for xy DrawRectangle" it is too heavy.
> 
> In fact "for xy DrawRectangle" is used only to convert the wxWidgets internal image format to the
> Cairo internal image format.
> The cost is low, because it is executed only once for a new bitmap.
> 
>> >From what I remember from OPENGL_GAL the proper way to develop it would be by adding a new "draw element" using a new shader for draw a texture and by uploading the images data to GPU textures.
>>
>> I believe the GAL specialists will have a good understanding how to add that feature.
> 
Hi JP,

I'll have a look.

Tom


Follow ups

References