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

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

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
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_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 const GPUCreateCommandBufferConfig& init_params, 393 const GPUCreateCommandBufferConfig& init_params,
394 int32 route_id) OVERRIDE; 394 int32 route_id) OVERRIDE;
395 virtual void CreateImage( 395 virtual void CreateImage(
396 gfx::PluginWindowHandle window, 396 gfx::PluginWindowHandle window,
397 int32 image_id, 397 int32 image_id,
398 const CreateImageCallback& callback) OVERRIDE; 398 const CreateImageCallback& callback) OVERRIDE;
399 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; 399 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE;
400 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( 400 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer(
401 size_t width, 401 size_t width,
402 size_t height, 402 size_t height,
403 unsigned internalformat) OVERRIDE; 403 unsigned internalformat,
404 unsigned usage) OVERRIDE;
404 405
405 // mojo::ShellClient implementation: 406 // mojo::ShellClient implementation:
406 virtual void AcceptConnection( 407 virtual void AcceptConnection(
407 const mojo::String& service_name, 408 const mojo::String& service_name,
408 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE; 409 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE;
409 410
410 void Init(); 411 void Init();
411 412
412 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 413 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
413 const std::string& host, 414 const std::string& host,
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 bool is_lcd_text_enabled_; 548 bool is_lcd_text_enabled_;
548 bool is_zero_copy_enabled_; 549 bool is_zero_copy_enabled_;
549 bool is_one_copy_enabled_; 550 bool is_one_copy_enabled_;
550 551
551 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 552 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
552 }; 553 };
553 554
554 } // namespace content 555 } // namespace content
555 556
556 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 557 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698