Home
last modified time | relevance | path

Searched refs:GetWidth (Results 1 - 25 of 41) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DSwapChainD3D12.cpp203 bool canReuseBuffers = GetWidth() == previousSwapChain->GetWidth() && in Initialize()
221 CheckHRESULT(mDXGISwapChain->ResizeBuffers(mConfig.bufferCount, GetWidth(), GetHeight(), in Initialize()
233 swapChainDesc.Width = GetWidth(); in InitializeSwapChainFromScratch()
/third_party/vk-gl-cts/external/amber/src/src/
H A Dbuffer.h106 uint32_t GetWidth() const { return width_; } in GetWidth() function in amber::Buffer
172 uint32_t GetRowStride() { return GetElementStride() * GetWidth(); } in GetRowStride()
H A Damber.cc50 for (uint32_t x = 0; x < buffer->GetWidth(); ++x) { in GetFrameBuffer()
193 buffer_info.width = buffer->GetWidth(); in ExecuteWithShaderData()
H A Dcommand.h163 float GetWidth() const { return width_; } in GetWidth() function in amber::DrawRectCommand
195 float GetWidth() const { return width_; } in GetWidth() function in amber::DrawGridCommand
373 float GetWidth() const { return width_; } in GetWidth() function in amber::ProbeCommand
H A Dexecutor.cc115 buffer->GetRowStride(), buffer->GetWidth(), in ExecuteCommand()
H A Dverifier.cc428 command->GetWidth()); in Probe()
435 width = static_cast<uint32_t>(command->GetWidth()); in Probe()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DSwapChainVk.cpp364 if (GetWidth() < surfaceInfo.capabilities.minImageExtent.width || in ChooseConfig()
365 GetWidth() > surfaceInfo.capabilities.maxImageExtent.width || in ChooseConfig()
370 config.extent.width = GetWidth(); in ChooseConfig()
439 config.extent.width = GetWidth(); in ChooseConfig()
488 region.srcOffsets[1] = {static_cast<int32_t>(mBlitTexture->GetWidth()), in PresentImpl()
493 region.dstOffsets[1] = {static_cast<int32_t>(mTexture->GetWidth()), in PresentImpl()
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
H A Dparser_image_test.cc217 EXPECT_EQ(4u, buffer->GetWidth()); in TEST_F()
241 EXPECT_EQ(3u, buffer->GetWidth()); in TEST_F()
306 EXPECT_EQ(3u, buffer->GetWidth()); in TEST_F()
336 EXPECT_EQ(2u, buffer->GetWidth()); in TEST_F()
H A Dparser_expect_test.cc58 EXPECT_EQ(250U, probe->GetWidth()); in TEST_F()
100 EXPECT_EQ(20U, probe->GetWidth()); in TEST_F()
H A Dparser_run_test.cc219 EXPECT_FLOAT_EQ(10.f, cmd->AsDrawRect()->GetWidth()); in TEST_F()
518 EXPECT_FLOAT_EQ(10.f, cmd->AsDrawGrid()->GetWidth()); in TEST_F()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dframe_buffer.h62 uint32_t GetWidth() const { return width_; } in GetWidth() function in amber::vulkan::FrameBuffer
H A Dengine_vulkan.cc473 float width = command->GetWidth(); in DoDrawRect()
477 const float frame_width = static_cast<float>(graphics->GetWidth()); in DoDrawRect()
538 float width = command->GetWidth(); in DoDrawGrid()
546 const float frame_width = static_cast<float>(graphics->GetWidth()); in DoDrawGrid()
H A Dgraphics_pipeline.h66 uint32_t GetWidth() const { return frame_width_; } in GetWidth() function in amber::vulkan::GraphicsPipeline
H A Dimage_descriptor.cc91 device_, *fmt, aspect, image_type, usage, amber_buffer->GetWidth(), in CreateResourceIfNeeded()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DSwapChain.cpp107 desc.size = {swapChain->GetWidth(), swapChain->GetHeight(), 1}; in GetSwapChainBaseTextureDescriptor()
357 uint32_t NewSwapChainBase::GetWidth() const { in GetWidth() function in dawn_native::NewSwapChainBase
H A DTexture.h59 uint32_t GetWidth() const;
H A DSwapChain.h125 uint32_t GetWidth() const;
/third_party/ffmpeg/libavdevice/
H A Ddecklink_dec.cpp894 int width = videoFrame->GetWidth(); in VideoInputFrameArrived()
994 av_assert0(videoFrame->GetWidth() == 720); in VideoInputFrameArrived()
1008 if (vanc_format == bmdFormat10BitYUV && videoFrame->GetWidth() <= MAX_WIDTH_VANC) { in VideoInputFrameArrived()
1014 size_t vanc_size = videoFrame->GetWidth(); in VideoInputFrameArrived()
1015 if (ctx->bmd_mode == bmdModeNTSC && videoFrame->GetWidth() * 2 <= MAX_WIDTH_VANC) { in VideoInputFrameArrived()
1017 unpack_v210(vanc, buf, videoFrame->GetWidth()); in VideoInputFrameArrived()
1019 extract_luma_from_v210(vanc, buf, videoFrame->GetWidth()); in VideoInputFrameArrived()
H A Ddecklink_enc.cpp56 virtual long STDMETHODCALLTYPE GetWidth (void) { return _width; } in GetWidth() function in decklink_frame
63 return ((GetWidth() + 47) / 48) * 128; in GetRowBytes()
H A Ddecklink_common.cpp297 int bmd_width = mode->GetWidth(); in ff_decklink_set_format()
521 (char*) &format_code, mode->GetWidth(), mode->GetHeight(), in ff_decklink_list_formats()
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
H A Dcommand_parser_test.cc49 EXPECT_FLOAT_EQ(200.0f, draw_cmd->GetWidth()); in TEST_F()
87 EXPECT_FLOAT_EQ(200.0f, cmd->GetWidth()); in TEST_F()
109 EXPECT_FLOAT_EQ(200.0f, cmd->GetWidth()); in TEST_F()
131 EXPECT_FLOAT_EQ(200.0f, cmd->GetWidth()); in TEST_F()
153 EXPECT_FLOAT_EQ(200.0f, cmd->GetWidth()); in TEST_F()
862 EXPECT_FLOAT_EQ(1U, cmd->GetWidth()); in TEST_P()
897 EXPECT_FLOAT_EQ(1U, cmd->GetWidth()); in TEST_P()
933 EXPECT_FLOAT_EQ(200U, cmd->GetWidth()); in TEST_P()
969 EXPECT_FLOAT_EQ(1.0f, cmd->GetWidth()); in TEST_P()
1062 EXPECT_FLOAT_EQ(0.3f, cmd->GetWidth()); in TEST_F()
[all...]
/third_party/skia/modules/skparagraph/src/
H A DRunBaseImpl.cpp273 SkScalar width = runNotWhiteSpaceWidth - (endAdvance - endRect.GetLeft() - endRect.GetWidth()) - startRect.GetLeft(); in getAllGlyphRectInfo()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
H A DextFFmpegDemuxer.h318 int GetWidth() { in GetWidth() function in FFmpegDemuxer
/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp915 const float bb_frame_width = bb_frame.GetWidth(); in ScrollbarEx()
934 const float scrollbar_size_v = (axis == ImGuiAxis_X) ? bb.GetWidth() : bb.GetHeight(); in ScrollbarEx()
1645 float w = bb.GetWidth(); in BeginComboPopup()
5421 RenderColorRectWithAlphaCheckerboard(draw_list, bar1_bb.Min, bar1_bb.Max, 0, bar1_bb.GetWidth() / 2.0f, ImVec2(0.0f, 0.0f));
7409 if ((tab_bar->WidthAllTabsIdeal > tab_bar->BarRect.GetWidth() && tab_bar->Tabs.Size > 1) && !(tab_bar->Flags & ImGuiTabBarFlags_NoTabListScrollingButtons) && (tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyScroll))
7421 bool central_section_is_visible = (section_0_w + section_2_w) < tab_bar->BarRect.GetWidth();
7424 width_excess = ImMax(section_1_w - (tab_bar->BarRect.GetWidth() - section_0_w - section_2_w), 0.0f); // Excess used to shrink central section
7426 width_excess = (section_0_w + section_2_w) - tab_bar->BarRect.GetWidth(); // Excess used to shrink leading/trailing section
7457 tab_offset = ImMin(ImMax(0.0f, tab_bar->BarRect.GetWidth() - section->Width), tab_offset);
7578 scrolling = ImMin(scrolling, tab_bar->WidthAllTabs - tab_bar->BarRect.GetWidth());
[all...]
/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp746 if (bb.GetWidth() <= 0.0f || bb_height <= 0.0f) in Scrollbar()
768 float scrollbar_size_v = horizontal ? bb.GetWidth() : bb.GetHeight(); in Scrollbar()
1197 ItemSize(ImVec2(bb.GetWidth(), 0.0f)); in VerticalSeparator()
4388 RenderColorRectWithAlphaCheckerboard(bar1_bb.Min, bar1_bb.Max, IM_COL32(0,0,0,0), bar1_bb.GetWidth() / 2.0f, ImVec2(0.0f, 0.0f));
6044 const float width_avail = tab_bar->BarRect.GetWidth();
6089 const bool scrolling_buttons = (tab_bar->OffsetMax > tab_bar->BarRect.GetWidth() && tab_bar->Tabs.Size > 1) && !(tab_bar->Flags & ImGuiTabBarFlags_NoTabListScrollingButtons) && (tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyScroll);
6179 scrolling = ImMin(scrolling, tab_bar->OffsetMax - tab_bar->BarRect.GetWidth());
6192 if (tab_bar->ScrollingTarget + tab_bar->BarRect.GetWidth() < tab_x2)
6193 tab_bar->ScrollingTarget = tab_x2 - tab_bar->BarRect.GetWidth();
6483 if (hovered && g.HoveredIdNotActiveTimer > 0.50f && bb.GetWidth() < ta
[all...]

Completed in 46 milliseconds

12