Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: cc/gl_renderer.cc

Issue 11274017: Added support for YUV videos to the software compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 6
7 #include "cc/gl_renderer.h" 7 #include "cc/gl_renderer.h"
8 8
9 #include "FloatQuad.h" 9 #include "FloatQuad.h"
10 #include "NotImplemented.h" 10 #include "NotImplemented.h"
(...skipping 19 matching lines...) Expand all
30 #include "third_party/khronos/GLES2/gl2ext.h" 30 #include "third_party/khronos/GLES2/gl2ext.h"
31 #include "third_party/skia/include/core/SkBitmap.h" 31 #include "third_party/skia/include/core/SkBitmap.h"
32 #include "third_party/skia/include/core/SkColor.h" 32 #include "third_party/skia/include/core/SkColor.h"
33 #include "third_party/skia/include/gpu/GrContext.h" 33 #include "third_party/skia/include/gpu/GrContext.h"
34 #include "third_party/skia/include/gpu/GrTexture.h" 34 #include "third_party/skia/include/gpu/GrTexture.h"
35 #include "third_party/skia/include/gpu/SkGpuDevice.h" 35 #include "third_party/skia/include/gpu/SkGpuDevice.h"
36 #include "third_party/skia/include/gpu/SkGrTexturePixelRef.h" 36 #include "third_party/skia/include/gpu/SkGrTexturePixelRef.h"
37 #include "ui/gfx/rect_conversions.h" 37 #include "ui/gfx/rect_conversions.h"
38 #include <public/WebGraphicsContext3D.h> 38 #include <public/WebGraphicsContext3D.h>
39 #include <public/WebSharedGraphicsContext3D.h> 39 #include <public/WebSharedGraphicsContext3D.h>
40 #include <public/WebVideoFrame.h>
41 #include <set> 40 #include <set>
42 #include <string> 41 #include <string>
43 #include <vector> 42 #include <vector>
44 43
45 using namespace std; 44 using namespace std;
46 using WebKit::WebGraphicsContext3D; 45 using WebKit::WebGraphicsContext3D;
47 using WebKit::WebGraphicsMemoryAllocation; 46 using WebKit::WebGraphicsMemoryAllocation;
48 using WebKit::WebSharedGraphicsContext3D; 47 using WebKit::WebSharedGraphicsContext3D;
49 using WebKit::WebTransformationMatrix; 48 using WebKit::WebTransformationMatrix;
50 49
(...skipping 1542 matching lines...) Expand 10 before | Expand all | Expand 10 after
1593 1592
1594 releaseRenderPassTextures(); 1593 releaseRenderPassTextures();
1595 } 1594 }
1596 1595
1597 bool GLRenderer::isContextLost() 1596 bool GLRenderer::isContextLost()
1598 { 1597 {
1599 return (m_context->getGraphicsResetStatusARB() != GL_NO_ERROR); 1598 return (m_context->getGraphicsResetStatusARB() != GL_NO_ERROR);
1600 } 1599 }
1601 1600
1602 } // namespace cc 1601 } // namespace cc
OLDNEW
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698