Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/mesa/main/
Dtexstore.c105 GLenum srcFormat, GLenum srcType, in _mesa_memcpy_texture() argument
110 srcFormat, srcType); in _mesa_memcpy_texture()
112 srcWidth, srcHeight, srcFormat, srcType); in _mesa_memcpy_texture()
114 srcPacking, srcAddr, srcWidth, srcHeight, srcFormat, srcType, 0, 0, 0); in _mesa_memcpy_texture()
170 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z32()
173 depthScale, srcType, src, srcPacking); in _mesa_texstore_z32()
200 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_x8_z24()
203 depthScale, srcType, src, srcPacking); in _mesa_texstore_x8_z24()
230 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z24_x8()
235 depthScale, srcType, src, srcPacking); in _mesa_texstore_z24_x8()
[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()
Dtexcompress_s3tc.c59 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_rgb_dxt1()
75 srcFormat, srcType, srcAddr, in _mesa_texstore_rgb_dxt1()
82 srcFormat, srcType, 0, 0); in _mesa_texstore_rgb_dxt1()
111 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_rgba_dxt1()
131 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt1()
138 srcFormat, srcType, 0, 0); in _mesa_texstore_rgba_dxt1()
167 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_rgba_dxt3()
187 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt3()
193 srcFormat, srcType, 0, 0); in _mesa_texstore_rgba_dxt3()
222 srcType != GL_UNSIGNED_BYTE || in _mesa_texstore_rgba_dxt5()
[all …]
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.c103 GLenum srcType = _mesa_get_format_datatype(srcFormat); in compatible_color_datatypes() local
106 if (srcType != GL_INT && srcType != GL_UNSIGNED_INT) { in compatible_color_datatypes()
107 assert(srcType == GL_UNSIGNED_NORMALIZED || in compatible_color_datatypes()
108 srcType == GL_SIGNED_NORMALIZED || in compatible_color_datatypes()
109 srcType == GL_FLOAT); in compatible_color_datatypes()
111 srcType = GL_FLOAT; in compatible_color_datatypes()
122 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()
Dimage.h100 _mesa_convert_colors(GLenum srcType, const GLvoid *src,
/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/flutter/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/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texture.c217 GLenum srcType, GLboolean fbo) in radeonChoose8888TexFormat() argument
241 if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8) || in radeonChoose8888TexFormat()
242 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat()
243 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || in radeonChoose8888TexFormat()
244 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat()
246 } else if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || in radeonChoose8888TexFormat()
247 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat()
248 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8) || in radeonChoose8888TexFormat()
249 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_texture.c217 GLenum srcType, GLboolean fbo) in radeonChoose8888TexFormat() argument
241 if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8) || in radeonChoose8888TexFormat()
242 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat()
243 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || in radeonChoose8888TexFormat()
244 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat()
246 } else if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || in radeonChoose8888TexFormat()
247 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat()
248 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8) || in radeonChoose8888TexFormat()
249 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
/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 …]
/third_party/flutter/skia/tests/
DVkHardwareBufferTest.cpp1070 SrcType srcType, DstType dstType, bool shareSyncs) { in run_test() argument
1071 if (SrcType::kCPU == srcType && shareSyncs) { in run_test()
1078 if (SrcType::kVulkan == srcType) { in run_test()
1080 } else if (SrcType::kEGL == srcType) { in run_test()
1121 if (SrcType::kCPU == srcType) { in run_test()
1143 if (SrcType::kCPU == srcType) { in run_test()
/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DContext11.cpp63 bool DrawCallHasStreamingElementArray(const gl::Context *context, gl::DrawElementsType srcType) in DrawCallHasStreamingElementArray() argument
69 UsePrimitiveRestartWorkaround(glState.isPrimitiveRestartEnabled(), srcType); in DrawCallHasStreamingElementArray()
71 (srcType == gl::DrawElementsType::UnsignedInt || primitiveRestartWorkaround) in DrawCallHasStreamingElementArray()
76 switch (ClassifyIndexStorage(glState, elementArrayBuffer, srcType, dstType, 0)) in DrawCallHasStreamingElementArray()
/third_party/flutter/skia/gm/
Dxfermodes.cpp134 void draw_mode(SkCanvas* canvas, SkBlendMode mode, SrcType srcType, SkScalar x, SkScalar y) { in draw_mode() argument
142 switch (srcType) { in draw_mode()
/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.c80 GLenum srcType = _mesa_get_format_datatype(rb->Format); in needs_integer_signed_unsigned_conversion() local
82 if ((srcType == GL_INT && in needs_integer_signed_unsigned_conversion()
86 (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()

12