Bug 1010 - ES3.glPixelStorei: Revalidate GLPixelStorageModes / glPixelStorei must allow pname's other than GL_PACK_ALIGNMENT & GL_UNPACK_ALIGNMENT
Summary: ES3.glPixelStorei: Revalidate GLPixelStorageModes / glPixelStorei must allow ...
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- critical
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2014-05-26 10:25 CEST by Sven Gothel
Modified: 2014-05-26 19:31 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
fc1e98790a02b4fa7922f3cdd9d437f87d7c99e5
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2014-05-26 10:25:13 CEST
Remove GLES3Impl.glPixelStorei pname validation which was true for ES2 impl,
but is no more valid for ES3, which accepts more values than 
GL_PACK_ALIGNMENT & GL_UNPACK_ALIGNMENT.

Revalidate GLPixelStorageModes:
  - Properly support ES3 PixelStorageModes
  - Revalidate PixelStorageModes for all GL profiles
  - Properly reset values at save
  - Separate PACK and UNPACK save/reset/restore implementation
Comment 1 Sven Gothel 2014-05-26 19:31:08 CEST
fc1e98790a02b4fa7922f3cdd9d437f87d7c99e5

fixed as described