Title: [173539] trunk/Source/WebCore
- Revision
- 173539
- Author
- [email protected]
- Date
- 2014-09-11 14:18:54 -0700 (Thu, 11 Sep 2014)
Log Message
Unreviewed build fix iOS.
* platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
(WebCore::GraphicsContext3D::checkVaryingsPacking):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (173538 => 173539)
--- trunk/Source/WebCore/ChangeLog 2014-09-11 20:58:02 UTC (rev 173538)
+++ trunk/Source/WebCore/ChangeLog 2014-09-11 21:18:54 UTC (rev 173539)
@@ -1,3 +1,10 @@
+2014-09-11 Roger Fong <[email protected]>
+
+ Unreviewed build fix iOS.
+
+ * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
+ (WebCore::GraphicsContext3D::checkVaryingsPacking):
+
2014-09-11 Jer Noble <[email protected]>
Add site-specific quirk for entering fullscreen on YouTube.com.
Modified: trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp (173538 => 173539)
--- trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp 2014-09-11 20:58:02 UTC (rev 173538)
+++ trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp 2014-09-11 21:18:54 UTC (rev 173539)
@@ -374,11 +374,16 @@
variables[index] = varyingSymbol.value;
index++;
}
-
+
+ GC3Dint maxVaryingVectors = 0;
+#if !PLATFORM(IOS)
GC3Dint maxVaryingFloats = 0;
::glGetIntegerv(GL_MAX_VARYING_FLOATS, &maxVaryingFloats);
- int result = ShCheckVariablesWithinPackingLimits(maxVaryingFloats / 4, variables, numVaryings);
-
+ maxVaryingVectors = maxVaryingFloats / 4;
+#else
+ ::glGetIntegerv(MAX_VARYING_VECTORS, &maxVaryingVectors);
+#endif
+ int result = ShCheckVariablesWithinPackingLimits(maxVaryingVectors, variables, numVaryings);
delete[] variables;
return result;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes