TAILIEUCHUNG - 3D Graphics with OpenGL ES and M3G- P29

3D Graphics with OpenGL ES and M3G- P29:Mobile phones are the new vehicle for bringing interactive graphics technologies to consumers. Graphics that in the 1980s was only seen in industrial flight simulators and at the turn of the millennium in desktop PCs and game consoles is now in the hands of billions of people. This book is about the technology underpinnings of mobile threedimensional graphics, the newest and most rapidly advancing area of computer graphics. | 264 EGL CHAPTER 11 Figure Duration with frame rate capped to 15 FPS but with different features enabled. 2 textured and lit 3 textured with mipmaps and lit 4 nontextured and lit 5 nontextured no lighting. Studying Figure one can see that dropping the frame rate has the biggest effect on how long the batteries last about 30 . Enabling mipmapping also saves some energy by allowing more coherent memory access patterns as can be seen in Figure . Disabling texture mapping has some effect as well as dropping lighting altogether. Although on this particular hardware the optimizations in examples 2-5 did not provide significant wins on some other hardware the effect maybe more noticeable especially if the vertex pipeline is not hardware accelerated. EXAMPLE ON EGL CONFIGURATION SELECTION The criteria for optimal EGL configuration selection logic depend on the application so no generic optimal solution can be implemented. If it were possible it would already be implemented in EGL In this example the primary goal is to find a configuration that matches at least the minimum color buffer and depth buffer bit depths requested by the application. A secondary goal is to find a configuration that has at least as many stencil bits as requested by the application. If such a configuration does not exist stencil selection will be completely ignored by the rest of the code. Finally a configuration with the best antialiasing quality is selected among the configurations that otherwise match the requirements. The example function does not return any information about the configuration that was selected as these can be queried using the various glGet functions. An alternate way for compactly specifying the requirements in the application would be to let the application specify both the minimum and optimal requirements for the attributes and then sort the requirements in the order of importance. In this case SECTION EXAMPLE ON EGL CONFIGURATION SELECTION 265 the .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.