Home
last modified time | relevance | path

Searched refs:vertex_opacity (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/cc/quads/
Dtexture_draw_quad.cc20 this->vertex_opacity[0] = 0.f; in TextureDrawQuad()
21 this->vertex_opacity[1] = 0.f; in TextureDrawQuad()
22 this->vertex_opacity[2] = 0.f; in TextureDrawQuad()
23 this->vertex_opacity[3] = 0.f; in TextureDrawQuad()
35 const float vertex_opacity[4], in SetNew()
37 bool needs_blending = vertex_opacity[0] != 1.0f || vertex_opacity[1] != 1.0f in SetNew()
38 || vertex_opacity[2] != 1.0f || vertex_opacity[3] != 1.0f; in SetNew()
46 this->vertex_opacity[0] = vertex_opacity[0]; in SetNew()
47 this->vertex_opacity[1] = vertex_opacity[1]; in SetNew()
48 this->vertex_opacity[2] = vertex_opacity[2]; in SetNew()
[all …]
Dtexture_draw_quad.h28 const float vertex_opacity[4],
41 const float vertex_opacity[4],
49 float vertex_opacity[4]; variable
Ddraw_quad_unittest.cc529 const float vertex_opacity[] = { 1.0f, 1.0f, 1.0f, 1.0f }; in TEST() local
541 vertex_opacity, in TEST()
550 EXPECT_FLOAT_ARRAY_EQ(vertex_opacity, copy_quad->vertex_opacity, 4); in TEST()
559 vertex_opacity, in TEST()
566 EXPECT_FLOAT_ARRAY_EQ(vertex_opacity, copy_quad->vertex_opacity, 4); in TEST()
828 const float vertex_opacity[] = { 1.0f, 1.0f, 1.0f, 1.0f }; in TEST_F() local
840 vertex_opacity, in TEST_F()
/external/chromium_org/cc/layers/
Dui_resource_layer_impl.cc74 void UIResourceLayerImpl::SetVertexOpacity(const float vertex_opacity[4]) { in SetVertexOpacity()
75 if (vertex_opacity_[0] == vertex_opacity[0] && in SetVertexOpacity()
76 vertex_opacity_[1] == vertex_opacity[1] && in SetVertexOpacity()
77 vertex_opacity_[2] == vertex_opacity[2] && in SetVertexOpacity()
78 vertex_opacity_[3] == vertex_opacity[3]) in SetVertexOpacity()
80 vertex_opacity_[0] = vertex_opacity[0]; in SetVertexOpacity()
81 vertex_opacity_[1] = vertex_opacity[1]; in SetVertexOpacity()
82 vertex_opacity_[2] = vertex_opacity[2]; in SetVertexOpacity()
83 vertex_opacity_[3] = vertex_opacity[3]; in SetVertexOpacity()
Dnine_patch_layer_impl.cc214 const float vertex_opacity[] = {1.0f, 1.0f, 1.0f, 1.0f}; in AppendQuads() local
232 vertex_opacity, in AppendQuads()
249 vertex_opacity, in AppendQuads()
266 vertex_opacity, in AppendQuads()
283 vertex_opacity, in AppendQuads()
300 vertex_opacity, in AppendQuads()
317 vertex_opacity, in AppendQuads()
334 vertex_opacity, in AppendQuads()
351 vertex_opacity, in AppendQuads()
369 vertex_opacity, in AppendQuads()
Dtexture_layer_impl.cc230 void TextureLayerImpl::SetVertexOpacity(const float vertex_opacity[4]) { in SetVertexOpacity()
231 vertex_opacity_[0] = vertex_opacity[0]; in SetVertexOpacity()
232 vertex_opacity_[1] = vertex_opacity[1]; in SetVertexOpacity()
233 vertex_opacity_[2] = vertex_opacity[2]; in SetVertexOpacity()
234 vertex_opacity_[3] = vertex_opacity[3]; in SetVertexOpacity()
Dui_resource_layer_impl.h40 void SetVertexOpacity(const float vertex_opacity[4]);
Dtexture_layer_impl.h50 void SetVertexOpacity(const float vertex_opacity[4]);
Ddelegated_frame_provider_unittest.cc51 float vertex_opacity[4] = {1.f, 1.f, 1.f, 1.f}; in AddTextureQuad() local
61 vertex_opacity, in AddTextureQuad()
Dheads_up_display_layer_impl.cc149 const float vertex_opacity[] = { 1.f, 1.f, 1.f, 1.f }; in AppendQuads() local
162 vertex_opacity, in AppendQuads()
/external/chromium_org/mojo/services/public/cpp/surfaces/tests/
Dsurface_unittest.cc109 float vertex_opacity[4] = {0.1f, 0.5f, 0.4f, 0.8f}; in TEST_F() local
121 vertex_opacity, in TEST_F()
136 EXPECT_EQ(vertex_opacity[i], mojo_texture_state->vertex_opacity[i]) << i; in TEST_F()
161 mojo_texture_state->vertex_opacity = mojo::Array<float>::New(4); in TEST_F()
268 float vertex_opacity[4] = {0.1f, 0.5f, 0.4f, 0.8f}; in TEST() local
280 vertex_opacity, in TEST()
351 EXPECT_EQ(vertex_opacity[i], round_trip_texture_quad->vertex_opacity[i]) in TEST()
/external/chromium_org/content/common/
Dcc_messages.h210 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[0])
211 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[1])
212 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[2])
213 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[3])
Dcc_messages_unittest.cc183 EXPECT_EQ(a->vertex_opacity[0], b->vertex_opacity[0]); in Compare()
184 EXPECT_EQ(a->vertex_opacity[1], b->vertex_opacity[1]); in Compare()
185 EXPECT_EQ(a->vertex_opacity[2], b->vertex_opacity[2]); in Compare()
186 EXPECT_EQ(a->vertex_opacity[3], b->vertex_opacity[3]); in Compare()
/external/chromium_org/cc/test/
Drender_pass_test_common.cc35 const float vertex_opacity[] = {1.0f, 1.0f, 1.0f, 1.0f}; in AppendOneOfEveryQuadType() local
170 vertex_opacity, in AppendOneOfEveryQuadType()
184 vertex_opacity, in AppendOneOfEveryQuadType()
/external/chromium_org/mojo/services/public/cpp/surfaces/lib/
Dsurfaces_type_converters.cc123 texture_quad_state->vertex_opacity.is_null() || in ConvertDrawQuad()
139 &texture_quad_state->vertex_opacity.storage()[0], in ConvertDrawQuad()
289 Array<float> vertex_opacity(4); in Convert() local
291 vertex_opacity[i] = texture_quad->vertex_opacity[i]; in Convert()
293 texture_state->vertex_opacity = vertex_opacity.Pass(); in Convert()
/external/chromium_org/mojo/examples/surfaces_app/
Dchild_gl_impl.cc158 float vertex_opacity[4] = {1.0f, 1.0f, 0.2f, 1.0f}; in Draw() local
168 vertex_opacity, in Draw()
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/
Dbitmap_uploader.cc159 texture_state->vertex_opacity.push_back(1.f); in Upload()
/external/chromium_org/mojo/services/public/interfaces/surfaces/
Dquads.mojom64 float[4] vertex_opacity;
/external/chromium_org/cc/output/
Doverlay_unittest.cc147 float vertex_opacity[4] = {1.0f, 1.0f, 1.0f, 1.0f}; in CreateCandidateQuadAt() local
160 vertex_opacity, in CreateCandidateQuadAt()
Dgl_renderer.cc2102 draw_cache_.vertex_opacity_data.push_back(quad->vertex_opacity[0] * opacity); in EnqueueTextureQuad()
2103 draw_cache_.vertex_opacity_data.push_back(quad->vertex_opacity[1] * opacity); in EnqueueTextureQuad()
2104 draw_cache_.vertex_opacity_data.push_back(quad->vertex_opacity[2] * opacity); in EnqueueTextureQuad()
2105 draw_cache_.vertex_opacity_data.push_back(quad->vertex_opacity[3] * opacity); in EnqueueTextureQuad()
2148 const float vertex_opacity[] = {quad->opacity(), quad->opacity(), in DrawIOSurfaceQuad() local
2150 GLC(gl_, gl_->Uniform1fv(binding.vertex_opacity_location, 4, vertex_opacity)); in DrawIOSurfaceQuad()
Drenderer_pixeltest.cc140 float vertex_opacity[4] = {1.0f, 1.0f, 1.0f, 1.0f}; in CreateTestTextureDrawQuad() local
153 vertex_opacity, in CreateTestTextureDrawQuad()
2180 float vertex_opacity[4] = {1.0f, 1.0f, 1.0f, 1.0f}; in TYPED_TEST() local
2195 vertex_opacity, in TYPED_TEST()
/external/chromium_org/cc/trees/
Dlayer_tree_host_unittest_delegated.cc114 float vertex_opacity[4] = {1.f, 1.f, 1.f, 1.f}; in CreateInvalidFrameData() local
128 vertex_opacity, in CreateInvalidFrameData()
154 float vertex_opacity[4] = { 1.f, 1.f, 1.f, 1.f }; in AddTextureQuad() local
164 vertex_opacity, in AddTextureQuad()
Dlayer_tree_host_impl.cc643 const float vertex_opacity[4] = {1.f, 1.f, 1.f, 1.f}; in AppendQuadsToFillScreen() local
659 vertex_opacity, in AppendQuadsToFillScreen()
/external/chromium_org/cc/surfaces/
Dsurface_aggregator_unittest.cc1102 const float vertex_opacity[4] = {0.f, 0.f, 1.f, 1.f}; in SubmitFrameWithResources() local
1114 vertex_opacity, in SubmitFrameWithResources()