gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, openvg, updated. 2ec6639f4f42930c4753


From: Rob Savoye
Subject: [Gnash-commit] [SCM] Gnash branch, openvg, updated. 2ec6639f4f42930c4753ae72437bd3c4d36075ff
Date: Thu, 23 Dec 2010 16:49:20 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, openvg has been updated
       via  2ec6639f4f42930c4753ae72437bd3c4d36075ff (commit)
      from  8889a2b98cb4b6178b3250fd653b89a0bffc9190 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=2ec6639f4f42930c4753ae72437bd3c4d36075ff


commit 2ec6639f4f42930c4753ae72437bd3c4d36075ff
Author: Rob Savoye <address@hidden>
Date:   Thu Dec 23 09:49:01 2010 -0700

    use a 32bpp on the desktop, 16bpp on embedded

diff --git a/libdevice/egl/eglDevice.cpp b/libdevice/egl/eglDevice.cpp
index 86c07a0..fad3f64 100644
--- a/libdevice/egl/eglDevice.cpp
+++ b/libdevice/egl/eglDevice.cpp
@@ -157,7 +157,11 @@ EGLDevice::EGLDevice()
       _eglDisplay(EGL_NO_DISPLAY),
       _eglNumOfConfigs(0),
       _max_num_config(1),
+#if BUILD_X11_DEVICE
+      _bpp(32)
+#else
       _bpp(16)
+#endif
 {
     GNASH_REPORT_FUNCTION;
 }
@@ -169,7 +173,11 @@ EGLDevice::EGLDevice(int argc, char *argv[])
       _eglDisplay(EGL_NO_DISPLAY),
       _eglNumOfConfigs(0),
       _max_num_config(1),
+#if BUILD_X11_DEVICE
+      _bpp(32)
+#else
       _bpp(16)
+#endif
 {
     GNASH_REPORT_FUNCTION;
     if (!initDevice(argc, argv)) {
@@ -184,10 +192,13 @@ EGLDevice::EGLDevice(GnashDevice::rtype_t rtype)
       _eglDisplay(EGL_NO_DISPLAY),
       _eglNumOfConfigs(0),
       _max_num_config(1),
+#if BUILD_X11_DEVICE
+      _bpp(32)
+#else
       _bpp(16)
+#endif
 {
     GNASH_REPORT_FUNCTION;
-    dbglogfile.setVerbosity();
     
     if (!initDevice(0, 0)) {
         log_error("Couldn't initialize EGL device!");
@@ -567,7 +578,7 @@ EGLDevice::queryEGLConfig(EGLDisplay display)
          return 0;
      }
      
-#if 0
+#if 1
      // This prints out all the configurations, so it can be quite large
      for (int i=0; i<max_num_config; i++ ) {
          std::cerr << "Config[" << i << "] is:" << i << std::endl;
diff --git a/libdevice/egl/test_egl.cpp b/libdevice/egl/test_egl.cpp
index b6eefca..d9d4c0e 100644
--- a/libdevice/egl/test_egl.cpp
+++ b/libdevice/egl/test_egl.cpp
@@ -77,8 +77,10 @@ main(int argc, char *argv[])
     egl1.printEGLContext();
     egl1.printEGLSurface();
 #endif
-
+    
 #if 0
+    // FIXME: we can only have one EGL device per process until it
+    // handles this better
 #ifdef RENDERER_GLES1 
     EGLDevice egl2;
     std::cerr << "== OpenGLES1 tests ==" << std::endl;

-----------------------------------------------------------------------

Summary of changes:
 libdevice/egl/eglDevice.cpp |   15 +++++++++++++--
 libdevice/egl/test_egl.cpp  |    4 +++-
 2 files changed, 16 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]