/external/OpenCL-CTS/test_conformance/events/ |
D | action_classes.cpp | 281 if( ( error = IGetPreferredImageSize2D( device, mWidth, mHeight ) ) ) in Setup() 285 … mImage = create_image_2d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, 0, NULL, &error ); in Setup() 289 mOutput = malloc( mWidth * mHeight * 4 ); in Setup() 301 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, 1 }; in Execute() 314 if( ( error = IGetPreferredImageSize3D( device, mWidth, mHeight, mDepth ) ) ) in Setup() 318 …mImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NULL,… in Setup() 321 mOutput = malloc( mWidth * mHeight * mDepth * 4 ); in Setup() 333 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, mDepth }; in Execute() 346 if( ( error = IGetPreferredImageSize2D( device, mWidth, mHeight ) ) ) in Setup() 350 … mImage = create_image_2d( context, CL_MEM_WRITE_ONLY, &format, mWidth, mHeight, 0, NULL, &error ); in Setup() [all …]
|
D | action_classes.h | 135 size_t mWidth, mHeight; variable 151 size_t mWidth, mHeight, mDepth; variable 164 size_t mWidth, mHeight; variable 180 size_t mWidth, mHeight, mDepth; variable 199 size_t mWidth, mHeight, mDepth; variable 255 size_t mWidth, mHeight; variable 270 size_t mWidth, mHeight, mDepth; variable 285 size_t mWidth, mHeight; variable 300 size_t mWidth, mHeight, mDepth; variable 314 size_t mWidth, mHeight; variable
|
/external/angle/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 …]
|
/external/angle/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
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | DrawableBitmap.java | 28 private int mWidth; field in DrawableBitmap 38 mWidth = width; in DrawableBitmap() 111 final float width = mWidth; in draw() 162 mWidth = width; in resize() 168 return mWidth; in getWidth() 172 mWidth = width; in setWidth() 219 if (position.x + mWidth < 0 || position.x > mViewWidth in visibleAtPosition() 228 setCrop(horzFlip ? mWidth : 0, in setFlip() 230 horzFlip ? -mWidth : mWidth, in setFlip()
|
D | SpriteComponent.java | 29 private int mWidth; field in SpriteComponent 43 mWidth = width; in SpriteComponent() 59 mWidth = 0; in reset() 111 bitmap.setWidth(mWidth); in update() 170 return mWidth; in getWidth() 178 mWidth = width; in setSize()
|
D | ScrollerComponent.java | 25 private int mWidth; field in ScrollerComponent 59 mWidth = 0; in reset() 78 mWidth = width; in setup() 102 background.setWidth(mWidth); in update()
|
D | GameRenderer.java | 39 private int mWidth; field in GameRenderer 67 mWidth = gameWidth; in GameRenderer() 204 DrawableBitmap.beginDrawing(gl, mWidth, mHeight); in onDrawFrame() 272 float scaleX = (float)w / mWidth; in onSurfaceChanged() 274 final int viewportWidth = (int)(mWidth * scaleX); in onSurfaceChanged() 286 float ratio = (float) mWidth / mHeight; in onSurfaceChanged()
|
/external/libavc/fuzzer/ |
D | avc_dec_fuzzer.cpp | 96 uint32_t mWidth; member in Codec 104 mWidth = 0; in Codec() 220 sizes[0] = mWidth * mHeight; in allocFrame() 221 sizes[1] = mWidth * mHeight >> 1; in allocFrame() 225 sizes[0] = mWidth * mHeight * 2; in allocFrame() 229 sizes[0] = mWidth * mHeight * 2; in allocFrame() 233 sizes[0] = mWidth * mHeight * 4; in allocFrame() 239 sizes[0] = mWidth * mHeight; in allocFrame() 240 sizes[1] = mWidth * mHeight >> 2; in allocFrame() 241 sizes[2] = mWidth * mHeight >> 2; in allocFrame() [all …]
|
/external/libhevc/fuzzer/ |
D | hevc_dec_fuzzer.cpp | 96 uint32_t mWidth; member in Codec 104 mWidth = 0; in Codec() 224 sizes[0] = mWidth * mHeight; in allocFrame() 225 sizes[1] = mWidth * mHeight >> 1; in allocFrame() 229 sizes[0] = mWidth * mHeight * 2; in allocFrame() 233 sizes[0] = mWidth * mHeight * 2; in allocFrame() 237 sizes[0] = mWidth * mHeight * 4; in allocFrame() 243 sizes[0] = mWidth * mHeight; in allocFrame() 244 sizes[1] = mWidth * mHeight >> 2; in allocFrame() 245 sizes[2] = mWidth * mHeight >> 2; in allocFrame() [all …]
|
/external/libmpeg2/fuzzer/ |
D | mpeg2_dec_fuzzer.cpp | 85 uint32_t mWidth; member in Codec 95 mWidth = 0; in Codec() 293 sizes[0] = mWidth * mHeight; in allocFrame() 294 sizes[1] = ALIGN2(mWidth) * ALIGN2(mHeight) >> 1; in allocFrame() 298 sizes[0] = mWidth * mHeight * 2; in allocFrame() 302 sizes[0] = mWidth * mHeight * 2; in allocFrame() 306 sizes[0] = mWidth * mHeight * 4; in allocFrame() 312 sizes[0] = mWidth * mHeight; in allocFrame() 313 sizes[1] = ALIGN2(mWidth) * ALIGN2(mHeight) >> 2; in allocFrame() 314 sizes[2] = ALIGN2(mWidth) * ALIGN2(mHeight) >> 2; in allocFrame() [all …]
|
/external/angle/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()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | SurfaceD3D.cpp | 48 mWidth(static_cast<EGLint>(attribs.get(EGL_WIDTH, 0))), in SurfaceD3D() 57 mWidth = -1; in SurfaceD3D() 63 mFixedWidth = mWidth; in SurfaceD3D() 245 mWidth = backbufferWidth; in resizeSwapChain() 271 mWidth = backbufferWidth; in resetSwapChain() 289 if (x + width > mWidth) in swapRect() 291 width = mWidth - x; in swapRect() 363 return swapRect(displayD3D, 0, 0, mWidth, mHeight); in swap() 404 return mWidth; in getWidth()
|
/external/angle/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()
|
/external/angle/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 | 81 mWidth(0), in IOSurfaceSurfaceCGL() 92 mWidth = static_cast<int>(attribs.get(EGL_WIDTH)); in IOSurfaceSurfaceCGL() 163 mCGLContext, GL_TEXTURE_RECTANGLE, format.nativeInternalFormat, mWidth, mHeight, in bindTexImage() 193 return mWidth; in getWidth() 292 mCGLContext, GL_TEXTURE_RECTANGLE, format.nativeInternalFormat, mWidth, mHeight, in createDefaultFramebuffer()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Renderbuffer.cpp | 253 mWidth = 0; in RenderbufferStorage() 265 return mWidth; in getWidth() 289 mWidth = renderTarget->getWidth(); in Colorbuffer() 317 mWidth = width; in Colorbuffer() 367 mWidth = depthStencil->getWidth(); in DepthStencilbuffer() 395 mWidth = width; in DepthStencilbuffer()
|
/external/angle/src/libANGLE/ |
D | Renderbuffer.cpp | 27 : mWidth(0), mHeight(0), mFormat(GL_RGBA4), mSamples(0), mInitState(InitState::MayNeedInit) in RenderbufferState() 34 return mWidth; in getWidth() 58 mWidth = static_cast<GLsizei>(width); in update() 154 return mState.mWidth; in getWidth() 213 size *= mState.mWidth; in getMemorySize() 236 return Extents(mState.mWidth, mState.mHeight, 1); in getAttachmentSize()
|
/external/angle/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()
|
/external/angle/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()
|
/external/angle/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()
|
/external/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()
|
/external/angle/src/libANGLE/renderer/gl/egl/ozone/ |
D | DisplayOzone.cpp | 103 mWidth(0), in Buffer() 172 if (mWidth == width && mHeight == height) in resize() 229 mWidth = width; in resize() 277 if (drmModeAddFB2(fd, mWidth, mHeight, mDRMFormatFB, handles, pitches, offsets, &mDRMFB, 0)) in getDRMFB() 359 mWidth(1280), in DisplayOzone() 417 mWidth = mMode->hdisplay; in hasUsableScreen() 735 double x = n->x * 2. / mWidth - 1; in drawWithTexture() 737 double halfw = n->width * 1. / mWidth; in drawWithTexture() 739 double borderw = n->borderWidth * 2. / mWidth; in drawWithTexture() 756 sm->setViewport(gl::Rectangle(0, 0, mWidth, mHeight)); in drawWithTexture() [all …]
|
/external/angle/util/ozone/ |
D | OzoneWindow.cpp | 21 mNative.width = mWidth = width; in initialize() 57 mNative.width = mWidth = width; in resize()
|