Home
last modified time | relevance | path

Searched refs:windowRect (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DWindow.cpp64 RECT windowRect; in Window() local
65 windowRect.left = 0L; in Window()
66 windowRect.top = 0L; in Window()
67 windowRect.right = (long)windowSize.width; in Window()
68 windowRect.bottom = (long)windowSize.height; in Window()
70 AdjustWindowRectEx(&windowRect, style, FALSE, extendedStyle); in Window()
71 uint32_t x = (GetSystemMetrics(SM_CXSCREEN) - windowRect.right) / 2; in Window()
72 uint32_t y = (GetSystemMetrics(SM_CYSCREEN) - windowRect.bottom) / 2; in Window()
77 windowRect.right - windowRect in Window()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DFrameBufferGDI.cpp52 RECT windowRect; in ~FrameBufferGDI() local
54 GetWindowRect(windowHandle, &windowRect); in ~FrameBufferGDI()
55 int windowWidth = width + (windowRect.right - windowRect.left) - (clientRect.right - clientRect.left); in ~FrameBufferGDI()
56 int windowHeight = height + (windowRect.bottom - windowRect.top) - (clientRect.bottom - clientRect.top); in ~FrameBufferGDI()
/third_party/skia/third_party/externals/angle2/util/windows/win32/
H A DWin32Window.cpp762 RECT windowRect; in setPosition() local
763 if (!GetWindowRect(mParentWindow, &windowRect)) in setPosition()
768 if (!MoveWindow(mParentWindow, x, y, windowRect.right - windowRect.left, in setPosition()
769 windowRect.bottom - windowRect.top, TRUE)) in setPosition()
784 RECT windowRect; in resize() local
785 if (!GetWindowRect(mParentWindow, &windowRect)) in resize()
796 LONG diffX = (windowRect.right - windowRect in resize()
[all...]
/third_party/skia/src/utils/win/
H A DSkWGL_win.cpp182 RECT windowRect; in create_temp_window() local
183 windowRect.left = 0; in create_temp_window()
184 windowRect.right = 8; in create_temp_window()
185 windowRect.top = 0; in create_temp_window()
186 windowRect.bottom = 8; in create_temp_window()
209 AdjustWindowRectEx(&windowRect, style, false, exStyle); in create_temp_window()
215 windowRect.right-windowRect.left, in create_temp_window()
216 windowRect.bottom-windowRect in create_temp_window()
[all...]
/third_party/skia/tools/sk_app/win/
H A DD3D12WindowContext_win.cpp89 RECT windowRect; in initializeContext() local
90 GetWindowRect(fWindow, &windowRect); in initializeContext()
91 unsigned int width = windowRect.right - windowRect.left; in initializeContext()
92 unsigned int height = windowRect.bottom - windowRect.top; in initializeContext()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DSurfaceD3D.cpp186 RECT windowRect; in resetSwapChain() local
187 if (!mNativeWindow->getClientRect(&windowRect)) in resetSwapChain()
194 width = windowRect.right - windowRect.left; in resetSwapChain()
195 height = windowRect.bottom - windowRect.top; in resetSwapChain()
/third_party/skia/tools/viewer/
H A DTouchGesture.h37 void setTransLimit(const SkRect& contentRect, const SkRect& windowRect,
H A DTouchGesture.cpp344 void TouchGesture::setTransLimit(const SkRect& contentRect, const SkRect& windowRect, in setTransLimit() argument
348 fWindowRect = windowRect; in setTransLimit()
H A DViewer.cpp1159 const SkRect windowRect = SkRect::MakeIWH(fWindow->width(), fWindow->height()); in setupCurrentSlide() local
1163 if (windowRect.width() > 0 && windowRect.height() > 0) { in setupCurrentSlide()
1164 fDefaultMatrix = SkMatrix::RectToRect(slideBounds, windowRect, in setupCurrentSlide()
1170 fGesture.setTransLimit(slideBounds, windowRect, this->computePreTouchMatrix()); in setupCurrentSlide()
1194 const SkRect windowRect = SkRect::MakeIWH(fWindow->width(), fWindow->height()); in preTouchMatrixChanged() local
1195 fGesture.setTransLimit(slideBounds, windowRect, this->computePreTouchMatrix()); in preTouchMatrixChanged()

Completed in 9 milliseconds