Bug 1233 - Add missing range- and pbo-bound checks on glTexture[Sub]Image[123]D*
Summary: Add missing range- and pbo-bound checks on glTexture[Sub]Image[123]D*
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2.3.2
Hardware: All all
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2015-09-28 04:27 CEST by Sven Gothel
Modified: 2015-09-28 06:46 CEST (History)
1 user (show)

See Also:
Type: DEFECT
SCM Refs:
dad07ad7f7e54c593e58fe3a7ace41bfe4f39b05
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2015-09-28 04:27:35 CEST
While we added OpenGL 4, it seems we missed adding
pbo-bound check and the additional range-check (for CPU Buffers)
on the new named texture sub-image update functions.
Comment 1 Sven Gothel 2015-09-28 04:31:47 CEST
.. also for the named texture initialization/setup functions, 
e.g. glTextureImage3DEXT ..
Comment 2 Sven Gothel 2015-09-28 06:46:10 CEST
commit dad07ad7f7e54c593e58fe3a7ace41bfe4f39b05:

    Adding missing range- and pbo-bound checks for:
    - glTextureImage1DEXT
    - glTextureImage2DEXT
    - glTextureImage3DEXT
    - glTextureSubImage1D
    - glTextureSubImage1DEXT
    - glTextureSubImage2D
    - glTextureSubImage2DEXT
    - glTextureSubImage3D
    - glTextureSubImage3DEXT