/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | SwapChainD3D12.cpp | 203 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 D | buffer.h | 106 uint32_t GetWidth() const { return width_; } in GetWidth() function in amber::Buffer 172 uint32_t GetRowStride() { return GetElementStride() * GetWidth(); } in GetRowStride()
|
H A D | amber.cc | 50 for (uint32_t x = 0; x < buffer->GetWidth(); ++x) { in GetFrameBuffer() 193 buffer_info.width = buffer->GetWidth(); in ExecuteWithShaderData()
|
H A D | command.h | 163 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 D | executor.cc | 115 buffer->GetRowStride(), buffer->GetWidth(), in ExecuteCommand()
|
H A D | verifier.cc | 428 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 D | SwapChainVk.cpp | 364 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 D | parser_image_test.cc | 217 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 D | parser_expect_test.cc | 58 EXPECT_EQ(250U, probe->GetWidth()); in TEST_F() 100 EXPECT_EQ(20U, probe->GetWidth()); in TEST_F()
|
H A D | parser_run_test.cc | 219 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 D | frame_buffer.h | 62 uint32_t GetWidth() const { return width_; } in GetWidth() function in amber::vulkan::FrameBuffer
|
H A D | engine_vulkan.cc | 473 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 D | graphics_pipeline.h | 66 uint32_t GetWidth() const { return frame_width_; } in GetWidth() function in amber::vulkan::GraphicsPipeline
|
H A D | image_descriptor.cc | 91 device_, *fmt, aspect, image_type, usage, amber_buffer->GetWidth(), in CreateResourceIfNeeded()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | SwapChain.cpp | 107 desc.size = {swapChain->GetWidth(), swapChain->GetHeight(), 1}; in GetSwapChainBaseTextureDescriptor() 357 uint32_t NewSwapChainBase::GetWidth() const { in GetWidth() function in dawn_native::NewSwapChainBase
|
H A D | Texture.h | 59 uint32_t GetWidth() const;
|
H A D | SwapChain.h | 125 uint32_t GetWidth() const;
|
/third_party/ffmpeg/libavdevice/ |
H A D | decklink_dec.cpp | 894 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 D | decklink_enc.cpp | 56 virtual long STDMETHODCALLTYPE GetWidth (void) { return _width; } in GetWidth() function in decklink_frame 63 return ((GetWidth() + 47) / 48) * 128; in GetRowBytes()
|
H A D | decklink_common.cpp | 297 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 D | command_parser_test.cc | 49 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 D | RunBaseImpl.cpp | 273 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 D | extFFmpegDemuxer.h | 318 int GetWidth() { in GetWidth() function in FFmpegDemuxer
|
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_widgets.cpp | 915 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 D | imgui_widgets.cpp | 746 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...] |