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

Side by Side Diff: Source/core/html/canvas/WebGLRenderingContext.cpp

Issue 17388003: Remove unused includes from core/{editing,fileapi,history,html} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased 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
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContext.h ('k') | Source/core/html/canvas/WebGLShader.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 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #include "core/page/Frame.h" 70 #include "core/page/Frame.h"
71 #include "core/page/Page.h" 71 #include "core/page/Page.h"
72 #include "core/page/Settings.h" 72 #include "core/page/Settings.h"
73 #include "core/platform/NotImplemented.h" 73 #include "core/platform/NotImplemented.h"
74 #include "core/platform/graphics/Extensions3D.h" 74 #include "core/platform/graphics/Extensions3D.h"
75 #include "core/platform/graphics/ImageBuffer.h" 75 #include "core/platform/graphics/ImageBuffer.h"
76 #include "core/platform/graphics/IntSize.h" 76 #include "core/platform/graphics/IntSize.h"
77 #include "core/platform/graphics/gpu/DrawingBuffer.h" 77 #include "core/platform/graphics/gpu/DrawingBuffer.h"
78 #include "core/rendering/RenderBox.h" 78 #include "core/rendering/RenderBox.h"
79 79
80 #include <wtf/OwnArrayPtr.h> 80 #include "wtf/OwnArrayPtr.h"
81 #include <wtf/PassOwnArrayPtr.h> 81 #include "wtf/PassOwnArrayPtr.h"
82 #include <wtf/text/StringBuilder.h> 82 #include "wtf/Uint32Array.h"
83 #include <wtf/Uint16Array.h> 83 #include "wtf/text/StringBuilder.h"
84 #include <wtf/Uint32Array.h>
85 84
86 namespace WebCore { 85 namespace WebCore {
87 86
88 const double secondsBetweenRestoreAttempts = 1.0; 87 const double secondsBetweenRestoreAttempts = 1.0;
89 const int maxGLErrorsAllowedToConsole = 256; 88 const int maxGLErrorsAllowedToConsole = 256;
90 const int maxGLActiveContexts = 16; 89 const int maxGLActiveContexts = 16;
91 90
92 Vector<WebGLRenderingContext*>& WebGLRenderingContext::activeContexts() 91 Vector<WebGLRenderingContext*>& WebGLRenderingContext::activeContexts()
93 { 92 {
94 DEFINE_STATIC_LOCAL(Vector<WebGLRenderingContext*>, activeContexts, ()); 93 DEFINE_STATIC_LOCAL(Vector<WebGLRenderingContext*>, activeContexts, ());
(...skipping 5484 matching lines...) Expand 10 before | Expand all | Expand 10 after
5579 5578
5580 void WebGLRenderingContext::multisamplingChanged(bool enabled) 5579 void WebGLRenderingContext::multisamplingChanged(bool enabled)
5581 { 5580 {
5582 if (m_multisamplingAllowed != enabled) { 5581 if (m_multisamplingAllowed != enabled) {
5583 m_multisamplingAllowed = enabled; 5582 m_multisamplingAllowed = enabled;
5584 forceLostContext(WebGLRenderingContext::AutoRecoverSyntheticLostContext) ; 5583 forceLostContext(WebGLRenderingContext::AutoRecoverSyntheticLostContext) ;
5585 } 5584 }
5586 } 5585 }
5587 5586
5588 } // namespace WebCore 5587 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContext.h ('k') | Source/core/html/canvas/WebGLShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698