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

Side by Side Diff: content/renderer/gpu/mailbox_output_surface.h

Issue 15579002: Implement transform/clip support for Android WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Turn on fuzzy comparator for new SoftwareRenderer tests Created 7 years, 6 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_RENDERER_GPU_MAILBOX_OUTPUT_SURFACE_H_ 5 #ifndef CONTENT_RENDERER_GPU_MAILBOX_OUTPUT_SURFACE_H_
6 #define CONTENT_RENDERER_GPU_MAILBOX_OUTPUT_SURFACE_H_ 6 #define CONTENT_RENDERER_GPU_MAILBOX_OUTPUT_SURFACE_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "cc/resources/transferable_resource.h" 10 #include "cc/resources/transferable_resource.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 uint32 texture_id; 54 uint32 texture_id;
55 gpu::Mailbox mailbox; 55 gpu::Mailbox mailbox;
56 gfx::Size size; 56 gfx::Size size;
57 uint32 sync_point; 57 uint32 sync_point;
58 }; 58 };
59 59
60 TransferableFrame current_backing_; 60 TransferableFrame current_backing_;
61 std::deque<TransferableFrame> pending_textures_; 61 std::deque<TransferableFrame> pending_textures_;
62 std::queue<TransferableFrame> returned_textures_; 62 std::queue<TransferableFrame> returned_textures_;
63 63
64 gfx::Size size_;
65 uint32 fbo_; 64 uint32 fbo_;
66 bool is_backbuffer_discarded_; 65 bool is_backbuffer_discarded_;
67 }; 66 };
68 67
69 } // namespace content 68 } // namespace content
70 69
71 #endif // CONTENT_RENDERER_GPU_MAILBOX_OUTPUT_SURFACE_H_ 70 #endif // CONTENT_RENDERER_GPU_MAILBOX_OUTPUT_SURFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698