summaryrefslogtreecommitdiffstats
path: root/webkit/gpu
diff options
context:
space:
mode:
authorkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 23:37:23 +0000
committerkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 23:37:23 +0000
commit503f68924abd17cbb59fbd70a88fd882baf41caf (patch)
tree9b5165805cbc47a54129674d43d7045f13386b30 /webkit/gpu
parent2eaf9dd9583136aea0dbb133f632226d8771e02c (diff)
downloadchromium_src-503f68924abd17cbb59fbd70a88fd882baf41caf.zip
chromium_src-503f68924abd17cbb59fbd70a88fd882baf41caf.tar.gz
chromium_src-503f68924abd17cbb59fbd70a88fd882baf41caf.tar.bz2
Committing http://codereview.chromium.org/6592076 on behalf of jbauman:
Don't force set premultipliedAlpha in WebGL context Forcing premultipliedAlpha to be set breaks other parts of the code which want to check for what the application actually set. It's also different from what how the command buffer implements this, and it doesn't really help correctness, as non-premultiplied alpha support is required and may be expected by apps. BUG=none TEST=new webkit layout test Review URL: http://codereview.chromium.org/6594094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76460 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/gpu')
-rw-r--r--webkit/gpu/webgraphicscontext3d_in_process_impl.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
index 6093ba6..6f9d803 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
@@ -224,9 +224,6 @@ void WebGraphicsContext3DInProcessImpl::ValidateAttributes() {
attributes_.antialias = false;
}
}
- // FIXME: instead of enforcing premultipliedAlpha = true, implement the
- // correct behavior when premultipliedAlpha = false is requested.
- attributes_.premultipliedAlpha = true;
}
void WebGraphicsContext3DInProcessImpl::ResolveMultisampledFramebuffer(