/dports/graphics/rigsofrods-pagedgeometry/ogre-pagedgeometry-1.2.0/source/ |
H A D | PropertyMaps.cpp | 96 PixelBox tmpPixels(Box(0, 0, buff->getWidth(), buff->getHeight()), PF_R8G8B8A8); in DensityMap() local 97 tmpPixels.data = new uint8[tmpPixels.getConsecutiveSize()]; in DensityMap() 98 buff->blitToMemory(tmpPixels); in DensityMap() 111 uint8 *inputPtr = (uint8*)tmpPixels.data + channelOffset; in DensityMap() 120 delete[] static_cast<uint8*>(tmpPixels.data); in DensityMap() 288 PixelBox tmpPixels(Box(0, 0, buff->getWidth(), buff->getHeight()), PF_R8G8B8A8); in ColorMap() local 289 tmpPixels.data = new uint8[tmpPixels.getConsecutiveSize()]; in ColorMap() 290 buff->blitToMemory(tmpPixels); in ColorMap() 303 uint8 *inputPtr = (uint8*)tmpPixels.data + channelOffset; in ColorMap() 315 delete[] static_cast<uint8*>(tmpPixels.data); in ColorMap()
|
/dports/games/stuntrally/stuntrally-2.6.1/source/paged-geom/ |
H A D | PropertyMaps.cpp | 104 PixelBox tmpPixels(Box(0, 0, buff->getWidth(), buff->getHeight()), PF_R8G8B8A8); in DensityMap() local 105 tmpPixels.data = new uint8[tmpPixels.getConsecutiveSize()]; in DensityMap() 106 buff->blitToMemory(tmpPixels); in DensityMap() 119 uint8 *inputPtr = (uint8*)tmpPixels.data + channelOffset; in DensityMap() 128 delete[] static_cast<uint8*>(tmpPixels.data); in DensityMap() 336 PixelBox tmpPixels(Box(0, 0, buff->getWidth(), buff->getHeight()), PF_R8G8B8A8); in ColorMap() local 337 tmpPixels.data = new uint8[tmpPixels.getConsecutiveSize()]; in ColorMap() 338 buff->blitToMemory(tmpPixels); in ColorMap() 351 uint8 *inputPtr = (uint8*)tmpPixels.data + channelOffset; in ColorMap() 363 delete[] static_cast<uint8*>(tmpPixels.data); in ColorMap()
|
/dports/games/hedgewars-server/hedgewars-src-1.0.0/hedgewars/ |
H A D | uLandTexture.pas | 45 tmpPixels: array [0..TEXSIZE - 1, 0..TEXSIZE - 1] of LongWord; 53 Move(LandPixels[y * TEXSIZE + ty, x * TEXSIZE], tmpPixels[ty, 0], sizeof(Longword) * TEXSIZE); 55 Pixels:= @tmpPixels 63 tmpPixels[ty, tx]:= Land[y * TEXSIZE + ty, x * TEXSIZE + tx] or AMask; 65 Pixels2:= @tmpPixels
|
/dports/games/hedgewars/hedgewars-src-1.0.0/hedgewars/ |
H A D | uLandTexture.pas | 45 tmpPixels: array [0..TEXSIZE - 1, 0..TEXSIZE - 1] of LongWord; 53 Move(LandPixels[y * TEXSIZE + ty, x * TEXSIZE], tmpPixels[ty, 0], sizeof(Longword) * TEXSIZE); 55 Pixels:= @tmpPixels 63 tmpPixels[ty, tx]:= Land[y * TEXSIZE + ty, x * TEXSIZE + tx] or AMask; 65 Pixels2:= @tmpPixels
|
/dports/games/astromenace/astromenace-1.4.1/src/core/font/ |
H A D | font.cpp | 263 std::unique_ptr<uint8_t[]> tmpPixels(new uint8_t[FontCharsList.front()->FontMetrics.Width.i() * in LoadFontChar() local 265 memset(tmpPixels.get(), 255 /*white*/, FontCharsList.front()->FontMetrics.Width.i() * in LoadFontChar() 274 memcpy(tmpPixels.get() + StrideSrc + i * 4 + 3, in LoadFontChar() 287 FontCharsList.front()->Texture = vw_CreateTextureFromMemory(FakeTextureFileName, tmpPixels, in LoadFontChar() 316 std::unique_ptr<uint8_t[]> tmpPixels(new uint8_t[FontTextureWidth * FontTextureHeight * 4]); in vw_GenerateFontChars() local 317 memset(tmpPixels.get(), 0 /*black + transparent*/, FontTextureWidth * FontTextureHeight * 4); in vw_GenerateFontChars() 365 memcpy(tmpPixels.get() + tmpOffset + (CurrentPixelsX + i) * 4, in vw_GenerateFontChars() 368 memcpy(tmpPixels.get() + tmpOffset + (CurrentPixelsX + i) * 4 + 3, in vw_GenerateFontChars() 396 …GLtexture FontTexture = vw_CreateTextureFromMemory(tmpTextureName, tmpPixels, FontTextureWidth, Fo… in vw_GenerateFontChars()
|
/dports/lang/pocl/pocl-1.8/examples/AMD/ |
H A D | AMDSDK.patch | 283 - unsigned char * tmpPixels = new unsigned char[sizeBuffer]; 285 - if (tmpPixels == NULL) { 293 - fread(tmpPixels, sizeBuffer * sizeof(unsigned char), 1, fd); 299 - delete tmpPixels; 309 - delete tmpPixels; 323 - pixels_[(y * width + x)] = colors_[tmpPixels[index++]]; 327 - pixels_[(y * width + x)].z = tmpPixels[index++]; 328 - pixels_[(y * width + x)].y = tmpPixels[index++]; 329 - pixels_[(y * width + x)].x = tmpPixels[index++]; 342 - delete[] tmpPixels;
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/ |
H A D | GrOpFlushState.cpp | 108 std::unique_ptr<char[]> tmpPixels; in doUpload() local 111 tmpPixels.reset(new char[height * tightRB]); in doUpload() 117 if (!GrConvertPixels(tmpInfo, tmpPixels.get(), tightRB, srcInfo, buffer, rowBytes)) { in doUpload() 121 buffer = tmpPixels.get(); in doUpload()
|
H A D | GrSurfaceContext.cpp | 187 std::unique_ptr<char[]> tmpPixels; in readPixels() local 197 tmpPixels.reset(new char[size]()); in readPixels() 199 readDst = tmpPixels.get(); in readPixels() 382 std::unique_ptr<char[]> tmpPixels; in writePixels() local 388 tmpPixels.reset(new char[tmpRB * tmpInfo.height()]); in writePixels() 390 GrConvertPixels(tmpInfo, tmpPixels.get(), tmpRB, srcInfo, src, rowBytes, flip); in writePixels() 394 src = tmpPixels.get(); in writePixels()
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/ |
H A D | GrOpFlushState.cpp | 108 std::unique_ptr<char[]> tmpPixels; in doUpload() local 111 tmpPixels.reset(new char[height * tightRB]); in doUpload() 117 if (!GrConvertPixels(tmpInfo, tmpPixels.get(), tightRB, srcInfo, buffer, rowBytes)) { in doUpload() 121 buffer = tmpPixels.get(); in doUpload()
|
H A D | GrSurfaceContext.cpp | 187 std::unique_ptr<char[]> tmpPixels; in readPixels() local 197 tmpPixels.reset(new char[size]()); in readPixels() 199 readDst = tmpPixels.get(); in readPixels() 382 std::unique_ptr<char[]> tmpPixels; in writePixels() local 388 tmpPixels.reset(new char[tmpRB * tmpInfo.height()]); in writePixels() 390 GrConvertPixels(tmpInfo, tmpPixels.get(), tmpRB, srcInfo, src, rowBytes, flip); in writePixels() 394 src = tmpPixels.get(); in writePixels()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/ |
H A D | GrOpFlushState.cpp | 102 std::unique_ptr<char[]> tmpPixels; in doUpload() local 105 tmpPixels.reset(new char[height * tightRB]); in doUpload() 111 if (!GrConvertPixels(tmpInfo, tmpPixels.get(), tightRB, srcInfo, buffer, rowBytes)) { in doUpload() 115 buffer = tmpPixels.get(); in doUpload()
|
H A D | GrSurfaceContext.cpp | 253 std::unique_ptr<char[]> tmpPixels; in readPixels() local 263 tmpPixels.reset(new char[size]()); in readPixels() 265 readDst = tmpPixels.get(); in readPixels() 444 std::unique_ptr<char[]> tmpPixels; in writePixels() local 450 tmpPixels.reset(new char[tmpRB * tmpInfo.height()]); in writePixels() 452 GrConvertPixels(tmpInfo, tmpPixels.get(), tmpRB, srcInfo, src, rowBytes, flip); in writePixels() 456 src = tmpPixels.get(); in writePixels()
|
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/ |
H A D | GrOpFlushState.cpp | 108 std::unique_ptr<char[]> tmpPixels; in doUpload() local 111 tmpPixels.reset(new char[height * tightRB]); in doUpload() 117 if (!GrConvertPixels(tmpInfo, tmpPixels.get(), tightRB, srcInfo, buffer, rowBytes)) { in doUpload() 121 buffer = tmpPixels.get(); in doUpload()
|
H A D | GrSurfaceContext.cpp | 187 std::unique_ptr<char[]> tmpPixels; in readPixels() local 197 tmpPixels.reset(new char[size]()); in readPixels() 199 readDst = tmpPixels.get(); in readPixels() 382 std::unique_ptr<char[]> tmpPixels; in writePixels() local 388 tmpPixels.reset(new char[tmpRB * tmpInfo.height()]); in writePixels() 390 GrConvertPixels(tmpInfo, tmpPixels.get(), tmpRB, srcInfo, src, rowBytes, flip); in writePixels() 394 src = tmpPixels.get(); in writePixels()
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/ |
H A D | GrOpFlushState.cpp | 108 std::unique_ptr<char[]> tmpPixels; in doUpload() local 111 tmpPixels.reset(new char[height * tightRB]); in doUpload() 117 if (!GrConvertPixels(tmpInfo, tmpPixels.get(), tightRB, srcInfo, buffer, rowBytes)) { in doUpload() 121 buffer = tmpPixels.get(); in doUpload()
|
H A D | GrSurfaceContext.cpp | 187 std::unique_ptr<char[]> tmpPixels; in readPixels() local 197 tmpPixels.reset(new char[size]()); in readPixels() 199 readDst = tmpPixels.get(); in readPixels() 382 std::unique_ptr<char[]> tmpPixels; in writePixels() local 388 tmpPixels.reset(new char[tmpRB * tmpInfo.height()]); in writePixels() 390 GrConvertPixels(tmpInfo, tmpPixels.get(), tmpRB, srcInfo, src, rowBytes, flip); in writePixels() 394 src = tmpPixels.get(); in writePixels()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/ |
H A D | GrOpFlushState.cpp | 115 std::unique_ptr<char[]> tmpPixels; in doUpload() local 118 tmpPixels.reset(new char[height * tightRB]); in doUpload() 124 if (!GrConvertPixels(tmpInfo, tmpPixels.get(), tightRB, srcInfo, buffer, rowBytes)) { in doUpload() 128 buffer = tmpPixels.get(); in doUpload()
|
H A D | GrSurfaceContext.cpp | 291 std::unique_ptr<char[]> tmpPixels; in readPixels() local 301 tmpPixels = std::make_unique<char[]>(size); in readPixels() 303 readDst = tmpPixels.get(); in readPixels() 482 std::unique_ptr<char[]> tmpPixels; in writePixels() local 488 tmpPixels.reset(new char[tmpRB * tmpInfo.height()]); in writePixels() 490 GrConvertPixels(tmpInfo, tmpPixels.get(), tmpRB, srcInfo, src, rowBytes, flip); in writePixels() 494 src = tmpPixels.get(); in writePixels()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/gpu/ |
H A D | GrContext.cpp | 300 SkAutoSTMalloc<128 * 128, uint32_t> tmpPixels(0); in writeSurfacePixels() local 332 tmpPixels.reset(width * height); in writeSurfacePixels() 334 tmpPixels.get())) { in writeSurfacePixels() 338 buffer = tmpPixels.get(); in writeSurfacePixels() 372 tmpPixels.reset(width * height); in writeSurfacePixels() 374 tmpPixels.get())) { in writeSurfacePixels() 378 buffer = tmpPixels.get(); in writeSurfacePixels()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/gl/ |
H A D | FramebufferGL.cpp | 237 : tmpPixels(nullptr), clientPixels(nullptr), enabled(false) in ScopedEXTTextureNorm16ReadbackWorkaround() 242 if (tmpPixels) in ~ScopedEXTTextureNorm16ReadbackWorkaround() 244 delete[] tmpPixels; in ~ScopedEXTTextureNorm16ReadbackWorkaround() 260 ASSERT(tmpPixels == nullptr); in Initialize() 283 tmpPixels = new GLubyte[checkedAllocatedBytes.ValueOrDie()]; in Initialize() 284 memset(tmpPixels, 0, checkedAllocatedBytes.ValueOrDie()); in Initialize() 290 GLubyte *Pixels() const { return tmpPixels ? tmpPixels : clientPixels; } in Pixels() 296 GLubyte *tmpPixels; member in rx::__anon3b5ca9640111::ScopedEXTTextureNorm16ReadbackWorkaround 315 GLubyte *tmpPixels) in RearrangeEXTTextureNorm16Pixels() argument 317 ASSERT(tmpPixels != nullptr); in RearrangeEXTTextureNorm16Pixels() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/libANGLE/renderer/gl/ |
H A D | FramebufferGL.cpp | 239 : tmpPixels(nullptr), clientPixels(nullptr), enabled(false) in ScopedEXTTextureNorm16ReadbackWorkaround() 244 if (tmpPixels) in ~ScopedEXTTextureNorm16ReadbackWorkaround() 246 delete[] tmpPixels; in ~ScopedEXTTextureNorm16ReadbackWorkaround() 262 ASSERT(tmpPixels == nullptr); in Initialize() 285 tmpPixels = new GLubyte[checkedAllocatedBytes.ValueOrDie()]; in Initialize() 286 memset(tmpPixels, 0, checkedAllocatedBytes.ValueOrDie()); in Initialize() 292 GLubyte *Pixels() const { return tmpPixels ? tmpPixels : clientPixels; } in Pixels() 298 GLubyte *tmpPixels; member in rx::__anon839ea1090111::ScopedEXTTextureNorm16ReadbackWorkaround 317 GLubyte *tmpPixels) in RearrangeEXTTextureNorm16Pixels() argument 319 ASSERT(tmpPixels != nullptr); in RearrangeEXTTextureNorm16Pixels() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tests/ |
H A D | TransferPixelsTest.cpp | 83 std::unique_ptr<char[]> tmpPixels(new char[tmpRowBytes * h]); in read_pixels_from_texture() local 85 tmpPixels.get(), tmpRowBytes)) { in read_pixels_from_texture() 91 return GrConvertPixels(dstInfo, dst, rowBytes, tmpInfo, tmpPixels.get(), tmpRowBytes, in read_pixels_from_texture()
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/gpu/ |
H A D | GrContext.cpp | 717 SkAutoSTMalloc<128 * 128, uint32_t> tmpPixels(0); in writeSurfacePixels() local 722 tmpPixels.reset(width * height); in writeSurfacePixels() 724 tmpPixels.get())) { in writeSurfacePixels() 728 buffer = tmpPixels.get(); in writeSurfacePixels()
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/gl/ |
H A D | GrGLGpu.cpp | 3661 char* tmpPixels = (char*)pixelStorage.reset(totalSize); in onCreateBackendTexture() local 3663 GrFillInData(textureColorType, w, h, individualMipOffsets, tmpPixels, *color); in onCreateBackendTexture() 3670 texels[i] = {&(tmpPixels[offset]), currentWidth * bytesPerPixel}; in onCreateBackendTexture()
|
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/gl/ |
H A D | GrGLGpu.cpp | 3661 char* tmpPixels = (char*)pixelStorage.reset(totalSize); in onCreateBackendTexture() local 3663 GrFillInData(textureColorType, w, h, individualMipOffsets, tmpPixels, *color); in onCreateBackendTexture() 3670 texels[i] = {&(tmpPixels[offset]), currentWidth * bytesPerPixel}; in onCreateBackendTexture()
|