From 1ff2b9b9ba1fd8da776f2b114f371d2299aae835 Mon Sep 17 00:00:00 2001 From: Teng-Hui Zhu Date: Thu, 16 Jun 2011 14:27:09 -0700 Subject: Interface clean up for porting Surface Texture, no functional change. Change-Id: I0d43dd94a1bb4666d20a39b2b272337e89a21d8b --- Source/WebCore/platform/graphics/android/TextureInfo.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Source/WebCore/platform/graphics/android/TextureInfo.cpp') diff --git a/Source/WebCore/platform/graphics/android/TextureInfo.cpp b/Source/WebCore/platform/graphics/android/TextureInfo.cpp index 2db1667..ce132c8 100644 --- a/Source/WebCore/platform/graphics/android/TextureInfo.cpp +++ b/Source/WebCore/platform/graphics/android/TextureInfo.cpp @@ -23,16 +23,24 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "config.h" #include "TextureInfo.h" +#include "WebCoreJni.h" + +#include +#include +#include +#include namespace WebCore { -TextureInfo::TextureInfo() +TextureInfo::TextureInfo(SharedTextureMode mode) { m_textureId = GL_NO_TEXTURE; m_width = 0; m_height = 0; m_internalFormat = 0; + m_sharedTextureMode = mode; } bool TextureInfo::equalsAttributes(const TextureInfo* otherTexture) -- cgit v1.1