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)
Core
Graphics: Layers
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.
Comment 1•12 years ago
|
||
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.
| Reporter | ||
Comment 2•12 years ago
|
||
(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?
Comment 3•12 years ago
|
||
You can move it wherever you like, I'm just saying that we don't actually need a max texture size.
Updated•3 years ago
|
Severity: normal → S3
Updated•1 year ago
|
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.
Description
•