/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | WebGLReadOutsideFramebufferTest.cpp | 20 PixelRect(int width, int height) : mWidth(width), mHeight(height), mData(width * height) {} in PixelRect() 27 for (int x = 0; x < mWidth; ++x) in fill() 31 mData[x + y * mWidth] = angle::GLColor(x + (y << 8) + (tag << 16)); 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() [all …]
|
/third_party/skia/third_party/externals/angle2/samples/gles1/ |
D | DrawTexture.cpp | 62 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() 70 if (mX + mWidth >= windowWidth) in draw() 80 ++mWidth; in draw() 82 if (mWidth >= windowWidth) in draw() 83 mWidth = 0; in draw() 97 GLint mWidth = 0; member in GLES1DrawTextureSample
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | NativeSwapChainImplGL.cpp | 54 mWidth = width; 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/glx/ |
D | PbufferSurfaceGLX.cpp | 25 mWidth(width), in PbufferSurfaceGLX() 46 int width = std::max(1, static_cast<int>(mWidth)); in initialize() 60 mGLX.queryDrawable(mPbuffer, GLX_WIDTH, &mWidth); in initialize() 110 return mWidth; in getWidth()
|
D | PixmapSurfaceGLX.cpp | 76 mWidth(0), in PixmapSurfaceGLX() 103 int status = XGetGeometry(mDisplay, mXPixmap, &rootWindow, &x, &y, &mWidth, &mHeight, in initialize() 186 return mWidth; in getWidth()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | SurfaceD3D.cpp | 47 mWidth(static_cast<EGLint>(attribs.get(EGL_WIDTH, 0))), in SurfaceD3D() 56 mWidth = -1; in SurfaceD3D() 62 mFixedWidth = mWidth; in SurfaceD3D() 244 mWidth = backbufferWidth; in resizeSwapChain() 270 mWidth = backbufferWidth; in resetSwapChain() 288 if (x + width > mWidth) in swapRect() 290 width = mWidth - x; in swapRect() 362 return swapRect(displayD3D, 0, 0, mWidth, mHeight); in swap() 403 return mWidth; in getWidth()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/ |
D | PbufferSurfaceCGL.cpp | 28 mWidth(width), 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() 106 return mWidth; in getWidth()
|
D | IOSurfaceSurfaceCGL.cpp | 85 mWidth(0), in IOSurfaceSurfaceCGL() 96 mWidth = static_cast<int>(attribs.get(EGL_WIDTH)); in IOSurfaceSurfaceCGL() 167 mCGLContext, GL_TEXTURE_RECTANGLE, format.nativeInternalFormat, mWidth, mHeight, in bindTexImage() 197 return mWidth; in getWidth() 296 mCGLContext, GL_TEXTURE_RECTANGLE, format.nativeInternalFormat, mWidth, mHeight, in createDefaultFramebuffer()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/eagl/ |
D | PbufferSurfaceEAGL.cpp | 30 mWidth(width), 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() 109 return mWidth; in getWidth()
|
D | IOSurfaceSurfaceEAGL.mm | 83 mWidth(0), 95 mWidth = static_cast<int>(attribs.get(EGL_WIDTH)); 187 width:mWidth 219 functions->texImage2D(GL_TEXTURE_2D, 0, format.nativeInternalFormat, mWidth, mHeight, 0, 252 functions->readPixels(0, 0, mWidth, mHeight, format.nativeFormat, format.nativeType, 269 return mWidth; 373 width:mWidth
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/gbm/ |
D | DisplayGbm.cpp | 98 mWidth(0), in Buffer() 167 if (mWidth == width && mHeight == height) in resize() 225 mWidth = width; in resize() 273 if (drmModeAddFB2(fd, mWidth, mHeight, mDRMFormatFB, handles, pitches, offsets, &mDRMFB, 0)) in getDRMFB() 355 mWidth(1280), in DisplayGbm() 413 mWidth = mMode->hdisplay; in hasUsableScreen() 661 double x = n->x * 2. / mWidth - 1; in drawWithTexture() 663 double halfw = n->width * 1. / mWidth; in drawWithTexture() 665 double borderw = n->borderWidth * 2. / mWidth; in drawWithTexture() 682 sm->setViewport(gl::Rectangle(0, 0, mWidth, mHeight)); in drawWithTexture() [all …]
|
D | DisplayGbm.h | 73 int32_t getWidth() const { return mWidth; } in getWidth() 82 int mWidth; variable 142 int32_t mWidth; variable
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/ |
D | DXGISwapChainWindowSurfaceWGL.cpp | 53 mWidth(0), in DXGISwapChainWindowSurfaceWGL() 99 mWidth = rect.right - rect.left; in initialize() 252 return static_cast<EGLint>(mWidth); in getWidth() 351 if (newWidth != mWidth || newHeight != mHeight) in checkForResize() 353 mWidth = newWidth; in checkForResize() 435 swapChainDesc.Width = static_cast<UINT>(mWidth); in createSwapChain() 467 swapChainDesc.BufferDesc.Width = static_cast<UINT>(mWidth); in createSwapChain() 534 static_cast<GLsizei>(mWidth), in createSwapChain()
|
D | PbufferSurfaceWGL.cpp | 29 mWidth(width), in PbufferSurfaceWGL() 93 mPbuffer = mFunctionsWGL->createPbufferARB(mParentDeviceContext, mPixelFormat, mWidth, mHeight, in initialize() 103 if (mFunctionsWGL->queryPbufferARB(mPbuffer, WGL_PBUFFER_WIDTH_ARB, &mWidth) != TRUE || in initialize() 192 return mWidth; in getWidth()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | SwapChain.cpp | 168 mWidth = width; in APIConfigure() 191 descriptor.size.width = mWidth; in APIGetCurrentTextureView() 250 DAWN_INVALID_IF(mWidth == 0, "%s was not configured prior to calling GetNextTexture.", in ValidateGetCurrentTextureView() 275 mWidth(descriptor->width), in NewSwapChainBase() 335 ASSERT(view->GetTexture()->GetMipLevelVirtualSize(view->GetBaseMipLevel()).width == mWidth); in APIGetCurrentTextureView() 358 return mWidth; in GetWidth()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | SwapChain9.cpp | 29 mWidth(-1), in SwapChain9() 160 RECT rect = {0, 0, mWidth, mHeight}; in reset() 270 mWidth = backbufferWidth; in reset() 321 D3DVIEWPORT9 viewport = {0, 0, static_cast<DWORD>(mWidth), static_cast<DWORD>(mHeight), in swapRect() 330 float u1 = x / float(mWidth); in swapRect() 332 float u2 = (x + width) / float(mWidth); in swapRect()
|
D | SwapChain9.h | 52 EGLint getWidth() const { return mWidth; } in getWidth() 63 EGLint mWidth; variable
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
D | nested.rs | 42 pub mWidth: Test_Size_Dimension, field 79 unsafe { ::std::ptr::addr_of!((*ptr).mWidth) as usize - ptr as usize }, in bindgen_test_layout_Test_Size() 85 stringify!(mWidth) in bindgen_test_layout_Test_Size()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | RenderTarget11.cpp | 214 mWidth(width), in TextureRenderTarget11() 230 ASSERT(mFormatSet.formatID != angle::FormatID::NONE || mWidth == 0 || mHeight == 0); in TextureRenderTarget11() 243 mWidth(width), in TextureRenderTarget11() 259 ASSERT(mFormatSet.formatID != angle::FormatID::NONE || mWidth == 0 || mHeight == 0); in TextureRenderTarget11() 293 return mWidth; in getWidth()
|
D | ExternalImageSiblingImpl11.cpp | 32 &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/ |
D | Renderbuffer.cpp | 452 mWidth = 0; in RenderbufferStorage() 464 return mWidth; in getWidth() 488 mWidth = renderTarget->getWidth(); in Colorbuffer() 516 mWidth = width; in Colorbuffer() 566 mWidth = depthStencil->getWidth(); in DepthStencilbuffer() 594 mWidth = width; in DepthStencilbuffer()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Renderbuffer.cpp | 38 : mWidth(0), in RenderbufferState() 51 return mWidth; in getWidth() 86 mWidth = width; in update() 245 return mState.mWidth; in getWidth() 314 size *= mState.mWidth; in getMemorySize() 337 return Extents(mState.mWidth, mState.mHeight, 1); in getAttachmentSize()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/ |
D | MusicKeyboardView.java | 67 private int mWidth; field in MusicKeyboardView 130 mWidth = w; in onSizeChanged() 132 mNumKeys = (mHeight > mWidth) ? mNumPortraitKeys : mNumLandscapeKeys; in onSizeChanged() 142 mWhiteKeyWidth = mWidth / mNumWhiteKeys; in onSizeChanged() 179 canvas.drawRect(0, 0, mWidth, mHeight, mShadowPaint); in onDraw()
|
/third_party/skia/third_party/externals/angle2/util/ozone/ |
D | OzoneWindow.cpp | 23 mNative.width = mWidth = width; in initializeImpl() 67 mNative.width = mWidth = width; in resize()
|
/third_party/skia/third_party/externals/angle2/util/fuchsia/ |
D | ScenicWindow.cpp | 100 mWidth = width; in initializeImpl() 142 mFuchsiaEGLWindow.reset(fuchsia_egl_window_create(imagePipeHandle, mWidth, mHeight)); in resetNativeWindow() 180 mWidth = width; in resize() 294 float widthDips = mWidth / mDisplayScaleX; in updateViewSize()
|