Inertia's picture

[GL 4.1] Viewport Array

Project:The Open Toolkit library
Version:1.1-2014-01-02
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

http://www.opengl.org/registry/specs/ARB/viewport_array.txt

---

Add to enum GetPName:

MAX_VIEWPORTS 0x825B
VIEWPORT_SUBPIXEL_BITS 0x825C
VIEWPORT_BOUNDS_RANGE 0x825D
LAYER_PROVOKING_VERTEX 0x825E
VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F

Add to enum GetIndexedPName:

SCISSOR_BOX 0x0C10
VIEWPORT 0x0BA2
DEPTH_RANGE 0x0B70

Add to enum IndexedEnableCap:

SCISSOR_TEST 0x0C11

Functions:

Old: void GetFloati_v(enum target, uint index, float *data);
New: void GetFloati_v(GetIndexedPName target, uint index, float *data);

Old: void GetDoublei_v(enum target, uint index, double *data);
New: void GetDoublei_v(GetIndexedPName target, uint index, double *data);

Old: void GetIntegerIndexedivEXT(enum target, uint index, int * v);
New: void GetIntegerIndexedivEXT(GetIndexedPName target, uint index, int * v);

Old: void EnableIndexedEXT(enum target, uint index);
New: void EnableIndexedEXT(IndexedEnableCap target, uint index);

Old: void DisableIndexedEXT(enum target, uint index);
New: void DisableIndexedEXT(IndexedEnableCap target, uint index);

Old: boolean IsEnabledIndexedEXT(enum target, uint index);
New: boolean IsEnabledIndexedEXT(IndexedEnableCap target, uint index);


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#1

Status:open» fixed

Fixed in gl4 branch, r2967.

the Fiddler's picture

#2

Version:1.x-dev» 1.1-2014-01-02
Status:fixed» closed

Closing bugs fixed in OpenTK 1.1.

If this is still an issue please file a new bug report at https://github.com/opentk/opentk/issues