Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4a4ab5f2
Commit
4a4ab5f2
authored
Jun 19, 2008
by
H. Verbeet
Committed by
Alexandre Julliard
Jun 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add support for ARB_color_buffer_float.
parent
985b6e9c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
directx.c
dlls/wined3d/directx.c
+1
-0
wined3d_gl.h
include/wine/wined3d_gl.h
+13
-0
No files found.
dlls/wined3d/directx.c
View file @
4a4ab5f2
...
...
@@ -61,6 +61,7 @@ static const struct {
{
"GL_ATI_fragment_shader"
,
ATI_FRAGMENT_SHADER
,
0
},
/* ARB */
{
"GL_ARB_color_buffer_float"
,
ARB_COLOR_BUFFER_FLOAT
,
0
},
{
"GL_ARB_draw_buffers"
,
ARB_DRAW_BUFFERS
,
0
},
{
"GL_ARB_fragment_program"
,
ARB_FRAGMENT_PROGRAM
,
0
},
{
"GL_ARB_fragment_shader"
,
ARB_FRAGMENT_SHADER
,
0
},
...
...
include/wine/wined3d_gl.h
View file @
4a4ab5f2
...
...
@@ -1502,6 +1502,16 @@ BOOL (WINAPI *pwglShareLists)(HGLRC,HGLRC);
* #defines and functions pointer
****************************************************/
/* GL_ARB_color_buffer_float */
#ifndef GL_ARB_color_buffer_float
#define GL_RGBA_FLOAT_MODE_ARB 0x8820
#define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
#define GL_CLAMP_READ_COLOR_ARB 0x891C
#define GL_FIXED_ONLY_ARB 0x891D
#endif
typedef
void
(
WINE_GLAPI
*
PGLFNCLAMPCOLORARBPROC
)
(
GLenum
target
,
GLenum
clamp
);
/* GL_ARB_depth_texture */
#ifndef GL_ARB_depth_texture
#define GL_ARB_depth_texture 1
...
...
@@ -3286,6 +3296,7 @@ typedef enum _GL_PSVersion {
/* OpenGL Supported Extensions (ARB and EXT) */
typedef
enum
_GL_SupportedExt
{
/* ARB */
ARB_COLOR_BUFFER_FLOAT
,
ARB_DRAW_BUFFERS
,
ARB_FRAGMENT_PROGRAM
,
ARB_FRAGMENT_SHADER
,
...
...
@@ -3387,6 +3398,8 @@ typedef enum _GL_SupportedExt {
****************************************************/
#define GL_EXT_FUNCS_GEN \
/** ARB Extensions **/
\
/* GL_ARB_color_buffer_float */
\
USE_GL_FUNC(PGLFNCLAMPCOLORARBPROC, glClampColorARB, ARB_COLOR_BUFFER_FLOAT, NULL );\
/* GL_ARB_draw_buffers */
\
USE_GL_FUNC(PGLFNDRAWBUFFERSARBPROC, glDrawBuffersARB, ARB_DRAW_BUFFERS, NULL );\
/* GL_ARB_imaging, GL_EXT_blend_minmax */
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment