1 DirectX CIS 487/587 Bruce R. Maxim UM-Dearborn.

Slides:



Advertisements
Similar presentations
COM vs. CORBA.
Advertisements

LINUX-WINDOWS INTERACTION. One software allowing interaction between Linux and Windows is WINE. Wine allows Linux users to load Windows programs while.
Chapter 5 Operating Systems. 5 The Operating System When working with multimedia, the operating system is perhaps the most important, the most complex,
Java.  Java is an object-oriented programming language.  Java is important to us because Android programming uses Java.  However, Java is much more.
ANDROID OPERATING SYSTEM Guided By,Presented By, Ajay B.N Somashekar B.T Asst Professor MTech 2 nd Sem (CE)Dept of CS & E.
Computer Games: History and Content Presented by Barry Dean UWE.
3D Graphics - Current Technologies Open GLOpen GL (Open Graphics Language) –SGI Silicon Graphics Direct 3DDirect 3D –Microsoft Direct X Technology Java3DJava3D.
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
1 A presentation on DirectX® Alex Brill Emil Elazar Noam Monheit.
Computer Games: History and Content Presented by Barry Dean UWE.
Hands-On Microsoft Windows Server 2003 Networking Chapter 1 Windows Server 2003 Networking Overview.
Chapter 2 Introduction to Systems Architecture. Chapter goals Discuss the development of automated computing Describe the general capabilities of a computer.
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
AGD: 5. Game Arch.1 Objective o to discuss some of the main game architecture elements, rendering, and the game loop Animation and Games Development.
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems System Software Chapter 4.
Computer System System Software. Learning Objective Students should understand the different types of systems software and their functions. Students should.
Client/Server Architectures
Computer Graphics Introducing DirectX
 Introduction Introduction  Definition of Operating System Definition of Operating System  Abstract View of OperatingSystem Abstract View of OperatingSystem.
