/third_party/glfw/src/ |
D | monitor.c | 198 void _glfwAllocGammaArrays(GLFWgammaramp* ramp, unsigned int size) in _glfwAllocGammaArrays() argument 200 ramp->red = calloc(size, sizeof(unsigned short)); in _glfwAllocGammaArrays() 201 ramp->green = calloc(size, sizeof(unsigned short)); in _glfwAllocGammaArrays() 202 ramp->blue = calloc(size, sizeof(unsigned short)); in _glfwAllocGammaArrays() 203 ramp->size = size; in _glfwAllocGammaArrays() 206 void _glfwFreeGammaArrays(GLFWgammaramp* ramp) in _glfwFreeGammaArrays() argument 208 free(ramp->red); in _glfwFreeGammaArrays() 209 free(ramp->green); in _glfwFreeGammaArrays() 210 free(ramp->blue); in _glfwFreeGammaArrays() 212 memset(ramp, 0, sizeof(GLFWgammaramp)); in _glfwFreeGammaArrays() [all …]
|
D | x11_monitor.c | 415 void _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp) in _glfwPlatformGetGammaRamp() argument 424 _glfwAllocGammaArrays(ramp, size); in _glfwPlatformGetGammaRamp() 426 memcpy(ramp->red, gamma->red, size * sizeof(unsigned short)); in _glfwPlatformGetGammaRamp() 427 memcpy(ramp->green, gamma->green, size * sizeof(unsigned short)); in _glfwPlatformGetGammaRamp() 428 memcpy(ramp->blue, gamma->blue, size * sizeof(unsigned short)); in _glfwPlatformGetGammaRamp() 438 _glfwAllocGammaArrays(ramp, size); in _glfwPlatformGetGammaRamp() 442 ramp->size, ramp->red, ramp->green, ramp->blue); in _glfwPlatformGetGammaRamp() 447 void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) in _glfwPlatformSetGammaRamp() argument 451 XRRCrtcGamma* gamma = XRRAllocGamma(ramp->size); in _glfwPlatformSetGammaRamp() 453 memcpy(gamma->red, ramp->red, ramp->size * sizeof(unsigned short)); in _glfwPlatformSetGammaRamp() [all …]
|
D | cocoa_monitor.m | 357 void _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp) 369 _glfwAllocGammaArrays(ramp, size); 373 ramp->red[i] = (unsigned short) (values[i] * 65535); 374 ramp->green[i] = (unsigned short) (values[i + size] * 65535); 375 ramp->blue[i] = (unsigned short) (values[i + size * 2] * 65535); 381 void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) 384 CGGammaValue* values = calloc(ramp->size * 3, sizeof(CGGammaValue)); 386 for (i = 0; i < ramp->size; i++) 388 values[i] = ramp->red[i] / 65535.f; 389 values[i + ramp->size] = ramp->green[i] / 65535.f; [all …]
|
D | win32_monitor.c | 346 void _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp) in _glfwPlatformGetGammaRamp() argument 355 _glfwAllocGammaArrays(ramp, 256); in _glfwPlatformGetGammaRamp() 357 memcpy(ramp->red, values + 0, 256 * sizeof(unsigned short)); in _glfwPlatformGetGammaRamp() 358 memcpy(ramp->green, values + 256, 256 * sizeof(unsigned short)); in _glfwPlatformGetGammaRamp() 359 memcpy(ramp->blue, values + 512, 256 * sizeof(unsigned short)); in _glfwPlatformGetGammaRamp() 362 void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) in _glfwPlatformSetGammaRamp() argument 367 if (ramp->size != 256) in _glfwPlatformSetGammaRamp() 374 memcpy(values + 0, ramp->red, 256 * sizeof(unsigned short)); in _glfwPlatformSetGammaRamp() 375 memcpy(values + 256, ramp->green, 256 * sizeof(unsigned short)); in _glfwPlatformSetGammaRamp() 376 memcpy(values + 512, ramp->blue, 256 * sizeof(unsigned short)); in _glfwPlatformSetGammaRamp()
|
D | internal.h | 578 void _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp); 583 void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp); 1014 void _glfwAllocGammaArrays(GLFWgammaramp* ramp, unsigned int size); 1018 void _glfwFreeGammaArrays(GLFWgammaramp* ramp);
|
D | mir_monitor.c | 159 void _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp) in _glfwPlatformGetGammaRamp() argument 165 void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) in _glfwPlatformSetGammaRamp() argument
|
D | wl_monitor.c | 244 void _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp) in _glfwPlatformGetGammaRamp() argument 251 void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) in _glfwPlatformSetGammaRamp() argument
|
/third_party/glfw/docs/ |
D | monitor.dox | 28 a gamma ramp. One of the monitors is the primary monitor. 96 a gamma ramp. 173 @subsection monitor_gamma Gamma ramp 175 The gamma ramp of a monitor can be set with @ref glfwSetGammaRamp, which accepts 179 GLFWgammaramp ramp; 182 ramp.size = 256; 183 ramp.red = red; 184 ramp.green = green; 185 ramp.blue = blue; 187 for (i = 0; i < ramp.size; i++) [all …]
|
D | news.dox | 257 @subsection news_30_gamma Gamma ramp support 259 GLFW now supports setting and reading back the gamma ramp of monitors, with the 261 glfwSetGamma, which generates a ramp from a gamma value and then sets it.
|
D | compat.dox | 71 GLFW uses the XRandR 1.3 and Xf86vidmode extensions to provide gamma ramp 73 extensions, gamma ramp support will not function.
|
D | window.dox | 138 is restored, but the gamma ramp is left untouched.
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
D | span_test.cc | 293 auto ramp = MakeRamp(10); in TEST() local 294 EXPECT_THAT(absl::MakeSpan(ramp).subspan(), SpanIs(ramp)); in TEST() 295 EXPECT_THAT(absl::MakeSpan(ramp).subspan(0, 10), SpanIs(ramp)); in TEST() 296 EXPECT_THAT(absl::MakeSpan(ramp).subspan(0, absl::Span<const int>::npos), in TEST() 297 SpanIs(ramp)); in TEST() 298 EXPECT_THAT(absl::MakeSpan(ramp).subspan(0, 3), SpanIs(ramp.data(), 3)); in TEST() 299 EXPECT_THAT(absl::MakeSpan(ramp).subspan(5, absl::Span<const int>::npos), in TEST() 300 SpanIs(ramp.data() + 5, 5)); in TEST() 301 EXPECT_THAT(absl::MakeSpan(ramp).subspan(3, 3), SpanIs(ramp.data() + 3, 3)); in TEST() 302 EXPECT_THAT(absl::MakeSpan(ramp).subspan(10, 5), SpanIs(ramp.data() + 10, 0)); in TEST() [all …]
|
/third_party/libwebsockets/lib/drivers/led/ |
D | README.md | 84 0 - 65535 that it was given, so it's a sawtooth ramp. 150 lws_pwmseq_linear_wipe|single 0 - 100% ramp over 0.3s
|
/third_party/skia/tools/skottie_ios_app/ |
D | BUILD.gn | 35 "../../resources/skottie/skottie-gradient-ramp.json",
|
/third_party/skia/src/shaders/gradients/ |
D | Sk4fLinearGradient.cpp | 18 void ramp(const Sk4f& c, const Sk4f& dc, SkPMColor dst[], int n, in ramp() function 243 ramp<premul>(proc.currentColor(), proc.currentColorGrad(), dst, n, in shadeSpanInternal()
|
/third_party/libevdev/include/linux/linux/ |
D | input.h | 457 struct ff_ramp_effect ramp; member
|
/third_party/libinput/include/linux/freebsd/ |
D | input.h | 453 struct ff_ramp_effect ramp; member
|
/third_party/libinput/include/linux/linux/ |
D | input.h | 452 struct ff_ramp_effect ramp; member
|
/third_party/openGLES/extensions/EXT/ |
D | WGL_EXT_display_color_table.txt | 50 changing their default ramp? 53 default to a linear ramp.
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | WGL_EXT_display_color_table.txt | 50 changing their default ramp? 53 default to a linear ramp.
|
/third_party/openGLES/extensions/SGIX/ |
D | SGIX_pixel_texture_bits.txt | 39 a linear ramp. This means that the texture must be
|
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/ |
D | SGIX_pixel_texture_bits.txt | 39 a linear ramp. This means that the texture must be
|
/third_party/glfw/include/GLFW/ |
D | glfw3.h | 1667 GLFWAPI void glfwSetGammaRamp(GLFWmonitor* monitor, const GLFWgammaramp* ramp);
|
/third_party/skia/third_party/externals/imgui/examples/libs/glfw/include/GLFW/ |
D | glfw3.h | 1659 GLFWAPI void glfwSetGammaRamp(GLFWmonitor* monitor, const GLFWgammaramp* ramp);
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fSynchronizationTests.cpp | 111 void generateShuffledRamp (int numElements, std::vector<int>& ramp) in generateShuffledRamp() argument 116 ramp.resize(numElements); in generateShuffledRamp() 118 ramp[callNdx] = callNdx + 1; in generateShuffledRamp() 120 rng.shuffle(ramp.begin(), ramp.end()); in generateShuffledRamp()
|