Changeset 120497 in webkit
- Timestamp:
- Jun 15, 2012, 3:00:28 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r120495 r120497 1 2012-06-15 Ami Fischman <fischman@chromium.org> 2 3 [chromium] Compositor should be aware of |flipped| status of video textures per-platform 4 https://bugs.webkit.org/show_bug.cgi?id=89189 5 6 Reviewed by James Robinson. 7 8 No new tests (sadly HW video decode is still only being tested manually for orientation). 9 10 * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp: 11 (WebCore::CCVideoLayerImpl::appendQuads): 12 1 13 2012-06-14 Ryosuke Niwa <rniwa@webkit.org> 2 14 -
trunk/Source/WebCore/platform/graphics/chromium/cc/CCVideoLayerImpl.cpp
r120457 r120497 211 211 bool premultipliedAlpha = true; 212 212 FloatRect uvRect(0, 0, 1, 1); 213 bool flipped = false; 213 #if defined(OS_CHROMEOS) && defined(__ARMEL__) 214 bool flipped = true; // Under the covers, implemented by OpenMAX IL. 215 #elif defined(OS_WINDOWS) 216 bool flipped = true; // Under the covers, implemented by DXVA. 217 #else 218 bool flipped = false; // LibVA (cros/intel), MacOS. 219 #endif 214 220 OwnPtr<CCTextureDrawQuad> textureQuad = CCTextureDrawQuad::create(sharedQuadState, quadRect, m_frame->textureId(), premultipliedAlpha, uvRect, flipped); 215 221 quadList.append(textureQuad.release());
Note:
See TracChangeset
for help on using the changeset viewer.