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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 #include "modules/webgl/WebGLVertexArrayObject.h" 89 #include "modules/webgl/WebGLVertexArrayObject.h"
90 #include "modules/webgl/WebGLVertexArrayObjectOES.h" 90 #include "modules/webgl/WebGLVertexArrayObjectOES.h"
91 #include "platform/CrossThreadFunctional.h" 91 #include "platform/CrossThreadFunctional.h"
92 #include "platform/RuntimeEnabledFeatures.h" 92 #include "platform/RuntimeEnabledFeatures.h"
93 #include "platform/WaitableEvent.h" 93 #include "platform/WaitableEvent.h"
94 #include "platform/geometry/IntSize.h" 94 #include "platform/geometry/IntSize.h"
95 #include "platform/graphics/GraphicsContext.h" 95 #include "platform/graphics/GraphicsContext.h"
96 #include "platform/graphics/UnacceleratedImageBufferSurface.h" 96 #include "platform/graphics/UnacceleratedImageBufferSurface.h"
97 #include "platform/graphics/gpu/AcceleratedImageBufferSurface.h" 97 #include "platform/graphics/gpu/AcceleratedImageBufferSurface.h"
98 #include "platform/graphics/gpu/SharedGpuContext.h" 98 #include "platform/graphics/gpu/SharedGpuContext.h"
99 #include "platform/wtf/CheckedNumeric.h"
100 #include "platform/wtf/Functional.h"
101 #include "platform/wtf/PtrUtil.h"
102 #include "platform/wtf/text/StringBuilder.h"
103 #include "platform/wtf/text/StringUTF8Adaptor.h"
104 #include "platform/wtf/typed_arrays/ArrayBufferContents.h"
99 #include "public/platform/Platform.h" 105 #include "public/platform/Platform.h"
100 #include "skia/ext/texture_handle.h" 106 #include "skia/ext/texture_handle.h"
101 #include "wtf/CheckedNumeric.h"
102 #include "wtf/Functional.h"
103 #include "wtf/PtrUtil.h"
104 #include "wtf/text/StringBuilder.h"
105 #include "wtf/text/StringUTF8Adaptor.h"
106 #include "wtf/typed_arrays/ArrayBufferContents.h"
107 107
108 namespace blink { 108 namespace blink {
109 109
110 namespace { 110 namespace {
111 111
112 const double kSecondsBetweenRestoreAttempts = 1.0; 112 const double kSecondsBetweenRestoreAttempts = 1.0;
113 const int kMaxGLErrorsAllowedToConsole = 256; 113 const int kMaxGLErrorsAllowedToConsole = 256;
114 const unsigned kMaxGLActiveContextsOnWorker = 4; 114 const unsigned kMaxGLActiveContextsOnWorker = 4;
115 115
116 #if OS(ANDROID) 116 #if OS(ANDROID)
(...skipping 7690 matching lines...) Expand 10 before | Expand all | Expand 10 after
7807 7807
7808 void WebGLRenderingContextBase::getHTMLOrOffscreenCanvas( 7808 void WebGLRenderingContextBase::getHTMLOrOffscreenCanvas(
7809 HTMLCanvasElementOrOffscreenCanvas& result) const { 7809 HTMLCanvasElementOrOffscreenCanvas& result) const {
7810 if (canvas()) 7810 if (canvas())
7811 result.setHTMLCanvasElement(canvas()); 7811 result.setHTMLCanvasElement(canvas());
7812 else 7812 else
7813 result.setOffscreenCanvas(offscreenCanvas()); 7813 result.setOffscreenCanvas(offscreenCanvas());
7814 } 7814 }
7815 7815
7816 } // namespace blink 7816 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698