Home
last modified time | relevance | path

Searched refs:clear_color (Results 1 – 25 of 225) sorted by relevance

123456789

/third_party/skia/third_party/externals/imgui/examples/example_glut_opengl2/
Dmain.cpp33 static ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); variable
53 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in my_display_code()
87 …glClearColor(clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.z * clear_c… in glut_display_func()
/third_party/skia/third_party/externals/imgui/examples/example_allegro5/
Dmain.cpp64 ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main() local
109 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main()
132 …_to_color(al_map_rgba_f(clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.… in main()
/third_party/skia/third_party/externals/imgui/examples/example_glfw_opengl2/
Dmain.cpp76 ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main() local
109 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main()
135 …glClearColor(clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.z * clear_c… in main()
/third_party/skia/third_party/externals/imgui/examples/example_glfw_opengl3/
Dmain.cpp97 ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main() local
130 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main()
156 …glClearColor(clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.z * clear_c… in main()
/third_party/skia/third_party/externals/imgui/examples/example_sdl_opengl2/
Dmain.cpp74 ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main() local
116 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main()
140 …glClearColor(clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.z * clear_c… in main()
/third_party/skia/third_party/externals/imgui/examples/example_emscripten_opengl3/
Dmain.cpp110 static ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main_loop() local
145 …ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main_loop()
170 …glClearColor(clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.z * clear_c… in main_loop()
/third_party/skia/third_party/externals/imgui/examples/example_sdl_opengl3/
Dmain.cpp96 ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main() local
138 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main()
162 …glClearColor(clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.z * clear_c… in main()
/third_party/skia/third_party/externals/imgui/examples/example_emscripten_wgpu/
Dmain.cpp27 static ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); variable
181 …ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main_loop()
208 …achments.clearColor = { clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.… in main_loop()
/third_party/skia/third_party/externals/imgui/examples/example_marmalade/
Dmain.cpp51 ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main() local
87 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main()
110 …IwGxSetColClear(clear_color.x * 255, clear_color.y * 255, clear_color.z * 255, clear_color.w * 255… in main()
/third_party/skia/third_party/externals/imgui/examples/example_sdl_directx11/
Dmain.cpp86 ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main() local
135 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main()
158 …color_with_alpha[4] = { clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.… in main()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx9/
Dmain.cpp76 ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main() local
119 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main()
145 …(int)(clear_color.x*clear_color.w*255.0f), (int)(clear_color.y*clear_color.w*255.0f), (int)(clear_… in main()
/third_party/mesa3d/src/intel/blorp/
Dblorp_clear.c78 BLORP_CREATE_NIR_INPUT(b.shader, clear_color, glsl_vec4_type()); in blorp_params_get_clear_kernel_fs()
144 BLORP_CREATE_NIR_INPUT(b.shader, clear_color, glsl_vec4_type()); in blorp_params_get_clear_kernel_cs()
464 memset(&params.wm_inputs.clear_color, 0xff, 4*sizeof(float)); in blorp_fast_clear()
486 params.dst.clear_color = in blorp_fast_clear()
487 isl_color_value_swizzle_inv(params.dst.clear_color, swizzle); in blorp_fast_clear()
516 union isl_color_value clear_color, in blorp_clear() argument
533 clear_color = isl_color_value_swizzle_inv(clear_color, swizzle); in blorp_clear()
538 clear_color.u32[0] = float3_to_rgb9e5(clear_color.f32); in blorp_clear()
541 clear_color.f32[0] = util_format_linear_to_srgb_float(clear_color.f32[0]); in blorp_clear()
548 clear_color = isl_color_value_swizzle_inv(clear_color, ARGB); in blorp_clear()
[all …]
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx11/
Dmain.cpp78 ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main() local
121 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main()
144 …color_with_alpha[4] = { clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.… in main()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx10/
Dmain.cpp78 ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main() local
121 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main()
144 …color_with_alpha[4] = { clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.… in main()
/third_party/mesa3d/src/gallium/tests/graw/
Dfs-frontface.c153 union pipe_color_union clear_color; in draw() local
155 clear_color.f[0] = 0.25; in draw()
156 clear_color.f[1] = 0.25; in draw()
157 clear_color.f[2] = 0.25; in draw()
158 clear_color.f[3] = 1.00; in draw()
163 &clear_color, 1.0, 0); in draw()
Dfs-write-z.c158 union pipe_color_union clear_color; in draw() local
160 clear_color.f[0] = 0.25; in draw()
161 clear_color.f[1] = 0.25; in draw()
162 clear_color.f[2] = 0.25; in draw()
163 clear_color.f[3] = 1.00; in draw()
168 &clear_color, 1.0, 0); in draw()
Dfs-fragcoord.c179 union pipe_color_union clear_color; in draw() local
181 clear_color.f[0] = 0.25; in draw()
182 clear_color.f[1] = 0.25; in draw()
183 clear_color.f[2] = 0.25; in draw()
184 clear_color.f[3] = 1.0; in draw()
189 &clear_color, 1.0, 0); in draw()
Dtex-swizzle.c103 union pipe_color_union clear_color; in draw() local
105 clear_color.f[0] = 0.5; in draw()
106 clear_color.f[1] = 0.5; in draw()
107 clear_color.f[2] = 0.5; in draw()
108 clear_color.f[3] = 1.0; in draw()
110 info.ctx->clear(info.ctx, PIPE_CLEAR_COLOR, NULL, &clear_color, 0, 0); in draw()
Docclusion-query.c159 union pipe_color_union clear_color; in draw() local
164 clear_color.f[0] = 0.25; in draw()
165 clear_color.f[1] = 0.25; in draw()
166 clear_color.f[2] = 0.25; in draw()
167 clear_color.f[3] = 1.00; in draw()
172 &clear_color, 1.0, 0); in draw()
Dtex-srgb.c123 union pipe_color_union clear_color; in draw() local
125 clear_color.f[0] = 0.5; in draw()
126 clear_color.f[1] = 0.5; in draw()
127 clear_color.f[2] = 0.5; in draw()
128 clear_color.f[3] = 1.0; in draw()
130 info.ctx->clear(info.ctx, PIPE_CLEAR_COLOR, NULL, &clear_color, 0, 0); in draw()
/third_party/skia/third_party/externals/imgui/examples/example_sdl_sdlrenderer/
Dmain.cpp80 ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main() local
122 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main()
145 …awColor(renderer, (Uint8)(clear_color.x * 255), (Uint8)(clear_color.y * 255), (Uint8)(clear_color.… in main()
/third_party/skia/third_party/externals/imgui/examples/example_android_opengl3/
Dmain.cpp134 static ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in tick() local
167 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in tick()
191 …glClearColor(clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.z * clear_c… in tick()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_clear.c48 uint32_t clear_params, clear_color, clear_depth, clear_stencil, in i915_clear_emit() local
67 clear_color = u_color.ui[0]; in i915_clear_emit()
70 clear_color = (u_color.ui[0] & 0xffff) | (u_color.ui[0] << 16); in i915_clear_emit()
81 clear_color = clear_color8888 = 0; in i915_clear_emit()
139 OUT_BATCH(clear_color); in i915_clear_emit()
158 OUT_BATCH(clear_color); in i915_clear_emit()
190 OUT_BATCH(clear_color); in i915_clear_emit()
/third_party/mesa3d/src/intel/isl/
Disl_surface_state.c758 s.RedClearColor = info->clear_color.u32[0]; in isl_genX()
759 s.GreenClearColor = info->clear_color.u32[1]; in isl_genX()
760 s.BlueClearColor = info->clear_color.u32[2]; in isl_genX()
761 s.AlphaClearColor = info->clear_color.u32[3]; in isl_genX()
769 assert(info->clear_color.u32[i] == 0 || in isl_genX()
770 info->clear_color.u32[i] == 1); in isl_genX()
772 s.RedClearColor = info->clear_color.u32[0] != 0; in isl_genX()
773 s.GreenClearColor = info->clear_color.u32[1] != 0; in isl_genX()
774 s.BlueClearColor = info->clear_color.u32[2] != 0; in isl_genX()
775 s.AlphaClearColor = info->clear_color.u32[3] != 0; in isl_genX()
[all …]
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx12/
Dmain.cpp116 ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); in main() local
159 … ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color in main()
198 …color_with_alpha[4] = { clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.… in main()

123456789