Changeset 69627 in webkit
- Timestamp:
- Oct 12, 2010 6:23:39 PM (14 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r69624 r69627 1 2010-10-12 Alok priyadarshi <alokp@chromium.org> 2 3 Reviewed by Kenneth Russell. 4 5 Remove support for ANGLE SH_VERSION <= 100 6 https://bugs.webkit.org/show_bug.cgi?id=47307 7 8 * src/WebGraphicsContext3DDefaultImpl.cpp: 9 (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers): 10 (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource): 11 1 12 2010-10-12 James Robinson <jamesr@chromium.org> 2 13 -
trunk/WebKit/chromium/src/WebGraphicsContext3DDefaultImpl.cpp
r69588 r69627 1479 1479 return false; 1480 1480 1481 #if defined(SH_VERSION) && (SH_VERSION > 100)1482 1481 ShBuiltInResources resources; 1483 1482 ShInitBuiltInResources(&resources); 1484 #else1485 TBuiltInResource resources;1486 ShInitBuiltInResource(&resources);1487 #endif // SH_VERSION1488 1483 getIntegerv(GL_MAX_VERTEX_ATTRIBS, &resources.MaxVertexAttribs); 1489 1484 getIntegerv(MAX_VERTEX_UNIFORM_VECTORS, &resources.MaxVertexUniformVectors); … … 1496 1491 resources.MaxDrawBuffers = 1; 1497 1492 1498 #if defined(SH_VERSION) && (SH_VERSION > 100)1499 1493 m_fragmentCompiler = ShConstructCompiler(SH_FRAGMENT_SHADER, SH_WEBGL_SPEC, &resources); 1500 1494 m_vertexCompiler = ShConstructCompiler(SH_VERTEX_SHADER, SH_WEBGL_SPEC, &resources); 1501 #else1502 m_fragmentCompiler = ShConstructCompiler(EShLangFragment, EShSpecWebGL, &resources);1503 m_vertexCompiler = ShConstructCompiler(EShLangVertex, EShSpecWebGL, &resources);1504 #endif // SH_VERSION1505 1495 return (m_fragmentCompiler && m_vertexCompiler); 1506 1496 } … … 1542 1532 return false; 1543 1533 1544 #if defined(SH_VERSION) && (SH_VERSION > 100)1545 1534 if (!ShCompile(compiler, &entry.source, 1, SH_OBJECT_CODE)) { 1546 #else1547 if (!ShCompile(compiler, &entry.source, 1, EShOptObjectCode)) {1548 #endif // SH_VERSION1549 1535 int logSize = 0; 1550 1536 ShGetInfo(compiler, SH_INFO_LOG_LENGTH, &logSize);
Note: See TracChangeset
for help on using the changeset viewer.