diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/backtrace/SCsub | 2 | ||||
-rw-r--r-- | drivers/coremidi/midi_driver_coremidi.cpp | 4 | ||||
-rw-r--r-- | drivers/d3d12/SCsub | 2 | ||||
-rw-r--r-- | drivers/d3d12/rendering_device_driver_d3d12.cpp | 2 | ||||
-rw-r--r-- | drivers/egl/SCsub | 2 | ||||
-rw-r--r-- | drivers/gl_context/SCsub | 2 | ||||
-rw-r--r-- | drivers/gles3/rasterizer_gles3.cpp | 4 | ||||
-rw-r--r-- | drivers/metal/README.md | 2 | ||||
-rw-r--r-- | drivers/metal/metal_objects.h | 2 | ||||
-rw-r--r-- | drivers/metal/pixel_formats.h | 14 | ||||
-rw-r--r-- | drivers/metal/pixel_formats.mm | 8 | ||||
-rw-r--r-- | drivers/metal/rendering_device_driver_metal.mm | 8 | ||||
-rw-r--r-- | drivers/png/SCsub | 2 | ||||
-rw-r--r-- | drivers/png/image_loader_png.cpp | 2 | ||||
-rw-r--r-- | drivers/pulseaudio/audio_driver_pulseaudio.cpp | 2 | ||||
-rw-r--r-- | drivers/unix/os_unix.cpp | 2 | ||||
-rw-r--r-- | drivers/vulkan/SCsub | 2 | ||||
-rw-r--r-- | drivers/vulkan/rendering_device_driver_vulkan.cpp | 10 |
18 files changed, 36 insertions, 36 deletions
diff --git a/drivers/backtrace/SCsub b/drivers/backtrace/SCsub index cc2cf0a6d8..3d5fb0a5c4 100644 --- a/drivers/backtrace/SCsub +++ b/drivers/backtrace/SCsub @@ -34,7 +34,7 @@ env_thirdparty.add_source_files(thirdparty_obj, thirdparty_sources) env.drivers_sources += thirdparty_obj -# Godot source files +# Redot source files driver_obj = [] diff --git a/drivers/coremidi/midi_driver_coremidi.cpp b/drivers/coremidi/midi_driver_coremidi.cpp index f6cc59471e..b3481488b8 100644 --- a/drivers/coremidi/midi_driver_coremidi.cpp +++ b/drivers/coremidi/midi_driver_coremidi.cpp @@ -61,7 +61,7 @@ Error MIDIDriverCoreMidi::open() { ERR_FAIL_COND_V_MSG(client || core_midi_closed, FAILED, "MIDIDriverCoreMidi cannot be reopened."); - CFStringRef name = CFStringCreateWithCString(nullptr, "Godot", kCFStringEncodingASCII); + CFStringRef name = CFStringCreateWithCString(nullptr, "Redot", kCFStringEncodingASCII); OSStatus result = MIDIClientCreate(name, nullptr, nullptr, &client); CFRelease(name); if (result != noErr) { @@ -69,7 +69,7 @@ Error MIDIDriverCoreMidi::open() { return ERR_CANT_OPEN; } - result = MIDIInputPortCreate(client, CFSTR("Godot Input"), MIDIDriverCoreMidi::read, (void *)this, &port_in); + result = MIDIInputPortCreate(client, CFSTR("Redot Input"), MIDIDriverCoreMidi::read, (void *)this, &port_in); if (result != noErr) { ERR_PRINT("MIDIInputPortCreate failed, code: " + itos(result)); return ERR_CANT_OPEN; diff --git a/drivers/d3d12/SCsub b/drivers/d3d12/SCsub index b6ceed23ac..eeb899006d 100644 --- a/drivers/d3d12/SCsub +++ b/drivers/d3d12/SCsub @@ -151,7 +151,7 @@ env_d3d12_rdd.Append(CPPDEFINES=extra_defines) env.drivers_sources += thirdparty_obj -# Godot source files. +# Redot source files. driver_obj = [] env_d3d12_rdd.add_source_files(driver_obj, "*.cpp") diff --git a/drivers/d3d12/rendering_device_driver_d3d12.cpp b/drivers/d3d12/rendering_device_driver_d3d12.cpp index 8271d4b7e3..300f8ca5b3 100644 --- a/drivers/d3d12/rendering_device_driver_d3d12.cpp +++ b/drivers/d3d12/rendering_device_driver_d3d12.cpp @@ -3525,7 +3525,7 @@ Vector<uint8_t> RenderingDeviceDriverD3D12::shader_compile_binary_from_spirv(Vec binptr[0] = 'G'; binptr[1] = 'S'; binptr[2] = 'B'; - binptr[3] = 'D'; // Godot shader binary data. + binptr[3] = 'D'; // Redot shader binary data. offset += 4; encode_uint32(ShaderBinary::VERSION, binptr + offset); offset += sizeof(uint32_t); diff --git a/drivers/egl/SCsub b/drivers/egl/SCsub index 3a9b484b83..4b865ca34f 100644 --- a/drivers/egl/SCsub +++ b/drivers/egl/SCsub @@ -3,5 +3,5 @@ from misc.utility.scons_hints import * Import("env") -# Godot source files +# Redot source files env.add_source_files(env.drivers_sources, "*.cpp") diff --git a/drivers/gl_context/SCsub b/drivers/gl_context/SCsub index a2ba425990..72e7444c6a 100644 --- a/drivers/gl_context/SCsub +++ b/drivers/gl_context/SCsub @@ -26,5 +26,5 @@ if env["platform"] in ["macos", "windows", "linuxbsd"]: env_thirdparty.disable_warnings() env_thirdparty.add_source_files(env.drivers_sources, thirdparty_sources) -# Godot source files +# Redot source files env.add_source_files(env.drivers_sources, "*.cpp") diff --git a/drivers/gles3/rasterizer_gles3.cpp b/drivers/gles3/rasterizer_gles3.cpp index e79f1db08d..7ca3071ef2 100644 --- a/drivers/gles3/rasterizer_gles3.cpp +++ b/drivers/gles3/rasterizer_gles3.cpp @@ -309,7 +309,7 @@ RasterizerGLES3::RasterizerGLES3() { } if (callback) { - print_line("godot: ENABLING GL DEBUG"); + print_line("redot: ENABLING GL DEBUG"); glEnable(_EXT_DEBUG_OUTPUT_SYNCHRONOUS_ARB); callback((DEBUGPROCARB)_gl_debug_print, nullptr); glEnable(_EXT_DEBUG_OUTPUT); @@ -366,7 +366,7 @@ RasterizerGLES3::RasterizerGLES3() { canvas = memnew(RasterizerCanvasGLES3()); scene = memnew(RasterizerSceneGLES3()); - // Disable OpenGL linear to sRGB conversion, because Godot will always do this conversion itself. + // Disable OpenGL linear to sRGB conversion, because Redot will always do this conversion itself. if (config->srgb_framebuffer_supported) { glDisable(GL_FRAMEBUFFER_SRGB); } diff --git a/drivers/metal/README.md b/drivers/metal/README.md index 30cfa52360..beaf1ddd4a 100644 --- a/drivers/metal/README.md +++ b/drivers/metal/README.md @@ -1,6 +1,6 @@ # Metal Rendering Device -This document aims to describe the Metal rendering device implementation in Godot. +This document aims to describe the Metal rendering device implementation in Redot. ## Future work / ideas diff --git a/drivers/metal/metal_objects.h b/drivers/metal/metal_objects.h index 030b353ee8..f1e4d0dc5a 100644 --- a/drivers/metal/metal_objects.h +++ b/drivers/metal/metal_objects.h @@ -880,7 +880,7 @@ public: }; // These functions are used to convert between Objective-C objects and -// the RIDs used by Godot, respecting automatic reference counting. +// the RIDs used by Redot, respecting automatic reference counting. namespace rid { // Converts an Objective-C object to a pointer, and incrementing the diff --git a/drivers/metal/pixel_formats.h b/drivers/metal/pixel_formats.h index 167c3d5600..b0834fba53 100644 --- a/drivers/metal/pixel_formats.h +++ b/drivers/metal/pixel_formats.h @@ -270,14 +270,14 @@ public: /** Returns whether the specified Metal MTLPixelFormat is a PVRTC format. */ bool isPVRTCFormat(MTLPixelFormat p_format); - /** Returns the format type corresponding to the specified Godot pixel format, */ + /** Returns the format type corresponding to the specified Redot pixel format, */ MTLFormatType getFormatType(DataFormat p_format); /** Returns the format type corresponding to the specified Metal MTLPixelFormat, */ MTLFormatType getFormatType(MTLPixelFormat p_formt); /** - * Returns the Metal MTLPixelFormat corresponding to the specified Godot pixel + * Returns the Metal MTLPixelFormat corresponding to the specified Redot pixel * or returns MTLPixelFormatInvalid if no corresponding MTLPixelFormat exists. */ MTLPixelFormat getMTLPixelFormat(DataFormat p_format); @@ -289,7 +289,7 @@ public: DataFormat getDataFormat(MTLPixelFormat p_format); /** - * Returns the size, in bytes, of a texel block of the specified Godot pixel. + * Returns the size, in bytes, of a texel block of the specified Redot pixel. * For uncompressed formats, the returned value corresponds to the size in bytes of a single texel. */ uint32_t getBytesPerBlock(DataFormat p_format); @@ -307,7 +307,7 @@ public: uint8_t getChromaSubsamplingComponentBits(DataFormat p_format); /** - * Returns the size, in bytes, of a texel of the specified Godot format. + * Returns the size, in bytes, of a texel of the specified Redot format. * The returned value may be fractional for certain compressed formats. */ float getBytesPerTexel(DataFormat p_format); @@ -319,7 +319,7 @@ public: float getBytesPerTexel(MTLPixelFormat p_format); /** - * Returns the size, in bytes, of a row of texels of the specified Godot pixel format. + * Returns the size, in bytes, of a row of texels of the specified Redot pixel format. * * For compressed formats, this takes into consideration the compression block size, * and p_texels_per_row should specify the width in texels, not blocks. The result is rounded @@ -337,7 +337,7 @@ public: size_t getBytesPerRow(MTLPixelFormat p_format, uint32_t p_texels_per_row); /** - * Returns the size, in bytes, of a texture layer of the specified Godot pixel format. + * Returns the size, in bytes, of a texture layer of the specified Redot pixel format. * * For compressed formats, this takes into consideration the compression block size, * and p_texel_rows_per_layer should specify the height in texels, not blocks. The result is @@ -353,7 +353,7 @@ public: */ size_t getBytesPerLayer(MTLPixelFormat p_format, size_t p_bytes_per_row, uint32_t p_texel_rows_per_layer); - /** Returns the Metal format capabilities supported by the specified Godot format, without substitution. */ + /** Returns the Metal format capabilities supported by the specified Redot format, without substitution. */ MTLFmtCaps getCapabilities(DataFormat p_format, bool p_extended = false); /** Returns the Metal format capabilities supported by the specified Metal format. */ diff --git a/drivers/metal/pixel_formats.mm b/drivers/metal/pixel_formats.mm index 36edbab99a..b5fdd04588 100644 --- a/drivers/metal/pixel_formats.mm +++ b/drivers/metal/pixel_formats.mm @@ -1009,7 +1009,7 @@ void PixelFormats::modifyMTLFormatCapabilities(id<MTLDevice> p_device) { addGPUMTLPixFmtCaps(Apple5, BGRA8Unorm_sRGB, All); // Blending is actually supported for this format, but format channels cannot be individually write-enabled during blending. - // Disabling blending is the least-intrusive way to handle this in a Godot-friendly way. + // Disabling blending is the least-intrusive way to handle this in a Redot-friendly way. addGPUMTLPixFmtCaps(Apple5, RGB9E5Float, All); disableMTLPixFmtCaps(RGB9E5Float, Blend); @@ -1252,7 +1252,7 @@ void PixelFormats::modifyMTLFormatCapabilities(id<MTLDevice> p_device) { #undef disableAllMTLPixFmtCaps #undef addFeatSetMTLVtxFmtCaps -// Populates the DataFormat lookup maps and connects Godot and Metal pixel formats to one-another. +// Populates the DataFormat lookup maps and connects Redot and Metal pixel formats to one-another. void PixelFormats::buildDFFormatMaps() { // Iterate through the DataFormat descriptions, populate the lookup maps and back pointers, // and validate the Metal formats for the platform and OS. @@ -1260,9 +1260,9 @@ void PixelFormats::buildDFFormatMaps() { DataFormatDesc &dfDesc = _dataFormatDescriptions[fmtIdx]; DataFormat dfFmt = dfDesc.dataFormat; if (dfFmt != RD::DATA_FORMAT_MAX) { - // Populate the back reference from the Metal formats to the Godot format. + // Populate the back reference from the Metal formats to the Redot format. // Validate the corresponding Metal formats for the platform, and clear them - // in the Godot format if not supported. + // in the Redot format if not supported. if (dfDesc.mtlPixelFormat) { MTLFormatDesc &mtlDesc = getMTLPixelFormatDesc(dfDesc.mtlPixelFormat); if (mtlDesc.dataFormat == RD::DATA_FORMAT_MAX) { diff --git a/drivers/metal/rendering_device_driver_metal.mm b/drivers/metal/rendering_device_driver_metal.mm index 0f7faaddf0..e311ccab2f 100644 --- a/drivers/metal/rendering_device_driver_metal.mm +++ b/drivers/metal/rendering_device_driver_metal.mm @@ -568,7 +568,7 @@ uint8_t *RenderingDeviceDriverMetal::texture_map(TextureID p_texture, const Text offset += bytes_per_layer * mipExtent.depth * (p_subresource.layer - 1); } - // TODO: Confirm with rendering team that there is no other way Godot may attempt to map a texture with multiple mipmaps or array layers. + // TODO: Confirm with rendering team that there is no other way Redot may attempt to map a texture with multiple mipmaps or array layers. // NOTE: It is not possible to create a buffer-backed texture with mipmaps or array layers, // as noted in the is_valid_linear function, so the offset calculation SHOULD always be zero. @@ -802,7 +802,7 @@ void RenderingDeviceDriverMetal::fence_free(FenceID p_fence) { #pragma mark - Semaphores RDD::SemaphoreID RenderingDeviceDriverMetal::semaphore_create() { - // Metal doesn't use semaphores, as their purpose within Godot is to ensure ordering of command buffer execution. + // Metal doesn't use semaphores, as their purpose within Redot is to ensure ordering of command buffer execution. return SemaphoreID(1); } @@ -3913,7 +3913,7 @@ Error RenderingDeviceDriverMetal::_create_device() { ERR_FAIL_NULL_V(device_queue, ERR_CANT_CREATE); device_scope = [MTLCaptureManager.sharedCaptureManager newCaptureScopeWithCommandQueue:device_queue]; - device_scope.label = @"Godot Frame"; + device_scope.label = @"Redot Frame"; [device_scope beginScope]; // Allow Xcode to capture the first frame, if desired. resource_cache = std::make_unique<MDResourceCache>(this); @@ -3950,7 +3950,7 @@ Error RenderingDeviceDriverMetal::initialize(uint32_t p_device_index, uint32_t p // Check required features and abort if any of them is missing. if (!metal_device_properties->features.imageCubeArray) { // NOTE: Apple A11 (Apple4) GPUs support image cube arrays, which are devices from 2017 and newer. - String error_string = vformat("Your Apple GPU does not support the following features which are required to use Metal-based renderers in Godot:\n\n"); + String error_string = vformat("Your Apple GPU does not support the following features which are required to use Metal-based renderers in Redot:\n\n"); if (!metal_device_properties->features.imageCubeArray) { error_string += "- No support for image cube arrays.\n"; } diff --git a/drivers/png/SCsub b/drivers/png/SCsub index fce37257b1..c9fe84b221 100644 --- a/drivers/png/SCsub +++ b/drivers/png/SCsub @@ -62,7 +62,7 @@ if env["builtin_libpng"]: env.drivers_sources += thirdparty_obj -# Godot source files +# Redot source files driver_obj = [] diff --git a/drivers/png/image_loader_png.cpp b/drivers/png/image_loader_png.cpp index 6f98f072dd..284370cacf 100644 --- a/drivers/png/image_loader_png.cpp +++ b/drivers/png/image_loader_png.cpp @@ -79,7 +79,7 @@ Ref<Image> ImageLoaderPNG::lossless_unpack_png(const Vector<uint8_t> &p_data) { Vector<uint8_t> ImageLoaderPNG::lossless_pack_png(const Ref<Image> &p_image) { Vector<uint8_t> out_buffer; - // add Godot's own "PNG " prefix + // add Redot's own "PNG " prefix if (out_buffer.resize(4) != OK) { ERR_FAIL_V(Vector<uint8_t>()); } diff --git a/drivers/pulseaudio/audio_driver_pulseaudio.cpp b/drivers/pulseaudio/audio_driver_pulseaudio.cpp index 669e6c2aa9..7ecaa1ded1 100644 --- a/drivers/pulseaudio/audio_driver_pulseaudio.cpp +++ b/drivers/pulseaudio/audio_driver_pulseaudio.cpp @@ -192,7 +192,7 @@ Error AudioDriverPulseAudio::init_output_device() { // Detect the amount of channels PulseAudio is using // Note: If using an even amount of channels (2, 4, etc) channels and pa_map.channels will be equal, // if not then pa_map.channels will have the real amount of channels PulseAudio is using and channels - // will have the amount of channels Godot is using (in this case it's pa_map.channels + 1) + // will have the amount of channels Redot is using (in this case it's pa_map.channels + 1) Error err = detect_channels(); if (err != OK) { // This most likely means there are no sinks. diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp index 8a9b130068..57d94e75e8 100644 --- a/drivers/unix/os_unix.cpp +++ b/drivers/unix/os_unix.cpp @@ -971,7 +971,7 @@ void UnixTerminalLogger::log_error(const char *p_function, const char *p_file, i } // Disable color codes if stdout is not a TTY. - // This prevents Godot from writing ANSI escape codes when redirecting + // This prevents Redot from writing ANSI escape codes when redirecting // stdout and stderr to a file. const bool tty = isatty(fileno(stdout)); const char *gray = tty ? "\E[0;90m" : ""; diff --git a/drivers/vulkan/SCsub b/drivers/vulkan/SCsub index 6ea7cc9a3b..6f733db55d 100644 --- a/drivers/vulkan/SCsub +++ b/drivers/vulkan/SCsub @@ -54,7 +54,7 @@ env_thirdparty_vma.add_source_files(thirdparty_obj, thirdparty_sources_vma) env.drivers_sources += thirdparty_obj -# Godot source files +# Redot source files driver_obj = [] diff --git a/drivers/vulkan/rendering_device_driver_vulkan.cpp b/drivers/vulkan/rendering_device_driver_vulkan.cpp index d20f396281..9f16f752d4 100644 --- a/drivers/vulkan/rendering_device_driver_vulkan.cpp +++ b/drivers/vulkan/rendering_device_driver_vulkan.cpp @@ -566,7 +566,7 @@ Error RenderingDeviceDriverVulkan::_check_device_features() { // Check for required features. if (!physical_device_features.imageCubeArray || !physical_device_features.independentBlend) { - String error_string = vformat("Your GPU (%s) does not support the following features which are required to use Vulkan-based renderers in Godot:\n\n", context_device.name); + String error_string = vformat("Your GPU (%s) does not support the following features which are required to use Vulkan-based renderers in Redot:\n\n", context_device.name); if (!physical_device_features.imageCubeArray) { error_string += "- No support for image cube arrays.\n"; } @@ -731,7 +731,7 @@ Error RenderingDeviceDriverVulkan::_check_device_capabilities() { if (use_1_2_features) { #ifdef MACOS_ENABLED - ERR_FAIL_COND_V_MSG(!device_features_vk_1_2.shaderSampledImageArrayNonUniformIndexing, ERR_CANT_CREATE, "Your GPU doesn't support shaderSampledImageArrayNonUniformIndexing which is required to use the Vulkan-based renderers in Godot."); + ERR_FAIL_COND_V_MSG(!device_features_vk_1_2.shaderSampledImageArrayNonUniformIndexing, ERR_CANT_CREATE, "Your GPU doesn't support shaderSampledImageArrayNonUniformIndexing which is required to use the Vulkan-based renderers in Redot."); #endif if (enabled_device_extension_names.has(VK_KHR_SHADER_FLOAT16_INT8_EXTENSION_NAME)) { shader_capabilities.shader_float16_is_supported = device_features_vk_1_2.shaderFloat16; @@ -2523,7 +2523,7 @@ Error RenderingDeviceDriverVulkan::command_queue_execute_and_present(CommandQueu // Handling VK_SUBOPTIMAL_KHR the same as VK_SUCCESS is completely intentional. // - // Godot does not currently support native rotation in Android when creating the swap chain. It intentionally uses + // Redot does not currently support native rotation in Android when creating the swap chain. It intentionally uses // VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR instead of the current transform bits available in the surface capabilities. // Choosing the transform that leads to optimal presentation leads to distortion that makes the application unusable, // as the rotation of all the content is not handled at the moment. @@ -2864,7 +2864,7 @@ Error RenderingDeviceDriverVulkan::swap_chain_resize(CommandQueueID p_cmd_queue, } // Prefer identity transform if it's supported, use the current transform otherwise. - // This behavior is intended as Godot does not supported native rotation in platforms that use these bits. + // This behavior is intended as Redot does not supported native rotation in platforms that use these bits. // Refer to the comment in command_queue_present() for more details. VkSurfaceTransformFlagBitsKHR surface_transform_bits; if (surface_capabilities.supportedTransforms & VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR) { @@ -3236,7 +3236,7 @@ Vector<uint8_t> RenderingDeviceDriverVulkan::shader_compile_binary_from_spirv(Ve binptr[0] = 'G'; binptr[1] = 'S'; binptr[2] = 'B'; - binptr[3] = 'D'; // Godot Shader Binary Data. + binptr[3] = 'D'; // Redot Shader Binary Data. offset += 4; encode_uint32(ShaderBinary::VERSION, binptr + offset); offset += sizeof(uint32_t); |