Changeset 116811 in webkit
- Timestamp:
- May 11, 2012 3:19:38 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r116806 r116811 1 2012-05-11 James Robinson <jamesr@chromium.org> 2 3 [chromium] Move implementation of WebCore::GraphicsContext3D and related from WebKit/chromium/src to WebCore/platform/chromium/support 4 https://bugs.webkit.org/show_bug.cgi?id=86257 5 6 Reviewed by Adam Barth. 7 8 The WebCore platform interfaces GraphicsContext3D and Extensions3DChromium are implemented in chromium on top of 9 the Platform interface WebGraphicsContext3D. This moves the implementation support code from WebKit/chromium/src 10 to WebCore/platform/chromium/support, which avoids having code in WebKit/ implementing WebCore interfaces and 11 allows code in WebCore/platform to use this support code directly where appropriate. 12 13 Refactor only, no new functionality or tests. 14 15 * WebCore.gypi: 16 * platform/chromium/support/Extensions3DChromium.cpp: Renamed from Source/WebKit/chromium/src/Extensions3DChromium.cpp. 17 (WebCore): 18 (WebCore::Extensions3DChromium::Extensions3DChromium): 19 (WebCore::Extensions3DChromium::~Extensions3DChromium): 20 (WebCore::Extensions3DChromium::supports): 21 (WebCore::Extensions3DChromium::ensureEnabled): 22 (WebCore::Extensions3DChromium::isEnabled): 23 (WebCore::Extensions3DChromium::getGraphicsResetStatusARB): 24 (WebCore::Extensions3DChromium::blitFramebuffer): 25 (WebCore::Extensions3DChromium::renderbufferStorageMultisample): 26 (WebCore::Extensions3DChromium::postSubBufferCHROMIUM): 27 (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM): 28 (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM): 29 (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM): 30 (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM): 31 (WebCore::Extensions3DChromium::setVisibilityCHROMIUM): 32 (WebCore::Extensions3DChromium::discardFramebufferEXT): 33 (WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM): 34 (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM): 35 (WebCore::Extensions3DChromium::createVertexArrayOES): 36 (WebCore::Extensions3DChromium::deleteVertexArrayOES): 37 (WebCore::Extensions3DChromium::isVertexArrayOES): 38 (WebCore::Extensions3DChromium::bindVertexArrayOES): 39 (WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE): 40 (WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM): 41 (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM): 42 (WebCore::Extensions3DChromium::paintFramebufferToCanvas): 43 (WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM): 44 (WebCore::Extensions3DChromium::texStorage2DEXT): 45 (WebCore::Extensions3DChromium::createQueryEXT): 46 (WebCore::Extensions3DChromium::deleteQueryEXT): 47 (WebCore::Extensions3DChromium::isQueryEXT): 48 (WebCore::Extensions3DChromium::beginQueryEXT): 49 (WebCore::Extensions3DChromium::endQueryEXT): 50 (WebCore::Extensions3DChromium::getQueryivEXT): 51 (WebCore::Extensions3DChromium::getQueryObjectuivEXT): 52 * platform/chromium/support/GraphicsContext3DChromium.cpp: Renamed from Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp. 53 (WebCore): 54 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate): 55 (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate): 56 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext): 57 (WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D): 58 (WebCore::GraphicsContext3DPrivate::platformGraphicsContext3D): 59 (WebCore::GraphicsContext3DPrivate::platformTexture): 60 (GrMemoryAllocationChangedCallback): 61 (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback): 62 (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged): 63 (WebCore::GraphicsContext3DPrivate::grContext): 64 (WebCore::GraphicsContext3DPrivate::prepareTexture): 65 (WebCore::GraphicsContext3DPrivate::markContextChanged): 66 (WebCore::GraphicsContext3DPrivate::markLayerComposited): 67 (WebCore::GraphicsContext3DPrivate::layerComposited): 68 (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas): 69 (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas): 70 (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas): 71 (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData): 72 (WebCore::GraphicsContext3DPrivate::reshape): 73 (WebCore::GraphicsContext3DPrivate::getInternalFramebufferSize): 74 (WebCore::GraphicsContext3DPrivate::isContextLost): 75 (WebCore::GraphicsContext3DPrivate::isGLES2Compliant): 76 (WebCore::GraphicsContext3DPrivate::bindAttribLocation): 77 (WebCore::GraphicsContext3DPrivate::bufferData): 78 (WebCore::GraphicsContext3DPrivate::bufferSubData): 79 (WebCore::GraphicsContext3DPrivate::getActiveAttrib): 80 (WebCore::GraphicsContext3DPrivate::getActiveUniform): 81 (WebCore::GraphicsContext3DPrivate::getAttribLocation): 82 (WebCore::GraphicsContext3DPrivate::getContextAttributes): 83 (WebCore::GraphicsContext3DPrivate::getProgramInfoLog): 84 (WebCore::GraphicsContext3DPrivate::getShaderInfoLog): 85 (WebCore::GraphicsContext3DPrivate::getShaderSource): 86 (WebCore::GraphicsContext3DPrivate::getString): 87 (WebCore::GraphicsContext3DPrivate::getUniformLocation): 88 (WebCore::GraphicsContext3DPrivate::shaderSource): 89 (WebCore::GraphicsContext3DPrivate::texImage2D): 90 (WebCore::GraphicsContext3DPrivate::texSubImage2D): 91 (WebCore::GraphicsContext3DPrivate::uniform1fv): 92 (WebCore::GraphicsContext3DPrivate::uniform1iv): 93 (WebCore::GraphicsContext3DPrivate::uniform2fv): 94 (WebCore::GraphicsContext3DPrivate::uniform2iv): 95 (WebCore::GraphicsContext3DPrivate::uniform3fv): 96 (WebCore::GraphicsContext3DPrivate::uniform3iv): 97 (WebCore::GraphicsContext3DPrivate::uniform4fv): 98 (WebCore::GraphicsContext3DPrivate::uniform4iv): 99 (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv): 100 (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv): 101 (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv): 102 (WebCore::GraphicsContext3DPrivate::getExtensions): 103 (WebCore::GraphicsContext3DPrivate::isResourceSafe): 104 (WebCore::GraphicsContext3DPrivate::initializeExtensions): 105 (WebCore::GraphicsContext3DPrivate::supportsExtension): 106 (WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled): 107 (WebCore::GraphicsContext3DPrivate::isExtensionEnabled): 108 (WebCore::GraphicsContext3D::GraphicsContext3D): 109 (WebCore::GraphicsContext3D::~GraphicsContext3D): 110 (WebCore::GraphicsContext3D::create): 111 (WebCore::GraphicsContext3D::platformGraphicsContext3D): 112 (WebCore::GraphicsContext3D::platformTexture): 113 (WebCore::GraphicsContext3D::grContext): 114 (WebCore::GraphicsContext3D::prepareTexture): 115 (WebCore::GraphicsContext3D::getInternalFramebufferSize): 116 (WebCore::GraphicsContext3D::isResourceSafe): 117 (WebCore::GraphicsContext3D::platformLayer): 118 (WebCore::GraphicsContext3D::layerComposited): 119 (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas): 120 (WebCore::GraphicsContext3D::paintRenderingResultsToImageData): 121 (GraphicsContextLostCallbackAdapter): 122 (WebCore::GraphicsContextLostCallbackAdapter::~GraphicsContextLostCallbackAdapter): 123 (WebCore::GraphicsContextLostCallbackAdapter::GraphicsContextLostCallbackAdapter): 124 (WebCore::GraphicsContextLostCallbackAdapter::onContextLost): 125 (WebCore::GraphicsContextLostCallbackAdapter::create): 126 (WebCore::GraphicsContext3DPrivate::setContextLostCallback): 127 (GraphicsErrorMessageCallbackAdapter): 128 (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter): 129 (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter): 130 (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage): 131 (WebCore::GraphicsErrorMessageCallbackAdapter::create): 132 (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback): 133 (WebCore::GraphicsContext3D::isGLES2Compliant): 134 (GraphicsContext3DSwapBuffersCompleteCallbackAdapter): 135 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~GraphicsContext3DSwapBuffersCompleteCallbackAdapter): 136 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsContext3DSwapBuffersCompleteCallbackAdapter): 137 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete): 138 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::create): 139 (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM): 140 (GraphicsContext3DMemoryAllocationChangedCallbackAdapter): 141 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter): 142 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter): 143 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged): 144 (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM): 145 * platform/chromium/support/GraphicsContext3DPrivate.h: Renamed from Source/WebKit/chromium/src/GraphicsContext3DPrivate.h. 146 (WebKit): 147 (WebCore): 148 (GraphicsContext3DPrivate): 149 1 150 2012-05-11 Keyar Hood <keyar@chromium.org> 2 151 -
trunk/Source/WebCore/WebCore.gypi
r116802 r116811 8278 8278 ], 8279 8279 'webcore_platform_support_files': [ 8280 'platform/chromium/support/Extensions3DChromium.cpp', 8281 'platform/chromium/support/GraphicsContext3DChromium.cpp', 8282 'platform/chromium/support/GraphicsContext3DPrivate.h', 8280 8283 'platform/chromium/support/WebAudioBus.cpp', 8281 8284 'platform/chromium/support/WebData.cpp', -
trunk/Source/WebCore/platform/chromium/support/Extensions3DChromium.cpp
-
Property
svn:eol-style
changed from
native
toLF
r116810 r116811 26 26 #include "config.h" 27 27 28 #if ENABLE(WEBGL)29 30 28 #include "Extensions3DChromium.h" 31 29 … … 207 205 208 206 } // namespace WebCore 209 210 #endif // ENABLE(WEBGL) -
Property
svn:eol-style
changed from
-
trunk/Source/WebCore/platform/chromium/support/GraphicsContext3DChromium.cpp
-
Property
svn:eol-style
changed from
native
toLF
-
Property
svn:eol-style
changed from
-
trunk/Source/WebCore/platform/chromium/support/GraphicsContext3DPrivate.h
-
Property
svn:eol-style
changed from
native
toLF
-
Property
svn:eol-style
changed from
-
trunk/Source/WebKit/chromium/ChangeLog
r116810 r116811 1 2012-05-11 James Robinson <jamesr@chromium.org> 2 3 [chromium] Move implementation of WebCore::GraphicsContext3D and related from WebKit/chromium/src to WebCore/platform/chromium/support 4 https://bugs.webkit.org/show_bug.cgi?id=86257 5 6 Reviewed by Adam Barth. 7 8 * WebKit.gyp: 9 1 10 2012-05-11 Fady Samuel <fsamuel@chromium.org> 2 11 -
trunk/Source/WebKit/chromium/WebKit.gyp
r116712 r116811 402 402 'src/EventListenerWrapper.cpp', 403 403 'src/EventListenerWrapper.h', 404 'src/Extensions3DChromium.cpp',405 404 'src/ExternalPopupMenu.cpp', 406 405 'src/ExternalPopupMenu.h', … … 410 409 'src/GeolocationClientProxy.cpp', 411 410 'src/GeolocationClientProxy.h', 412 'src/GraphicsContext3DChromium.cpp',413 'src/GraphicsContext3DPrivate.h',414 411 'src/gtk/WebInputEventFactory.cpp', 415 412 'src/IDBCallbacksProxy.cpp',
Note: See TracChangeset
for help on using the changeset viewer.