- February 7, 2012 at 4:04 am #30752
Using the Windows PC SDK I am seeing odd things with glScissor. When using glScissor on the main window surface everything is ok. However if Scissoring is used on an offscreen area (FBO) then I seem to be off by the height of the windows titlebar (28 pixels or so). Are there any issues with Windows and glScissor?
BrianFebruary 7, 2012 at 10:46 am #35468
Our PVRVFrame engineer is looking at this just now and will get back to you after his investigation.
Due to the way PowerVR architecture works we advise developers to favour stencil operations over scissor calls – stencil ops can be done per-tile and on-chip so they are very efficient and can be more flexible than scissor operations. This subject is dealt with in the revision of our performance guidelines that should be available early next month.
What are you using the scissors for?February 7, 2012 at 11:12 am #35469
Hi Brian, I’m having trouble reproducing this. The emulation layer essentially just forwards any calls to glScissor to the desktop drivers so there’s not much room for error. It would be especially helpful if you could provide a minimal example project which exhibits the behavior you describe.