Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generic-fragment program renderer



You need to get the extension string for ARB_fragment_program support. Currently the software renderer only supports ARB_vertex_program and NOT ARB_fragment_program.

Can anyone provide information on "Generic-fragment program" AGL_RENDERER_ID 0x20400?

 It seems to successfully compile fragment programs, but not render
 using them. Since I haven't seen any mention of this renderer in
 documentation, I'm wondering if I should not be specifically
 requesting it by AGL_RENDERER_ID, or if I've overlooked some
 other error. (The fragment programs do run in hardware on a Radeon 9700.)

Calling aglChoosePixelFormat(NULL, 0, attribs) with attribs = { AGL_RENDERER_ID, 0x00020400, AGL_NONE};

creates a context using a software renderer called "Generic-fragment program"
which claims to support

"GL_ARB_vertex_program"
"GL_ARB_shader_objects"
"GL_ARB_fragment_shader"
"GL_ARB_fragment_program"

in the extensions string, and appears to compile both fragment and
vertex programs and returns true to glIsProgramARB when queried about them.

This software renderer appears to be new with 10.3.4.

Am I misunderstanding something?

Is is premature to attempt to use it?

- Ron
-----

OpenGL Driver Info:

Generic-fragment program
Vendor Name                   	Apple
Version                       	1.1 APPLE-1.1
Renderer Name                 	Generic-fragment program
OpenGL Extensions
                              	GL_ARB_transpose_matrix
                              	GL_ARB_vertex_program
                              	GL_ARB_vertex_blend
                              	GL_ARB_window_pos
                              	GL_ARB_shader_objects
                              	GL_ARB_vertex_shader
                              	GL_ARB_fragment_shader
                              	GL_EXT_multi_draw_arrays
                              	GL_EXT_clip_volume_hint
                              	GL_EXT_rescale_normal
                              	GL_EXT_draw_range_elements
                              	GL_EXT_fog_coord
                              	GL_APPLE_client_storage
                              	GL_APPLE_specular_vector
                              	GL_APPLE_transform_hint
                              	GL_APPLE_packed_pixels
                              	GL_APPLE_fence
                              	GL_APPLE_vertex_array_object
                              	GL_APPLE_vertex_program_evaluators
                              	GL_APPLE_element_array
                              	GL_APPLE_flush_render
                              	GL_NV_texgen_reflection
                              	GL_NV_light_max_exponent
                              	GL_IBM_rasterpos_clip
                              	GL_SGIS_generate_mipmap
                              	GL_ARB_imaging
                              	GL_ARB_multitexture
                              	GL_ARB_texture_env_add
                              	GL_ARB_texture_env_dot3
                              	GL_ARB_texture_env_combine
                              	GL_ARB_fragment_program
                              	GL_EXT_texture_rectangle
                              	GL_EXT_texture_env_add
                              	GL_EXT_blend_color
                              	GL_EXT_blend_minmax
                              	GL_EXT_blend_subtract
                              	GL_EXT_texture_lod_bias
                              	GL_EXT_abgr
                              	GL_EXT_bgra
                              	GL_APPLE_ycbcr_422
                              	GL_SGIS_texture_edge_clamp
Display Mask                  	3 (0x00000003)
Renderer ID                   	132096 (0x00020400)
Off Screen                    	Yes
Full Screen                   	No
Hardware Accelerated          	No
Robust                        	Yes
Backing Store                 	Yes
MP Safe                       	Yes
Window                        	Yes
Multi Screen                  	Yes
Compliant                     	Yes
Screen Mask                   	Yes
Buffer Modes                  	13 (0x0000000d)
Color Buffer Modes            	202375104 (0x0c0fffc0)
Accum Buffer Modes            	142639104 (0x08808000)
Depth Buffer Modes            	4096 (0x00001000)
Stencil Buffer Modes          	129 (0x00000081)
Max Aux Buffers               	4 (0x00000004)
Total Video Memory            	0 (0x00000000)
Total Texture Memory          	0 (0x00000000)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >glUnmapBufferARB and buffer 'corruption' (From: "Timothy J.Wood" <email@hidden>)
 >Re: glUnmapBufferARB and buffer 'corruption' (From: John Stauffer <email@hidden>)
 >Generic-fragment program renderer (From: Ron Avitzur <email@hidden>)
 >Re: Generic-fragment program renderer (From: John Stauffer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.