Closed Bug 880481 Opened 12 years ago Closed 1 year ago

GetMaxTextureImageSize should depend on the type of texture image

Categories

(Core :: Graphics: Layers, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: jgilbert, Unassigned)

References

Details

Also it shouldn't be in GLContext. It shouldn't be unconditionally set to INT_MAX on EGL, either.
I assume EGL returns INT_MAX because it always uses TiledTextureImage, so there should be no limit. One option would be to start using TiledTextureImage on all platforms (maybe only if the requested size is larger than the max texture size - this is what we do for CGL), then this function would no longer be required.
(In reply to Matt Woodrow (:mattwoodrow) from comment #1) > I assume EGL returns INT_MAX because it always uses TiledTextureImage, so > there should be no limit. > > One option would be to start using TiledTextureImage on all platforms (maybe > only if the requested size is larger than the max texture size - this is > what we do for CGL), then this function would no longer be required. Why can't we just move this layers code to Layers?
You can move it wherever you like, I'm just saying that we don't actually need a max texture size.
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.