Changeset 95002 in webkit


Ignore:
Timestamp:
Sep 12, 2011 8:12:01 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Patch by Hyowon Kim <hw1008.kim@samsung.com> on 2011-09-12
Reviewed by Eric Seidel.

[EFL] Add GraphicsContext3DEfl for WebGL and accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=62709

Add GraphicsContext3D implementation for EFL port.
GraphicsContext3D delegates to GraphicsContext3DInternal.

  • platform/graphics/efl/GraphicsContext3DEfl.cpp: Added.

(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::~GraphicsContext3D):
(WebCore::GraphicsContext3D::platformGraphicsContext3D):
(WebCore::GraphicsContext3D::platformLayer):
(WebCore::GraphicsContext3D::makeContextCurrent):
(WebCore::GraphicsContext3D::isGLES2Compliant):
(WebCore::GraphicsContext3D::activeTexture):
(WebCore::GraphicsContext3D::attachShader):
(WebCore::GraphicsContext3D::bindAttribLocation):
(WebCore::GraphicsContext3D::bindBuffer):
(WebCore::GraphicsContext3D::bindFramebuffer):
(WebCore::GraphicsContext3D::bindRenderbuffer):
(WebCore::GraphicsContext3D::bindTexture):
(WebCore::GraphicsContext3D::blendColor):
(WebCore::GraphicsContext3D::blendEquation):
(WebCore::GraphicsContext3D::blendEquationSeparate):
(WebCore::GraphicsContext3D::blendFunc):
(WebCore::GraphicsContext3D::blendFuncSeparate):
(WebCore::GraphicsContext3D::bufferData):
(WebCore::GraphicsContext3D::bufferSubData):
(WebCore::GraphicsContext3D::checkFramebufferStatus):
(WebCore::GraphicsContext3D::clear):
(WebCore::GraphicsContext3D::clearColor):
(WebCore::GraphicsContext3D::clearDepth):
(WebCore::GraphicsContext3D::clearStencil):
(WebCore::GraphicsContext3D::colorMask):
(WebCore::GraphicsContext3D::compileShader):
(WebCore::GraphicsContext3D::copyTexImage2D):
(WebCore::GraphicsContext3D::copyTexSubImage2D):
(WebCore::GraphicsContext3D::cullFace):
(WebCore::GraphicsContext3D::depthFunc):
(WebCore::GraphicsContext3D::depthMask):
(WebCore::GraphicsContext3D::depthRange):
(WebCore::GraphicsContext3D::detachShader):
(WebCore::GraphicsContext3D::disable):
(WebCore::GraphicsContext3D::disableVertexAttribArray):
(WebCore::GraphicsContext3D::drawArrays):
(WebCore::GraphicsContext3D::drawElements):
(WebCore::GraphicsContext3D::enable):
(WebCore::GraphicsContext3D::enableVertexAttribArray):
(WebCore::GraphicsContext3D::finish):
(WebCore::GraphicsContext3D::flush):
(WebCore::GraphicsContext3D::framebufferRenderbuffer):
(WebCore::GraphicsContext3D::framebufferTexture2D):
(WebCore::GraphicsContext3D::frontFace):
(WebCore::GraphicsContext3D::generateMipmap):
(WebCore::GraphicsContext3D::getActiveAttrib):
(WebCore::GraphicsContext3D::getActiveUniform):
(WebCore::GraphicsContext3D::getAttachedShaders):
(WebCore::GraphicsContext3D::getAttribLocation):
(WebCore::GraphicsContext3D::getBooleanv):
(WebCore::GraphicsContext3D::getBufferParameteriv):
(WebCore::GraphicsContext3D::getContextAttributes):
(WebCore::GraphicsContext3D::getError):
(WebCore::GraphicsContext3D::getFloatv):
(WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
(WebCore::GraphicsContext3D::getIntegerv):
(WebCore::GraphicsContext3D::getProgramiv):
(WebCore::GraphicsContext3D::getProgramInfoLog):
(WebCore::GraphicsContext3D::getRenderbufferParameteriv):
(WebCore::GraphicsContext3D::getShaderiv):
(WebCore::GraphicsContext3D::getShaderInfoLog):
(WebCore::GraphicsContext3D::getShaderSource):
(WebCore::GraphicsContext3D::getString):
(WebCore::GraphicsContext3D::getTexParameterfv):
(WebCore::GraphicsContext3D::getTexParameteriv):
(WebCore::GraphicsContext3D::getUniformfv):
(WebCore::GraphicsContext3D::getUniformiv):
(WebCore::GraphicsContext3D::getUniformLocation):
(WebCore::GraphicsContext3D::getVertexAttribfv):
(WebCore::GraphicsContext3D::getVertexAttribiv):
(WebCore::GraphicsContext3D::getVertexAttribOffset):
(WebCore::GraphicsContext3D::hint):
(WebCore::GraphicsContext3D::isBuffer):
(WebCore::GraphicsContext3D::isEnabled):
(WebCore::GraphicsContext3D::isFramebuffer):
(WebCore::GraphicsContext3D::isProgram):
(WebCore::GraphicsContext3D::isRenderbuffer):
(WebCore::GraphicsContext3D::isShader):
(WebCore::GraphicsContext3D::isTexture):
(WebCore::GraphicsContext3D::lineWidth):
(WebCore::GraphicsContext3D::linkProgram):
(WebCore::GraphicsContext3D::pixelStorei):
(WebCore::GraphicsContext3D::polygonOffset):
(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::releaseShaderCompiler):
(WebCore::GraphicsContext3D::renderbufferStorage):
(WebCore::GraphicsContext3D::sampleCoverage):
(WebCore::GraphicsContext3D::scissor):
(WebCore::GraphicsContext3D::shaderSource):
(WebCore::GraphicsContext3D::stencilFunc):
(WebCore::GraphicsContext3D::stencilFuncSeparate):
(WebCore::GraphicsContext3D::stencilMask):
(WebCore::GraphicsContext3D::stencilMaskSeparate):
(WebCore::GraphicsContext3D::stencilOp):
(WebCore::GraphicsContext3D::stencilOpSeparate):
(WebCore::GraphicsContext3D::texImage2D):
(WebCore::GraphicsContext3D::texParameterf):
(WebCore::GraphicsContext3D::texParameteri):
(WebCore::GraphicsContext3D::texSubImage2D):
(WebCore::GraphicsContext3D::uniform1f):
(WebCore::GraphicsContext3D::uniform1fv):
(WebCore::GraphicsContext3D::uniform1i):
(WebCore::GraphicsContext3D::uniform1iv):
(WebCore::GraphicsContext3D::uniform2f):
(WebCore::GraphicsContext3D::uniform2fv):
(WebCore::GraphicsContext3D::uniform2i):
(WebCore::GraphicsContext3D::uniform2iv):
(WebCore::GraphicsContext3D::uniform3f):
(WebCore::GraphicsContext3D::uniform3fv):
(WebCore::GraphicsContext3D::uniform3i):
(WebCore::GraphicsContext3D::uniform3iv):
(WebCore::GraphicsContext3D::uniform4f):
(WebCore::GraphicsContext3D::uniform4fv):
(WebCore::GraphicsContext3D::uniform4i):
(WebCore::GraphicsContext3D::uniform4iv):
(WebCore::GraphicsContext3D::uniformMatrix2fv):
(WebCore::GraphicsContext3D::uniformMatrix3fv):
(WebCore::GraphicsContext3D::uniformMatrix4fv):
(WebCore::GraphicsContext3D::useProgram):
(WebCore::GraphicsContext3D::validateProgram):
(WebCore::GraphicsContext3D::vertexAttrib1f):
(WebCore::GraphicsContext3D::vertexAttrib1fv):
(WebCore::GraphicsContext3D::vertexAttrib2f):
(WebCore::GraphicsContext3D::vertexAttrib2fv):
(WebCore::GraphicsContext3D::vertexAttrib3f):
(WebCore::GraphicsContext3D::vertexAttrib3fv):
(WebCore::GraphicsContext3D::vertexAttrib4f):
(WebCore::GraphicsContext3D::vertexAttrib4fv):
(WebCore::GraphicsContext3D::vertexAttribPointer):
(WebCore::GraphicsContext3D::viewport):
(WebCore::GraphicsContext3D::reshape):
(WebCore::GraphicsContext3D::markContextChanged):
(WebCore::GraphicsContext3D::markLayerComposited):
(WebCore::GraphicsContext3D::layerComposited):
(WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
(WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
(WebCore::GraphicsContext3D::createBuffer):
(WebCore::GraphicsContext3D::createFramebuffer):
(WebCore::GraphicsContext3D::createProgram):
(WebCore::GraphicsContext3D::createRenderbuffer):
(WebCore::GraphicsContext3D::createShader):
(WebCore::GraphicsContext3D::createTexture):
(WebCore::GraphicsContext3D::deleteBuffer):
(WebCore::GraphicsContext3D::deleteFramebuffer):
(WebCore::GraphicsContext3D::deleteProgram):
(WebCore::GraphicsContext3D::deleteRenderbuffer):
(WebCore::GraphicsContext3D::deleteShader):
(WebCore::GraphicsContext3D::deleteTexture):
(WebCore::GraphicsContext3D::synthesizeGLError):
(WebCore::GraphicsContext3D::getExtensions):
(WebCore::GraphicsContext3D::getInternalFramebufferSize):
(WebCore::GraphicsContext3D::setContextLostCallback):
(WebCore::GraphicsContext3D::getImageData):

Location:
trunk/Source/WebCore
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r95001 r95002  
     12011-09-12  Hyowon Kim  <hw1008.kim@samsung.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [EFL] Add GraphicsContext3DEfl for WebGL and accelerated compositing
     6        https://bugs.webkit.org/show_bug.cgi?id=62709
     7
     8        Add GraphicsContext3D implementation for EFL port.
     9        GraphicsContext3D delegates to GraphicsContext3DInternal.
     10
     11        * platform/graphics/efl/GraphicsContext3DEfl.cpp: Added.
     12        (WebCore::GraphicsContext3D::create):
     13        (WebCore::GraphicsContext3D::GraphicsContext3D):
     14        (WebCore::GraphicsContext3D::~GraphicsContext3D):
     15        (WebCore::GraphicsContext3D::platformGraphicsContext3D):
     16        (WebCore::GraphicsContext3D::platformLayer):
     17        (WebCore::GraphicsContext3D::makeContextCurrent):
     18        (WebCore::GraphicsContext3D::isGLES2Compliant):
     19        (WebCore::GraphicsContext3D::activeTexture):
     20        (WebCore::GraphicsContext3D::attachShader):
     21        (WebCore::GraphicsContext3D::bindAttribLocation):
     22        (WebCore::GraphicsContext3D::bindBuffer):
     23        (WebCore::GraphicsContext3D::bindFramebuffer):
     24        (WebCore::GraphicsContext3D::bindRenderbuffer):
     25        (WebCore::GraphicsContext3D::bindTexture):
     26        (WebCore::GraphicsContext3D::blendColor):
     27        (WebCore::GraphicsContext3D::blendEquation):
     28        (WebCore::GraphicsContext3D::blendEquationSeparate):
     29        (WebCore::GraphicsContext3D::blendFunc):
     30        (WebCore::GraphicsContext3D::blendFuncSeparate):
     31        (WebCore::GraphicsContext3D::bufferData):
     32        (WebCore::GraphicsContext3D::bufferSubData):
     33        (WebCore::GraphicsContext3D::checkFramebufferStatus):
     34        (WebCore::GraphicsContext3D::clear):
     35        (WebCore::GraphicsContext3D::clearColor):
     36        (WebCore::GraphicsContext3D::clearDepth):
     37        (WebCore::GraphicsContext3D::clearStencil):
     38        (WebCore::GraphicsContext3D::colorMask):
     39        (WebCore::GraphicsContext3D::compileShader):
     40        (WebCore::GraphicsContext3D::copyTexImage2D):
     41        (WebCore::GraphicsContext3D::copyTexSubImage2D):
     42        (WebCore::GraphicsContext3D::cullFace):
     43        (WebCore::GraphicsContext3D::depthFunc):
     44        (WebCore::GraphicsContext3D::depthMask):
     45        (WebCore::GraphicsContext3D::depthRange):
     46        (WebCore::GraphicsContext3D::detachShader):
     47        (WebCore::GraphicsContext3D::disable):
     48        (WebCore::GraphicsContext3D::disableVertexAttribArray):
     49        (WebCore::GraphicsContext3D::drawArrays):
     50        (WebCore::GraphicsContext3D::drawElements):
     51        (WebCore::GraphicsContext3D::enable):
     52        (WebCore::GraphicsContext3D::enableVertexAttribArray):
     53        (WebCore::GraphicsContext3D::finish):
     54        (WebCore::GraphicsContext3D::flush):
     55        (WebCore::GraphicsContext3D::framebufferRenderbuffer):
     56        (WebCore::GraphicsContext3D::framebufferTexture2D):
     57        (WebCore::GraphicsContext3D::frontFace):
     58        (WebCore::GraphicsContext3D::generateMipmap):
     59        (WebCore::GraphicsContext3D::getActiveAttrib):
     60        (WebCore::GraphicsContext3D::getActiveUniform):
     61        (WebCore::GraphicsContext3D::getAttachedShaders):
     62        (WebCore::GraphicsContext3D::getAttribLocation):
     63        (WebCore::GraphicsContext3D::getBooleanv):
     64        (WebCore::GraphicsContext3D::getBufferParameteriv):
     65        (WebCore::GraphicsContext3D::getContextAttributes):
     66        (WebCore::GraphicsContext3D::getError):
     67        (WebCore::GraphicsContext3D::getFloatv):
     68        (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
     69        (WebCore::GraphicsContext3D::getIntegerv):
     70        (WebCore::GraphicsContext3D::getProgramiv):
     71        (WebCore::GraphicsContext3D::getProgramInfoLog):
     72        (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
     73        (WebCore::GraphicsContext3D::getShaderiv):
     74        (WebCore::GraphicsContext3D::getShaderInfoLog):
     75        (WebCore::GraphicsContext3D::getShaderSource):
     76        (WebCore::GraphicsContext3D::getString):
     77        (WebCore::GraphicsContext3D::getTexParameterfv):
     78        (WebCore::GraphicsContext3D::getTexParameteriv):
     79        (WebCore::GraphicsContext3D::getUniformfv):
     80        (WebCore::GraphicsContext3D::getUniformiv):
     81        (WebCore::GraphicsContext3D::getUniformLocation):
     82        (WebCore::GraphicsContext3D::getVertexAttribfv):
     83        (WebCore::GraphicsContext3D::getVertexAttribiv):
     84        (WebCore::GraphicsContext3D::getVertexAttribOffset):
     85        (WebCore::GraphicsContext3D::hint):
     86        (WebCore::GraphicsContext3D::isBuffer):
     87        (WebCore::GraphicsContext3D::isEnabled):
     88        (WebCore::GraphicsContext3D::isFramebuffer):
     89        (WebCore::GraphicsContext3D::isProgram):
     90        (WebCore::GraphicsContext3D::isRenderbuffer):
     91        (WebCore::GraphicsContext3D::isShader):
     92        (WebCore::GraphicsContext3D::isTexture):
     93        (WebCore::GraphicsContext3D::lineWidth):
     94        (WebCore::GraphicsContext3D::linkProgram):
     95        (WebCore::GraphicsContext3D::pixelStorei):
     96        (WebCore::GraphicsContext3D::polygonOffset):
     97        (WebCore::GraphicsContext3D::readPixels):
     98        (WebCore::GraphicsContext3D::releaseShaderCompiler):
     99        (WebCore::GraphicsContext3D::renderbufferStorage):
     100        (WebCore::GraphicsContext3D::sampleCoverage):
     101        (WebCore::GraphicsContext3D::scissor):
     102        (WebCore::GraphicsContext3D::shaderSource):
     103        (WebCore::GraphicsContext3D::stencilFunc):
     104        (WebCore::GraphicsContext3D::stencilFuncSeparate):
     105        (WebCore::GraphicsContext3D::stencilMask):
     106        (WebCore::GraphicsContext3D::stencilMaskSeparate):
     107        (WebCore::GraphicsContext3D::stencilOp):
     108        (WebCore::GraphicsContext3D::stencilOpSeparate):
     109        (WebCore::GraphicsContext3D::texImage2D):
     110        (WebCore::GraphicsContext3D::texParameterf):
     111        (WebCore::GraphicsContext3D::texParameteri):
     112        (WebCore::GraphicsContext3D::texSubImage2D):
     113        (WebCore::GraphicsContext3D::uniform1f):
     114        (WebCore::GraphicsContext3D::uniform1fv):
     115        (WebCore::GraphicsContext3D::uniform1i):
     116        (WebCore::GraphicsContext3D::uniform1iv):
     117        (WebCore::GraphicsContext3D::uniform2f):
     118        (WebCore::GraphicsContext3D::uniform2fv):
     119        (WebCore::GraphicsContext3D::uniform2i):
     120        (WebCore::GraphicsContext3D::uniform2iv):
     121        (WebCore::GraphicsContext3D::uniform3f):
     122        (WebCore::GraphicsContext3D::uniform3fv):
     123        (WebCore::GraphicsContext3D::uniform3i):
     124        (WebCore::GraphicsContext3D::uniform3iv):
     125        (WebCore::GraphicsContext3D::uniform4f):
     126        (WebCore::GraphicsContext3D::uniform4fv):
     127        (WebCore::GraphicsContext3D::uniform4i):
     128        (WebCore::GraphicsContext3D::uniform4iv):
     129        (WebCore::GraphicsContext3D::uniformMatrix2fv):
     130        (WebCore::GraphicsContext3D::uniformMatrix3fv):
     131        (WebCore::GraphicsContext3D::uniformMatrix4fv):
     132        (WebCore::GraphicsContext3D::useProgram):
     133        (WebCore::GraphicsContext3D::validateProgram):
     134        (WebCore::GraphicsContext3D::vertexAttrib1f):
     135        (WebCore::GraphicsContext3D::vertexAttrib1fv):
     136        (WebCore::GraphicsContext3D::vertexAttrib2f):
     137        (WebCore::GraphicsContext3D::vertexAttrib2fv):
     138        (WebCore::GraphicsContext3D::vertexAttrib3f):
     139        (WebCore::GraphicsContext3D::vertexAttrib3fv):
     140        (WebCore::GraphicsContext3D::vertexAttrib4f):
     141        (WebCore::GraphicsContext3D::vertexAttrib4fv):
     142        (WebCore::GraphicsContext3D::vertexAttribPointer):
     143        (WebCore::GraphicsContext3D::viewport):
     144        (WebCore::GraphicsContext3D::reshape):
     145        (WebCore::GraphicsContext3D::markContextChanged):
     146        (WebCore::GraphicsContext3D::markLayerComposited):
     147        (WebCore::GraphicsContext3D::layerComposited):
     148        (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
     149        (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
     150        (WebCore::GraphicsContext3D::createBuffer):
     151        (WebCore::GraphicsContext3D::createFramebuffer):
     152        (WebCore::GraphicsContext3D::createProgram):
     153        (WebCore::GraphicsContext3D::createRenderbuffer):
     154        (WebCore::GraphicsContext3D::createShader):
     155        (WebCore::GraphicsContext3D::createTexture):
     156        (WebCore::GraphicsContext3D::deleteBuffer):
     157        (WebCore::GraphicsContext3D::deleteFramebuffer):
     158        (WebCore::GraphicsContext3D::deleteProgram):
     159        (WebCore::GraphicsContext3D::deleteRenderbuffer):
     160        (WebCore::GraphicsContext3D::deleteShader):
     161        (WebCore::GraphicsContext3D::deleteTexture):
     162        (WebCore::GraphicsContext3D::synthesizeGLError):
     163        (WebCore::GraphicsContext3D::getExtensions):
     164        (WebCore::GraphicsContext3D::getInternalFramebufferSize):
     165        (WebCore::GraphicsContext3D::setContextLostCallback):
     166        (WebCore::GraphicsContext3D::getImageData):
     167
    11682011-09-12  Hyowon Kim  <hw1008.kim@samsung.com>
    2169
Note: See TracChangeset for help on using the changeset viewer.