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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.h

Issue 645613002: [WebGL-chromium] Return meaningful information in WebGL context creation error message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move the main logic to argument with glinfo. Created 6 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
« no previous file with comments | « no previous file | content/renderer/renderer_blink_platform_impl.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 blink::WebRTCPeerConnectionHandlerClient* client); 124 blink::WebRTCPeerConnectionHandlerClient* client);
125 virtual blink::WebMediaStreamCenter* createMediaStreamCenter( 125 virtual blink::WebMediaStreamCenter* createMediaStreamCenter(
126 blink::WebMediaStreamCenterClient* client); 126 blink::WebMediaStreamCenterClient* client);
127 virtual bool processMemorySizesInBytes( 127 virtual bool processMemorySizesInBytes(
128 size_t* private_bytes, size_t* shared_bytes); 128 size_t* private_bytes, size_t* shared_bytes);
129 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( 129 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
130 const blink::WebGraphicsContext3D::Attributes& attributes); 130 const blink::WebGraphicsContext3D::Attributes& attributes);
131 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( 131 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
132 const blink::WebGraphicsContext3D::Attributes& attributes, 132 const blink::WebGraphicsContext3D::Attributes& attributes,
133 blink::WebGraphicsContext3D* share_context); 133 blink::WebGraphicsContext3D* share_context);
134 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
135 const blink::WebGraphicsContext3D::Attributes& attributes,
136 blink::WebGraphicsContext3D* share_context,
137 blink::WebGLInfo* gl_info);
134 virtual blink::WebGraphicsContext3DProvider* 138 virtual blink::WebGraphicsContext3DProvider*
135 createSharedOffscreenGraphicsContext3DProvider(); 139 createSharedOffscreenGraphicsContext3DProvider();
136 virtual blink::WebCompositorSupport* compositorSupport(); 140 virtual blink::WebCompositorSupport* compositorSupport();
137 virtual blink::WebString convertIDNToUnicode( 141 virtual blink::WebString convertIDNToUnicode(
138 const blink::WebString& host, const blink::WebString& languages); 142 const blink::WebString& host, const blink::WebString& languages);
139 virtual void startListening(blink::WebPlatformEventType, 143 virtual void startListening(blink::WebPlatformEventType,
140 blink::WebPlatformEventListener*); 144 blink::WebPlatformEventListener*);
141 virtual void stopListening(blink::WebPlatformEventType); 145 virtual void stopListening(blink::WebPlatformEventType);
142 virtual void queryStorageUsageAndQuota( 146 virtual void queryStorageUsageAndQuota(
143 const blink::WebURL& storage_partition, 147 const blink::WebURL& storage_partition,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_; 242 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_;
239 243
240 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; 244 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_;
241 245
242 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 246 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
243 }; 247 };
244 248
245 } // namespace content 249 } // namespace content
246 250
247 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 251 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/renderer_blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698