diff options
author | Russell Brenner <russellbrenner@google.com> | 2010-11-18 17:33:13 -0800 |
---|---|---|
committer | Russell Brenner <russellbrenner@google.com> | 2010-12-02 13:47:21 -0800 |
commit | 6b70adc33054f8aee8c54d0f460458a9df11b8a5 (patch) | |
tree | 103a13998c33944d6ab3b8318c509a037e639460 /WebCore/platform/graphics/Extensions3D.h | |
parent | bdf4ebc8e70b2d221b6ee7a65660918ecb1d33aa (diff) | |
download | external_webkit-6b70adc33054f8aee8c54d0f460458a9df11b8a5.zip external_webkit-6b70adc33054f8aee8c54d0f460458a9df11b8a5.tar.gz external_webkit-6b70adc33054f8aee8c54d0f460458a9df11b8a5.tar.bz2 |
Merge WebKit at r72274: Initial merge by git.
Change-Id: Ie51f0b4a16da82942bd516dce59cfb79ebbe25fb
Diffstat (limited to 'WebCore/platform/graphics/Extensions3D.h')
-rw-r--r-- | WebCore/platform/graphics/Extensions3D.h | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/Extensions3D.h b/WebCore/platform/graphics/Extensions3D.h index 0aed8e7..74210a5 100644 --- a/WebCore/platform/graphics/Extensions3D.h +++ b/WebCore/platform/graphics/Extensions3D.h @@ -47,13 +47,15 @@ public: // GL_EXT_texture_format_BGRA8888 // GL_EXT_read_format_bgra // GL_ARB_robustness + // GL_ARB_texture_non_power_of_two / GL_OES_texture_npot // GL_EXT_packed_depth_stencil / GL_OES_packed_depth_stencil + // GL_ANGLE_framebuffer_blit / GL_ANGLE_framebuffer_multisample // Takes full name of extension; for example, // "GL_EXT_texture_format_BGRA8888". virtual bool supports(const String&) = 0; - enum { + enum ExtensionsEnumType { // GL_EXT_texture_format_BGRA8888 enums BGRA_EXT = 0x80E1, @@ -63,11 +65,28 @@ public: UNKNOWN_CONTEXT_RESET_ARB = 0x8255, // GL_EXT/OES_packed_depth_stencil enums - DEPTH24_STENCIL8 = 0x88F0 + DEPTH24_STENCIL8 = 0x88F0, + + // GL_ANGLE_framebuffer_blit names + READ_FRAMEBUFFER = 0x8CA8, + DRAW_FRAMEBUFFER = 0x8CA9, + DRAW_FRAMEBUFFER_BINDING = 0x8CA6, + READ_FRAMEBUFFER_BINDING = 0x8CAA, + + // GL_ANGLE_framebuffer_multisample names + RENDERBUFFER_SAMPLES = 0x8CAB, + FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56, + MAX_SAMPLES = 0x8D57 }; // GL_ARB_robustness virtual int getGraphicsResetStatusARB() = 0; + + // GL_ANGLE_framebuffer_blit + virtual void blitFramebuffer(long srcX0, long srcY0, long srcX1, long srcY1, long dstX0, long dstY0, long dstX1, long dstY1, unsigned long mask, unsigned long filter) = 0; + + // GL_ANGLE_framebuffer_multisample + virtual void renderbufferStorageMultisample(unsigned long target, unsigned long samples, unsigned long internalformat, unsigned long width, unsigned long height) = 0; }; } // namespace WebCore |