/external/mesa3d/src/gallium/auxiliary/hud/ |
D | font.c | 62 typedef unsigned char GLubyte; /* 1-byte unsigned */ typedef 70 const GLubyte** Characters; /* The characters mapping */ 75 static const GLubyte Fixed8x13_Character_000[] = { 8, 0, 0, 0,170, 0,130, 0,130, 0,130, 0,1… 76 static const GLubyte Fixed8x13_Character_001[] = { 8, 0, 0, 0, 0, 16, 56,124,254,124, 56, 16, … 77 static const GLubyte Fixed8x13_Character_002[] = { 8, 0,170, 85,170, 85,170, 85,170, 85,170, 85,1… 78 static const GLubyte Fixed8x13_Character_003[] = { 8, 0, 0, 0, 4, 4, 4, 4,174,160,224,160,1… 79 static const GLubyte Fixed8x13_Character_004[] = { 8, 0, 0, 0, 8, 8, 12, 8,142,128,192,128,2… 80 static const GLubyte Fixed8x13_Character_005[] = { 8, 0, 0, 0, 10, 10, 12, 10,108,128,128,128, … 81 static const GLubyte Fixed8x13_Character_006[] = { 8, 0, 0, 0, 8, 8, 12, 8,238,128,128,128,1… 82 static const GLubyte Fixed8x13_Character_007[] = { 8, 0, 0, 0, 0, 0, 0, 0, 0, 24, 36, 36, … [all …]
|
/external/OpenCL-CTS/test_conformance/gl/GLEW/ |
D | glew.c | 83 void* dlGetProcAddress (const GLubyte* name) in dlGetProcAddress() 95 return ((void*(*)(const GLubyte*))gpa)(name); in dlGetProcAddress() 110 void* NSGLGetProcAddress (const GLubyte *name) in NSGLGetProcAddress() 131 void* NSGLGetProcAddress (const GLubyte *name) in NSGLGetProcAddress() 209 static GLuint _glewStrLen (const GLubyte* s) in _glewStrLen() 217 static GLuint _glewStrCLen (const GLubyte* s, GLubyte c) in _glewStrCLen() 236 static GLboolean _glewStrSame (const GLubyte* a, const GLubyte* b, GLuint n) in _glewStrSame() 247 static GLboolean _glewStrSame1 (const GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) in _glewStrSame1() 268 static GLboolean _glewStrSame2 (const GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) in _glewStrSame2() 284 static GLboolean _glewStrSame3 (const GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) in _glewStrSame3() [all …]
|
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/ |
D | esextcTextureBorderClampTests.cpp | 85 TestConfiguration<glw::GLfloat, glw::GLubyte> configurationTexture2DRGBA32F( in init() 89 addChild(new TextureBorderClampSamplingTexture<glw::GLfloat, glw::GLubyte>( in init() 109 TestConfiguration<glw::GLubyte, glw::GLubyte> configurationTexture2DRGBA8( in init() 113 …addChild(new TextureBorderClampSamplingTexture<glw::GLubyte, glw::GLubyte>(m_context, m_extParams,… in init() 117 TestConfiguration<glw::GLfloat, glw::GLubyte> configurationTexture2DDC32F( in init() 121 …addChild(new TextureBorderClampSamplingTexture<glw::GLfloat, glw::GLubyte>(m_context, m_extParams,… in init() 125 TestConfiguration<glw::GLushort, glw::GLubyte> configurationTexture2DDC16( in init() 129 …addChild(new TextureBorderClampSamplingTexture<glw::GLushort, glw::GLubyte>(m_context, m_extParams… in init() 133 TestConfiguration<glw::GLfloat, glw::GLubyte> configurationTexture2DCompressed( in init() 137 addChild(new TextureBorderClampSamplingTexture<glw::GLfloat, glw::GLubyte>( in init() [all …]
|
D | esextcTextureBorderClampSamplingTextureGroup.cpp | 60 TestConfiguration<glw::GLfloat, glw::GLubyte> configurationTexture2DRGBA32F( in init() 64 addChild(new TextureBorderClampSamplingTexture<glw::GLfloat, glw::GLubyte>( in init() 84 TestConfiguration<glw::GLubyte, glw::GLubyte> configurationTexture2DRGBA8( in init() 88 …addChild(new TextureBorderClampSamplingTexture<glw::GLubyte, glw::GLubyte>(m_context, m_extParams,… in init() 92 TestConfiguration<glw::GLfloat, glw::GLubyte> configurationTexture2DDC32F( in init() 96 …addChild(new TextureBorderClampSamplingTexture<glw::GLfloat, glw::GLubyte>(m_context, m_extParams,… in init() 100 TestConfiguration<glw::GLushort, glw::GLubyte> configurationTexture2DDC16( in init() 104 …addChild(new TextureBorderClampSamplingTexture<glw::GLushort, glw::GLubyte>(m_context, m_extParams… in init() 108 TestConfiguration<glw::GLfloat, glw::GLubyte> configurationTexture2DCompressed( in init() 112 addChild(new TextureBorderClampSamplingTexture<glw::GLfloat, glw::GLubyte>( in init() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | getstring.c | 41 static const GLubyte * 49 return (const GLubyte *) "1.20"; in shading_language_version() 51 return (const GLubyte *) "1.30"; in shading_language_version() 53 return (const GLubyte *) "1.40"; in shading_language_version() 55 return (const GLubyte *) "1.50"; in shading_language_version() 57 return (const GLubyte *) "3.30"; in shading_language_version() 59 return (const GLubyte *) "4.00"; in shading_language_version() 61 return (const GLubyte *) "4.10"; in shading_language_version() 63 return (const GLubyte *) "4.20"; in shading_language_version() 65 return (const GLubyte *) "4.30"; in shading_language_version() [all …]
|
D | texcompress_s3tc.c | 51 const GLubyte *pixels; in _mesa_texstore_rgb_dxt1() 52 GLubyte *dst; in _mesa_texstore_rgb_dxt1() 53 const GLubyte *tempImage = NULL; in _mesa_texstore_rgb_dxt1() 64 GLubyte *tempImageSlices[1]; in _mesa_texstore_rgb_dxt1() 65 int rgbRowStride = 3 * srcWidth * sizeof(GLubyte); in _mesa_texstore_rgb_dxt1() 66 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLubyte)); in _mesa_texstore_rgb_dxt1() 69 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_rgb_dxt1() 103 const GLubyte *pixels; in _mesa_texstore_rgba_dxt1() 104 GLubyte *dst; in _mesa_texstore_rgba_dxt1() 105 const GLubyte *tempImage = NULL; in _mesa_texstore_rgba_dxt1() [all …]
|
D | texcompress_rgtc.c | 48 static void extractsrc_u( GLubyte srcpixels[4][4], const GLubyte *srcaddr, in extractsrc_u() 51 GLubyte i, j; in extractsrc_u() 52 const GLubyte *curaddr; in extractsrc_u() 65 GLubyte i, j; in extractsrc_s() 80 GLubyte *dst; in _mesa_texstore_red_rgtc1() 81 const GLubyte *tempImage = NULL; in _mesa_texstore_red_rgtc1() 84 const GLubyte *srcaddr; in _mesa_texstore_red_rgtc1() 85 GLubyte srcpixels[4][4]; in _mesa_texstore_red_rgtc1() 86 GLubyte *blkaddr; in _mesa_texstore_red_rgtc1() 88 GLubyte *tempImageSlices[1]; in _mesa_texstore_red_rgtc1() [all …]
|
D | texcompress_bptc.c | 38 fetch_bptc_rgb_float(const GLubyte *map, in fetch_bptc_rgb_float() 43 const GLubyte *block; in fetch_bptc_rgb_float() 51 fetch_bptc_rgb_signed_float(const GLubyte *map, in fetch_bptc_rgb_signed_float() 59 fetch_bptc_rgb_unsigned_float(const GLubyte *map, in fetch_bptc_rgb_unsigned_float() 67 fetch_bptc_rgba_unorm_bytes(const GLubyte *map, in fetch_bptc_rgba_unorm_bytes() 69 GLubyte *texel) in fetch_bptc_rgba_unorm_bytes() 71 const GLubyte *block; in fetch_bptc_rgba_unorm_bytes() 79 fetch_bptc_rgba_unorm(const GLubyte *map, in fetch_bptc_rgba_unorm() 83 GLubyte texel_bytes[4]; in fetch_bptc_rgba_unorm() 94 fetch_bptc_srgb_alpha_unorm(const GLubyte *map, in fetch_bptc_srgb_alpha_unorm() [all …]
|
D | texcompress_s3tc_tmp.h | 34 typedef GLubyte GLchan; 56 static void dxt135_decode_imageblock ( const GLubyte *img_block_src, in dxt135_decode_imageblock() 64 GLubyte bit_pos = 2 * (j * 4 + i) ; in dxt135_decode_imageblock() 65 GLubyte code = (GLubyte) ((bits >> bit_pos) & 3); in dxt135_decode_imageblock() 111 static void fetch_2d_texel_rgb_dxt1(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgb_dxt1() 118 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgb_dxt1() 123 static void fetch_2d_texel_rgba_dxt1(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgba_dxt1() 130 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgba_dxt1() 134 static void fetch_2d_texel_rgba_dxt3(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgba_dxt3() 142 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 16); in fetch_2d_texel_rgba_dxt3() [all …]
|
D | pack.c | 74 flip_bytes( GLubyte *p, GLuint n ) in flip_bytes() 87 p[i] = (GLubyte) a; in flip_bytes() 98 _mesa_unpack_polygon_stipple( const GLubyte *pattern, GLuint dest[32], in _mesa_unpack_polygon_stipple() 101 GLubyte *ptrn = (GLubyte *) _mesa_unpack_image(2, 32, 32, 1, GL_COLOR_INDEX, in _mesa_unpack_polygon_stipple() 107 GLubyte *p = ptrn; in _mesa_unpack_polygon_stipple() 126 _mesa_pack_polygon_stipple( const GLuint pattern[32], GLubyte *dest, in _mesa_pack_polygon_stipple() 132 GLubyte ptrn[32*4]; in _mesa_pack_polygon_stipple() 135 ptrn[i * 4 + 0] = (GLubyte) ((pattern[i] >> 24) & 0xff); in _mesa_pack_polygon_stipple() 136 ptrn[i * 4 + 1] = (GLubyte) ((pattern[i] >> 16) & 0xff); in _mesa_pack_polygon_stipple() 137 ptrn[i * 4 + 2] = (GLubyte) ((pattern[i] >> 8 ) & 0xff); in _mesa_pack_polygon_stipple() [all …]
|
D | texcompress_cpal.c | 67 get_palette_entry(const struct cpal_format_info *info, const GLubyte *palette, in get_palette_entry() 68 GLuint index, GLubyte *pixel) in get_palette_entry() 79 paletted_to_color(const struct cpal_format_info *info, const GLubyte *palette, in paletted_to_color() 80 const void *indices, GLuint num_pixels, GLubyte *image) in paletted_to_color() 82 GLubyte *pix = image; in paletted_to_color() 87 const GLubyte *ind = (const GLubyte *) indices; in paletted_to_color() 101 const GLubyte *ind = (const GLubyte *) indices; in paletted_to_color() 155 const GLubyte *indices; in _mesa_cpal_compressed_teximage2d() 169 indices = (const GLubyte *) palette + info->palette_size * info->size; in _mesa_cpal_compressed_teximage2d() 177 GLubyte *image = NULL; in _mesa_cpal_compressed_teximage2d()
|
D | texcompress_fxt1.c | 51 GLint i, GLint j, GLubyte *rgba); 60 const GLubyte *pixels; in _mesa_texstore_rgb_fxt1() 62 GLubyte *dst; in _mesa_texstore_rgb_fxt1() 63 const GLubyte *tempImage = NULL; in _mesa_texstore_rgb_fxt1() 73 GLubyte *tempImageSlices[1]; in _mesa_texstore_rgb_fxt1() 74 int rgbRowStride = 3 * srcWidth * sizeof(GLubyte); in _mesa_texstore_rgb_fxt1() 75 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLubyte)); in _mesa_texstore_rgb_fxt1() 78 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_rgb_fxt1() 95 srcType) / sizeof(GLubyte); in _mesa_texstore_rgb_fxt1() 115 const GLubyte *pixels; in _mesa_texstore_rgba_fxt1() [all …]
|
/external/mesa3d/src/mesa/math/ |
D | m_trans_tmp.h | 36 const GLubyte *f = (GLubyte *) ptr + SRC_START * stride; in DEST_4F() 37 const GLubyte *first = f; in DEST_4F() 60 const GLubyte *f = (GLubyte *) ptr + SRC_START * stride; in DEST_4FN() 61 const GLubyte *first = f; in DEST_4FN() 83 const GLubyte *f = (GLubyte *) ptr + SRC_START * stride; in DEST_3FN() 84 const GLubyte *first = f; in DEST_3FN() 103 const GLubyte *f = (GLubyte *) ptr + SRC_START * stride; in DEST_1F() 104 const GLubyte *first = f; in DEST_1F() 116 static void DEST_4UB( GLubyte (*t)[4], in DEST_4UB() 121 const GLubyte *f = (GLubyte *) ptr + SRC_START * stride; in DEST_4UB() [all …]
|
D | m_clip_tmp.h | 45 GLubyte clipMask[], in TAG() 46 GLubyte *orMask, in TAG() 47 GLubyte *andMask, in TAG() 55 GLubyte tmpAndMask = *andMask; in TAG() 56 GLubyte tmpOrMask = *orMask; in TAG() 75 GLubyte mask = 0; in TAG() 105 *andMask = (GLubyte) (c < count ? 0 : tmpAndMask); in TAG() 125 GLubyte clipMask[], in TAG() 126 GLubyte *orMask, in TAG() 127 GLubyte *andMask, in TAG() [all …]
|
D | m_debug_clip.c | 68 GLubyte clipMask[], in ref_cliptest_points4() 69 GLubyte *orMask, in ref_cliptest_points4() 70 GLubyte *andMask, in ref_cliptest_points4() 78 GLubyte tmpAndMask = *andMask; in ref_cliptest_points4() 79 GLubyte tmpOrMask = *orMask; in ref_cliptest_points4() 86 GLubyte mask = 0; in ref_cliptest_points4() 114 *andMask = (GLubyte) (c < count ? 0 : tmpAndMask); in ref_cliptest_points4() 126 GLubyte clipMask[], in ref_cliptest_points3() 127 GLubyte *orMask, in ref_cliptest_points3() 128 GLubyte *andMask, in ref_cliptest_points3() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_stencil.c | 65 const GLubyte one = 1; in get_stencil_offset() 66 GLubyte pixel[MAX_PIXEL_BYTES]; in get_stencil_offset() 85 static inline GLubyte 101 GLubyte s = stencil[j]; \ 103 stencil[j] = (GLubyte) (NEW_VAL); \ 110 GLubyte s = stencil[j]; \ 111 stencil[j] = (GLubyte) ((invmask & s) | (wrtmask & (NEW_VAL))); \ 129 GLuint n, GLubyte stencil[], const GLubyte mask[], in apply_stencil_op() 132 const GLubyte ref = _mesa_get_stencil_ref(ctx, face); in apply_stencil_op() 133 const GLubyte wrtmask = ctx->Stencil.WriteMask[face]; in apply_stencil_op() [all …]
|
D | s_texfetch_tmp.h | 55 ((type *)((GLubyte *) (image)->ImageSlices[0] + (image)->RowStride * (j)) + \ 63 ((type *)((GLubyte *) (image)->ImageSlices[k] + \ 120 FETCH_RGBA(BGR_UNORM8, GLubyte, 3) 121 FETCH_RGBA(RGB_UNORM8, GLubyte, 3) 131 FETCH_RGBA(RG_UNORM8, GLubyte, 2) 132 FETCH_RGBA(L4A4_UNORM, GLubyte, 1) 133 FETCH_RGBA(R_UNORM8, GLubyte, 1) 135 FETCH_RGBA(LA_UNORM8, GLubyte, 2) 137 FETCH_RGBA(B2G3R3_UNORM, GLubyte, 1) 138 FETCH_RGBA(A_UNORM8, GLubyte, 1) [all …]
|
D | s_bitmap.c | 52 const GLubyte *bitmap ) in _swrast_Bitmap() 63 bitmap = (const GLubyte *) _mesa_map_pbo_source(ctx, unpack, bitmap); in _swrast_Bitmap() 78 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack, in _swrast_Bitmap() 83 GLubyte mask = 1U << (unpack->SkipPixels & 0x7); in _swrast_Bitmap() 105 GLubyte mask = 128U >> (unpack->SkipPixels & 0x7); in _swrast_Bitmap() 151 const GLubyte *bitmap ) 176 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack, 181 GLubyte mask = 1U << (unpack->SkipPixels & 0x7); 201 GLubyte mask = 128U >> (unpack->SkipPixels & 0x7);
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vertex_generic.c | 49 static inline void insert_4f_viewport_4( const struct tnl_clipspace_attr *a, GLubyte *v, in insert_4f_viewport_4() 61 static inline void insert_4f_viewport_3( const struct tnl_clipspace_attr *a, GLubyte *v, in insert_4f_viewport_3() 73 static inline void insert_4f_viewport_2( const struct tnl_clipspace_attr *a, GLubyte *v, in insert_4f_viewport_2() 85 static inline void insert_4f_viewport_1( const struct tnl_clipspace_attr *a, GLubyte *v, in insert_4f_viewport_1() 97 static inline void insert_3f_viewport_3( const struct tnl_clipspace_attr *a, GLubyte *v, in insert_3f_viewport_3() 108 static inline void insert_3f_viewport_2( const struct tnl_clipspace_attr *a, GLubyte *v, in insert_3f_viewport_2() 119 static inline void insert_3f_viewport_1( const struct tnl_clipspace_attr *a, GLubyte *v, in insert_3f_viewport_1() 130 static inline void insert_2f_viewport_2( const struct tnl_clipspace_attr *a, GLubyte *v, in insert_2f_viewport_2() 140 static inline void insert_2f_viewport_1( const struct tnl_clipspace_attr *a, GLubyte *v, in insert_2f_viewport_1() 155 static inline void insert_4f_4( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in ) in insert_4f_4() [all …]
|
/external/mesa3d/src/mesa/x86/ |
D | x86_xform.c | 60 GLubyte clipMask[], 61 GLubyte *orMask, 62 GLubyte *andMask, 68 GLubyte clipMask[], 69 GLubyte *orMask, 70 GLubyte *andMask, 76 GLubyte *or_mask, 77 GLubyte *and_mask, 78 GLubyte *clip_mask,
|
/external/angle/src/tests/gl_tests/ |
D | MaxTextureSizeTest.cpp | 97 std::vector<GLubyte> data(textureWidth * textureHeight * 4); in TEST_P() 102 GLubyte *pixel = &data[0] + ((y * textureWidth + x) * 4); in TEST_P() 105 pixel[0] = static_cast<GLubyte>((float(x) / textureWidth) * 255); in TEST_P() 106 pixel[1] = static_cast<GLubyte>((float(y) / textureHeight) * 255); in TEST_P() 121 std::vector<GLubyte> pixels(getWindowWidth() * getWindowHeight() * 4); in TEST_P() 128 const GLubyte *prevPixel = &pixels[0] + (((y - 1) * getWindowWidth() + (x - 1)) * 4); in TEST_P() 129 const GLubyte *curPixel = &pixels[0] + ((y * getWindowWidth() + x) * 4); in TEST_P() 159 std::vector<GLubyte> data(textureWidth * textureHeight * 4); in TEST_P() 164 GLubyte *pixel = &data[0] + ((y * textureWidth + x) * 4); in TEST_P() 167 pixel[0] = static_cast<GLubyte>((float(x) / textureWidth) * 255); in TEST_P() [all …]
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xmesaP.h | 42 GLubyte b; 43 GLubyte g; 44 GLubyte r; 94 GLubyte Kernel[16]; /* Dither kernel */ 98 GLubyte PixelToR[256]; /* Pixel to RGB conversion */ 99 GLubyte PixelToG[256]; 100 GLubyte PixelToB[256]; 119 GLubyte clearcolor[4]; /* current clearing color */ 164 GLubyte *origin3; /* used for PIXEL_ADDR3 macro */ 229 GLubyte pixel_to_r[65536]; /* pixel value -> red */ [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cDirectStateAccessTests.cpp | 167 addChild(new Textures::BufferTest<glw::GLubyte, 1, false>(m_context, "textures_buffer_r8ui")); in init() 168 addChild(new Textures::BufferTest<glw::GLubyte, 2, false>(m_context, "textures_buffer_rg8ui")); in init() 169 addChild(new Textures::BufferTest<glw::GLubyte, 4, false>(m_context, "textures_buffer_rgba8ui")); in init() 170 addChild(new Textures::BufferTest<glw::GLubyte, 1, true>(m_context, "textures_buffer_r8ui_unorm")); in init() 171 …addChild(new Textures::BufferTest<glw::GLubyte, 2, true>(m_context, "textures_buffer_rg8ui_unorm")… in init() 172 …addChild(new Textures::BufferTest<glw::GLubyte, 4, true>(m_context, "textures_buffer_rgba8ui_unorm… in init() 210 …addChild(new Textures::StorageAndSubImageTest<glw::GLubyte, 1, false, 1, false>(m_context, "textur… in init() 211 …addChild(new Textures::StorageAndSubImageTest<glw::GLubyte, 2, false, 1, false>(m_context, "textur… in init() 212 …addChild(new Textures::StorageAndSubImageTest<glw::GLubyte, 4, false, 1, false>(m_context, "textur… in init() 213 …addChild(new Textures::StorageAndSubImageTest<glw::GLubyte, 1, false, 2, false>(m_context, "textur… in init() [all …]
|
/external/mesa3d/src/mapi/glapi/ |
D | glapi_entrypoint.c | 42 extern GLubyte gl_dispatch_functions_start[]; 43 extern GLubyte gl_dispatch_functions_end[]; 45 extern const GLubyte gl_dispatch_functions_start[]; 77 const GLubyte * const get_disp = (const GLubyte *) run_time_patch; in init_glapi_relocs() 78 GLubyte * curr_func = (GLubyte *) gl_dispatch_functions_start; in init_glapi_relocs() 81 while ( curr_func != (GLubyte *) gl_dispatch_functions_end ) { in init_glapi_relocs() 101 const GLubyte * const template_func = gl_dispatch_functions_start in generate_entrypoint() 103 GLubyte * const code = (GLubyte *) u_execmem_alloc(DISPATCH_FUNCTION_SIZE); in generate_entrypoint() 122 GLubyte * const code = (GLubyte *) entrypoint; in fill_in_entrypoint_offset()
|
/external/angle/samples/tex_redef_microbench/ |
D | TexRedefMicroBench.cpp | 78 mPixelsResize = new GLubyte[512 * 512 * 4]; in createPixelData() 79 mPixelsNewTex = new GLubyte[512 * 512 * 4]; in createPixelData() 80 GLubyte *pixPtr0 = mPixelsResize; in createPixelData() 81 GLubyte *pixPtr1 = mPixelsNewTex; in createPixelData() 82 GLubyte zeroPix[] = {0, 192, 192, 255}; in createPixelData() 83 GLubyte onePix[] = {192, 0, 0, 255}; in createPixelData() 86 memcpy(pixPtr0, zeroPix, 4 * sizeof(GLubyte)); in createPixelData() 87 memcpy(pixPtr1, onePix, 4 * sizeof(GLubyte)); in createPixelData() 263 GLubyte *mPixelsResize; 264 GLubyte *mPixelsNewTex;
|