Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/metal/
DTextureMtl.h48 gl::Buffer *unpackBuffer,
56 gl::Buffer *unpackBuffer,
230 gl::Buffer *unpackBuffer,
238 gl::Buffer *unpackBuffer,
309 gl::Buffer *unpackBuffer,
322 gl::Buffer *unpackBuffer,
DTextureMtl.mm1028 gl::Buffer *unpackBuffer,
1033 return setImageImpl(context, index, dstFormatInfo, size, format, type, unpack, unpackBuffer,
1043 gl::Buffer *unpackBuffer,
1048 return setSubImageImpl(context, index, area, formatInfo, type, unpack, unpackBuffer, pixels);
1061 gl::Buffer *unpackBuffer = glState.getTargetBuffer(gl::BufferBinding::PixelUnpack);
1064 unpackBuffer, pixels);
1079 gl::Buffer *unpackBuffer = glState.getTargetBuffer(gl::BufferBinding::PixelUnpack);
1081 return setSubImageImpl(context, index, area, formatInfo, GL_UNSIGNED_BYTE, unpack, unpackBuffer,
1737 gl::Buffer *unpackBuffer,
1764 *srcFormatInfo, srcType, unpack, unpackBuffer, pixels);
[all …]
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.h136 gl::Buffer *unpackBuffer,
145 gl::Buffer *unpackBuffer,
160 bool isFastUnpackable(const gl::Buffer *unpackBuffer,
165 gl::Buffer *unpackBuffer,
248 gl::Buffer *unpackBuffer,
256 gl::Buffer *unpackBuffer,
381 gl::Buffer *unpackBuffer,
389 gl::Buffer *unpackBuffer,
515 gl::Buffer *unpackBuffer,
523 gl::Buffer *unpackBuffer,
[all …]
DTextureD3D.cpp38 gl::Buffer *unpackBuffer, in GetUnpackPointer() argument
43 if (unpackBuffer) in GetUnpackPointer()
52 BufferD3D *bufferD3D = GetImplAs<BufferD3D>(unpackBuffer); in GetUnpackPointer()
239 gl::Buffer *unpackBuffer, in setImageImpl() argument
256 ANGLE_TRY(GetUnpackPointer(context, unpack, unpackBuffer, pixels, layerOffset, &pixelData)); in setImageImpl()
285 gl::Buffer *unpackBuffer, in subImage() argument
291 ANGLE_TRY(GetUnpackPointer(context, unpack, unpackBuffer, pixels, layerOffset, &pixelData)); in subImage()
329 gl::Buffer *unpackBuffer = context->getState().getTargetBuffer(gl::BufferBinding::PixelUnpack); in setCompressedImageImpl() local
330 ANGLE_TRY(GetUnpackPointer(context, unpack, unpackBuffer, pixels, layerOffset, &pixelData)); in setCompressedImageImpl()
352 gl::Buffer *unpackBuffer = context->getState().getTargetBuffer(gl::BufferBinding::PixelUnpack); in subImageCompressed() local
[all …]
DRendererD3D.h386 gl::Buffer *unpackBuffer,
/external/angle/src/libANGLE/renderer/gl/
DTextureGL.h77 gl::Buffer *unpackBuffer,
85 gl::Buffer *unpackBuffer,
245 const gl::Buffer *unpackBuffer,
256 const gl::Buffer *unpackBuffer,
DTextureGL.cpp172 gl::Buffer *unpackBuffer, in setImage() argument
180 if (features.unpackOverlappingRowsSeparatelyUnpackBuffer.enabled && unpackBuffer && in setImage()
195 unpackBuffer, 0, pixels); in setImage()
202 GetImplAs<ContextGL>(context), size, unpack, unpackBuffer, format, type, in setImage()
219 unpackBuffer, pixels); in setImage()
323 gl::Buffer *unpackBuffer, in setSubImage() argument
345 if (features.unpackOverlappingRowsSeparatelyUnpackBuffer.enabled && unpackBuffer && in setSubImage()
349 unpackBuffer, 0, pixels)); in setSubImage()
360 GetImplAs<ContextGL>(context), size, unpack, unpackBuffer, format, type, in setSubImage()
368 unpack, unpackBuffer, pixels)); in setSubImage()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DPixelTransfer11.cpp153 gl::Buffer *unpackBuffer, in copyBufferToTexture() argument
160 ASSERT(unpackBuffer); in copyBufferToTexture()
185 Buffer11 *bufferStorage11 = GetAs<Buffer11>(unpackBuffer->getImplementation()); in copyBufferToTexture()
DPixelTransfer11.h49 gl::Buffer *unpackBuffer,
DRenderer11.h334 gl::Buffer *unpackBuffer,
DRenderer11.cpp3340 gl::Buffer *unpackBuffer, in fastCopyBufferToTexture() argument
3348 return mPixelTransfer->copyBufferToTexture(context, unpack, unpackBuffer, offset, in fastCopyBufferToTexture()
/external/angle/src/libANGLE/renderer/null/
DTextureNULL.h31 gl::Buffer *unpackBuffer,
39 gl::Buffer *unpackBuffer,
DTextureNULL.cpp28 gl::Buffer *unpackBuffer, in setImage() argument
42 gl::Buffer *unpackBuffer, in setSubImage() argument
/external/angle/src/tests/perf_tests/
DTracePerfTest.cpp510 GLint unpackBuffer = 0; in TexImage2DMinimizedProc() local
511 glGetIntegerv(GL_PIXEL_UNPACK_BUFFER_BINDING, &unpackBuffer); in TexImage2DMinimizedProc()
512 if (unpackBuffer) in TexImage2DMinimizedProc()
517 if (unpackBuffer) in TexImage2DMinimizedProc()
519 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, unpackBuffer); in TexImage2DMinimizedProc()
549 GLint unpackBuffer = 0; in TexImage3DMinimizedProc() local
550 glGetIntegerv(GL_PIXEL_UNPACK_BUFFER_BINDING, &unpackBuffer); in TexImage3DMinimizedProc()
551 if (unpackBuffer) in TexImage3DMinimizedProc()
557 if (unpackBuffer) in TexImage3DMinimizedProc()
559 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, unpackBuffer); in TexImage3DMinimizedProc()
/external/angle/src/libANGLE/renderer/vulkan/
DTextureVk.h51 gl::Buffer *unpackBuffer,
59 gl::Buffer *unpackBuffer,
392 gl::Buffer *unpackBuffer,
400 gl::Buffer *unpackBuffer,
DTextureVk.cpp356 gl::Buffer *unpackBuffer, in setImage() argument
361 return setImageImpl(context, index, formatInfo, size, type, unpack, unpackBuffer, pixels); in setImage()
370 gl::Buffer *unpackBuffer, in setSubImage() argument
379 return setSubImageImpl(context, index, area, formatInfo, type, unpack, unpackBuffer, pixels, in setSubImage()
394 gl::Buffer *unpackBuffer = glState.getTargetBuffer(gl::BufferBinding::PixelUnpack); in setCompressedImage() local
396 return setImageImpl(context, index, formatInfo, size, GL_UNSIGNED_BYTE, unpack, unpackBuffer, in setCompressedImage()
415 gl::Buffer *unpackBuffer = glState.getTargetBuffer(gl::BufferBinding::PixelUnpack); in setCompressedSubImage() local
417 return setSubImageImpl(context, index, area, formatInfo, GL_UNSIGNED_BYTE, unpack, unpackBuffer, in setCompressedSubImage()
427 gl::Buffer *unpackBuffer, in setImageImpl() argument
444 unpackBuffer, pixels, vkFormat); in setImageImpl()
[all …]
/external/angle/src/tests/gl_tests/
DIncompleteTextureTest.cpp195 GLBuffer unpackBuffer; in TEST_P() local
196 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, unpackBuffer); in TEST_P()
DMemoryBarrierTest.cpp1416 GLBuffer unpackBuffer; in pixelBufferBitBufferWriteThenUnpack() local
1419 createStorageBuffer(writeResource, unpackBuffer, unpackTextureBuffer, sizeof(kInitData), in pixelBufferBitBufferWriteThenUnpack()
1447 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, unpackBuffer); in pixelBufferBitBufferWriteThenUnpack()
1525 GLBuffer unpackBuffer; in pixelBufferBitUnpackThenBufferWrite() local
1529 createStorageBuffer(writeResource, unpackBuffer, unpackTextureBuffer, sizeof(kInitData), in pixelBufferBitUnpackThenBufferWrite()
1533 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, unpackBuffer); in pixelBufferBitUnpackThenBufferWrite()
DTextureTest.cpp9723 GLBuffer unpackBuffer; in TEST_P() local
9725 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, unpackBuffer.get()); in TEST_P()
9750 GLBuffer unpackBuffer; in TEST_P() local
9752 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, unpackBuffer.get()); in TEST_P()
/external/angle/src/libANGLE/renderer/
DTextureImpl.h56 gl::Buffer *unpackBuffer,
64 gl::Buffer *unpackBuffer,
/external/angle/src/libANGLE/
DTexture.cpp45 InitState DetermineInitState(const Context *context, Buffer *unpackBuffer, const uint8_t *pixels) in DetermineInitState() argument
53 return (!pixels && !unpackBuffer) ? InitState::MayNeedInit : InitState::Initialized; in DetermineInitState()
1253 Buffer *unpackBuffer, in setImage() argument
1273 unpackBuffer, pixels)); in setImage()
1275 InitState initState = DetermineInitState(context, unpackBuffer, pixels); in setImage()
1287 Buffer *unpackBuffer, in setSubImage() argument
1300 ANGLE_TRY(mTexture->setSubImage(context, index, area, format, type, unpackState, unpackBuffer, in setSubImage()
1332 Buffer *unpackBuffer = context->getState().getTargetBuffer(BufferBinding::PixelUnpack); in setCompressedImage() local
1334 InitState initState = DetermineInitState(context, unpackBuffer, pixels); in setCompressedImage()
DTexture.h401 Buffer *unpackBuffer,
411 Buffer *unpackBuffer,
DContext.cpp5310 gl::Buffer *unpackBuffer = mState.getTargetBuffer(gl::BufferBinding::PixelUnpack); in texImage2D() local
5314 ANGLE_CONTEXT_TRY(texture->setImage(this, mState.getUnpackState(), unpackBuffer, target, level, in texImage2D()
5346 gl::Buffer *unpackBuffer = mState.getTargetBuffer(gl::BufferBinding::PixelUnpack); in texImage3D() local
5350 ANGLE_CONTEXT_TRY(texture->setImage(this, mState.getUnpackState(), unpackBuffer, target, level, in texImage3D()
5391 gl::Buffer *unpackBuffer = mState.getTargetBuffer(gl::BufferBinding::PixelUnpack); in texSubImage2D() local
5393 ANGLE_CONTEXT_TRY(texture->setSubImage(this, mState.getUnpackState(), unpackBuffer, target, in texSubImage2D()
5435 gl::Buffer *unpackBuffer = mState.getTargetBuffer(gl::BufferBinding::PixelUnpack); in texSubImage3D() local
5437 ANGLE_CONTEXT_TRY(texture->setSubImage(this, mState.getUnpackState(), unpackBuffer, target, in texSubImage3D()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.h348 gl::Buffer *unpackBuffer,
DRenderer9.cpp966 gl::Buffer *unpackBuffer, in fastCopyBufferToTexture() argument