What's bad about a Canvas?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: What's bad about a Canvas?

Post by Robin »

No, use paste. setPixel and getPixel are not for "quickly blit[ing] stuff". paste is more like it.
Help us help you: attach a .love.
User avatar
kexisse
Citizen
Posts: 56
Joined: Wed Jun 13, 2012 2:52 pm

Re: What's bad about a Canvas?

Post by kexisse »

This must have been covered somewhere else but is there a list of what kinds of cards do and don't support canvas?
It'd be nice to get an idea of the % of "average users" whose computers can't do canvas.
If it's over 10% it seems like a dealbreaker to me.
gigimoi
Prole
Posts: 7
Joined: Wed Jul 25, 2012 9:27 pm

Re: What's bad about a Canvas?

Post by gigimoi »

No linux OS can use the canvas, to my knowledge.

I'm running Ubuntu 12.04 and as soon as the canvas is used, I will get an error, same for Fedora and Lindows. On Windows, I have no trouble.
User avatar
slime
Solid Snayke
Posts: 3144
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: What's bad about a Canvas?

Post by slime »

gigimoi wrote:No linux OS can use the canvas, to my knowledge.

I'm running Ubuntu 12.04 and as soon as the canvas is used, I will get an error, same for Fedora and Lindows. On Windows, I have no trouble.
Incorrect. Canvas support depends on GL_EXT_FRAMEBUFFER_OBJECT and related extensions, which are system (driver and video card) dependent. Most systems which support OpenGL 2.1 (and even sometimes those which only support OpenGL 1.4) will support canvases/framebuffers.

http://feedback.wildfiregames.com/repor ... fer_object
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: What's bad about a Canvas?

Post by bartbes »

gigimoi wrote:No linux OS can use the canvas, to my knowledge.

I'm running Ubuntu 12.04 and as soon as the canvas is used, I will get an error, same for Fedora and Lindows. On Windows, I have no trouble.
Then you don't have the right drivers, even the software emulated OpenGL (mesa) does canvases (last I heard, anyway).
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 0 guests