Indy R5000 textured OpenGL performance
#1
Indy R5000 textured OpenGL performance
Hi,

I was testing a some textured OpenGL code on an SGI Indy, and although I didn't have high hopes about the performance, I was still a little surprised by the FPS.

The code opens a 320x240 OpenGL window through glut, using glutPostRedisplay() in the glutDisplayFunc() call to get the highest FPS possible. It then displays a texture from -1,-1 to 1,1 in one mode, and another mode displays a simple colored triangle.

The performance on my system for the triangle is 60 FPS, but only 9 FPS for the textured mode. I was wondering, is there a way to set the texture projection quality lower than I had already set it to? Or is there another more performant way to go about displaying a window-spanning texture on the screen?

The indytex.c file is attached as indytex.txt as the .c extension doesn't seem to be allowed to be attached to this post, see comment at the top of the file to compile. Press '1' to switch to triangle mode, '2' on the keyboard to switch back to texture mode.

hinv of my system:
Code:
usahime> hinv -v
CPU: MIPS R5000 Processor Chip Revision: 1.0
FPU: MIPS R5000 Floating Point Coprocessor Revision: 1.0
1 150 MHZ IP22 Processor
Main memory size: 256 Mbytes
Secondary unified instruction/data cache size: 512 Kbytes on Processor 0
Instruction cache size: 32 Kbytes
Data cache size: 32 Kbytes
Integral SCSI controller 0: Version WD33C93B, revision D
  Disk drive: unit 1 on SCSI controller 0 (unit 1)
On-board serial ports: 2
On-board bi-directional parallel port
Graphics board: Indy 24-bit
Integral Ethernet: ec0, version 1
Integral ISDN: Basic Rate Interface unit 0, revision 1.0
Iris Audio Processor: version A2 revision 4.1.0
Vino video: unit 0, revision 0, IndyCam not connected


Attached Files
.txt indytex.txt Size: 3.4 KB  Downloads: 201

Octane2 Origin 350 Indy
Purr
MIPSPro

Trade Count: (0)
Posts: 5
Threads: 2
Joined: May 2021
Location: The Netherlands
Find Reply
01-25-2023, 02:56 PM


Messages In This Thread
Indy R5000 textured OpenGL performance - by Purr - 01-25-2023, 02:56 PM
RE: Indy R5000 textured OpenGL performance - by robespierre - 01-25-2023, 08:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)