Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/mesa/main/
Dtexstore.c106 GLenum srcFormat, GLenum srcType, in _mesa_memcpy_texture() argument
111 srcFormat, srcType); in _mesa_memcpy_texture()
113 srcWidth, srcHeight, srcFormat, srcType); in _mesa_memcpy_texture()
115 srcPacking, srcAddr, srcWidth, srcHeight, srcFormat, srcType, 0, 0, 0); in _mesa_memcpy_texture()
171 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z32()
174 depthScale, srcType, src, srcPacking); in _mesa_texstore_z32()
201 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_x8_z24()
204 depthScale, srcType, src, srcPacking); in _mesa_texstore_x8_z24()
231 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z24_x8()
236 depthScale, srcType, src, srcPacking); in _mesa_texstore_z24_x8()
[all …]
Dtexcompress_s3tc.c60 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_rgb_dxt1()
62 …_mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType) != srccomps * srcWidth * sizeof(G… in _mesa_texstore_rgb_dxt1()
77 srcFormat, srcType, srcAddr, in _mesa_texstore_rgb_dxt1()
85 srcFormat, srcType, 0, 0); in _mesa_texstore_rgb_dxt1()
114 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_rgba_dxt1()
116 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType) != rgbaRowStride || in _mesa_texstore_rgba_dxt1()
134 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt1()
141 srcFormat, srcType, 0, 0); in _mesa_texstore_rgba_dxt1()
169 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_rgba_dxt3()
171 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType) != rgbaRowStride || in _mesa_texstore_rgba_dxt3()
[all …]
Dtexcompress_bptc.c133 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_bptc_rgba_unorm()
152 srcFormat, srcType, srcAddr, in _mesa_texstore_bptc_rgba_unorm()
159 srcFormat, srcType, 0, 0); in _mesa_texstore_bptc_rgba_unorm()
161 srcFormat, srcType); in _mesa_texstore_bptc_rgba_unorm()
182 srcType != GL_FLOAT || in texstore_bptc_rgb_float()
197 srcFormat, srcType, srcAddr, in texstore_bptc_rgb_float()
204 srcFormat, srcType, 0, 0); in texstore_bptc_rgb_float()
206 srcFormat, srcType); in texstore_bptc_rgb_float()
227 srcFormat, srcType, in _mesa_texstore_bptc_rgb_signed_float()
240 srcFormat, srcType, in _mesa_texstore_bptc_rgb_unsigned_float()
Dpack.c258 GLenum srcFormat, GLenum srcType, const GLvoid *src, in extract_uint_indexes() argument
263 assert(srcType == GL_BITMAP || in extract_uint_indexes()
264 srcType == GL_UNSIGNED_BYTE || in extract_uint_indexes()
265 srcType == GL_BYTE || in extract_uint_indexes()
266 srcType == GL_UNSIGNED_SHORT || in extract_uint_indexes()
267 srcType == GL_SHORT || in extract_uint_indexes()
268 srcType == GL_UNSIGNED_INT || in extract_uint_indexes()
269 srcType == GL_INT || in extract_uint_indexes()
270 srcType == GL_UNSIGNED_INT_24_8_EXT || in extract_uint_indexes()
271 srcType == GL_HALF_FLOAT_ARB || in extract_uint_indexes()
[all …]
Dtexcompress_fxt1.c58 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_fxt1()
73 srcFormat, srcType, srcAddr, in _mesa_texstore_fxt1()
81 srcFormat, srcType, 0, 0); in _mesa_texstore_fxt1()
84 srcType) / sizeof(uint8_t); in _mesa_texstore_fxt1()
Dpack.h54 GLenum srcType, const GLvoid *source,
67 GLenum srcType, const GLvoid *source,
102 const void *src, GLenum srcFormat, GLenum srcType,
109 const void *src, GLenum srcFormat, GLenum srcType,
Dtexstore.h68 GLenum srcFormat, GLenum srcType, \
83 UNUSED GLenum srcFormat, UNUSED GLenum srcType, \
102 GLenum srcFormat, GLenum srcType,
109 GLenum srcFormat, GLenum srcType,
Dblit.c114 GLenum srcType = _mesa_get_format_datatype(srcFormat); in compatible_color_datatypes() local
117 if (srcType != GL_INT && srcType != GL_UNSIGNED_INT) { in compatible_color_datatypes()
118 assert(srcType == GL_UNSIGNED_NORMALIZED || in compatible_color_datatypes()
119 srcType == GL_SIGNED_NORMALIZED || in compatible_color_datatypes()
120 srcType == GL_FLOAT); in compatible_color_datatypes()
122 srcType = GL_FLOAT; in compatible_color_datatypes()
133 return srcType == dstType; in compatible_color_datatypes()
Dtexcompress_rgtc.c103 srcFormat, srcType, srcAddr, in _mesa_texstore_red_rgtc1()
156 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_red_rgtc1()
215 srcFormat, srcType, srcAddr, in _mesa_texstore_rg_rgtc2()
280 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_rg_rgtc2()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DIndexDataManager.cpp90 gl::DrawElementsType srcType, in StreamInIndexBuffer() argument
107 ConvertIndices(srcType, dstType, data, count, output, usePrimitiveRestartFixedIndex); in StreamInIndexBuffer()
136 gl::DrawElementsType srcType, in prepareIndexData() argument
143 GLuint srcTypeBytes = gl::GetDrawElementsTypeSize(srcType); in prepareIndexData()
144 GLuint srcTypeShift = gl::GetDrawElementsTypeShift(srcType); in prepareIndexData()
152 translated->srcIndexData.srcIndexType = srcType; in prepareIndexData()
163 return streamIndexData(context, indices, count, srcType, dstType, in prepareIndexData()
171 bool offsetAligned = IsOffsetAligned(srcType, offset); in prepareIndexData()
174 if (offsetAligned && buffer->supportsDirectBinding() && dstType == srcType) in prepareIndexData()
205 ANGLE_TRY(streamIndexData(context, bufferData + offset, count, srcType, dstType, in prepareIndexData()
[all …]
DIndexDataManager.h73 gl::DrawElementsType srcType,
84 gl::DrawElementsType srcType,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_render_utils.h130 gl::DrawElementsType srcType; member
142 gl::DrawElementsType srcType; member
372 gl::DrawElementsType srcType,
377 gl::DrawElementsType srcType,
388 gl::DrawElementsType srcType,
401 gl::DrawElementsType srcType,
Dmtl_render_utils.mm1915 gl::DrawElementsType srcType,
1918 size_t elementSize = gl::GetDrawElementsTypeSize(srcType);
1920 int srcTypeKey = static_cast<int>(srcType);
1935 switch (srcType)
1963 gl::DrawElementsType srcType,
1968 size_t elementSize = gl::GetDrawElementsTypeSize(srcType);
1970 int srcTypeKey = static_cast<int>(srcType);
1985 switch (srcType)
2040 getIndexConversionPipeline(contextMtl, params.srcType, params.srcOffset);
2116 contextMtl, params.srcType, params.indexCount, elementBufferMtl->getCurrentBuffer(),
[all …]
DTextureMtl.h218 GLenum srcType,
/third_party/node/deps/v8/src/builtins/
Dtyped-array-set.tq204 // 11. Let srcType be the Element Type value in Table 62 for srcName.
266 // 24. If srcType is the same as targetType, then
267 // a. NOTE: If srcType and targetType are the same, the transfer must
299 // srcType, true, Unordered).
/third_party/skia/tests/
DVkHardwareBufferTest.cpp1082 SrcType srcType, DstType dstType, bool shareSyncs) { in run_test() argument
1083 if (SrcType::kCPU == srcType && shareSyncs) { in run_test()
1090 if (SrcType::kVulkan == srcType) { in run_test()
1092 } else if (SrcType::kEGL == srcType) { in run_test()
1141 if (SrcType::kCPU == srcType) { in run_test()
1163 if (SrcType::kCPU == srcType) { in run_test()
/third_party/skia/gm/
Dxfermodes.cpp134 void draw_mode(SkCanvas* canvas, SkBlendMode mode, SrcType srcType, SkScalar x, SkScalar y) { in draw_mode() argument
143 switch (srcType) { in draw_mode()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_readpixels.c79 GLenum srcType = _mesa_get_format_datatype(rb->Format); in needs_integer_signed_unsigned_conversion() local
81 if ((srcType == GL_INT && in needs_integer_signed_unsigned_conversion()
85 (srcType == GL_UNSIGNED_INT && in needs_integer_signed_unsigned_conversion()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DContext11.cpp66 bool DrawCallHasStreamingElementArray(const gl::Context *context, gl::DrawElementsType srcType) in DrawCallHasStreamingElementArray() argument
72 UsePrimitiveRestartWorkaround(glState.isPrimitiveRestartEnabled(), srcType); in DrawCallHasStreamingElementArray()
74 (srcType == gl::DrawElementsType::UnsignedInt || primitiveRestartWorkaround) in DrawCallHasStreamingElementArray()
79 switch (ClassifyIndexStorage(glState, elementArrayBuffer, srcType, dstType, 0)) in DrawCallHasStreamingElementArray()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFramebufferBlitTests.cpp1024 tcu::TextureChannelClass srcType = tcu::getTextureChannelClass(srcTexFmt.type); in init() local
1029 …if (((srcType == tcu::TEXTURECHANNELCLASS_FLOATING_POINT || srcType == tcu::TEXTURECHANNELCLASS_UN… in init()
1031 …((srcType == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER) != (dstType == tcu::TEXTURECHANNELCLASS_SIGN… in init()
1032 …((srcType == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER) != (dstType == tcu::TEXTURECHANNELCLASS_UN… in init()
/third_party/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp1508 SpvId SPIRVCodeGenerator::writeMatrixCopy(SpvId src, const Type& srcType, const Type& dstType, in writeMatrixCopy() argument
1510 SkASSERT(srcType.isMatrix()); in writeMatrixCopy()
1512 SkASSERT(srcType.componentType() == dstType.componentType()); in writeMatrixCopy()
1514 SpvId srcColumnType = this->getType(srcType.componentType().toCompound(fContext, in writeMatrixCopy()
1515 srcType.rows(), in writeMatrixCopy()
1526 if (i < srcType.columns()) { in writeMatrixCopy()
1531 if (srcType.rows() == dstType.rows()) { in writeMatrixCopy()
1535 else if (dstType.rows() > srcType.rows()) { in writeMatrixCopy()
1538 int delta = dstType.rows() - srcType.rows(); in writeMatrixCopy()
1543 for (int j = srcType.rows(); j < dstType.rows(); ++j) { in writeMatrixCopy()
[all …]
DSkSLVMCodeGenerator.cpp834 const Type& srcType = argument.type(); in writeConstructorCast() local
836 Type::NumberKind srcKind = base_number_kind(srcType); in writeConstructorCast()
878 const Type& srcType = ctor.argument()->type(); in writeConstructorMatrixResize() local
887 if (c < srcType.columns() && r < srcType.rows()) { in writeConstructorMatrixResize()
888 dst[dstIndex++] = src[c * srcType.rows() + r]; in writeConstructorMatrixResize()
DSkSLSPIRVCodeGenerator.h304 SpvId writeMatrixCopy(SpvId src, const Type& srcType, const Type& dstType, OutputStream& out);
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DVertexFormatTests.cpp38 template <typename destType, typename srcType>
39 std::vector<destType> BitCast(std::vector<srcType> data) { in BitCast()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvShader.cpp2216 auto &srcType = getObjectType(insn.word(3)); in EmitVectorExtractDynamic() local
2223 for(auto i = 0u; i < srcType.componentCount; i++) in EmitVectorExtractDynamic()
2277 auto &srcType = getObjectType(insn.word(3)); in EmitAny() local
2282 for(auto i = 1u; i < srcType.componentCount; i++) in EmitAny()
2296 auto &srcType = getObjectType(insn.word(3)); in EmitAll() local
2301 for(auto i = 1u; i < srcType.componentCount; i++) in EmitAll()

12