From: Rusty Lynch Date: Tue, 27 Nov 2012 19:31:38 +0000 (-0800) Subject: Disabling gl stencil bits and tweaking use 8888 rendering X-Git-Tag: submit/2.0alpha-wayland/20121128.223849~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eea0cfdbb792c2a5092f95d5a77697fae340a8d9;p=profile%2Fivi%2Fwebkit-efl.git Disabling gl stencil bits and tweaking use 8888 rendering Enabling rendering on wayland by disabling gl stencil bits and using EVAS_GL_DEPTH_8 and EVAS_GL_RGBA_8888 --- diff --git a/Source/WebCore/platform/graphics/efl/GraphicsContext3DOffscreen.cpp b/Source/WebCore/platform/graphics/efl/GraphicsContext3DOffscreen.cpp index 1fe1e9c..7fddaa0 100755 --- a/Source/WebCore/platform/graphics/efl/GraphicsContext3DOffscreen.cpp +++ b/Source/WebCore/platform/graphics/efl/GraphicsContext3DOffscreen.cpp @@ -274,7 +274,7 @@ bool GraphicsContext3DOffscreen::createContext(Evas_Object* view) bool GraphicsContext3DOffscreen::createSurface(Evas_Object* view) { Evas_GL_Config config = { - EVAS_GL_RGBA_8, + EVAS_GL_RGBA_8888, EVAS_GL_DEPTH_BIT_8, EVAS_GL_STENCIL_NONE }; diff --git a/Source/WebCore/platform/graphics/efl/GraphicsContext3DOnscreen.cpp b/Source/WebCore/platform/graphics/efl/GraphicsContext3DOnscreen.cpp index 94840db..1df636b 100755 --- a/Source/WebCore/platform/graphics/efl/GraphicsContext3DOnscreen.cpp +++ b/Source/WebCore/platform/graphics/efl/GraphicsContext3DOnscreen.cpp @@ -139,7 +139,7 @@ bool GraphicsContext3DOnscreen::setSurface() LOG(AcceleratedCompositing, "---> ewk_view's geometry - x: %d y: %d w: %d h: %d\n", x, y, w, h); Evas_GL_Config config = { - EVAS_GL_RGBA_8, + EVAS_GL_RGBA_8888, EVAS_GL_DEPTH_BIT_8, #if USE(TIZEN_TEXTURE_MAPPER) EVAS_GL_STENCIL_BIT_8 diff --git a/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp b/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp index d389860..dec48e3 100755 --- a/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp +++ b/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp @@ -602,8 +602,8 @@ void PageClientImpl::initializeAcceleratedCompositingMode() m_config->options_bits = EVAS_GL_OPTIONS_DIRECT; #endif m_config->color_format = EVAS_GL_RGBA_8888; - m_config->depth_bits = EVAS_GL_DEPTH_BIT_24; - m_config->stencil_bits = EVAS_GL_STENCIL_BIT_8; + m_config->depth_bits = EVAS_GL_DEPTH_BIT_8; + m_config->stencil_bits = EVAS_GL_STENCIL_NONE; m_evasGL = evas_gl_new(evas); if (!m_evasGL) {