1.create(): remove padding
we really only need the padding here to implement the
CLAMP_TO_ZERO mode on devices and/or to implement the edge
smoothing tricks; but currently neither of those are needed/used
for regular ES2Texture objects, so why bother with the padding?
2.uploadPixels()
consider caching initBuf as a static (probably
fine for desktop, but might not be so good for tv)...
we really only need the padding here to implement the
CLAMP_TO_ZERO mode on devices and/or to implement the edge
smoothing tricks; but currently neither of those are needed/used
for regular ES2Texture objects, so why bother with the padding?
2.uploadPixels()
consider caching initBuf as a static (probably
fine for desktop, but might not be so good for tv)...
- relates to
-
JDK-8102145 FX 8 3D: Material needs to consider non-power of texture (NPOT)
-
- Closed
-