Home
last modified time | relevance | path

Searched refs:RenderPassId (Results 1 – 25 of 57) sorted by relevance

123

/external/chromium_org/cc/quads/
Drender_pass.h61 scoped_ptr<RenderPass> Copy(RenderPassId new_id) const;
67 void SetNew(RenderPassId id,
72 void SetAll(RenderPassId id,
90 RenderPassId render_pass_id);
95 RenderPassId id;
134 inline size_t hash_value(const cc::RenderPassId& key) { in hash_value()
139 struct hash<cc::RenderPassId> {
140 size_t operator()(cc::RenderPassId key) const {
151 typedef base::hash_map<RenderPassId, RenderPass*> RenderPassIdHashMap;
Drender_pass_id.h14 class CC_EXPORT RenderPassId {
19 RenderPassId(int layer_id, int index) : layer_id(layer_id), index(index) {} in RenderPassId() function
22 bool operator==(const RenderPassId& other) const {
25 bool operator!=(const RenderPassId& other) const { return !(*this == other); }
26 bool operator<(const RenderPassId& other) const {
Drender_pass_draw_quad.h26 RenderPassId render_pass_id,
38 RenderPassId render_pass_id,
45 RenderPassId render_pass_id;
Drender_pass.cc48 : id(RenderPassId(-1, -1)), in RenderPass()
55 : id(RenderPassId(-1, -1)), in RenderPass()
69 scoped_ptr<RenderPass> RenderPass::Copy(RenderPassId new_id) const { in Copy()
128 void RenderPass::SetNew(RenderPassId id, in SetNew()
147 void RenderPass::SetAll(RenderPassId id, in SetAll()
210 RenderPassId render_pass_id) { in CopyFromAndAppendRenderPassDrawQuad()
Drender_pass_unittest.cc26 RenderPassId id;
67 RenderPassId id(3, 2); in TEST()
98 RenderPassId new_id(63, 4); in TEST()
118 RenderPassId id(3, 2); in TEST()
183 RenderPassId contrib_id(4, 1); in TEST()
241 RenderPassId id(3, 2); in TEST()
Drender_pass_draw_quad.cc16 : render_pass_id(RenderPassId(-1, -1)), in RenderPassDrawQuad()
26 RenderPassId render_pass_id, in SetNew()
55 RenderPassId render_pass_id, in SetAll()
/external/chromium_org/cc/layers/
Ddelegated_renderer_layer_impl.h31 virtual RenderPassId FirstContributingRenderPassId() const OVERRIDE;
32 virtual RenderPassId NextContributingRenderPassId(
33 RenderPassId previous) const OVERRIDE;
78 bool ConvertDelegatedRenderPassId(RenderPassId delegated_render_pass_id,
79 RenderPassId* output_render_pass_id) const;
94 base::hash_map<RenderPassId, int> render_passes_index_by_id_;
Ddelegated_renderer_layer_impl.cc169 std::pair<RenderPassId, int>((*to_take)->id, i)); in SetRenderPasses()
198 RenderPassId DelegatedRendererLayerImpl::FirstContributingRenderPassId() const { in FirstContributingRenderPassId()
199 return RenderPassId(id(), IndexToId(0)); in FirstContributingRenderPassId()
202 RenderPassId DelegatedRendererLayerImpl::NextContributingRenderPassId( in NextContributingRenderPassId()
203 RenderPassId previous) const { in NextContributingRenderPassId()
204 return RenderPassId(previous.layer_id, previous.index + 1); in NextContributingRenderPassId()
208 RenderPassId delegated_render_pass_id, in ConvertDelegatedRenderPassId()
209 RenderPassId* output_render_pass_id) const { in ConvertDelegatedRenderPassId()
210 base::hash_map<RenderPassId, int>::const_iterator found = in ConvertDelegatedRenderPassId()
218 RenderPassId(id(), IndexToId(delegated_render_pass_index)); in ConvertDelegatedRenderPassId()
[all …]
Dappend_quads_data.h21 explicit AppendQuadsData(RenderPassId render_pass_id) in AppendQuadsData()
37 const RenderPassId render_pass_id;
Drender_surface_impl.h27 class RenderPassId; variable
135 RenderPassId GetRenderPassId();
142 RenderPassId render_pass_id);
Ddelegated_renderer_layer_impl_unittest.cc95 RenderPassId(9, 6), in DelegatedRendererLayerImplTestSimple()
100 RenderPassId(9, 7), in DelegatedRendererLayerImplTestSimple()
106 RenderPassId(9, 8), in DelegatedRendererLayerImplTestSimple()
217 EXPECT_EQ(RenderPassId(3, 0), frame.render_passes[3]->id); in TEST_F()
446 EXPECT_EQ(RenderPassId(4, 0), frame.render_passes[3]->id); in TEST_F()
534 RenderPassId(10, 7), in SetUpTest()
573 RenderPassId(9, 6), in SetUpTest()
591 RenderPassId(10, 7), // render_pass_id in SetUpTest()
968 RenderPassId(10, 7), in SetUpTest()
1005 RenderPassId(9, 6), in SetUpTest()
[all …]
Drender_surface_impl.cc110 RenderPassId RenderSurfaceImpl::GetRenderPassId() { in GetRenderPassId()
114 return RenderPassId(layer_id, sub_id); in GetRenderPassId()
140 RenderPassId render_pass_id) { in AppendQuads()
/external/chromium_org/cc/surfaces/
Dsurface_aggregator.cc39 void AddKnownPass(RenderPassId id) { in AddKnownPass()
45 RenderPassId Remap(RenderPassId id) { in Remap()
47 return RenderPassId(surface_id_.id, id_to_index_map_[id]); in Remap()
51 base::hash_map<RenderPassId, int> id_to_index_map_;
65 RenderPassId SurfaceAggregator::RemapPassId(RenderPassId surface_local_pass_id, in RemapPassId()
193 RenderPassId remapped_pass_id = RemapPassId(source.id, surface_id); in HandleSurfaceQuad()
230 RenderPassId remapped_pass_id = RemapPassId(last_pass.id, surface_id); in HandleSurfaceQuad()
310 RenderPassId original_pass_id = pass_quad->render_pass_id; in CopyQuadsToPass()
311 RenderPassId remapped_pass_id = in CopyQuadsToPass()
333 RenderPassId remapped_pass_id = in CopyPasses()
Dsurface_aggregator_test_helpers.h40 static Quad RenderPassQuad(RenderPassId id) { in RenderPassQuad()
53 RenderPassId render_pass_id;
63 Pass(Quad* quads, size_t quad_count, RenderPassId id) in Pass()
70 RenderPassId id;
Dsurface_aggregator_unittest.cc260 RenderPassId pass_ids[] = {RenderPassId(1, 1), RenderPassId(1, 2), in TEST_F()
261 RenderPassId(1, 3)}; in TEST_F()
297 RenderPassId actual_pass_ids[] = { in TEST_F()
495 RenderPassId child_pass_id[] = {RenderPassId(1, 1), RenderPassId(1, 2)}; in TEST_F()
505 RenderPassId parent_pass_id[] = {RenderPassId(2, 1), RenderPassId(1, 2)}; in TEST_F()
525 RenderPassId actual_pass_ids[] = {aggregated_pass_list[0]->id, in TEST_F()
619 RenderPassId pass_id(1, 1); in TEST_F()
731 RenderPassId child_pass_id[] = {RenderPassId(1, 1), RenderPassId(1, 2)}; in TEST_F()
867 RenderPassId child_pass_id = RenderPassId(1, 1); in TEST_F()
1086 pass->id = RenderPassId(1, 1); in SubmitFrameWithResources()
Dsurfaces_pixeltest.cc66 RenderPassId id(1, 1); in TEST_F()
115 RenderPassId id(1, 1); in TEST_F()
149 RenderPassId id(1, 1); in TEST_F()
209 RenderPassId id(1, 1); in TEST_F()
246 RenderPassId id(1, 1); in TEST_F()
281 RenderPassId id(1, 1); in TEST_F()
Dsurface_aggregator.h40 RenderPassId RemapPassId(RenderPassId surface_local_pass_id,
/external/chromium_org/cc/output/
Drenderer_pixeltest.cc29 scoped_ptr<RenderPass> CreateTestRootRenderPass(RenderPassId id, in CreateTestRootRenderPass()
40 RenderPassId id, in CreateTestRenderPass()
98 RenderPassId pass_id, in CreateTestRenderPassDrawQuad()
202 RenderPassId id(1, 1); in TYPED_TEST()
225 RenderPassId child_id(2, 1); in TYPED_TEST()
236 RenderPassId root_id(1, 1); in TYPED_TEST()
262 RenderPassId id(1, 1); in TYPED_TEST()
292 RenderPassId id(1, 1); in TYPED_TEST()
326 RenderPassId id(1, 1); in TEST_F()
357 RenderPassId id(1, 1); in TEST_F()
[all …]
Dsoftware_renderer_unittest.cc106 RenderPassId root_render_pass_id = RenderPassId(1, 1); in TEST_F()
191 RenderPassId root_render_pass_id = RenderPassId(1, 1); in TEST_F()
274 RenderPassId root_render_pass_id = RenderPassId(1, 1); in TEST_F()
340 RenderPassId root_clear_pass_id(1, 0); in TEST_F()
363 RenderPassId root_smaller_pass_id(2, 0); in TEST_F()
396 RenderPassId smaller_pass_id(2, 1); in TEST_F()
402 RenderPassId root_clear_pass_id(1, 0); in TEST_F()
Dgl_renderer_unittest.cc323 RenderPassId(1, 0), in TEST_F()
346 RenderPassId(1, 0), in TEST_F()
583 RenderPassId(1, 0), in TEST_F()
635 RenderPassId(1, 0), in TEST_F()
680 RenderPassId(1, 0), in TEST_F()
767 RenderPassId(1, 0), in TEST_F()
839 RenderPassId id(1, 1); in TEST_F()
843 RenderPassId(2, 1)); in TEST_F()
931 RenderPassId root_pass_id(1, 0); in TEST_F()
938 RenderPassId child_pass_id(2, 0); in TEST_F()
[all …]
Ddelegating_renderer_unittest.cc99 RenderPassId(2, 1), in PrepareToDrawOnThread()
103 RenderPassId(0, 0)); in PrepareToDrawOnThread()
106 RenderPassId(1, 1), in PrepareToDrawOnThread()
Drenderer.h18 class RenderPassId; variable
57 virtual bool HasAllocatedResourcesForTesting(RenderPassId id) const;
Ddirect_renderer.cc151 base::hash_map<RenderPassId, gfx::Size> render_passes_in_frame; in DecideRenderPassAllocationsForFrame()
153 render_passes_in_frame.insert(std::pair<RenderPassId, gfx::Size>( in DecideRenderPassAllocationsForFrame()
157 std::vector<RenderPassId> passes_to_delete; in DecideRenderPassAllocationsForFrame()
158 base::ScopedPtrHashMap<RenderPassId, ScopedResource>::const_iterator in DecideRenderPassAllocationsForFrame()
163 base::hash_map<RenderPassId, gfx::Size>::const_iterator it = in DecideRenderPassAllocationsForFrame()
418 bool DirectRenderer::HasAllocatedResourcesForTesting(RenderPassId id) const { in HasAllocatedResourcesForTesting()
/external/chromium_org/mojo/services/public/cpp/surfaces/
Dsurfaces_type_converters.h24 class RenderPassId; variable
51 struct MOJO_SURFACES_EXPORT TypeConverter<RenderPassIdPtr, cc::RenderPassId> {
52 static RenderPassIdPtr Convert(const cc::RenderPassId& input);
56 struct MOJO_SURFACES_EXPORT TypeConverter<cc::RenderPassId, RenderPassIdPtr> {
57 static cc::RenderPassId Convert(const RenderPassIdPtr& input);
/external/chromium_org/mojo/services/public/cpp/surfaces/lib/
Dsurfaces_type_converters.cc82 render_pass_quad_state->render_pass_id.To<cc::RenderPassId>(), in ConvertDrawQuad()
216 RenderPassIdPtr TypeConverter<RenderPassIdPtr, cc::RenderPassId>::Convert( in Convert()
217 const cc::RenderPassId& input) { in Convert()
218 RenderPassIdPtr pass_id(RenderPassId::New()); in Convert()
225 cc::RenderPassId TypeConverter<cc::RenderPassId, RenderPassIdPtr>::Convert( in Convert()
227 return cc::RenderPassId(input->layer_id, input->index); in Convert()
249 RenderPassId::From(render_pass_quad->render_pass_id); in Convert()
391 pass->SetAll(cc::RenderPassId(1, input->id), in Convert()

123