Chapter 3.1:Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access.
Ceng Operating Systems
CHAPTER 3 The Component Object Model and DirectX © 2008 Cengage Learning EMEA.
Computer Maintenance Unit Subtitle: Basic Input/Output System (BIOS) Excerpted from 1 Copyright © Texas Education Agency, All.
How Java Programs Work MIS 3023 Business Programming Concepts II The University of Tulsa Professor: Akhilesh Bajaj All slides in this presentation ©Akhilesh.
1999 Cabletron Systems. Wireless Networking RoamAbout RoamAbout Installation Installation/Configuration of: Network adapter card on a: Windows 95 system.
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
01. Introduction to Android Prof. Oum Saokosal Master of Engineering in Information Systems, South Korea
COM vs. CORBA Computer Science at Azusa Pacific University September 19, 2015 Azusa Pacific University, Azusa, CA 91702, Tel: (800) Department.
DirectShow.
UFCEKU-20-3Web Games Programming Game Development Environments and Middleware.
Overview Embedded Linux Graphics Typical desktop Linux graphics stack SystemRAMDisk X Window System5MB16MB GNOME14MB95MB KDE11MB96MB Mozilla12MB95MB.
COM/DCOM Implementation Basics of: Object creation and access Object Reuse Interface referencing.
COMCOM omponent bject odel After this presentation, you will: Be Able To: Conceptual understanding of COM How it works, What it’s used for Decode Acronyms.
Operating Systems JEOPARDY Computer Repair NetworkOS OS Tasks ConceptsComponentsMisc
Windows XP. History Windows XP is based on the NT kernel developed in 1988 Windows XP is based on the NT kernel developed in 1988 XP was originally sold.
Processes Introduction to Operating Systems: Module 3.
Chapter 2 Introduction to Systems Architecture. Chapter goals Discuss the development of automated computing Describe the general capabilities of a computer.
Computer Systems Nat 4/5 Computing Science Operating Systems.
Multimedia and Computers Introduction to Computers.
GAM666 – Introduction To Game Programming ● DirectX is implemented as a collection of COM objects ● To use a DirectX program, the user must have the correct.
Windows Environment History of Windows: Windows was announced by microsoft in november 1983 and was released in november Advantage: Windows 1.0.
Seminarium on Component-based Software Engineering Feraaz Imami LIACS – Leiden University Fall 2005 Component Object Model (COM)
Kevin Goodman CEO FSLogix Deep Dive 2014 Extend Your Existing Application Virtualization Solution with FSLogix Apps™
GAM666 – Introduction To Game Programming ● Programmer's perspective of Game Industry ● Introduction to Windows Programming ● 2D animation using DirectX.
Introduction to Game Programming Pertemuan 11 Matakuliah: T0944-Game Design and Programming Tahun: 2010.
11 MANAGING DEVICES AND PERIPHERALS Chapter 4. Chapter 4: Managing Devices and Peripherals2 CHAPTER OVERVIEW  Implement, manage, and troubleshoot input.
Chapter Eleven Windows XP Professional Application Support.
Types of Software Chapter 2.
Microsoft Window 9X Operating System Richard Goldman © February 28, 2001.
By Adam Reimel. Outline Introduction Platform Architecture Future Conclusion.
OPERATING SYSTEMS DO YOU REQUIRE AN OPERATING SYSTEM IN YOUR SYSTEM?
CIT 140: Introduction to ITSlide #1 CSC 140: Introduction to IT Operating Systems.
Android. Android An Open Handset Alliance Project A software platform and operating system for mobile devices Based on the Linux kernel Developed by Google.
Identify internal hardware devices (e. g
What is DirectX? DirectX is built by Microsoft as a collection of API’s (Application Programming Interfaces) for the purpose of multimedia processing.
Computer System Structures
Chapter 5 Operating Systems.
Unit 20 – Computer Game Platforms & Technology – Software Technology
Android Mobile Application Development
CMPE419 Mobile Application Development
LINUX WINDOWS Vs..
Introduction to the Kernel and Device Drivers
Chapter 3: Windows7 Part 1.
Windows Development Dynadata Copyright, 2014 © DynaData S.A. 1/10.
Chapter 2: System Structures
Windows Virtual PC / Hyper-V
Korea Software HRD Center
Outline Operating System Organization Operating System Examples
Operating Systems Structure
CMPE419 Mobile Application Development
Presentation transcript:

1 DirectX CIS 487/587 Bruce R. Maxim UM-Dearborn

2 DirectX and Win32 Win32 Application –GDI Windows Device Driver Interface –DirectX DirectX Graphics (DirectDraw/Direct3D) DirectX Audio (DirectSound/DirectSound3D/DirectMusic) DirectInput DirectPlay DirectSetup DirectShow

3 DirectX Contains a run-time library consisting of several.dll’s that you may distribute with your application There are several.lib and.h files that make-up the development library You need to be sure that you know where these files are housed DirectX is backward compatible

4 COM COM allows DirectX to work with multiple programming languages COM objects can be shipped with an application as.dll’s COM object provide interfaces to hardware objects COM objects are loaded dynamically You can add functionality to an installed application simply by updating the COM object

5 DCOM An advanced version of COM Allows applications to access DCOM objects on networked machines

6 DirectX Architecture Win32 App Win GDI Win DDI HW Audio, Video, Input, Storage, … DirectX HEL: HW Emulation Layer HAL: HW Abstraction Layer

7 HAL and HEL HAL –Lowest level of software –Consists of manufacturer’s device drivers –DirectX figures out the COM interface needed HEL –Built on top of HAL –Allows emulation of missing hardware (e.g. program still runs whether 3D graphics accelerator card is present or not)

8 COM Interfaces The process of creating a COM interface is described in the text You do not need to create your own COM interfaces if you use DirectX DirectX provides wrappers round the COM stuff

9 Creating COM Interfaces You begin by deriving an interface class from IUnknown (COM base class) Every derived class inherits 3 methods –QueryInterface( ) – used to request pointer to interface –AddRef( ) – used to increase reference count for COM object –Release( ) – decrements COM object reference counter

10 Creating COM Interfaces Basic technique is to create pointers to each device specific function and equate them to a generic function pointer DirectX will then be able to use the correct COM object when its function is referenced