From 503f68924abd17cbb59fbd70a88fd882baf41caf Mon Sep 17 00:00:00 2001 From: "kbr@chromium.org" Date: Tue, 1 Mar 2011 23:37:23 +0000 Subject: 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 --- webkit/gpu/webgraphicscontext3d_in_process_impl.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'webkit/gpu') 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( -- cgit v1.1