Home
last modified time | relevance | path

Searched refs:scale (Results 1751 - 1775 of 1873) sorted by relevance

1...<<7172737475

/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp1042 // To scale your entire UI (e.g. if you want your app to use High DPI or generally be DPI aware) you may use this helper function. Scaling the fonts is done separately and is up to you.
1043 // Important: This operation is lossy because we round all sizes to integer. If you need to change your scale multiples, call this over a freshly initialized ImGuiStyle structure rather than scaling multiple times.
3775 const float scale = new_font_scale / window->FontWindowScale; in UpdateMouseWheel() local
3779 const ImVec2 offset = window->Size * (1.0f - scale) * (g.IO.MousePos - window->Pos) / window->Size; in UpdateMouseWheel()
3781 window->Size = ImFloor(window->Size * scale); in UpdateMouseWheel()
3782 window->SizeFull = ImFloor(window->SizeFull * scale); in UpdateMouseWheel()
4107 // Mouse wheel scrolling, scale in NewFrame()
7054 void ImGui::SetWindowFontScale(float scale) in SetWindowFontScale() argument
7056 IM_ASSERT(scale > 0.0f); in SetWindowFontScale()
7059 window->FontWindowScale = scale; in SetWindowFontScale()
11195 ImVec2 scale = bb.GetSize() / viewport->Size; DebugRenderViewportThumbnail() local
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A DgenX_cmd_buffer.c3556 float scale = negative_one_to_one ? 0.5f : 1.0f; in cmd_buffer_emit_viewport() local
3566 .ViewportMatrixElementm22 = (vp->maxDepth - vp->minDepth) * scale, in cmd_buffer_emit_viewport()
3570 (vp->minDepth + vp->maxDepth) * scale : vp->minDepth, in cmd_buffer_emit_viewport()
6200 * scale is greater than 1).
6202 * scale is greater than 1).
6203 * \param scale The number of framebuffer samples that could potentially be
6215 unsigned scale) in cmd_buffer_emit_hashing_mode()
6264 const unsigned idx = scale > 1; in cmd_buffer_emit_hashing_mode()
6266 if (cmd_buffer->state.current_hash_scale != scale && in cmd_buffer_emit_hashing_mode()
6281 cmd_buffer->state.current_hash_scale = scale; in cmd_buffer_emit_hashing_mode()
6213 cmd_buffer_emit_hashing_mode(struct anv_cmd_buffer *cmd_buffer, unsigned width, unsigned height, unsigned scale) cmd_buffer_emit_hashing_mode() argument
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderOperatorTests.cpp667 OperatorShaderEvaluator (const glw::Functions& gl, ShaderType shaderType, ShaderEvalFunc evalFunc, const FloatScalar& scale, const FloatScalar& bias, int resultScalarSize) in OperatorShaderEvaluator() argument
671 , m_scale (scale) in OperatorShaderEvaluator()
1067 float scale = rangeMax - rangeMin; in setupShaderData() local
1078 case 0: row = Vec4(scale, 0.0f, 0.0f, minBias); break; in setupShaderData()
1079 case 1: row = Vec4(0.0f, scale, 0.0f, minBias); break; in setupShaderData()
1080 case 2: row = Vec4(-scale, 0.0f, 0.0f, maxBias); break; in setupShaderData()
1081 case 3: row = Vec4(0.0f, -scale, 0.0f, maxBias); break; in setupShaderData()
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drosen_render_offscreen_canvas.cpp634 skCanvas->scale(scaleX, scaleY); in DrawSvgImage()
989 tempCanvas.scale(1.0 / viewScale, 1.0 / viewScale); in ToDataURL()
1959 skCanvas_->scale(x, y); in Scale()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_visitor.cpp577 auto scale = curDisplayNode_->GetRenderProperties().GetScale(); in UpdateDisplayZoomState() local
578 bool curZoomState = scale.x_ > 1.f || scale.y_ > 1.f; in UpdateDisplayZoomState()
/third_party/ffmpeg/libavformat/
H A Dmatroskaenc.c2146 AVRational scale = {1, 1E9}; in mkv_write_chapters() local
2169 int64_t chapterstart = av_rescale_q(c->start, c->time_base, scale); in mkv_write_chapters()
2170 int64_t chapterend = av_rescale_q(c->end, c->time_base, scale); in mkv_write_chapters()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_blitter.c860 viewport.scale[0] = 0.5f * ctx->dst_width; in blitter_set_rectangle()
861 viewport.scale[1] = 0.5f * ctx->dst_height; in blitter_set_rectangle()
862 viewport.scale[2] = 1.0f; in blitter_set_rectangle()
/third_party/skia/tools/viewer/
H A DViewer.cpp1764 bool Viewer::onPinch(skui::InputState state, float scale, float x, float y) {
1771 fGesture.updateZoom(scale, x, y, x, y);
2783 c->scale(zoomFactor, zoomFactor); in drawImGui()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Drender_system.cpp744 texRef.scale = tex.transform.scale; in InputMaterialUniformsFromMaterialComponent()
746 (texRef.rotation != 0.0f) || (texRef.scale.x != 1.0f) || (texRef.scale.y != 1.0f); in InputMaterialUniformsFromMaterialComponent()
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_llvm.c1447 const int scale_index_offset = offsetof(struct pipe_viewport_state, scale) / sizeof(float); in generate_viewport()
1459 LLVMValueRef scale; in generate_viewport() local
1471 scale = lp_build_broadcast(gallivm, vs_type_llvm, in generate_viewport()
1472 LLVMBuildLoad2(builder, elem_type, scale_i, "scale")); in generate_viewport()
1478 /* mult by scale, add translation */ in generate_viewport()
1479 out = lp_build_fmuladd(builder, out, scale, trans); in generate_viewport()
2227 * XXX should not have to do this, as scale can be handled in draw_llvm_generate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryPipelineBarrierTests.cpp3606 ImageBlitFromImage (deUint32 seed, BlitScale scale, vk::VkImageLayout imageLayout) : m_seed(seed), m_scale(scale), m_imageLayout(imageLayout) {}
3659 DE_FATAL("Unsupported scale");
3786 log << TestLog::Message << commandIndex << ":" << getName() << " Blit from another image" << (m_scale == BLIT_SCALE_20 ? " scale 2x" : "") << TestLog::EndMessage;
3875 DE_FATAL("Unsupported scale");
3882 ImageBlitToImage (BlitScale scale, vk::VkImageLayout imageLayout) : m_scale(scale), m_imageLayout(imageLayout) {}
3934 DE_FATAL("Unsupportd blit scale");
4002 log << TestLog::Message << commandIndex << ":" << getName() << " Blit image to another image" << (m_scale == BLIT_SCALE_20 ? " scale 2x" : "") << TestLog::EndMessage;
4157 DE_FATAL("Unknown scale");
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryPipelineBarrierTests.cpp3606 ImageBlitFromImage (deUint32 seed, BlitScale scale, vk::VkImageLayout imageLayout) : m_seed(seed), m_scale(scale), m_imageLayout(imageLayout) {}
3659 DE_FATAL("Unsupported scale");
3786 log << TestLog::Message << commandIndex << ":" << getName() << " Blit from another image" << (m_scale == BLIT_SCALE_20 ? " scale 2x" : "") << TestLog::EndMessage;
3875 DE_FATAL("Unsupported scale");
3882 ImageBlitToImage (BlitScale scale, vk::VkImageLayout imageLayout) : m_scale(scale), m_imageLayout(imageLayout) {}
3934 DE_FATAL("Unsupportd blit scale");
4002 log << TestLog::Message << commandIndex << ":" << getName() << " Blit image to another image" << (m_scale == BLIT_SCALE_20 ? " scale 2x" : "") << TestLog::EndMessage;
4157 DE_FATAL("Unknown scale");
[all...]
/third_party/skia/modules/skparagraph/tests/
H A DSkParagraphTest.cpp3789 float scale = 3.0f; in UNIX_ONLY_TEST() local
3794 text_style.setFontSize(100 / scale); in UNIX_ONLY_TEST()
3803 text_style.setFontSize(14 / scale); in UNIX_ONLY_TEST()
3809 paragraph->layout(TestCanvasWidth / scale); in UNIX_ONLY_TEST()
3810 canvas.get()->scale(scale, scale); in UNIX_ONLY_TEST()
3812 canvas.get()->scale(1, 1); in UNIX_ONLY_TEST()
/third_party/mesa3d/src/amd/llvm/
H A Dac_llvm_build.c1689 LLVMValueRef scale = NULL; in ac_build_opencoded_load_format() local
1692 scale = LLVMConstReal(ctx->f32, 1.0 / 0x10000); in ac_build_opencoded_load_format()
1695 scale = LLVMConstReal(ctx->f32, 1.0 / (((uint64_t)1 << bits) - 1)); in ac_build_opencoded_load_format()
1698 scale = LLVMConstReal(ctx->f32, 1.0 / (((uint64_t)1 << (bits - 1)) - 1)); in ac_build_opencoded_load_format()
1700 if (scale) in ac_build_opencoded_load_format()
1701 tmp = LLVMBuildFMul(ctx->builder, tmp, scale, ""); in ac_build_opencoded_load_format()
/third_party/node/deps/v8/src/execution/riscv64/
H A Dsimulator-riscv64.cc280 #define VI_VIE_PARAMS(x, scale) \
281 if ((x / scale) < 8) UNREACHABLE(); \
283 auto vs2 = Rvvelt<type_sew_t<x / scale>::type>(rvv_vs2_reg(), i);
285 #define VI_VIE_UPARAMS(x, scale) \
286 if ((x / scale) < 8) UNREACHABLE(); \
288 auto vs2 = Rvvelt<type_usew_t<x / scale>::type>(rvv_vs2_reg(), i);
/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drosen_render_text_field.cpp675 magnifierCanvas_->scale(viewScale * MAGNIFIER_GAIN, viewScale * MAGNIFIER_GAIN);
686 magnifierCanvas_->scale(1.0 / (viewScale * MAGNIFIER_GAIN), 1.0 / (viewScale * MAGNIFIER_GAIN));
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/
H A Dtext_picker_test_update.cpp1826 float scale = 1.00; in HWTEST_F() local
1830 buttonInfos, settingData, dialogEvent, dialogCancelEvent, scale, closeCallback, frameNode_); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_properties_test.cpp1012 auto scale = properties.GetScale(); in HWTEST_F() local
1013 ASSERT_NE(0, scale.GetLength()); in HWTEST_F()
/third_party/ffmpeg/libavcodec/
H A Dj2kenc.c434 int scale = (compno?1 << s->chroma_shift[0]:1) * (compno?1 << s->chroma_shift[1]:1); in compute_rates() local
438 (double)(s->layer_rates[layno] * 8 * scale); in compute_rates()
H A Dalsdec.c1467 SoftFloat_IEEE754 scale = av_int2sf_ieee754(0x1u, 23); in read_diff_float_data() local
1606 pcm_sf = av_div_sf_ieee754(pcm_sf, scale); in read_diff_float_data()
/third_party/ffmpeg/libavfilter/
H A Davf_showcqt.c1358 float scale; in config_output() local
1384 ret = av_tx_init(&s->fft_ctx, &s->tx_fn, AV_TX_FLOAT_FFT, 0, s->fft_len, &scale, 0); in config_output()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_private.h1214 float scale[3];
1824 radv_get_viewport_xform(const VkViewport *viewport, float scale[3], float translate[3]);
/third_party/mesa3d/src/imgui/
H A Dimgui.h282 IMGUI_API void SetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows
309 IMGUI_API float GetFontSize(); // get current font size (= height in pixels) of current font with current scale applied
1302 float FontGlobalScale; // = 1.0f // Global scale all fonts
1905 IMGUI_API void ScaleClipRects(const ImVec2& fb_scale); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.
2100 float Scale; // 4 // in // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetWindowFontScale()
2117 IMGUI_API const char* CalcWordWrapPositionA(float scale, cons
[all...]
/third_party/skia/src/core/
H A DSkVM.h97 // Mem represents a value at base + disp + scale*index,
104 Scale scale = ONE; member
235 // dst = base[scale*ix];
238 void vgatherdps(Ymm dst, Scale scale, Ymm ix, GP64 base, Ymm mask);
/third_party/skia/tools/debugger/
H A DDrawCommand.cpp272 canvas->scale(SkDoubleToScalar((kInsetFrac * size.fWidth) / bounds.width()), in xlate_and_scale_to_bounds()
275 canvas->scale(SkDoubleToScalar((kInsetFrac * size.fWidth) / bounds.height()), in xlate_and_scale_to_bounds()
1106 writer.appendString(DEBUGCANVAS_ATTRIBUTE_SHORTDESC, " (scale)"); in writeMatrixType()

Completed in 136 milliseconds

1...<<7172737475