Home
last modified time | relevance | path

Searched refs:mHeight (Results 1 – 25 of 69) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/samples/gles1/
DDrawTexture.cpp62 glDrawTexiOES(mX, mY, 0, mWidth, mHeight); in draw()
63 glDrawTexiOES(windowWidth - mX, mY, 0, mWidth, mHeight); in draw()
64 glDrawTexiOES(mX, windowHeight - mY, 0, mWidth, mHeight); in draw()
65 glDrawTexiOES(windowWidth - mX, windowHeight - mY, 0, mWidth, mHeight); in draw()
75 if (mY + mHeight >= windowHeight) in draw()
81 ++mHeight; in draw()
84 if (mHeight >= windowHeight) in draw()
85 mHeight = 0; in draw()
98 GLint mHeight = 0; member in GLES1DrawTextureSample
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DWebGLReadOutsideFramebufferTest.cpp20 PixelRect(int width, int height) : mWidth(width), mHeight(height), mData(width * height) {} in PixelRect()
29 for (int y = 0; y < mHeight; ++y) in fill()
41 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D()
43 glTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D()
45 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D()
47 glTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D()
49 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D()
51 glTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, in toTexture2D()
57 glTexImage2D(target, 0, GL_RGBA, mWidth, mHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, in toTexture2D()
70 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, mWidth, mHeight, depth, 0, GL_RGBA, in toTexture3D()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DSwapChain9.cpp30 mHeight(-1), in SwapChain9()
160 RECT rect = {0, 0, mWidth, mHeight}; in reset()
271 mHeight = backbufferHeight; in reset()
321 D3DVIEWPORT9 viewport = {0, 0, static_cast<DWORD>(mWidth), static_cast<DWORD>(mHeight), in swapRect()
326 float y1 = (mHeight - y - height) - 0.5f; in swapRect()
328 float y2 = (mHeight - y) - 0.5f; in swapRect()
331 float v1 = y / float(mHeight); in swapRect()
333 float v2 = (y + height) / float(mHeight); in swapRect()
346 RECT rect = {static_cast<LONG>(x), static_cast<LONG>(mHeight - y - height), in swapRect()
347 static_cast<LONG>(x + width), static_cast<LONG>(mHeight - y)}; in swapRect()
DSwapChain9.h53 EGLint getHeight() const { return mHeight; } in getHeight()
64 EGLint mHeight; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DNativeSwapChainImplGL.cpp55 mHeight = height; in Configure()
75 gl.Scissor(0, 0, mWidth, mHeight); in Present()
76 gl.BlitFramebuffer(0, 0, mWidth, mHeight, 0, mHeight, mWidth, 0, GL_COLOR_BUFFER_BIT, in Present()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp54 mHeight(0), in DXGISwapChainWindowSurfaceWGL()
100 mHeight = rect.bottom - rect.top; in initialize()
160 RECT rect = {static_cast<LONG>(x), static_cast<LONG>(mHeight - y - height), in postSubBuffer()
161 static_cast<LONG>(x + width), static_cast<LONG>(mHeight - y)}; in postSubBuffer()
257 return static_cast<EGLint>(mHeight); in getHeight()
351 if (newWidth != mWidth || newHeight != mHeight) in checkForResize()
354 mHeight = newHeight; in checkForResize()
436 swapChainDesc.Height = static_cast<UINT>(mHeight); in createSwapChain()
468 swapChainDesc.BufferDesc.Height = static_cast<UINT>(mHeight); in createSwapChain()
535 static_cast<GLsizei>(mHeight)); in createSwapChain()
DPbufferSurfaceWGL.cpp30 mHeight(height), in PbufferSurfaceWGL()
93 mPbuffer = mFunctionsWGL->createPbufferARB(mParentDeviceContext, mPixelFormat, mWidth, mHeight, in initialize()
104 mFunctionsWGL->queryPbufferARB(mPbuffer, WGL_PBUFFER_HEIGHT_ARB, &mHeight) != TRUE) in initialize()
197 return mHeight; in getHeight()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
DPbufferSurfaceGLX.cpp26 mHeight(height), in PbufferSurfaceGLX()
47 int height = std::max(1, static_cast<int>(mHeight)); in initialize()
61 mGLX.queryDrawable(mPbuffer, GLX_HEIGHT, &mHeight); in initialize()
115 return mHeight; in getHeight()
DPixmapSurfaceGLX.cpp77 mHeight(0), in PixmapSurfaceGLX()
103 int status = XGetGeometry(mDisplay, mXPixmap, &rootWindow, &x, &y, &mWidth, &mHeight, in initialize()
191 return mHeight; in getHeight()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DSurfaceD3D.cpp48 mHeight(static_cast<EGLint>(attribs.get(EGL_HEIGHT, 0))), in SurfaceD3D()
57 mHeight = -1; in SurfaceD3D()
63 mFixedHeight = mHeight; in SurfaceD3D()
245 mHeight = backbufferHeight; in resizeSwapChain()
271 mHeight = backbufferHeight; in resetSwapChain()
293 if (y + height > mHeight) in swapRect()
295 height = mHeight - y; in swapRect()
362 return swapRect(displayD3D, 0, 0, mWidth, mHeight); in swap()
408 return mHeight; in getHeight()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
DPbufferSurfaceCGL.cpp29 mHeight(height), in PbufferSurfaceCGL()
54 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, mWidth, mHeight); in initialize()
58 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, mWidth, mHeight); in initialize()
111 return mHeight; in getHeight()
DIOSurfaceSurfaceCGL.cpp86 mHeight(0), in IOSurfaceSurfaceCGL()
97 mHeight = static_cast<int>(attribs.get(EGL_HEIGHT)); in IOSurfaceSurfaceCGL()
167 mCGLContext, GL_TEXTURE_RECTANGLE, format.nativeInternalFormat, mWidth, mHeight, in bindTexImage()
202 return mHeight; in getHeight()
296 mCGLContext, GL_TEXTURE_RECTANGLE, format.nativeInternalFormat, mWidth, mHeight, in createDefaultFramebuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/eagl/
DPbufferSurfaceEAGL.cpp31 mHeight(height), in PbufferSurfaceEAGL()
56 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, mWidth, mHeight); in initialize()
60 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, mWidth, mHeight); in initialize()
114 return mHeight; in getHeight()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/gbm/
DDisplayGbm.cpp99 mHeight(0), in Buffer()
167 if (mWidth == width && mHeight == height) in resize()
226 mHeight = height; in resize()
273 if (drmModeAddFB2(fd, mWidth, mHeight, mDRMFormatFB, handles, pitches, offsets, &mDRMFB, 0)) in getDRMFB()
356 mHeight(1024), in DisplayGbm()
414 mHeight = mMode->vdisplay; in hasUsableScreen()
662 double y = n->y * 2. / mHeight - 1; in drawWithTexture()
664 double halfh = n->height * 1. / mHeight; in drawWithTexture()
666 double borderh = n->borderHeight * 2. / mHeight; in drawWithTexture()
682 sm->setViewport(gl::Rectangle(0, 0, mWidth, mHeight)); in drawWithTexture()
[all …]
DDisplayGbm.h74 int32_t getHeight() const { return mHeight; } in getHeight()
83 int mHeight; variable
143 int32_t mHeight; variable
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/
DMusicKeyboardView.java68 private int mHeight; field in MusicKeyboardView
131 mHeight = h; in onSizeChanged()
132 mNumKeys = (mHeight > mWidth) ? mNumPortraitKeys : mNumLandscapeKeys; in onSizeChanged()
144 mBlackBottom = (int) (mHeight * BLACK_KEY_HEIGHT_FACTOR); in onSizeChanged()
179 canvas.drawRect(0, 0, mWidth, mHeight, mShadowPaint); in onDraw()
188 canvas.drawRect(x, 0, x + mWhiteKeyWidth - WHITE_KEY_GAP, mHeight, in onDraw()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dnested.rs43 pub mHeight: Test_Size_Dimension, field
89 unsafe { ::std::ptr::addr_of!((*ptr).mHeight) as usize - ptr as usize }, in bindgen_test_layout_Test_Size()
95 stringify!(mHeight) in bindgen_test_layout_Test_Size()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderTarget11.cpp215 mHeight(height), in TextureRenderTarget11()
230 ASSERT(mFormatSet.formatID != angle::FormatID::NONE || mWidth == 0 || mHeight == 0); in TextureRenderTarget11()
244 mHeight(height), in TextureRenderTarget11()
259 ASSERT(mFormatSet.formatID != angle::FormatID::NONE || mWidth == 0 || mHeight == 0); in TextureRenderTarget11()
298 return mHeight; in getHeight()
DSwapChain11.cpp65 mHeight(-1), in SwapChain11()
178 mHeight = backbufferHeight; in resetOffscreenBuffers()
201 const int previousHeight = mHeight; in resetOffscreenColorBuffer()
482 if (mWidth == backbufferWidth && mHeight == backbufferHeight) in resize()
840 float y1 = (y / float(mHeight)) * 2.0f - 1.0f; in copyOffscreenToBackbuffer()
842 float y2 = ((y + height) / float(mHeight)) * 2.0f - 1.0f; in copyOffscreenToBackbuffer()
845 float v1 = y / float(mHeight); in copyOffscreenToBackbuffer()
847 float v2 = (y + height) / float(mHeight); in copyOffscreenToBackbuffer()
885 stateManager->setSimpleViewport(mWidth, mHeight); in copyOffscreenToBackbuffer()
922 RECT rect = {static_cast<LONG>(x), static_cast<LONG>(mHeight - y - height), in present()
[all …]
DExternalImageSiblingImpl11.cpp32 &mWidth, &mHeight, &mSamples, &mFormat, &angleFormat, in initialize()
91 return gl::Extents(mWidth, mHeight, 1); in getSize()
207 formatInfo, mWidth, mHeight, 1, mSamples); in createRenderTarget()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DRenderbuffer.cpp453 mHeight = 0; in RenderbufferStorage()
469 return mHeight; in getHeight()
489 mHeight = renderTarget->getHeight(); in Colorbuffer()
517 mHeight = height; in Colorbuffer()
567 mHeight = depthStencil->getHeight(); in DepthStencilbuffer()
595 mHeight = height; in DepthStencilbuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DRenderbuffer.cpp39 mHeight(0), in RenderbufferState()
56 return mHeight; in getHeight()
87 mHeight = height; in update()
250 return mState.mHeight; in getHeight()
315 size *= mState.mHeight; in getMemorySize()
337 return Extents(mState.mWidth, mState.mHeight, 1); in getAttachmentSize()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSwapChain.cpp169 mHeight = height; in APIConfigure()
192 descriptor.size.height = mHeight; in APIGetCurrentTextureView()
276 mHeight(descriptor->height), in NewSwapChainBase()
337 mHeight); in APIGetCurrentTextureView()
362 return mHeight; in GetHeight()
/third_party/skia/third_party/externals/angle2/util/ozone/
DOzoneWindow.cpp24 mNative.height = mHeight = height; in initializeImpl()
68 mNative.height = mHeight = height; in resize()
/third_party/skia/third_party/externals/angle2/util/fuchsia/
DScenicWindow.cpp101 mHeight = height; in initializeImpl()
142 mFuchsiaEGLWindow.reset(fuchsia_egl_window_create(imagePipeHandle, mWidth, mHeight)); in resetNativeWindow()
181 mHeight = height; in resize()
295 float heightDips = mHeight / mDisplayScaleY; in updateViewSize()

123