Super intensive rectangle drawings?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Super intensive rectangle drawings?
I'm working on a project, and I noticed that even though I was drawing only three rectangles, I dropped a significant amount of FPS every time. (800x600 rectangle makes me idle at ~40 FPs, adding one half as big drops me down to ~30, etc) but this effect was significantly less pronounced the smaller the base rectangle was, so I assumed it was an error on my part. Just to be sure though, I made a new test where it was just a love.draw loop drawing the rectangles statically and the FPS count, and it persisted. I can only conclude that drawing rectangles is horrendously slow. Is there a better way to draw rectangles? My computer is pretty bad but not god awful.
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Super intensive rectangle drawings?
What kind of framerate does the 0.9.x no-game screen have on your computer? When you draw the rectangles do you have vsync enabled (it's enabled by default)? If so, it might drop down from 60fps to 30fps when it would normally drop from 60fps to 59fps with vsync disabled.
Re: Super intensive rectangle drawings?
No game screen is visibly laggy. I recall the 0.8.0 was perfectly speedy, but I was using Windows 7 (as opposed to 8) then. Disabling and enabling vsync seems to have no effect with three rectangles.
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Super intensive rectangle drawings?
What are the return values of love.graphics.getRendererInfo?
e.g. (with the console enabled in conf.lua):
e.g. (with the console enabled in conf.lua):
Code: Select all
local name, version, vendor, device = love.graphics.getRendererInfo()
print("Version: "..version.."\nVendor: "..vendor.."\nDevice: "..device)
Re: Super intensive rectangle drawings?
Version: 1.1.0
Vendor: Microsoft Corporation
Device: GDI Generic
Vendor: Microsoft Corporation
Device: GDI Generic
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Super intensive rectangle drawings?
Your system doesn't have a video driver installed which supports OpenGL, so it's falling back to MIcrosoft's OpenGL 1.1 software renderer. If you download the latest (or any) driver for your computer's GPU it should include OpenGL support.
Re: Super intensive rectangle drawings?
The driver Intel hosts on their website for my hardware says I have a newer version of the driver than what it will install. The installer was marked for Windows 7. Should I install the older driver?
Final EDIT: They discontinued support for my device. I suppose I'll go back to Windows 7
Final EDIT: They discontinued support for my device. I suppose I'll go back to Windows 7
Re: Super intensive rectangle drawings?
Something clicked, thanks again
Re: Super intensive rectangle drawings?
I see the need for including ANGLE in Löve better now
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests