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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_gtk.h

Issue 88033002: Add RGB565 Texture readback support in gl_helper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased to ToT! Created 6 years, 11 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 // 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
7 7
8 #include <gdk/gdk.h> 8 #include <gdk/gdk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 virtual void SelectionChanged(const base::string16& text, 97 virtual void SelectionChanged(const base::string16& text,
98 size_t offset, 98 size_t offset,
99 const gfx::Range& range) OVERRIDE; 99 const gfx::Range& range) OVERRIDE;
100 virtual void SelectionBoundsChanged( 100 virtual void SelectionBoundsChanged(
101 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; 101 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE;
102 virtual void ScrollOffsetChanged() OVERRIDE; 102 virtual void ScrollOffsetChanged() OVERRIDE;
103 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 103 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
104 virtual void CopyFromCompositingSurface( 104 virtual void CopyFromCompositingSurface(
105 const gfx::Rect& src_subrect, 105 const gfx::Rect& src_subrect,
106 const gfx::Size& dst_size, 106 const gfx::Size& dst_size,
107 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; 107 const base::Callback<void(bool, const SkBitmap&)>& callback,
108 bool readback_config_rgb565) OVERRIDE;
108 virtual void CopyFromCompositingSurfaceToVideoFrame( 109 virtual void CopyFromCompositingSurfaceToVideoFrame(
109 const gfx::Rect& src_subrect, 110 const gfx::Rect& src_subrect,
110 const scoped_refptr<media::VideoFrame>& target, 111 const scoped_refptr<media::VideoFrame>& target,
111 const base::Callback<void(bool)>& callback) OVERRIDE; 112 const base::Callback<void(bool)>& callback) OVERRIDE;
112 virtual bool CanCopyToVideoFrame() const OVERRIDE; 113 virtual bool CanCopyToVideoFrame() const OVERRIDE;
113 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 114 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
114 virtual void AcceleratedSurfaceInitialized(int host_id, 115 virtual void AcceleratedSurfaceInitialized(int host_id,
115 int route_id) OVERRIDE; 116 int route_id) OVERRIDE;
116 virtual void AcceleratedSurfaceBuffersSwapped( 117 virtual void AcceleratedSurfaceBuffersSwapped(
117 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 118 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; 330 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
330 331
331 ui::GtkSignalRegistrar signals_; 332 ui::GtkSignalRegistrar signals_;
332 333
333 std::vector<ui::LatencyInfo> software_latency_info_; 334 std::vector<ui::LatencyInfo> software_latency_info_;
334 }; 335 };
335 336
336 } // namespace content 337 } // namespace content
337 338
338 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 339 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698