summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/GraphicsContext3D.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/GraphicsContext3D.h')
-rw-r--r--WebCore/platform/graphics/GraphicsContext3D.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/WebCore/platform/graphics/GraphicsContext3D.h b/WebCore/platform/graphics/GraphicsContext3D.h
index bcb7997..a12b1c4 100644
--- a/WebCore/platform/graphics/GraphicsContext3D.h
+++ b/WebCore/platform/graphics/GraphicsContext3D.h
@@ -537,11 +537,13 @@ public:
kSourceFormatRGBA8,
kSourceFormatRGB8,
kSourceFormatBGRA8,
+ kSourceFormatARGB8,
kSourceFormatRGBA5551,
kSourceFormatRGBA4444,
kSourceFormatRGB565,
kSourceFormatR8,
kSourceFormatRA8,
+ kSourceFormatAR8,
kSourceFormatA8
};
@@ -834,14 +836,14 @@ public:
int m_currentWidth, m_currentHeight;
- typedef struct {
- String source;
- String log;
+#if PLATFORM(MAC)
+ typedef struct {
+ String source;
+ String log;
bool isValid;
} ShaderSourceEntry;
HashMap<Platform3DObject, ShaderSourceEntry> m_shaderSourceMap;
-#if PLATFORM(MAC)
ANGLEWebKitBridge m_compiler;
Attributes m_attrs;