WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
142529
[GTK] GL_MAX_VARYING_FLOATS is not defined in OpenGL ES 2
https://bugs.webkit.org/show_bug.cgi?id=142529
Summary
[GTK] GL_MAX_VARYING_FLOATS is not defined in OpenGL ES 2
Carlos Garcia Campos
Reported
2015-03-10 03:10:02 PDT
In GraphicsContext3DOpenGLCommon.cpp is used protected by #if !PLATFORM(IOS) && !(PLATFORM(WIN) && USE(OPENGL_ES_2)) but I don't think GL_MAX_VARYING_FLOATS is available when using GLES2 in any other platforms
Attachments
Patch
(1.49 KB, patch)
2015-03-10 03:29 PDT
,
Carlos Garcia Campos
zan
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2015-03-10 03:14:11 PDT
(In reply to
comment #0
)
> In GraphicsContext3DOpenGLCommon.cpp is used protected by > > #if !PLATFORM(IOS) && !(PLATFORM(WIN) && USE(OPENGL_ES_2)) > > but I don't think GL_MAX_VARYING_FLOATS is available when using GLES2 in any > other platforms
PLATFORM(WIN) => (PLATFORM(WIN) || PLATFORM(GTK)) I guess.
Carlos Garcia Campos
Comment 2
2015-03-10 03:17:23 PDT
(In reply to
comment #1
)
> (In reply to
comment #0
) > > In GraphicsContext3DOpenGLCommon.cpp is used protected by > > > > #if !PLATFORM(IOS) && !(PLATFORM(WIN) && USE(OPENGL_ES_2)) > > > > but I don't think GL_MAX_VARYING_FLOATS is available when using GLES2 in any > > other platforms > > PLATFORM(WIN) => (PLATFORM(WIN) || PLATFORM(GTK)) I guess.
Or simply #if !PLATFORM(IOS) && !USE(OPENGL_ES_2) ? or am I wrong assuming GL_MAX_VARYING_FLOATS is ot available in OpenGL ES 2?
Carlos Garcia Campos
Comment 3
2015-03-10 03:28:11 PDT
I'll use PLATFORM(GTK) just in case to avoid breaking EFL
Carlos Garcia Campos
Comment 4
2015-03-10 03:29:45 PDT
Created
attachment 248325
[details]
Patch
Carlos Garcia Campos
Comment 5
2015-03-10 06:27:10 PDT
Committed
r181323
: <
http://trac.webkit.org/changeset/181323
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug