0c0684d9e0aa67cfcbf7e1552cbc2e00f0347f29
[WebKit-https.git] / Source / Platform / ChangeLog
1 2012-03-22  Tony Chang  <tony@chromium.org>
2
3         Unreviewed, fix chromium build after wtf move.
4
5         Only use newwtf, remove references to wtf.
6
7         * Platform.gyp/Platform.gyp:
8
9 2012-03-21  Ryosuke Niwa  <rniwa@webkit.org>
10
11         Touch a file to make Chromium Windows bots happy.
12
13         * chromium/public/WebGraphicsContext3D.h:
14
15 2012-03-21  David Reveman  <reveman@chromium.org>
16
17         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
18         https://bugs.webkit.org/show_bug.cgi?id=80988
19
20         Reviewed by Adrienne Walker.
21
22         Add EXT_occlusion_query API to WebGraphicsContext3D.
23
24         * chromium/public/WebGraphicsContext3D.h:
25         (WebGraphicsContext3D):
26         (WebKit::WebGraphicsContext3D::createQueryEXT):
27         (WebKit::WebGraphicsContext3D::deleteQueryEXT):
28         (WebKit::WebGraphicsContext3D::isQueryEXT):
29         (WebKit::WebGraphicsContext3D::beginQueryEXT):
30         (WebKit::WebGraphicsContext3D::endQueryEXT):
31         (WebKit::WebGraphicsContext3D::getQueryivEXT):
32         (WebKit::WebGraphicsContext3D::getQueryObjectuivEXT):
33
34 2012-03-19  Michal Mocny  <mmocny@google.com>
35
36         [chromium] Adding support for GL_EXT_discard_framebuffer.
37         https://bugs.webkit.org/show_bug.cgi?id=81383
38
39         Reviewed by James Robinson.
40
41         * chromium/public/WebGraphicsContext3D.h:
42         (WebGraphicsContext3D):
43         (WebKit::WebGraphicsContext3D::discardFramebufferEXT):
44         (WebKit::WebGraphicsContext3D::ensureFramebufferCHROMIUM):
45
46 2012-03-19  Sheriff Bot  <webkit.review.bot@gmail.com>
47
48         Unreviewed, rolling out r111207.
49         http://trac.webkit.org/changeset/111207
50         https://bugs.webkit.org/show_bug.cgi?id=81561
51
52         Causing chromium unit test failure (Requested by reveman on
53         #webkit).
54
55         * chromium/public/WebGraphicsContext3D.h:
56
57 2012-03-19  Michal Mocny  <mmocny@google.com>
58
59         [chromium] Updating WebGraphicsContext3D MemoryAllocation callback to accept a struct with have backbuffer suggestion.
60         https://bugs.webkit.org/show_bug.cgi?id=81279
61
62         Reviewed by James Robinson.
63
64         Adding a suggestHaveBackbuffer hint to the WebGraphicsContext3D memory allocation callback.
65
66         * chromium/public/WebGraphicsContext3D.h:
67         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
68         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::onMemoryAllocationChanged):
69         * chromium/public/WebGraphicsMemoryAllocation.h: Added.
70         (WebKit):
71         (WebGraphicsMemoryAllocation):
72         (WebKit::WebGraphicsMemoryAllocation::WebGraphicsMemoryAllocation):
73
74 2012-03-19  David Reveman  <reveman@chromium.org>
75
76         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
77         https://bugs.webkit.org/show_bug.cgi?id=80988
78
79         Reviewed by Adrienne Walker.
80
81         Add EXT_occlusion_query API to WebGraphicsContext3D.
82
83         * chromium/public/WebGraphicsContext3D.h:
84         (WebGraphicsContext3D):
85
86 2012-03-08  James Robinson  <jamesr@chromium.org>
87
88         Use an explicit attribute to signal that a context prefers to use a discrete GPU
89         https://bugs.webkit.org/show_bug.cgi?id=80639
90
91         Reviewed by Stephen White.
92
93         Adds preferDiscreteGPU attribute to WebGraphicsContext3D::Attributes. Also remove the forUseOnAnotherThread
94         attribute, this has been dead code for a while now.
95
96         * chromium/public/WebGraphicsContext3D.h:
97         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
98         (Attributes):
99
100 2012-02-24  James Robinson  <jamesr@chromium.org>
101
102         [chromium] WebKit::setColorNames is a client API
103         https://bugs.webkit.org/show_bug.cgi?id=79539
104
105         Reviewed by Darin Fisher.
106
107         * Platform.gypi:
108         * chromium/public/WebColor.h:
109         (WebKit):
110
111 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
112
113         Unreviewed, rolling out r108860.
114         http://trac.webkit.org/changeset/108860
115         https://bugs.webkit.org/show_bug.cgi?id=79544
116
117         "Breaks Linux compile" (Requested by enne on #webkit).
118
119         * Platform.gypi:
120         * chromium/public/WebColor.h:
121         (WebKit):
122         * chromium/public/WebColorName.h: Renamed from Source/WebKit/chromium/public/WebColorName.h.
123         (WebKit):
124
125 2012-02-24  James Robinson  <jamesr@chromium.org>
126
127         [chromium] WebKit::setColorNames is a client API
128         https://bugs.webkit.org/show_bug.cgi?id=79539
129
130         Reviewed by Darin Fisher.
131
132         * Platform.gypi:
133         * chromium/public/WebColor.h:
134         (WebKit):
135
136 2012-02-22  James Robinson  <jamesr@chromium.org>
137
138         [chromium] Move WebGraphicsContext3D header into the Platform directory
139         https://bugs.webkit.org/show_bug.cgi?id=79301
140
141         Reviewed by Adam Barth.
142
143         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
144
145         * Platform.gypi:
146         * chromium/public/WebGraphicsContext3D.h: Copied from Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h.
147         (WebKit):
148         (WebGraphicsContext3D):
149         (ActiveInfo):
150         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
151         (Attributes):
152         (WebGraphicsContextLostCallback):
153         (WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback::~WebGraphicsContextLostCallback):
154         (WebGraphicsErrorMessageCallback):
155         (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
156         (WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
157         (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
158         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
159         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
160         (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
161         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
162         (WebKit::WebGraphicsContext3D::setParentContext):
163         (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
164         (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
165         (WebKit::WebGraphicsContext3D::setContextLostCallback):
166         (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
167         (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
168         (WebKit::WebGraphicsContext3D::getTranslatedShaderSourceANGLE):
169         (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
170         (WebKit::WebGraphicsContext3D::texStorage2DEXT):
171         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
172         * chromium/public/WebNonCopyable.h: Copied from Source/WebKit/chromium/public/platform/WebNonCopyable.h.
173         (WebKit):
174         (WebNonCopyable):
175         (WebKit::WebNonCopyable::WebNonCopyable):
176         (WebKit::WebNonCopyable::~WebNonCopyable):
177
178 2012-02-23  James Robinson  <jamesr@chromium.org>
179
180         [chromium] Move Web*Layer* headers into Platform
181         https://bugs.webkit.org/show_bug.cgi?id=79425
182
183         Reviewed by Adam Barth.
184
185         This moves the Web*Layer* headers and their dependencies from WebKit/chromium/public/platform/ into
186         Platform/chromium/public.
187
188         * Platform.gypi:
189         * chromium/public/WebCanvas.h: Copied from Source/WebKit/chromium/public/platform/WebCanvas.h.
190         (WebKit):
191         * chromium/public/WebColor.h: Copied from Source/WebKit/chromium/public/platform/WebColor.h.
192         (WebKit):
193         * chromium/public/WebColorName.h: Copied from Source/WebKit/chromium/public/platform/WebColorName.h.
194         (WebKit):
195         * chromium/public/WebContentLayer.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayer.h.
196         (WebKit):
197         (WebContentLayer):
198         (WebKit::WebContentLayer::WebContentLayer):
199         (WebKit::WebContentLayer::~WebContentLayer):
200         (WebKit::WebContentLayer::operator=):
201         * chromium/public/WebContentLayerClient.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayerClient.h.
202         (WebKit):
203         (WebContentLayerClient):
204         (WebKit::WebContentLayerClient::~WebContentLayerClient):
205         * chromium/public/WebExternalTextureLayer.h: Copied from Source/WebKit/chromium/public/platform/WebExternalTextureLayer.h.
206         (WebKit):
207         (WebExternalTextureLayer):
208         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
209         (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
210         (WebKit::WebExternalTextureLayer::operator=):
211         * chromium/public/WebLayer.h: Copied from Source/WebKit/chromium/public/platform/WebLayer.h.
212         (WebKit):
213         (WebLayer):
214         (WebKit::WebLayer::WebLayer):
215         (WebKit::WebLayer::~WebLayer):
216         (WebKit::WebLayer::operator=):
217         (WebKit::WebLayer::isNull):
218         (WebKit::WebLayer::to):
219         (WebKit::WebLayer::toConst):
220         (WebKit::WebLayer::unwrap):
221         (WebKit::WebLayer::constUnwrap):
222         (WebKit::operator==):
223         (WebKit::operator!=):
224         * chromium/public/WebLayerTreeView.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeView.h.
225         (WebCore):
226         (WebKit):
227         (WebLayerTreeView):
228         (WebKit::WebLayerTreeView::Settings::Settings):
229         (Settings):
230         (WebKit::WebLayerTreeView::WebLayerTreeView):
231         (WebKit::WebLayerTreeView::~WebLayerTreeView):
232         (WebKit::WebLayerTreeView::operator=):
233         (WebKit::operator==):
234         (WebKit::operator!=):
235         * chromium/public/WebLayerTreeViewClient.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeViewClient.h.
236         (WebKit):
237         (WebLayerTreeViewClient):
238         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
239         * chromium/public/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/platform/WebPrivatePtr.h.
240         (WebKit):
241         (WebPrivatePtr):
242         (WebKit::WebPrivatePtr::WebPrivatePtr):
243         (WebKit::WebPrivatePtr::~WebPrivatePtr):
244         (WebKit::WebPrivatePtr::isNull):
245         (WebKit::WebPrivatePtr::reset):
246         (WebKit::WebPrivatePtr::operator=):
247         (WebKit::WebPrivatePtr::get):
248         (WebKit::WebPrivatePtr::operator->):
249         (WebKit::WebPrivatePtr::assign):
250         * chromium/public/WebSolidColorLayer.h: Copied from Source/WebKit/chromium/public/platform/WebSolidColorLayer.h.
251         (WebKit):
252         (WebSolidColorLayer):
253
254 2012-02-08  James Robinson  <jamesr@chromium.org>
255
256         r107042 caused compile breakages on chromium try bots
257         https://bugs.webkit.org/show_bug.cgi?id=78125
258
259         Reviewed by Adam Barth.
260
261         Replace the copy script with a copies GYP action since the MSVS generator tracks dependencies on a per-file
262         basis.
263
264         * Platform.gyp/Platform.gyp:
265         * Platform.gyp/copy_webcore_headers.py: Removed.
266
267 2012-02-07  James Robinson  <jamesr@chromium.org>
268
269         [chromium] Move geometry headers in Platform API to Platform directory
270         https://bugs.webkit.org/show_bug.cgi?id=78067
271
272         Reviewed by Adam Barth.
273
274         This moves several geometry-related headers in the chromium WebKit platform API to Platform/chromium/public.
275         These require a bit of extra work since when WEBKIT_IMPLEMENTATION is set they #include headers from
276         WebCore/platform such as IntPoint so that the implementations of several functions can be inlined. Since we do
277         not want to add anything in WebCore to the include path of projects that depend on the Platform API this poses a
278         bit of an issue. I've added an extra build step to copy the specific headers used into the
279         SHARED_INTERMEDIATE_DIR to preserve this inlining.
280         
281         Eventually we'll move the cross-platform code, including these headers, into somewhere under Platform/, but doing
282         that requires non-trivial modifications to every build system in WebKit.
283
284         * Platform.gyp/Platform.gyp:
285         * Platform.gyp/copy_webcore_headers.py: Added.
286         (CopyHeaders):
287         (Main):
288         * chromium/public/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/platform/WebFloatPoint.h.
289         (WebKit):
290         (WebFloatPoint):
291         (WebKit::WebFloatPoint::WebFloatPoint):
292         (WebKit::WebFloatPoint::operator=):
293         (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
294         (WebKit::operator==):
295         (WebKit::operator!=):
296         * chromium/public/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/platform/WebFloatQuad.h.
297         (WebKit):
298         (WebFloatQuad):
299         (WebKit::WebFloatQuad::WebFloatQuad):
300         (WebKit::WebFloatQuad::operator=):
301         * chromium/public/WebFloatRect.h: Copied from Source/WebKit/chromium/public/platform/WebFloatRect.h.
302         (WebKit):
303         (WebFloatRect):
304         (WebKit::WebFloatRect::isEmpty):
305         (WebKit::WebFloatRect::WebFloatRect):
306         (WebKit::WebFloatRect::operator=):
307         (WebKit::WebFloatRect::operator WebCore::FloatRect):
308         (WebKit::operator==):
309         (WebKit::operator!=):
310         * chromium/public/WebPoint.h: Copied from Source/WebKit/chromium/public/platform/WebPoint.h.
311         (WebKit):
312         (WebPoint):
313         (WebKit::WebPoint::WebPoint):
314         (WebKit::WebPoint::operator=):
315         (WebKit::WebPoint::operator WebCore::IntPoint):
316         (WebKit::WebPoint::operator gfx::Point):
317         (WebKit::operator==):
318         (WebKit::operator!=):
319         * chromium/public/WebRect.h: Copied from Source/WebKit/chromium/public/platform/WebRect.h.
320         (WebKit):
321         (WebRect):
322         (WebKit::WebRect::isEmpty):
323         (WebKit::WebRect::WebRect):
324         (WebKit::WebRect::operator=):
325         (WebKit::WebRect::operator WebCore::IntRect):
326         (WebKit::WebRect::operator gfx::Rect):
327         (WebKit::operator==):
328         (WebKit::operator!=):
329         * chromium/public/WebSize.h: Copied from Source/WebKit/chromium/public/platform/WebSize.h.
330         (WebKit):
331         (WebSize):
332         (WebKit::WebSize::isEmpty):
333         (WebKit::WebSize::WebSize):
334         (WebKit::WebSize::operator=):
335         (WebKit::WebSize::operator WebCore::IntSize):
336         (WebKit::WebSize::operator gfx::Size):
337         (WebKit::operator==):
338         (WebKit::operator!=):
339
340 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
341
342         Enable use of precompiled headers in Chromium port on Windows.
343
344         Bug 76381 - Use precompiled headers in Chromium port on Windows
345         https://bugs.webkit.org/show_bug.cgi?id=76381
346
347         Reviewed by Tony Chang.
348
349         * Platform.gyp/Platform.gyp: Include WinPrecompile.gypi.
350
351 2012-01-04  James Robinson  <jamesr@chromium.org>
352
353         [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl
354
355         * Platform.gyp/Platform.gyp:
356
357 2012-01-04  James Robinson  <jamesr@chromium.org>
358
359         [chromium] Move WebMimeRegistry and dependencies to Source/Platform
360         https://bugs.webkit.org/show_bug.cgi?id=74583
361
362         Reviewed by Darin Fisher.
363
364         This creates a skeleton directory structure for the chromium WebKit platform API and moves WebMimeRegistry.h
365         along with its dependencies (WebString and WebCString) to their final location.
366
367         * Platform.gyp/Platform.gyp: Added.
368         * Platform.gypi: Added.
369         * chromium/platform/WebCString.h: Copied from Source/WebKit/chromium/public/platform/WebCString.h.
370         (WebKit::WebCString::~WebCString):
371         (WebKit::WebCString::WebCString):
372         (WebKit::WebCString::operator=):
373         (WebKit::WebCString::isEmpty):
374         (WebKit::WebCString::isNull):
375         (WebKit::WebCString::operator std::string):
376         (WebKit::WebCString::fromUTF16):
377         (WebKit::operator<):
378         * chromium/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/platform/WebCommon.h.
379         * chromium/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/platform/WebMimeRegistry.h.
380         (WebKit::WebMimeRegistry::~WebMimeRegistry):
381         * chromium/platform/WebString.h: Copied from Source/WebKit/chromium/public/platform/WebString.h.
382         (WebKit::WebString::~WebString):
383         (WebKit::WebString::WebString):
384         (WebKit::WebString::operator=):
385         (WebKit::WebString::isEmpty):
386         (WebKit::WebString::isNull):
387         (WebKit::WebString::operator string16):
388         (WebKit::WebString::operator NullableString16):
389         (WebKit::WebString::fromUTF8):
390         (WebKit::operator==):
391         (WebKit::operator!=):
392         * chromium/src/WebCString.cpp: Renamed from Source/WebKit/chromium/src/WebCString.cpp.
393         (WebKit::WebCString::compare):
394         (WebKit::WebCString::reset):
395         (WebKit::WebCString::assign):
396         (WebKit::WebCString::length):
397         (WebKit::WebCString::data):
398         (WebKit::WebCString::utf16):
399         (WebKit::WebCString::fromUTF16):
400         (WebKit::WebCString::WebCString):
401         (WebKit::WebCString::operator=):
402         (WebKit::WebCString::operator WTF::CString):
403         * chromium/src/WebString.cpp: Renamed from Source/WebKit/chromium/src/WebString.cpp.
404         (WebKit::WebString::reset):
405         (WebKit::WebString::assign):
406         (WebKit::WebString::length):
407         (WebKit::WebString::data):
408         (WebKit::WebString::utf8):
409         (WebKit::WebString::fromUTF8):
410         (WebKit::WebString::equals):
411         (WebKit::WebString::WebString):
412         (WebKit::WebString::operator=):
413         (WebKit::WebString::operator WTF::String):
414         (WebKit::WebString::operator WTF::AtomicString):
415
416 2011-11-02  Adam Barth  <abarth@webkit.org>
417
418         Add stubs for WTF and Platform
419         https://bugs.webkit.org/show_bug.cgi?id=71492
420
421         Reviewed by Eric Seidel.
422
423         This patch creates the Platform directory, which begins the process of
424         moving Platform out of WebCore.