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

3D Graphics with OpenGL ES and M3G- P27: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. | 244 EGL CHAPTER 11 EGL error codes. Error Meaning EGL_SUCCESS No errors EGL_NOT_INITIALIZED EGL not initialized or could not be initialized EGL_BAD_ACCESS EGL cannot access the requested resource EGL_BAD_ALLOC EGL failed to allocate resources EGL_BAD_ATTRIBUTE Undefined attribute or attribute value EGL_BAD_CONFIG Config is not valid EGL_BAD_CONTEXT Context is not valid EGL_BAD_CURRENT_SURFACE Current surface is no longer valid EGL_BAD_DISPLAY Not a valid display or EGL not initialized on the requested display EGL_BAD_MATCH Arguments inconsistent EGL_BAD_NATIVE_PIXMAP NativePixmapType is not valid EGL_BAD_NATIVE_WINDOW NativeWindowType is not valid EGL_BAD_PARAMETER One of the parameters is not valid EGL_BAD_SURFACE Surface is not valid EGL_CONTEXT_LOST Power management event occurred context lost OpenGL ES rendering calls can be made only after a context and surface have been bound to the current thread by calling eglMakeCurrent. After the frame has been rendered eglSwapBuffers is called to initiate transfer of pixels from the GL color buffer into an EGL surface in this case the window . Finally EGL is terminated by first releasing the active surfaces and contexts with a call to eglMakeCurrent then destroying them and finally calling EGLBoolean eglTerminate EGLDisplay dpy to free all the resources associated with an EGL display connection. CONFIGURATION Different implementations may support different color depths depth buffer depths and so on and a typical implementation supports 20 to 30 different configurations with different combinations of these attributes. However the specification does not limit the number of configurations that maybe supported. EGLConfig is an opaque handle to a configuration. SECTION CONFIGURATION 245 Table lists all attributes that are specified for a single EGLConfig. Out of these attributes the first thirteen are the ones that typical applications use. EGLBoolean eglGetConfigAttrib EGLDisplay dpy EGLConfig config

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.