diff options
author | twiz@chromium.org <twiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 15:43:17 +0000 |
---|---|---|
committer | twiz@chromium.org <twiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 15:43:17 +0000 |
commit | 6c75c71e79b70dcf32982b1da3e219c277872162 (patch) | |
tree | e815368906a055004f7273b3c7119764f48689e0 /webkit/gpu/webgraphicscontext3d_in_process_impl.cc | |
parent | a9377f622db492fbf08fc12eac9d504bb5a4a8b7 (diff) | |
download | chromium_src-6c75c71e79b70dcf32982b1da3e219c277872162.zip chromium_src-6c75c71e79b70dcf32982b1da3e219c277872162.tar.gz chromium_src-6c75c71e79b70dcf32982b1da3e219c277872162.tar.bz2 |
Addition of an unpremultiplied-alpha setting for the GL_CHROMIUM_copy_texture command buffer GL extension.
The extension needs to support the ability to unpremultiply the source of the copy because of the canvas2d-webgl texture use case. Canvas is stored in premultiplied form, yet WebGL expects texture contents to be in unpremultiplied form.
Change also includes conversion of argument types to overriders of WebGraphicsContext3D::copyTextureCHROMIUM(...).
This change is necessary as a result of a wk-change: https://bugs.webkit.org/show_bug.cgi?id=86275
BUG=101051
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10535174
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142962 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/gpu/webgraphicscontext3d_in_process_impl.cc')
-rw-r--r-- | webkit/gpu/webgraphicscontext3d_in_process_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc index a6ccfb4..f37cd363 100644 --- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc +++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc @@ -1672,8 +1672,8 @@ DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB, WebGLId, WGC3Denum, WGC3Duint*) void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM( - WGC3Denum, WebGLId, WebGLId, WGC3Dint, WGC3Denum) -{ + WGC3Denum, WGC3Duint, WGC3Duint, WGC3Dint, WGC3Denum) { + NOTIMPLEMENTED(); } GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { |