Surface texturing has been applied to improving the tribological performance of mechanical components for many years. Currently, the researches simulate the film pressure distribution of textured rough surfaces on the basis of the average flow model, and however the influence of roughness on the film pressure distribution could not be precisely expressed. Therefore, in order to study the hydrodynamic lubrication of the rough textured surfaces, sinusoidal waves are employed to characterize untextured surfaces. A deterministic model for hydrodynamic lubrication of microdimple textured rough surfaces is developed to predict the distribution of hydrodynamic pressure. By supplementing with the JFO cavitation boundary, the load carrying capacity of the film produced by micro-dimples and roughness is obtained. And the geometric parameters of textured rough surface are optimized to obtain the maximum hydrodynamic lubrication by specifying an optimization goal of the load carrying capacity. The effect of roughness on the hydrodynamic pressure of surface texture is significant and the load carrying capacity decreases with the increase of the roughness ratio because the roughness greatly suppresses the hydrodynamic effect of dimples. It shows that the roughness ratio of surface may be as small as possible to suppress the effect of hydrodynamic lubrication. Additionally,there are the optimum values of the micro-dimple depth and area density to maximize the load carrying capacity for any given value of the roughness ratio. The proposed approach is capable of accurately reflects the influence of roughness on the hydrodynamic pressure, and developed a deterministic model to investigate the hydrodynamic lubrication of textured surfaces.