diff options
author | Sven Gothel <[email protected]> | 2013-09-04 16:23:32 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-09-04 16:23:32 +0200 |
commit | b33bdf41cf53f37203643a8551bf5d94b42a8fab (patch) | |
tree | 3670c0e098eead832859e121b1b257b21a8e814e /src/newt | |
parent | 8215886492eca47c036ed35861956290d2f3e898 (diff) |
GLPixelBuffer*: Add componentCount==1 (ALPHA/RED), 'allowRowStride' utilization AWTGLPixelBuffer* -> GLPixelBuffer*
GLPixelBufferProvider:
- Default*.getAttributes(): Add componentCount==1 (ALPHA/RED), validate values, throw exception if n/a or not supported
- Add 'allowRowStride' (as for AWTGLPixelBufferProvider)
- Add default for true and false
GLPixelBuffer:
- Add 'allowRowStride' (as for AWTGLPixelBuffer)
- Fix requiresNewBuffer(..):
- aquire minByteSize if passed one is <= 0
- validate minByteSize w/ currentByteSize according to allowRowStride.
AWTGLPixelBuffer: 'allowRowStride' impl. moved to GLPixelBuffer.
Diffstat (limited to 'src/newt')
0 files changed, 0 insertions, 0 deletions