Home
last modified time | relevance | path

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

123

/external/mesa3d/src/mesa/main/
Dtexcompress_rgtc.c53 static void signed_encode_rgtc_ubyte(GLbyte *blkaddr, GLbyte srccolors[4][4],
59 static void signed_fetch_texel_rgtc(unsigned srcRowStride, const GLbyte *pixdata,
60 unsigned i, unsigned j, GLbyte *value, unsigned comps);
76 static void extractsrc_s( GLbyte srcpixels[4][4], const GLfloat *srcaddr, in extractsrc_s()
141 GLbyte *dst; in _mesa_texstore_signed_red_rgtc1()
146 GLbyte srcpixels[4][4]; in _mesa_texstore_signed_red_rgtc1()
147 GLbyte *blkaddr; in _mesa_texstore_signed_red_rgtc1()
161 dst = (GLbyte *) dstSlices[0]; in _mesa_texstore_signed_red_rgtc1()
242 GLbyte *dst; in _mesa_texstore_signed_rg_rgtc2()
247 GLbyte srcpixels[4][4]; in _mesa_texstore_signed_rg_rgtc2()
[all …]
Dapi_arrayelt.c179 VertexAttrib1NbvNV(GLuint index, const GLbyte *v) in VertexAttrib1NbvNV()
185 VertexAttrib1bvNV(GLuint index, const GLbyte *v) in VertexAttrib1bvNV()
191 VertexAttrib2NbvNV(GLuint index, const GLbyte *v) in VertexAttrib2NbvNV()
197 VertexAttrib2bvNV(GLuint index, const GLbyte *v) in VertexAttrib2bvNV()
203 VertexAttrib3NbvNV(GLuint index, const GLbyte *v) in VertexAttrib3NbvNV()
211 VertexAttrib3bvNV(GLuint index, const GLbyte *v) in VertexAttrib3bvNV()
217 VertexAttrib4NbvNV(GLuint index, const GLbyte *v) in VertexAttrib4NbvNV()
226 VertexAttrib4bvNV(GLuint index, const GLbyte *v) in VertexAttrib4bvNV()
684 VertexAttrib1NbvARB(GLuint index, const GLbyte *v) in VertexAttrib1NbvARB()
690 VertexAttrib1bvARB(GLuint index, const GLbyte *v) in VertexAttrib1bvARB()
[all …]
Dformat_unpack.c1067 const GLbyte *s = (const GLbyte *) src; in unpack_RGBA_INT8()
1145 const GLbyte *s = (const GLbyte *) src; in unpack_DUDV8()
1158 const GLbyte *s = ((const GLbyte *) src); in unpack_SIGNED_R8()
1174 dst[i][RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] & 0xff) ); in unpack_SIGNED_RG88_REV()
1175 dst[i][GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 8) ); in unpack_SIGNED_RG88_REV()
1187 dst[i][RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 24) ); in unpack_SIGNED_RGBX8888()
1188 dst[i][GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 16) ); in unpack_SIGNED_RGBX8888()
1189 dst[i][BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 8) ); in unpack_SIGNED_RGBX8888()
1200 dst[i][RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 24) ); in unpack_SIGNED_RGBA8888()
1201 dst[i][GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 16) ); in unpack_SIGNED_RGBA8888()
[all …]
Dformat_pack.c1389 GLbyte du, dv; in pack_float_DUDV8()
1427 GLbyte *d = (GLbyte *) dst; in pack_float_SIGNED_R8()
1440 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RG88_REV()
1441 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RG88_REV()
1454 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBX8888()
1455 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBX8888()
1456 GLbyte b = FLOAT_TO_BYTE(CLAMP(src[BCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBX8888()
1457 GLbyte a = 127; in pack_float_SIGNED_RGBX8888()
1470 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBA8888()
1471 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBA8888()
[all …]
Dapi_loopback.c93 loopback_Color3b_f( GLbyte red, GLbyte green, GLbyte blue ) in loopback_Color3b_f()
144 loopback_Color3bv_f( const GLbyte *v ) in loopback_Color3bv_f()
193 loopback_Color4b_f( GLbyte red, GLbyte green, GLbyte blue, in loopback_Color4b_f()
194 GLbyte alpha ) in loopback_Color4b_f()
253 loopback_Color4bv_f( const GLbyte *v ) in loopback_Color4bv_f()
366 loopback_Normal3b( GLbyte nx, GLbyte ny, GLbyte nz ) in loopback_Normal3b()
390 loopback_Normal3bv( const GLbyte *v ) in loopback_Normal3bv()
942 loopback_SecondaryColor3bEXT_f( GLbyte red, GLbyte green, GLbyte blue ) in loopback_SecondaryColor3bEXT_f()
996 loopback_SecondaryColor3bvEXT_f( const GLbyte *v ) in loopback_SecondaryColor3bvEXT_f()
1376 loopback_VertexAttrib4bvARB(GLuint index, const GLbyte * v) in loopback_VertexAttrib4bvARB()
[all …]
Dmipmap.c212 const GLbyte(*rowA)[4] = (const GLbyte(*)[4]) srcRowA; in do_row()
213 const GLbyte(*rowB)[4] = (const GLbyte(*)[4]) srcRowB; in do_row()
214 GLbyte(*dst)[4] = (GLbyte(*)[4]) dstRow; in do_row()
225 const GLbyte(*rowA)[3] = (const GLbyte(*)[3]) srcRowA; in do_row()
226 const GLbyte(*rowB)[3] = (const GLbyte(*)[3]) srcRowB; in do_row()
227 GLbyte(*dst)[3] = (GLbyte(*)[3]) dstRow; in do_row()
237 const GLbyte(*rowA)[2] = (const GLbyte(*)[2]) srcRowA; in do_row()
238 const GLbyte(*rowB)[2] = (const GLbyte(*)[2]) srcRowB; in do_row()
239 GLbyte(*dst)[2] = (GLbyte(*)[2]) dstRow; in do_row()
248 const GLbyte *rowA = (const GLbyte *) srcRowA; in do_row()
[all …]
Dpack.c509 #define DST_TYPE GLbyte
895 #define DST_TYPE GLbyte
1488 GLbyte *dst = (GLbyte *) dstAddr; in _mesa_pack_rgba_span_float()
1562 dst[i] = (GLbyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1567 dst[i] = (GLbyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1572 dst[i] = (GLbyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1577 dst[i] = (GLbyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1582 dst[i*2+0] = (GLbyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1583 dst[i*2+1] = (GLbyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1588 dst[i*3+0] = (GLbyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
[all …]
Dtexstore.c2393 GLbyte *tempImage, *dst, *src; in _mesa_texstore_dudv8()
2396 tempImage = (GLbyte *) malloc(srcWidth * srcHeight * srcDepth in _mesa_texstore_dudv8()
2397 * components * sizeof(GLbyte)); in _mesa_texstore_dudv8()
2401 src = (GLbyte *) _mesa_image_address(dims, srcPacking, srcAddr, in _mesa_texstore_dudv8()
2416 dst = (GLbyte *) dstSlices[0]; in _mesa_texstore_dudv8()
2467 GLbyte *dstRow = (GLbyte *) dstSlices[img]; in _mesa_texstore_snorm8()
2521 GLbyte *dstRow = (GLbyte *) dstSlices[img]; in _mesa_texstore_snorm88()
2523 GLbyte *dst = dstRow; in _mesa_texstore_snorm88()
2680 GLbyte *dstRow = (GLbyte *) dstSlices[img]; in _mesa_texstore_signed_rgbx8888()
2682 GLbyte *dst = dstRow; in _mesa_texstore_signed_rgbx8888()
[all …]
Dpack.h86 GLuint n, GLenum dstFormat, GLbyte dest[],
Dglformats.c81 return sizeof(GLbyte); in _mesa_sizeof_type()
117 return sizeof(GLbyte); in _mesa_sizeof_packed_type()
/external/mesa3d/src/mesa/swrast/
Ds_texfetch_tmp.h1050 const GLbyte *src = TEXEL_ADDR(GLbyte, texImage, i, j, k, 4); in FETCH()
1147 const GLbyte *src = TEXEL_ADDR(GLbyte, texImage, i, j, k, 2); in FETCH()
1160 const GLbyte s = *TEXEL_ADDR(GLbyte, texImage, i, j, k, 1); in FETCH()
1175 const GLbyte s = *TEXEL_ADDR(GLbyte, texImage, i, j, k, 1); in FETCH()
1190 const GLbyte s = *TEXEL_ADDR(GLbyte, texImage, i, j, k, 1); in FETCH()
1205 const GLbyte s = *TEXEL_ADDR(GLbyte, texImage, i, j, k, 1); in FETCH()
1221 texel[RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s & 0xff) ); in FETCH()
1222 texel[GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 8) ); in FETCH()
1238 texel[BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s & 0xff) ); in FETCH()
1239 texel[ACOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 8) ); in FETCH()
[all …]
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_icd.h59 void (GLAPIENTRY * Color3b)(GLbyte, GLbyte, GLbyte);
60 void (GLAPIENTRY * Color3bv)(const GLbyte *);
75 void (GLAPIENTRY * Color4b)(GLbyte, GLbyte, GLbyte, GLbyte);
76 void (GLAPIENTRY * Color4bv)(const GLbyte *);
102 void (GLAPIENTRY * Normal3b)(GLbyte, GLbyte, GLbyte);
103 void (GLAPIENTRY * Normal3bv)(const GLbyte *);
/external/deqp/framework/opengl/wrapper/
DglwDefs.cpp34 DE_STATIC_ASSERT(sizeof(GLbyte) == 1);
DglwTypes.inl46 typedef deInt8 GLbyte; typedef
/external/libmojo/mojo/gpu/
Dmojo_gles2_impl_autogen.h721 void GenMailboxCHROMIUM(GLbyte* mailbox) override;
722 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
725 const GLbyte* mailbox) override;
726 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
728 const GLbyte* mailbox) override;
742 void GenSyncTokenCHROMIUM(GLuint64 fence_sync, GLbyte* sync_token) override;
744 GLbyte* sync_token) override;
745 void VerifySyncTokensCHROMIUM(GLbyte** sync_tokens, GLsizei count) override;
746 void WaitSyncTokenCHROMIUM(const GLbyte* sync_token) override;
Dmojo_gles2_impl_autogen.cc1540 void MojoGLES2Impl::GenMailboxCHROMIUM(GLbyte* mailbox) { in GenMailboxCHROMIUM()
1545 const GLbyte* mailbox) { in ProduceTextureCHROMIUM()
1551 const GLbyte* mailbox) { in ProduceTextureDirectCHROMIUM()
1556 const GLbyte* mailbox) { in ConsumeTextureCHROMIUM()
1561 const GLbyte* mailbox) { in CreateAndConsumeTextureCHROMIUM()
1603 GLbyte* sync_token) { in GenSyncTokenCHROMIUM()
1608 GLbyte* sync_token) { in GenUnverifiedSyncTokenCHROMIUM()
1612 void MojoGLES2Impl::VerifySyncTokensCHROMIUM(GLbyte** sync_tokens, in VerifySyncTokensCHROMIUM()
1617 void MojoGLES2Impl::WaitSyncTokenCHROMIUM(const GLbyte* sync_token) { in WaitSyncTokenCHROMIUM()
/external/mesa3d/src/mesa/math/
Dm_vector.h89 ( (type *) ( ((GLbyte *) ((v)->data)) + (i) * (v)->stride) )
/external/swiftshader/include/GL/
Dglext.h379 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
380 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
427 GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
428 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
723 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
730 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
817 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
824 GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
1138 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
1223 GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
[all …]
/external/mesa3d/include/GL/
Dgl.h153 typedef signed char GLbyte; /* 1-byte signed */ typedef
993 GLAPI void GLAPIENTRY glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz );
999 GLAPI void GLAPIENTRY glNormal3bv( const GLbyte *v );
1018 GLAPI void GLAPIENTRY glColor3b( GLbyte red, GLbyte green, GLbyte blue );
1027 GLAPI void GLAPIENTRY glColor4b( GLbyte red, GLbyte green,
1028 GLbyte blue, GLbyte alpha );
1045 GLAPI void GLAPIENTRY glColor3bv( const GLbyte *v );
1054 GLAPI void GLAPIENTRY glColor4bv( const GLbyte *v );
Dglext.h6443 GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
6444 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
6489 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
6490 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
6645 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
6652 GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
6739 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
6746 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
6819 GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
6878 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_draw.c222 GLsizeiptr offset = (GLbyte *)exec->vtx.attrptr[src] - in vbo_exec_bind_arrays()
223 (GLbyte *)exec->vtx.vertex; in vbo_exec_bind_arrays()
/external/deqp/modules/gles3/functional/
Des3fVertexArrayObjectTests.cpp335 case GL_BYTE: stride = buffer.componentCount * (int)sizeof(GLbyte); break; in createRandomBufferData()
395 GLbyte v = (GLbyte)m_random.getInt(buffer.intRangeMin, buffer.intRangeMax); in createRandomBufferData()
911 case GL_BYTE: stride = buffer.componentCount * (int)sizeof(GLbyte); break; in createRandomBufferData()
971 GLbyte v = (GLbyte)m_random.getInt(buffer.intRangeMin, buffer.intRangeMax); in createRandomBufferData()
/external/mesa3d/src/glx/
Dpacksingle.h123 *p = *(GLbyte *)&reply.pad3;
/external/swiftshader/src/OpenGL/libGL/
DlibGL.cpp5660 void APIENTRY glColor3b(GLbyte red, GLbyte green, GLbyte blue) in glColor3b()
5665 void APIENTRY glColor3bv(const GLbyte *v) in glColor3bv()
5754 void APIENTRY glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) in glColor4b()
5759 void APIENTRY glColor4bv(const GLbyte *v) in glColor4bv()
6826 void APIENTRY glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) in glNormal3b()
6831 void APIENTRY glNormal3bv(const GLbyte *v) in glNormal3bv()
7765 void APIENTRY glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue) {UNIMPLEMENTED();} in glSecondaryColor3b()
/external/mesa3d/configs/
Ddefault51 INDENT_FLAGS = -i4 -nut -br -brs -npcs -ce -T GLubyte -T GLbyte -T Bool

123