Inertia's picture

ARB_texture_multisample

Project:The Open Toolkit library
Version:0.9.9-3
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

enum TextureTarget2DMultisample
{
TEXTURE_2D_MULTISAMPLE 0x9100
PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
}

C: void TexImage2DMultisample(enum target, sizei samples, int internalformat, sizei width, sizei height, boolean fixedsamplelocations);
SVN: void TexImage2DMultisample(OpenTK.Graphics.OpenGL.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations)
New: void TexImage2DMultisample(TextureTarget2DMultisample target, Int32 samples, PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations)

enum TextureTarget2DMultisampleArray
{
TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
}

C: void TexImage3DMultisample(enum target, sizei samples, int internalformat, sizei width, sizei height, sizei depth, boolean

fixedsamplelocations);
SVN: void TexImage3DMultisample(OpenTK.Graphics.OpenGL.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations)
New: void TexImage3DMultisample(TextureTarget2DMultisampleArray target, Int32 samples, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations)

enum GetMultisamplePName
{
SAMPLE_POSITION 0x8E50
}

C: void GetMultisamplefv(enum pname, uint index, float *val);
SVN: void GetMultisample(OpenTK.Graphics.OpenGL.ArbTextureMultisample pname, Int32 index, [OutAttribute] out Single val)
New: void GetMultisample(GetMultisamplePName pname, Int32 index, [OutAttribute] out Single val)

Note: a Vector2 overload for this would be nice, since this function is only used to return 2D offsets and will always return float[2].

C: void SampleMaski(uint index, bitfield mask);
SVN: void SampleMask(UInt32 index, UInt32 mask)
(correct)

Add to enums:
GetPName
EnableCap

SAMPLE_MASK 0x8E51

Add to enum GetIndexedPName:

SAMPLE_MASK_VALUE 0x8E52

Add to enum TextureTarget:
TEXTURE_2D_MULTISAMPLE 0x9100
TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102

Add to enum GetPName:

MAX_SAMPLE_MASK_WORDS 0x8E59
MAX_COLOR_TEXTURE_SAMPLES 0x910E
MAX_DEPTH_TEXTURE_SAMPLES 0x910F
MAX_INTEGER_SAMPLES 0x9110
TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105

Add to enum GetTextureParameter:

TEXTURE_SAMPLES 0x9106
TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107

Add to enum ActiveUniformType:

SAMPLER_2D_MULTISAMPLE 0x9108
INT_SAMPLER_2D_MULTISAMPLE 0x9109
UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D


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

Landed in rev. 2271.

the Fiddler's picture

#2

Version:0.9.x-dev» 0.9.9-3
Status:fixed» closed

Closing issues fixed in 0.9.9-3.