Require glSamplerParameterf and glGetFloatv
Bug: skia:13036 Change-Id: I7ac8dc1d9c8fcce195c6102c43ebc28bc293a593 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/523430 Auto-Submit: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
This commit is contained in:
parent
c18c7cbdfe
commit
8bed8855ab
@ -125,6 +125,7 @@ bool GrGLInterface::validate() const {
|
||||
!fFunctions.fGenTextures ||
|
||||
!fFunctions.fGetBufferParameteriv ||
|
||||
!fFunctions.fGetError ||
|
||||
!fFunctions.fGetFloatv ||
|
||||
!fFunctions.fGetIntegerv ||
|
||||
!fFunctions.fGetProgramInfoLog ||
|
||||
!fFunctions.fGetProgramiv ||
|
||||
@ -690,6 +691,7 @@ bool GrGLInterface::validate() const {
|
||||
if (!fFunctions.fBindSampler ||
|
||||
!fFunctions.fDeleteSamplers ||
|
||||
!fFunctions.fGenSamplers ||
|
||||
!fFunctions.fSamplerParameterf ||
|
||||
!fFunctions.fSamplerParameteri ||
|
||||
!fFunctions.fSamplerParameteriv) {
|
||||
RETURN_FALSE_INTERFACE;
|
||||
|
@ -46,11 +46,6 @@
|
||||
"VertexAttrib2fv", "VertexAttrib3fv", "VertexAttrib4fv", "VertexAttribPointer",
|
||||
"Viewport",
|
||||
],
|
||||
|
||||
// TODO: Remove 'optional' once Chrome sets this function in the interface.
|
||||
"optional": [
|
||||
"GetFloatv",
|
||||
]
|
||||
},
|
||||
{ // GL exclusive core functions
|
||||
"GL": [{"ext": "<core>"}],
|
||||
@ -617,9 +612,6 @@
|
||||
"BindSampler", "DeleteSamplers", "GenSamplers",
|
||||
"SamplerParameterf", "SamplerParameteri", "SamplerParameteriv",
|
||||
],
|
||||
|
||||
// TODO: Remove 'optional' once Chrome sets this function in the interface.
|
||||
"optional": ["SamplerParameterf"]
|
||||
},
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user