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

Side by Side Diff: cc/output/gl_renderer.cc

Issue 16085003: Update refernces to Blink's Platform API (cc) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months 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/output/gl_renderer.h ('k') | cc/output/output_surface.h » ('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 "cc/output/gl_renderer.h" 5 #include "cc/output/gl_renderer.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 19 matching lines...) Expand all
30 #include "cc/quads/stream_video_draw_quad.h" 30 #include "cc/quads/stream_video_draw_quad.h"
31 #include "cc/quads/texture_draw_quad.h" 31 #include "cc/quads/texture_draw_quad.h"
32 #include "cc/resources/layer_quad.h" 32 #include "cc/resources/layer_quad.h"
33 #include "cc/resources/priority_calculator.h" 33 #include "cc/resources/priority_calculator.h"
34 #include "cc/resources/scoped_resource.h" 34 #include "cc/resources/scoped_resource.h"
35 #include "cc/resources/sync_point_helper.h" 35 #include "cc/resources/sync_point_helper.h"
36 #include "cc/trees/damage_tracker.h" 36 #include "cc/trees/damage_tracker.h"
37 #include "cc/trees/proxy.h" 37 #include "cc/trees/proxy.h"
38 #include "cc/trees/single_thread_proxy.h" 38 #include "cc/trees/single_thread_proxy.h"
39 #include "gpu/GLES2/gl2extchromium.h" 39 #include "gpu/GLES2/gl2extchromium.h"
40 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h" 40 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
41 #include "third_party/khronos/GLES2/gl2.h" 41 #include "third_party/khronos/GLES2/gl2.h"
42 #include "third_party/khronos/GLES2/gl2ext.h" 42 #include "third_party/khronos/GLES2/gl2ext.h"
43 #include "third_party/skia/include/core/SkBitmap.h" 43 #include "third_party/skia/include/core/SkBitmap.h"
44 #include "third_party/skia/include/core/SkColor.h" 44 #include "third_party/skia/include/core/SkColor.h"
45 #include "third_party/skia/include/core/SkColorFilter.h" 45 #include "third_party/skia/include/core/SkColorFilter.h"
46 #include "third_party/skia/include/core/SkSurface.h" 46 #include "third_party/skia/include/core/SkSurface.h"
47 #include "third_party/skia/include/gpu/GrContext.h" 47 #include "third_party/skia/include/gpu/GrContext.h"
48 #include "third_party/skia/include/gpu/GrTexture.h" 48 #include "third_party/skia/include/gpu/GrTexture.h"
49 #include "third_party/skia/include/gpu/SkGpuDevice.h" 49 #include "third_party/skia/include/gpu/SkGpuDevice.h"
50 #include "third_party/skia/include/gpu/SkGrTexturePixelRef.h" 50 #include "third_party/skia/include/gpu/SkGrTexturePixelRef.h"
(...skipping 2853 matching lines...) Expand 10 before | Expand all | Expand 10 after
2904 // The Skia GPU backend requires a stencil buffer. See ReinitializeGrCanvas 2904 // The Skia GPU backend requires a stencil buffer. See ReinitializeGrCanvas
2905 // implementation. 2905 // implementation.
2906 return gr_context_ && context_->getContextAttributes().stencil; 2906 return gr_context_ && context_->getContextAttributes().stencil;
2907 } 2907 }
2908 2908
2909 bool GLRenderer::IsContextLost() { 2909 bool GLRenderer::IsContextLost() {
2910 return (context_->getGraphicsResetStatusARB() != GL_NO_ERROR); 2910 return (context_->getGraphicsResetStatusARB() != GL_NO_ERROR);
2911 } 2911 }
2912 2912
2913 } // namespace cc 2913 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/gl_renderer.h ('k') | cc/output/output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698