The color buffer of a locked surface can be mapped by calling
eglQuerySurface with attribute EGL_BITMAP_POINTER_KHR. This patch
fixes sharedPlatformSurface to use correct attribute in querysurface.
Change-Id: Ic89a32466d24b3f257e7b125f7140a9f613d65a0
#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
#include "EGLHelper.h"
#include "GLPlatformContext.h"
-#include "NotImplemented.h"
#include <wtf/HashMap.h>
-#include <wtf/OwnPtr.h>
-#include <wtf/RefCounted.h>
-#include <wtf/StdLibExtras.h>
-#include <wtf/text/WTFString.h>
-
-#include <stdio.h>
namespace WebCore {
bool SharedPlatformSurfaceTizen::querySurface(int** value)
{
int* value_local;
- bool ret = EGLHelper::querySurface(m_offScreenSurface->drawable(), EGL_BITMAP_PITCH_KHR, (EGLint*)&value_local);
+ bool ret = EGLHelper::querySurface(m_offScreenSurface->drawable(), EGL_BITMAP_POINTER_KHR, (EGLint*)&value_local);
*value = value_local;
return ret;