Changeset 64046 in webkit
- Timestamp:
- Jul 26, 2010 8:43:55 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r64045 r64046 1 2010-07-23 Stephen White <senorblanco@chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 Implement OpenGLES2 helper classes. 6 https://bugs.webkit.org/show_bug.cgi?id=42905 7 8 GLES2Canvas and GLES2Texture are some simple OpenGLES2 helper classes 9 for managing state, samplers and textures. 10 11 When this is hooked up, it will be covered by many layout tests. 12 13 * WebCore.gypi: 14 Add new files to chromium build (contents are protected by #if's for now). 15 * platform/graphics/chromium/GLES2Canvas.cpp: Added. 16 (WebCore::affineTo3x3): 17 (WebCore::GLES2Canvas::State::State): 18 (WebCore::GLES2Canvas::GLES2Canvas): 19 (WebCore::GLES2Canvas::~GLES2Canvas): 20 (WebCore::GLES2Canvas::clearRect): 21 (WebCore::GLES2Canvas::fillRect): 22 (WebCore::GLES2Canvas::setFillColor): 23 (WebCore::GLES2Canvas::setAlpha): 24 (WebCore::GLES2Canvas::translate): 25 (WebCore::GLES2Canvas::rotate): 26 (WebCore::GLES2Canvas::scale): 27 (WebCore::GLES2Canvas::concatCTM): 28 (WebCore::GLES2Canvas::save): 29 (WebCore::GLES2Canvas::restore): 30 (WebCore::GLES2Canvas::drawTexturedRect): 31 (WebCore::GLES2Canvas::setCompositeOperation): 32 (WebCore::GLES2Canvas::applyCompositeOperator): 33 (WebCore::GLES2Canvas::getQuadVertices): 34 (WebCore::GLES2Canvas::getQuadIndices): 35 (WebCore::loadShader): 36 (WebCore::GLES2Canvas::getSimpleProgram): 37 (WebCore::GLES2Canvas::getTexProgram): 38 (WebCore::GLES2Canvas::createTexture): 39 (WebCore::GLES2Canvas::getTexture): 40 (WebCore::GLES2Canvas::checkGLError): 41 * platform/graphics/chromium/GLES2Canvas.h: Added. 42 (WebCore::GLES2Canvas::gles2Context): 43 * platform/graphics/chromium/GLES2Texture.cpp: Added. 44 (WebCore::GLES2Texture::GLES2Texture): 45 (WebCore::GLES2Texture::~GLES2Texture): 46 (WebCore::GLES2Texture::create): 47 (WebCore::convertFormat): 48 (WebCore::GLES2Texture::load): 49 (WebCore::GLES2Texture::bind): 50 * platform/graphics/chromium/GLES2Texture.h: Added. 51 (WebCore::GLES2Texture::): 52 (WebCore::GLES2Texture::format): 53 (WebCore::GLES2Texture::width): 54 (WebCore::GLES2Texture::height): 55 56 1 57 2010-07-26 Jeremy Orlow <jorlow@chromium.org> 2 58 -
trunk/WebCore/WebCore.gypi
r63952 r64046 2183 2183 'platform/graphics/chromium/FontUtilsChromiumWin.cpp', 2184 2184 'platform/graphics/chromium/FontUtilsChromiumWin.h', 2185 'platform/graphics/chromium/GLES2Canvas.cpp', 2186 'platform/graphics/chromium/GLES2Canvas.h', 2187 'platform/graphics/chromium/GLES2Texture.cpp', 2188 'platform/graphics/chromium/GLES2Texture.h', 2185 2189 'platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp', 2186 2190 'platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp',
Note: See TracChangeset
for help on using the changeset viewer.