Title: [138437] trunk
Revision
138437
Author
[email protected]
Date
2012-12-24 02:03:39 -0800 (Mon, 24 Dec 2012)

Log Message

[EFL [WebGL] GLES2 detection is broken.
https://bugs.webkit.org/show_bug.cgi?id=105677

We use the logic in FindGLES.cmake to detect GLES2 support during compile time.
OPENGLES2_FOUND is never set, even though OPENGLES2_INCLUDE_DIR and OPENGLES2_LIBRARY
contain right information. The name passed to find_package_handle_standard_args seems to be the issue here.
This patch changes the name passed to find_package_handle_standard_args to OPENGLES2.

Patch by Kondapally Kalyan <[email protected]> on 2012-12-24
Reviewed by Kenneth Rohde Christiansen.

* Source/cmake/FindGLES.cmake:

Modified Paths

Diff

Modified: trunk/ChangeLog (138436 => 138437)


--- trunk/ChangeLog	2012-12-24 09:07:29 UTC (rev 138436)
+++ trunk/ChangeLog	2012-12-24 10:03:39 UTC (rev 138437)
@@ -1,3 +1,17 @@
+2012-12-24  Kondapally Kalyan  <[email protected]>
+
+        [EFL [WebGL] GLES2 detection is broken.
+        https://bugs.webkit.org/show_bug.cgi?id=105677
+
+        We use the logic in FindGLES.cmake to detect GLES2 support during compile time.
+        OPENGLES2_FOUND is never set, even though OPENGLES2_INCLUDE_DIR and OPENGLES2_LIBRARY
+        contain right information. The name passed to find_package_handle_standard_args seems to be the issue here.
+        This patch changes the name passed to find_package_handle_standard_args to OPENGLES2.
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        * Source/cmake/FindGLES.cmake:
+
 2012-12-20  Martin Robinson  <[email protected]>
 
         [GTK] Remove plugin process configuration option

Modified: trunk/Source/cmake/FindGLES.cmake (138436 => 138437)


--- trunk/Source/cmake/FindGLES.cmake	2012-12-24 09:07:29 UTC (rev 138436)
+++ trunk/Source/cmake/FindGLES.cmake	2012-12-24 10:03:39 UTC (rev 138437)
@@ -33,6 +33,6 @@
 find_library(OPENGLES2_LIBRARY NAMES GLESv2)
 
 include(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(GLESv2 DEFAULT_MSG OPENGLES2_INCLUDE_DIR OPENGLES2_LIBRARY)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(OPENGLES2 DEFAULT_MSG OPENGLES2_INCLUDE_DIR OPENGLES2_LIBRARY)
 
 mark_as_advanced(OPENGLES2_INCLUDE_DIR OPENGLES2_LIBRARY)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to